delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/06/00:04:42

Date: Fri, 5 Dec 1997 20:57:22 -0800 (PST)
Message-Id: <199712060457.UAA07812@adit.ap.net>
Mime-Version: 1.0
To: dgale AT mailexcite DOT com, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: DJGPP App under Win95

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019