Date: Thu, 26 Sep 1996 08:53:52 +0200 (IST) From: Eli Zaretskii To: Alf Stockton Cc: djgpp AT delorie DOT com Subject: Re: spawn In-Reply-To: <199609251351.PAA02549@ohm.fast.co.za> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.