home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.ibm.pc.hardware:24375 comp.sys.ibm.pc.programmer:426
- Path: sparky!uunet!sun-barr!olivea!spool.mu.edu!sol.ctr.columbia.edu!sal.wisc.edu!rat!zeus!kwang
- From: kwang@zeus.calpoly.edu (Kevin Wang aka The Scarecrow)
- Newsgroups: comp.sys.ibm.pc.hardware,comp.sys.ibm.pc.programmer
- Subject: 8259 PIC / Interrupt redirection
- Message-ID: <1992Sep15.193315.126553@zeus.calpoly.edu>
- Date: 15 Sep 92 19:33:15 GMT
- Organization: The Outland Riders
- Lines: 21
-
- I am attempting to modify some serial i/o code so that I could access IRQ2
- (actualy 9, but they're supposed to be mapped)
-
- The code itself works just fine, I can put in the numbers for any normal
- IRQ, 3-7. I have apparently set the 8259 correctly, since the inportb and
- outportb to port 0xa0+1 (the second 8259 mask) show changes to the
- interrupt mask.
-
- However, when I use the _dos_setvect(), (I think I redirected to 0x71)
- and then run the code, interrupts are never generated. I know I can
- tiggle the UART bits, but I cannot get an interrupt generated when data
- comes in, and I can't cause interrupt to send out characters. Any
- ideas/pointers to books/help?
-
- - Kevin Wang
- ...And now, for your local station identification, on the hour, every hour...
- kwang@hermes.calpoly.edu or kwang@gauss.elee.calpoly.edu
- ---
- MURPHY'S LAWS ON SEX
- 3. No matter how many times you've had it, if it's offered take it,
- because it'll never be quite the same again.
-