delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/10/02:31:49

From: Joe Wright <wrightj AT exis DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Programming Help Please
Date: Thu, 09 Jan 1997 20:02:28 -0500
Organization: Alpha Solutions
Lines: 9
Message-ID: <32D59523.5778@exis.net>
Reply-To: wrightj AT exis DOT net
NNTP-Posting-Host: ppp-3-77.exis.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I need to know, programmatically, system memory size so that I can take
some action depending on more or less than 8 MB.  I tried the int86()
approach and got 0K and also tried biosmemory() but got 640K.
If it is possible, can someone give me a snippet of code which will
report memory size?  Thank you.
-- 
Joe Wright     mailto:wrightj AT exis DOT net
"Everything should be made as simple as possible, but not simpler."
         --Albert Einstein--

- Raw text -


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