🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7704

Coprocessor exceptions under DPMI

#7704
From: Duncan Murdoch
Date: Sun, 24 Jan 1993 01:05
13 lines
1059 bytes
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
Technical Details
Message-ID: <dmurdoch.338.727837519@mast.queensu.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!torn!news.ccs.queensu.ca!slip201.telnet1.QueensU.CA!dmurdoch

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!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