🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #9570

TC: Reading from Modem

#9570
From: David Allen Markley
Date: Mon, 29 Apr 1991 14:15
20 lines
1311 bytes
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)
Technical Details
Message-ID: <8c72dla00WCq8791Id@andrew.cmu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!uunet!tut.cis.ohio-state.edu!sei.cmu.edu!fs7.ece.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!dm3e+

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!uunet!tut.cis.ohio-state.edu!sei.cmu.edu!fs7.ece.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!dm3e+
From: dm3e+@andrew.cmu.edu (David Allen Markley)
Newsgroups: comp.sys.ibm.pc.misc
Subject: TC: Reading from Modem
Message-ID: <8c72dla00WCq8791Id@andrew.cmu.edu>
Date: 29 Apr 91 14:15:13 GMT
Organization: Computing Systems, Carnegie Mellon, Pittsburgh, PA
Lines: 20