Slimelite BBS

A COM Question....

Back to EMULATE

From Brian Pirie · 1996-04-08 13:55 · #73574 in EMULATE

Greg,

 > all I want is a way to open COM 1-4, then to just have simple
 > TTY communications, I can write my own ANSi emulator, but

If you purchase one of the C++ communications books that you can find in many bookstores, you will find that along with a lot of information, they also include a diskette with a set of C/C++ communications routines. As far as how to lower DTR, the DTR line is controlled by the low-order bit of the modem control register (MCR), which is at offset 4 from the base port address. If you set this bit to 0, the single on the DTR line will go low. If a modem is connected to the serial port, and the modem is configured to hangup in response to lowering of DTR, the modem will then hangup.

---
 * Origin: Home Of ODOORS60.ZIP - C/C++ BBS/Door Programming Toolkit (1:243/8)