home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / ada / 2508 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  1.2 KB

  1. Path: sparky!uunet!mcsun!sun4nl!dutrun!dutiws!dutiag!jan
  2. From: jan@dutiag.tudelft.nl (Jan van Katwijk)
  3. Newsgroups: comp.lang.ada
  4. Subject: Handling interrupts on a 80X86
  5. Summary: Attaching entries to interrupts does not
  6. Keywords: Ada, MS-DOS, 80386
  7. Message-ID: <jan.715428554@dutiag>
  8. Date: 2 Sep 92 10:09:14 GMT
  9. Sender: news@dutiws.tudelft.nl
  10. Lines: 31
  11.  
  12.  
  13. I am writing a program to read some of the controlbits from
  14. the RS232 gate in my Toshiba 5100. The purpose is to process
  15. facsimile and RTTY signals. In the C programme I had I attached
  16. an interrupt routine to interruptvector 70H (the realtime clock)
  17. which allowed me to sample the bits with a period of 1000 samples
  18. a second. I rewrote the programme in Ada (meridian open Ada compiler)
  19. and found that merely attaching an entry to an interruptvector
  20. does not work for vectors dealing with hardware (= device) interrupts.
  21. I need a way of calling the orginal interrupt handler (somewhere in
  22. the bios), since the protocol used in the meridian compiler
  23. apparently does not reset the interrupt. Writing my own resetcode
  24. for the 8259 does not work either.
  25.  
  26. Has someone had the same experience? What is the cure?
  27. jan van katwijk (I apologize for my mailaddress):
  28.  jan@dutiag.tudelft.nl
  29. .
  30.  
  31.  
  32.  
  33.  
  34.  
  35. t
  36.  
  37. xxXX
  38.  
  39.  
  40.  
  41.  
  42.  
  43.