Path: utzoo!utgpu!watmath!att!ucbvax!pasteur!ames!rex!cleeland
From: cleeland@rex.cs.tulane.edu (Chris Cleeland)
Newsgroups: comp.sys.ibm.pc
Subject: Generating interrupts from the serial port
Message-ID: <1026@rex.cs.tulane.edu>
Date: 9 Aug 89 18:03:58 GMT
Reply-To: cleeland@rex.cs.tulane.edu (Chris Cleeland)
Organization: Computer Science Dept., Tulane Univ., New Orleans, LA
Lines: 31
Keywords:

Can anyone help me try to figure out how to get a PC (PS/2, if that matters)
to generate interrupts when a character is received at the serial port?

Also, once the interrupt occurs, what vector does it jump through?  I *think*
I know how to get it to generate the interrupt -- what I don't understand
is how to tell it where to okgo once an interrupt is generated.

I'm using Microsoft C 5.1, and sample code in that dialect of the language
would help tremendously.  I also have access to Turbo C (don't know the
version), so sample code could work for that also.

References to books would also help, unless they are to books on assembler --
I'm not familiar with 80xxx family assembly language, so I would have to
go through a complete learning curve just to understand what you had referred
me to.

Basically, I'll take any help I can get.  My object is to write a rudimentary
serial communications library in C which closely mimics the behavior of C's
standard stream i/o functions.  Any pointers?

Finally, I have a very difficult time keeping up with this newsgroup as I
don't get a chance to log in daily.  So, could replies please be sent via
e-mail?  I promise/swear/sign-in-blood that I will summarize to the net if
response is high enough.

Thank you for your time (and knowledge)
-- 
Thanks
Chris Cleeland, Tulane University
ADDRESS:  cleeland@rex.tulane.cs.edu
Disclaimer:  "I'm a student -- I can't afford to buy one!"