delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/08/04:36:51

From: Nate Eldredge <neldredge AT hmc DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: WARNING: DOS is about to die
Date: Tue, 07 Sep 1999 23:25:00 -0700
Organization: Harvey Mudd College
Lines: 28
Message-ID: <37D6013C.C440E285@hmc.edu>
References: <8D53104ECD0CD211AF4000A0C9D60AE30163726C AT probe-2 DOT acclaim-euro DOT net> <37D5D74D DOT 3BB AT earthlink DOT net>
NNTP-Posting-Host: mercury.st.hmc.edu
Mime-Version: 1.0
X-Trace: nntp1.interworld.net 936771902 1944 134.173.45.219 (8 Sep 1999 06:25:02 GMT)
X-Complaints-To: usenet AT nntp1 DOT interworld DOT net
NNTP-Posting-Date: 8 Sep 1999 06:25:02 GMT
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.12pre4 i586)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Rez wrote:
> 
> Shawn Hargreaves wrote:
> > things back a bit further in the right direction, I find the Linux
> > DOSEMU program does a much better job of running djgpp programs than
> > an NT dos box (it even supports SVGA VESA graphics in a window!),
> 
> Question, then: I beta-test for a coder who works with DJGPP under
> Win95. I test our app exclusively in real       DOS. About half the time when
> there's a bug, the program runs just fine under Win95 in a DOS box (both
> for the coder and my testing partner) but segviols before it even gets
> fully loaded under real DOS with CWSDPMI. Sometimes this happens even
> with trivial bugs, like a wonked menu item. I realise this is vague, but
> anything in particular which causes this dichotomy (bug has no effect
> under Win95, dies spectacularly under DOS) ???  ISTM if we knew what
> sort of things cause this, we (ie. our coder) could avoid 'em up front.
> 
> I'm tempted to rename this thread "DOS kills escaped bugs" :)

NULL pointers dereferences, usually.  Windows doesn't provide the DPMI
service necessary to trap them, but CWSDPMI does.

However, I suspect your coder is already doing everything possible to
avoid that. :)
-- 

Nate Eldredge
neldredge AT hmc DOT edu

- Raw text -


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