delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/01/15:44:52

Message-Id: <200006011942.WAA16282@alpha.netvision.net.il>
Date: Thu, 01 Jun 2000 22:41:36 +0200
X-Mailer: Emacs 20.6 (via feedmail 8.1.emacs20_6 I) and Blat ver 1.8.5b
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
To: "Florian X" <dos DOT fire AT aon DOT at>
CC: djgpp AT delorie DOT com
In-reply-to: <393682e4$0$81880@SSP1NO17.highway.telekom.at> (dos.fire@aon.at)
Subject: Re: DPMI
References: <393682e4$0$81880 AT SSP1NO17 DOT highway DOT telekom DOT at>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Florian X" <dos DOT fire AT aon DOT at>
> Newsgroups: comp.os.msdos.djgpp
> Date: Thu, 1 Jun 2000 17:35:09 +0200
> 
> There are some dpmi funktions, which tell me how many memory is free
> (physical and virtual). But how can I know, how much memory has the
> computer?

This depends on the OS and DPMI server you use.  With some of them,
it's impossible (they simply don't tell).

Try __dpmi_get_free_memory_information, and see what's the value of the
total_number_of_physical_pages member in the struct it returns.

Good luck (you'll need it ;-)!

- Raw text -


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