Xref: news2.mv.net comp.os.msdos.djgpp:7006 From: Charles Sandmann Newsgroups: comp.os.msdos.djgpp Subject: Re: __dpmi_discard_page_contents trouble Date: Tue, 06 Aug 1996 17:44:58 Organization: Rice University, Houston, Texas Lines: 6 Message-ID: <3207caea.sandmann@clio.rice.edu> References: <9608060330 DOT memo DOT 28627 AT BIX DOT com> Reply-To: sandmann AT clio DOT rice DOT edu NNTP-Posting-Host: clio.rice.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp > calls __dpmi_discard_page_contents to delete one page of address space This call does not delete the address space, it just makes the contents undefined. You must convert the page to be uncommitted to generate a fault. You're on the right track, just using the wrong call. The call that would make it read-only can also make it non-existent.