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" To: "Florian X" 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 Precedence: bulk > From: "Florian X" > 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 ;-)!