Thread View: comp.bbs.misc
2 messages
2 total messages
Started by Albatross
Wed, 05 Aug 1992 16:51
X.00 v124 problem dropping DTR
Author: Albatross
Date: Wed, 05 Aug 1992 16:51
Date: Wed, 05 Aug 1992 16:51
25 lines
1688 bytes
1688 bytes
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. I'm using a Multitech MultiModem V.32 attached to an IBM PS/2 80. No, my modem's DTR toggle switch is not on "DTR always up". My config.sys file reads DEVICE=C:\X00.SYS E F=15 R=1024 If anyone has any ideas, please send me E-mail soonest. Thanks in advance for your assistance. -- 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!
Re: X.00 v124 problem dropping DTR
Author: 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!
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads