home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / c / 19478 < prev    next >
Encoding:
Internet Message Format  |  1993-01-09  |  891 b 

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!uwm.edu!kirk.msoe.edu!corteenc
  2. From: corteenc@kirk.msoe.edu
  3. Newsgroups: comp.lang.c
  4. Subject: Problems with SIO interrupts.
  5. Message-ID: <1993Jan9.151159.116@kirk.msoe.edu>
  6. Date: 9 Jan 93 15:11:59 CDT
  7. Distribution: usa
  8. Organization: Milwaukee School Of Engineering, Milwaukee, WI USA
  9. Lines: 18
  10.  
  11. Hello.
  12.  
  13.   I am new to the newsgroup, so I hope that this is a relevant question.
  14. I have written a program that reads character data from my modem on COM2.
  15. This code uses polling so, once in a while, i will miss a character. I suppose
  16. that I must use interrupts to read the characters into a buffer whenever
  17. COM2 needs servicing. Is there a way to set the interrupt vector to do
  18. this for me, using the Turbo C setvect function?
  19. I'm really stuck on this one.
  20.  
  21.  
  22. Any help would be appreciated.
  23.  
  24. Thanks,
  25.  
  26. Chris.
  27.  
  28. E-mail: corteenc@kirk.msoe.edu
  29.