delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/19/23:03:55

Xref: news-dnh.mv.net comp.os.msdos.djgpp:4551
From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: page faults & cwsdpmi
Date: Wed, 17 Jan 1996 23:59:52 CST
Organization: Rice University, Houston, Texas
Lines: 9
Message-ID: <30fde1d8.sandmann@clio.rice.edu>
References: <DLCvFL DOT Kp4 AT jade DOT mv DOT net>
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

> Ok, i have djgpp v2, beta 4, and cwsdpmi beta9... I have a program that 
> draws random triangles, now it runs fine under a dos window under win95, 
> but it 'page faults' under normal dos...can someone help, you can 
> request my prog if that helps

I suspect you have a null pointer.  CWSDPMI supports some DPMI 1.0 extensions
which can enable protection on the null page to catch these common programming
errors, while most DPMI providers do not support it.  Symify the output,
check the appropriate line with the debugger.

- Raw text -


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