www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/01/11/10:54:39

To: Bill Davidson <bdavidson AT ra DOT isisnet DOT com>
Cc: Stephen Turnbull <turnbull AT shako DOT sk DOT tsukuba DOT ac DOT jp>,
djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Ramdrive
Date: Wed, 11 Jan 95 16:53:37 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>

>> How can this be when go32 reports only 1900K free before the
>> program starts:
> Ok, if you didn't see my latest post, go32 reported 1400Kb and info 
> reported 1768 Kb.  How can this be?  How the f*** should I know?! I just 
> started using this package!  Could the difference between total extended 
> memory and extended+conventional memory be it?

You were right after all.  A quick search in the go32 sources (valloc.c)
clearly shows that what go32 prints when called with no arguments is
the amount of extended memory *only*, while the topline shows *all* of
the memory available to the VCPI server, which includes low memory.
To see them equal, at the DOS prompt type the following words of wisdom:

	go32 -d edebug

You will see the conventional memory, the VCPI memory, *and* their
sum, which is exactly what topline shows.

- Raw text -


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