ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2009/02/09/21:30:54

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
NNTP-Posting-Date: Mon, 09 Feb 2009 20:15:34 -0600
From: "Charles Sandmann" <cwsdpmi AT earthlink DOT net>
Newsgroups: comp.os.msdos.djgpp
References: <7705c9030902091323q48d59667x468b0c3bb0e4025f AT mail DOT gmail DOT com>
Subject: Re: DJGPP termios
Date: Mon, 9 Feb 2009 20:15:37 -0600
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Original
Message-ID: <mMKdnVV5JJHbfg3UnZ2dnUVZ_jWWnZ2d@earthlink.com>
Lines: 14
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 64.91.192.48
X-Trace: sv3-9HTUA/HFo1No3Yuk/7hA3msB1lk7br97IxIvSK2MS2gcm3jw7rKi1XU+2LUfLoy6w34a6pOU+u/Tixk!gcUcennYXtVxp9pXDoScCcvrZsqS7r3+hkZXyATrESsMpAU8JhA7GexYff7ukGH6Vo3wOj17uFBj!bCqBPQNaTysiGDltC/I3nbm3VNKXW0k=
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.39
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> Also, why would it work in Vista and not in pure DOS??

It depends on the crash.  One of the features of running under pure
DOS with CWSDPMI as the DPMI provider is null pointer protection.
The entire first 4096 bytes is protected from read/write access to
catch bugs (bad pointers).  Run under DOS and look at the line
which is causing the crash.  You can test to see if this is cause by
disabling null pointer protection in DOS:  before you run the test
program enter:  cwsdpmi -x
For the next program (and only one program) the null pointer
protection will be disabled.  If the application then runs under DOS,
it's a program bug that should be fixed. 


- Raw text -


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