home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / msdos / programm / 12386 < prev    next >
Encoding:
Text File  |  1993-01-24  |  1.0 KB  |  24 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!cs.utexas.edu!torn!news.ccs.queensu.ca!slip201.telnet1.QueensU.CA!dmurdoch
  3. From: dmurdoch@mast.queensu.ca (Duncan Murdoch)
  4. Subject: Coprocessor exceptions under DPMI
  5. Message-ID: <dmurdoch.338.727837519@mast.queensu.ca>
  6. Lines: 13
  7. Sender: news@knot.ccs.queensu.ca (Netnews control)
  8. Organization: Queen's University
  9. Date: Sun, 24 Jan 1993 01:05:19 GMT
  10.  
  11. I'm trying to figure out why Borland Pascal's protected mode programs mess up
  12. the handling of coprocessor errors.  Reading the 486 manual, I see that 
  13. INT 10h will be generated when an error occurs on the coprocessor, provided 
  14. the "NE bit" is set in CR0.  
  15.  
  16. Under DPMI, I don't seem to be getting any exceptions generated.  I suspect 
  17. this is because the NE bit isn't set, but I can't see any way to find out.
  18. Is there some DPMI service that could tell me this?  All I get is exception
  19. 13 when I try to read it by "mov eax,cr0".  Even more to the point:  is there
  20. any way to set the bit?
  21.  
  22. Duncan Murdoch
  23. dmurdoch@mast.queensu.ca
  24.