www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/26/03:06:00

Date: Thu, 26 Sep 1996 08:53:52 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Alf Stockton <stockton AT fast DOT co DOT za>
Cc: djgpp AT delorie DOT com
Subject: Re: spawn
In-Reply-To: <199609251351.PAA02549@ohm.fast.co.za>
Message-Id: <Pine.SUN.3.91.960926085006.16087D-100000@is>
Mime-Version: 1.0

On Wed, 25 Sep 1996, Alf Stockton wrote:

> But now what happens if the spawning program has been compiled with DJGPP
> and is a 32 bit, flat memory, DPMI and all the bells and whistles program.
> The 640k is gone so where does the spawned program run and does it make any
> difference if it is a 16 bit app being spawned by a 32 bit program ? 

When a real-mode 16-bit app is spawned by DJGPP program, it works as 
usual in the lower 640KB (some 70-100KB of that is taken by the DPMI host 
and DOS memory that your DJGPP program uses).

The DJGPP FAQ list tells the story of the memory allocation when a DJGPP 
program spawns another DJGPP program.  Look in section 15.8 there.

- Raw text -


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