Date: Tue, 4 Feb 92 08:34:46 EST From: DJ Delorie To: ressler AT galileo DOT ifa DOT hawaii DOT edu Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Function similar to Turbo C's coreleft()??? Status: O >Is there a __simple__ way of figuring out how much physical RAM is available >to a program, something like coreleft() and farcoreleft() in Turbo C? For >instance, something that would let me write No there isn't, but it will be added in a future release - probably about the same time that I teach malloc() how to return null. >I know that debug32 can figure this out, but I assume that it uses Turbo C >functions to examine base memory, xms memory, etc. whereas I wish to do it >from gcc directly. Any tips are greatly appreciated ... Debug32 IS the extender when you use it, so of course it knows what's out there. DJ dj AT ctron DOT com Life is a banana.