Serial Com

Wm E Davidsen Jr davidsen at crdos1.crd.ge.COM
Thu Nov 23 00:40:09 AEST 1989


In article <375 at helens.Stanford.EDU> mike at relgyro.STANFORD.EDU (Mike Macgirvin) writes:

| 	The painful solution is to write (or purchase) an interrupt handler
| for the serial port. There is a wealth of literature available on the
| subject (everybody and their uncle has had to do this...). I don't have any
| titles at my fingertips, sorry. 

  Not too painful... I wrote one a few years ago which was called from C
with the address of a buffer and the length. At each interrupt the
character was put into the buffer. Another asm routine returned a char
to the C program. The whole thing was only a few hundred bytes.

  Before you ask, it's still considered proprietary and I can't send you
a copy. I asked before I posted.
-- 
bill davidsen	(davidsen at crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen)
"The world is filled with fools. They blindly follow their so-called
'reason' in the face of the church and common sense. Any fool can see
that the world is flat!" - anon



More information about the Comp.lang.c mailing list