home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / misc / 35651 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.9 KB

  1. Path: sparky!uunet!ukma!wupost!uwm.edu!ogicse!flop.ENGR.ORST.EDU!flop.ENGR.ORST.EDU!usenet
  2. From: villalj@xanth.CS.ORST.EDU (John Villalovos)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: OS/2's Interrupt Mapping
  5. Keywords: IRQ, Interrupt
  6. Message-ID: <1dertsINNlf9@flop.ENGR.ORST.EDU>
  7. Date: 6 Nov 92 22:34:36 GMT
  8. Article-I.D.: flop.1dertsINNlf9
  9. References: <1992Nov6.180326.10300@u.washington.edu>
  10. Organization: Oregon State University
  11. Lines: 28
  12. NNTP-Posting-Host: xanth.cs.orst.edu
  13.  
  14. In article <1992Nov6.180326.10300@u.washington.edu> mts@hardy.u.washington.edu (Sean Milligan) writes:
  15. >    I read somewhere that OS/2 calls the interrupt addresses by different
  16. >numbers.  (Ex. 9 is IRQ2, I think).  I'm trying to get all my boards to work
  17. >and was wondering if anyone knows if this is true and if so would they please
  18. >post the various addresses for OS/2 corresponding to the "Real world" settings.
  19. >
  20. What you might be refering to is the difference between a hardware interupt
  21. setting and a software interupt setting.  On the IBM PC's interupts 0-7 are
  22. used by various processes.  e.g. INT 0 divide by 0 trap, INT 1 Single step,
  23. INT 2 Various errors, INT 3 Breakpoint, INT 4 Overflow trap, INT 5 print
  24. screen, etc...  (Source: The Programmers PC Sourcebook 2nd Edition pg 4-5)
  25.  
  26. To handle the hardware interrupts what happens is that the hardware interrupt
  27. has 8 added to it to become the software interrupt.  e.g. Keyboard has a
  28. hardware IRQ 1 but has a software INT 9, COM1 has IRQ4 but INT 0Ch, etc...
  29. I believe with some programming of the Programmable Interupt Controller (PIC)
  30. you can change where the hardware interrupts go to in the software chain but
  31. I don't know why you would want to do that.
  32.  
  33. The first 8 INT locations were set up by Intel so they really can't be
  34. changed.  If you have any questions feel free to drop me a line.
  35.  
  36. Later,
  37. -- 
  38. John Villalovos
  39. Certified Netware Engineer
  40. villalj@xanth.cs.orst.edu
  41. (503) 753-7883
  42.