www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/16/07:20:40

From: GBeushausen AT t-online DOT de (Gunnar Beushausen)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Weirdness with _go32_remaining_physical_memory
Date: 15 Feb 1997 08:48:30 GMT
Organization: Telekom Online Internet Gateway
Lines: 19
Message-ID: <5e3t8u$uu3@news00.btx.dtag.de>
References: <5e3hua$la5 AT freenet-news DOT carleton DOT ca>
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Paul Derbyshire wrote:
> 
> When I call _go32_remaining_physical_memory (sp?) it coughs up a number
> like 32645876...and mine is an 8 meg system! Is this wishful thinking on
> the part of the compiler? =)
> 
> (btw, this call occurs AFTER I have loaded a meg or so of data into
> mallocked memory too.)
> 
> _go32_remaining_virtual_memory returns a number around 120 million, as
> expected.
> 
Hm, i don't have this problem. But isn't the function called:
_go32_dpmi_remaining_physical_memory(); ?

---
Gunnar Beushausen
GBeushausen AT t-online DOT de
http://www.hof.de/~gbasic

- Raw text -


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