home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!sun4nl!dutrun!dutiws!dutiag!jan
- From: jan@dutiag.tudelft.nl (Jan van Katwijk)
- Newsgroups: comp.lang.ada
- Subject: Handling interrupts on a 80X86
- Summary: Attaching entries to interrupts does not
- Keywords: Ada, MS-DOS, 80386
- Message-ID: <jan.715428554@dutiag>
- Date: 2 Sep 92 10:09:14 GMT
- Sender: news@dutiws.tudelft.nl
- Lines: 31
-
-
- I am writing a program to read some of the controlbits from
- the RS232 gate in my Toshiba 5100. The purpose is to process
- facsimile and RTTY signals. In the C programme I had I attached
- an interrupt routine to interruptvector 70H (the realtime clock)
- which allowed me to sample the bits with a period of 1000 samples
- a second. I rewrote the programme in Ada (meridian open Ada compiler)
- and found that merely attaching an entry to an interruptvector
- does not work for vectors dealing with hardware (= device) interrupts.
- I need a way of calling the orginal interrupt handler (somewhere in
- the bios), since the protocol used in the meridian compiler
- apparently does not reset the interrupt. Writing my own resetcode
- for the 8259 does not work either.
-
- Has someone had the same experience? What is the cure?
- jan van katwijk (I apologize for my mailaddress):
- jan@dutiag.tudelft.nl
- .
-
-
-
-
-
- t
-
- xxXX
-
-
-
-
-
-