home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / msdos / programm / 10470 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  1.3 KB

  1. Path: sparky!uunet!mcsun!uknet!cf-cm!news
  2. From: spxtrb@thor.cf.ac.uk (Tim Barnett - programmer)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: 80368/80486 exceptions & interrupts: INT 10h
  5. Message-ID: <26759.9211101622@thor.cf.ac.uk>
  6. Date: 10 Nov 92 16:22:35 GMT
  7. Sender: news@cm.cf.ac.uk (Network News System)
  8. Organization: University of Wales College at Cardiff
  9. Lines: 24
  10. X-Mailer: Cardiff Computing Maths PP Mail Open News Gateway
  11.  
  12. Trivial question ...
  13. I have Microsoft's 80386/80486 Programming Guide which says on page 119 ...
  14. (my parentheses)
  15.  
  16.    Interrupt number      Class      Description
  17.    --------------------------------------------------
  18.       16 (decimal,=10h)  Fault      Coprocessor error
  19.  
  20. ... but under MS-DOS I know that  INT 10h  traps to the EGA/VGA BIOS.  Eg:
  21.     MOV al, 3
  22.     MOV ah, 0
  23.     INT 10h
  24. ... which sets the EGA into video mode 3, according to the Waite Group's
  25. MS-DOS Developer's Guide.
  26.  
  27. I assume I am missing a level of indirection somewhere, but I thought MS-DOS
  28. ran in Real-Mode, so I assume I do not have to worry about indirection through
  29. the 80x86 IDT ?  Could anyone explain to me why the  INT 10h  instruction
  30. doesn't just trap to the  Coprocessor-Error  code ?
  31.  
  32. (E-mail replies might be better, to save bandwidth)
  33.  
  34. Many thanks in advance for any help or clarification,
  35. Tim
  36.