[comp.sys.ibm.pc.misc] TC: Reading from Modem

dm3e+@andrew.cmu.edu (David Allen Markley) (04/29/91)

Hi there,

Can someone out there please let me know if there is a way to insure
that all characters are read from the communication ports, other than
rewriting INT 14H? I'm using bioscom() to set up the port, read, and
write characters. Things work...sort of. I simply have a continuous loop
that checks for a character from the com port, displays it if there is
one, checks for a keypressed, sends it if there is one, etc. Things work
fine at 300baud. But at 1200baud, I usually miss the first few
characters of a stream from the com port. Isn't there a buffer on the
com port? Should I be handling the interrupt myself and buffer it?

Any suggestions, code (TC as well as TASM), or pointers to more help
would be greatly appreciated.

Send direct e-mail too, if you can.

Thanks a lot,

David Markley (dm3e+@andrew.cmu.edu)