Mail Archives: djgpp/1997/12/06/00:04:42
At 12:52 12/5/1997 -0500, Doug Gale wrote:
>Now that you mention it, I read somewhere (a newsgroup) that Win95 DOS
>box dpmi implementation allows null pointer references to happen without
>error. CWSDPMI (under DOS, NOT dos box) catches these faults. (Again, I
>HEARD this, so if I'm wrong, that is why)
You are right. That comes up frequently here. The reason is that the Windows
DPMI server doesn't support the feature of being able to change specific
page attributes. DJGPP uses that feature to unmap the page covering address
0, causing a fault on access. Since Windows can't do that, it blissfully
ignores them.
>
>That means that Win95 DPMI runs with TOO FEW problems! :)
Very true!
Nate Eldredge
eldredge AT ap DOT net
- Raw text -