delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2010/01/22/23:45:12

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
NNTP-Posting-Date: Fri, 22 Jan 2010 22:24:49 -0600
From: "Charles Sandmann" <cwsdpmi AT earthlink DOT net>
Newsgroups: comp.os.msdos.djgpp
References: <461484 DOT 42018 DOT qm AT web45112 DOT mail DOT sp1 DOT yahoo DOT com>
Subject: Re: help with how to make Allegro Lib
Date: Fri, 22 Jan 2010 22:24:43 -0600
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5843
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Original
Message-ID: <mbCdnRzddNuM58fWnZ2dnUVZ_tadnZ2d@earthlink.com>
Lines: 14
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 64.91.192.48
X-Trace: sv3-dwcjQks73DsZ6YINFZe131z75DFRE2yIQ4aKSb1aizJ9GB6BUwE45TlHVAIeSlLr+uhY8jnRSG4CC1E!UFegFnUD1V4nfeKOUYYb9ivykomn3NSpHIswJXUumuARf9zayINufFvWM7oXHOGvx9x5doxVB2JO!csW/s+Thhqgl2cpEu+hi39ew4b0bChg=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
Bytes: 1833
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

>the game stop abnormally and in the screen it said "Page Fault ...";

This usually means the program is trying to touch to memory it should not be 
touching (such as a null pointer).  Under most DPMI providers you can touch 
the first 4096 bytes of memory, but with CWSDPMI it is protected to catch 
usage of NULL pointers.  Before running your application,
issue the command: cwsdpmi -x and then run the program.  If the problem goes 
away it is a bug touching memory it should not, but you can either
use the -x qualifier, or use cwsparam with flag 4 to disable it permanently. 
Of course, it would be better to fix the buggy program, but whatever works
for you.



- Raw text -


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