Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!samsung!uunet!crdgw1!crdos1!davidsen From: davidsen@crdos1.crd.ge.COM (Wm E Davidsen Jr) Newsgroups: comp.lang.c Subject: Re: Serial Com Message-ID: <1754@crdos1.crd.ge.COM> Date: 22 Nov 89 13:40:09 GMT References: <89111504064675@masnet.uucp> <375@helens.Stanford.EDU> Reply-To: davidsen@crdos1.UUCP (bill davidsen) Organization: GE Corp R&D Center, Schenectady NY Lines: 19 In article <375@helens.Stanford.EDU> mike@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@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