Article View: comp.bbs.misc
Article #58Re: X.00 v124 problem dropping DTR
From: Albatross
Date: Wed, 05 Aug 1992 21:30
Date: Wed, 05 Aug 1992 21:30
23 lines
1767 bytes
1767 bytes
In <1992Aug5.165155.8708@news2.cis.umn.edu> alberti@mudhoney.micro.umn.edu (Albatross) writes: >I'm using X.00 v 124 for a communications program and up till now everything >looked good. I can communicate through the port fine. Now I have a problem. >According to the documentation all I need to do to toggle DTR is (in C) >regs.h.ah = 6; //(DTR status) >regs.l.al = 0; //(or 1 for UP but I'm trying to get it down) >regs.x.dx = 0; //(COM 1) >X00(®s, ®s); >Seems simple enough, but nothing happens. DTR stays up. In a followup, I can toggle DTR from OUTSIDE my program using XU: whichever state I leave DTR in, the program cannot change it. So if I use XU to put DTR ON, it stays on, and if I use XU to put DTR OFF, it stays off, even when my program does an "Activate port" Function 1Ch. Anybody? -- Bob Alberti: Computer & Information Services U of MN | aka: Albatross | Unitar- E-mail : alberti@boombox.micro.umn.edu | Metropolis BBS | ian/ Disclaimer : My employer does not mean what I say. | (612) 721-1870 | Univer- Minnesota : Where butter is a spice. | BBSing as art. | salist!
Technical Details
Message-ID:
<1992Aug5.213007.12187@news2.cis.umn.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!mips!sdd.hp.com!uakari.primate.wisc.edu!doug.cae.wisc.edu!umn.edu!mudhoney!albertiReferences:
<1992Aug5.165155.8708@news2.cis.umn.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!mips!sdd.hp.com!uakari.primate.wisc.edu!doug.cae.wisc.edu!umn.edu!mudhoney!alberti From: alberti@mudhoney.micro.umn.edu (Albatross) Newsgroups: comp.bbs.misc Subject: Re: X.00 v124 problem dropping DTR Keywords: X.00 FOSSIL DTR Message-ID: <1992Aug5.213007.12187@news2.cis.umn.edu> Date: 5 Aug 92 21:30:07 GMT References: <1992Aug5.165155.8708@news2.cis.umn.edu> Sender: news@news2.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota, Minneapolis: Under Grad Workstation Lab. Lines: 23 Nntp-Posting-Host: mudhoney.micro.umn.edu