Topic: Interrupt Driven Serial Communications Driver


Author: mfvl@xs4all.nl (Michiel van Loon)
Date: 1995/03/29
Raw View
In article <D65x0n.20r@datapoint.com>, cjr8559@tamaix.tamu.edu wrote:
> Howdy! =)
>
> I am just now starting to learn how to use interrupts, and have
> barely scratched the surface.  My current goal is to write bytes to
> the comm ports using an interrupt driven scheme.  Also to read the comm
> port in that manner... but not sitting and waiting for something to come,
> but go there when it arrives.
>
> Could someone help me locate some source code already in existance?  Or
> whip some up? :)  I would MUCH appreciate it.
>
> I am using Borland C++ 3.1 and my references are the Borland bood and
> Turbo C Bible.  However, it seems I am still confused!
>
> Thanks!
>
> Chris Richards

A very good reference to serial port programming is Chris Blum's FAQ. You
can find it at

ftp://pfsparc02.phil15.uni-sb.de/pub/E-Technik/afd/The_Serial_Port

+-------------------------+--------------------------------------------------+
| Michiel van Loon        |                                                  |
| mfvl@xs4all.nl          |       It is nice to be important                 |
| mfvl@dds.nl             |         but it's more important to be nice       |
| http://xs4all.nl/~mfvl/ |                                                  |
+-------------------------+--------------------------------------------------+





Author: cjr8559@tamaix.tamu.edu
Date: Tue, 28 Mar 1995 18:07:34 GMT
Raw View
Howdy! =)

I am just now starting to learn how to use interrupts, and have
barely scratched the surface.  My current goal is to write bytes to
the comm ports using an interrupt driven scheme.  Also to read the comm
port in that manner... but not sitting and waiting for something to come,
but go there when it arrives.

Could someone help me locate some source code already in existance?  Or
whip some up? :)  I would MUCH appreciate it.

I am using Borland C++ 3.1 and my references are the Borland bood and
Turbo C Bible.  However, it seems I am still confused!

Thanks!

Chris Richards
Computer Engineering
Texas A&M University
cjr8559@tamaix.tamu.edu

Please email me and post to the net since my net is iffy :)
And I wouldn't want to miss it!




Author: hhernan2@achp31.eld.ford.com (Humberto Hernandez)
Date: Tue, 28 Mar 1995 15:02:48
Raw View
There is an excellent book by Mark Goodwin called 'Serial communications
in C and C++'. Printed by MIS press. It uses interrupt handling to implement
serial communcations. It does some low level routines in assembly and C and it
has some C++ wrapper classes. It comes with a floppy disk. The library is
cheap, and it works fine.

P.D. I am assuming you are programming under MS-DOS.
Humberto Hernandez
University of Michigan