spolsky-joel@CS.Yale.EDU (Joel Spolsky) (10/26/88)
Hi folks!
Can anybody show me how to implement an interrupt-driven input buffer
for the COM ports (preferably, in Turbo-C? I am losing too much data
using polled input :-(.
Let's say I've defined a function
void interrupt interrupthandler()
{
.....
}
which adds data to the buffer. How do I install the function as an
interrupt? How do I tell the UART to generate the interrupts?
If anybody has code to do this I would be really happy.
+----------------+---------------------------------------------------+
| Joel Spolsky | bitnet: spolsky@yalecs uucp: ...!yale!spolsky |
| | arpa: spolsky@yale.edu voicenet: 203-436-1483 |
+----------------+---------------------------------------------------+
#include <disclaimer.h>