Article View: comp.sys.ibm.pc
Article #26422DOS Serial Port Driver?
From: Harry McGavran
Date: Fri, 15 Apr 1988 19:34
Date: Fri, 15 Apr 1988 19:34
34 lines
1733 bytes
1733 bytes
I am sure this has been requested before, so I apologize to those
offended by repeat requests.
I am looking for a a set of routines either in or compatible with
Microsoft C versions 4.0 or 5.0, that will provide interrupt driven
i/o with asynchronous communications adapters. Handling both
COM1: and COM2: is desirable. At the application level, four functions
are needed, initialize the port (open it, with specified speed, parity,
etc.), read, write, and close the port. Error returns from these
functions would be nice, to try to do reasonable things when errors
arise. The buffer size for the read and write for each port
should be specified in the initialize.
I have perused SIMTEL20 a bit. There are several (at least) routines
there that would require a fair amount of hacking to get the above
interfaces. There may be some there that I missed that are closer
to what I need.
For this appilication, a resident device driver that is not part
of the program is NOT what is desired. While it would be appealing
to have a real device driver for the COM ports for any program
to use, other applications will be run that want to do their
own thing with the COM ports, without regard to any services
this program will provide.
Surely someone has done this. If anyone has any suggestions
please E-mail me at:
hgm@LANL.GOV
{cmcl2 ihnp4}!lanl!hgm
Thanks for any help!
Technical Details
Message-ID:
<17990@beta.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!yale!cmcl2!beta!hgmShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!yale!cmcl2!beta!hgm From: hgm@beta.UUCP (Harry McGavran) Newsgroups: comp.sys.ibm.pc Subject: DOS Serial Port Driver? Message-ID: <17990@beta.UUCP> Date: 15 Apr 88 19:34:43 GMT Organization: Los Alamos Natl Lab, Los Alamos, N.M. Lines: 34 Keywords: Asynchronous Serial Interrupt Driven MSC