Mail Archives: djgpp/1992/02/04/06:01:23
This is probably a foolish question but ...
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
if( coreleft() < 4 MB ) {
do this;
}
else do that;
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 ...
Mike Ressler
ressler AT galileo DOT ifa DOT hawaii DOT edu
- Raw text -