Date: Fri, 25 Aug 2000 18:23:34 +0530
Message-Id: <200008251253.SAA01000@midpec.com>
X-Authentication-Warning: midpec.com: tr set sender to tr AT eth DOT net using -f
From: Prashant TR
To: haim DOT cohen AT intel DOT com
CC: djgpp AT delorie DOT com
In-reply-to: <8o2ggb$oi7@news.or.intel.com> (haim.cohen@intel.com)
Subject: Re: How to get the size of available memory ?
References: <8o2ggb$oi7 AT news DOT or DOT intel DOT com>
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
This depends on which memory you're talking of - physical memory or
the memory available to programs. If it's the memory available to
programs, you need to use the _go32_dpmi_get_free_memory_information.
If you're talking of physical memory, you need to try INT 15H/E820,
INT 15H/E801, INT 15H/88H, in *that order*. If you require a sample
program, please mail me in private.
| From: "Haim Cohen"
| Date: Thu, 24 Aug 2000 09:48:40 +0300
| DJ-Gateway: from newsgroup comp.os.msdos.djgpp
|
| Hi !
| Is someone know how to get the size of the available memory in the system by
| C/C++ standard routines or assembly commands ?
|
| thanks.
|
--
Prashant TR
Web: http://www.midpec.com/