Date: Mon, 20 Apr 1998 16:06:18 +0300 (IDT) From: Eli Zaretskii To: DJ Delorie 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.