www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/24/01:18:04

Date: Thu, 24 May 2001 01:17:29 -0400
Message-Id: <200105240517.BAA16599@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <3b0c4a72.sandmann@clio.rice.edu>
Subject: Re: Maximising conventional memory for shelled program
References: <56a3c75f DOT 0105230150 DOT 75217dd4 AT posting DOT google DOT com> <3b0c4a72 DOT sandmann AT clio DOT rice DOT edu>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> 1) Stubedit your executable and change the transfer buffer to 4K bytes
>    (or less, 2.5K used to be the minimum).

The stub itself uses 2.5k of DOS memory, so you have to have at least
that much owned by you just to run the program.  Once you're in 32-bit
land, the entire stub is converted into a transfer buffer, leaving
*nothing* wasted.

- Raw text -


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