delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/04/20/09:06:43

Date: Mon, 20 Apr 1998 16:06:18 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: DJ Delorie <dj AT delorie DOT com>
cc: nate AT cartsys DOT com, djgpp-workers AT delorie DOT com
Subject: Re: Available memory
In-Reply-To: <199804201239.IAA24777@delorie.com>
Message-ID: <Pine.SUN.3.91.980420160421.27814B-100000@is>
MIME-Version: 1.0

On Mon, 20 Apr 1998, DJ Delorie wrote:

> Given the meaninglessness of the conversion, it might be better to
> provide a version that prints "there's no equivalent to coreleft in
> protected mode" and exits :-)

Programs which call `coreleft' want to know how much memory they can 
use.  So I don't think it is meaningless.  The DPMI calls which return 
free memory are okay, but they don't include the free blocks already 
sbrk'ed by the program.  Adding this latter memory will get the job done, 
I think.

- Raw text -


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