delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/26/08:02:33

Date: Sun, 26 Sep 1999 08:41:09 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Nicolas Gasnier <nicolas DOT gasnier AT wanadoo DOT fr>
cc: djgpp AT delorie DOT com
Subject: Re: Protected Mode problem (note: Eli Zaretskii)
In-Reply-To: <7sifsr$nir$1@wanadoo.fr>
Message-ID: <Pine.SUN.3.91.990926083909.17688N-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sat, 25 Sep 1999, Nicolas Gasnier wrote:

> I think that you don't need to take care about
> the A20 line and whatever when you spawn a program.
> The Spawn function will do it itself if necessary.

Could you elaborate why do you think so?  The DJGPP library code doesn't 
do anything about A20 line inside `spawn'.

> A few solutions :
> - run your program in full dos mode without any
> memory managers (emm, qemm, himem...) and don't
> spawn it from your DJGPP program.
> - rewrite your program using DPMI interface

If the problem is with privileged instructions (and I'm not sure), 
another solution would be to run under CWSDPR0, which runs DJGPP programs 
in ring 0.

- Raw text -


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