[comp.sys.ibm.pc.misc] COM ports

lindsay@cosc.canterbury.ac.nz (Lindsay Weir) (03/26/91)

I would like to know if there is any public domain 
software or utility to capture data from the serial 
ports (COM1 and COM2), and send them to different 
buffers which can then be accessed by a 'C' program
I am writing?
If not, can anyone help in writing the appropriate
interrupt handlers?
The data would be arriving at 1200bps on each port,
and it is important that everything gets captured,
and sent to the buffers. The program that reads the
buffers would be running in the background of 
MS Windows, so I can run other applications in the
foreground.

thomas@hotb.radig.de (Thomas Brettinger) (04/01/91)

In <Tue_Mar_26_20:57:09_1991@cosc.canterbury.ac.nz> lindsay@cosc.canterbury.ac.nz (Lindsay Weir) writes:

>I would like to know if there is any public domain 
>software or utility to capture data from the serial 
>ports (COM1 and COM2), and send them to different 
>buffers which can then be accessed by a 'C' program
>I am writing?

Yes, there  are several `Fossil'-Drivers  which do exactly that thing.
They where written for the FidoNet Software `Opus' first,  but it's an
Universal COM Port Interface, which can be  accessed via DOS Interrupt
calls. They Provide a FIFO Buffer for each  Port,  I think that's what
you're   looking for.   One of   them  is called X00.SYS,  another one
BNU.SYS,   and yet another   (which   even  provides a  Software  MNP5
Emulation) MX5.

>The data would be arriving at 1200bps on each port,
>and it is important that everything gets captured,
>and sent to the buffers. The program that reads the
>buffers would be running in the background of 
>MS Windows, so I can run other applications in the
>foreground.

No Problem. If you   don't find a place  where  to get   one  of those
drivers (or documentation about the programming interface), mail me.

Thomas
-- 
Thomas Brettinger | voice +49-6074-44823 | email thomas@hotb.radig.de
----------------------fortune cookie of the day:---------------------

If two people agree on EVERYTHING , one of them is OBSOLETE! (Kalle Hultland)