home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / msdos / programm / 11706 < prev    next >
Encoding:
Text File  |  1992-12-30  |  1.2 KB  |  28 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!news.ccs.queensu.ca!slip201.telnet1.QueensU.CA!dmurdoch
  3. From: dmurdoch@mast.queensu.ca (Duncan Murdoch)
  4. Subject: Hardware interrupt mappings?
  5. Message-ID: <dmurdoch.266.725757293@mast.queensu.ca>
  6. Lines: 17
  7. Sender: news@knot.ccs.queensu.ca (Netnews control)
  8. Organization: Queen's University
  9. Date: Wed, 30 Dec 1992 23:14:54 GMT
  10.  
  11. In a standard PC in real mode, IRQs 0 to 7 are serviced by INTs 08 to 0F, and
  12. IRQs 8 to 15 are serviced by INTs 70 to 77.  However, these mappings are 
  13. changeable, and some multitaskers (e.g. Desqview) do change them.
  14.  
  15. If I want to install a handler for any of these hardware interrupts, should 
  16. I use the original INT assignment, and assume that the multitasker will pass
  17. the interrupt to me if it matters, or should I try to figure out what the 
  18. true assignment is?  Is there any general sequence to go through to figure 
  19. out the true assignment?
  20.  
  21. What I'm thinking of doing is writing a little TSR that preserves the 
  22. 386 extended registers across hardware interrupts.  This is necessary, since 
  23. there's a lot of buggy software (e.g. by Novell) out there that trashes 
  24. them.
  25.  
  26. Duncan Murdoch
  27. dmurdoch@mast.queensu.ca
  28.