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