From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Detecting memory Date: Mon, 16 Feb 1998 21:54:43 -0500 Organization: Two pounds of chaos and a pinch of salt. Lines: 19 Message-ID: <34E8FBF3.71AD@cs.com> References: <34e86d4c DOT 0 AT news7 DOT kcdata DOT com> NNTP-Posting-Host: ppp242.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Jeremy Lounds wrote: > > I am trying to detect how much memory is available to my program, but it > always returns a really high number (like 128 MB), when all I have is 16 MB. > What function could I call to find the available pysical > memory? _go32_dpmi_remaining_physical_memory(). See chapter 15 of the DJGPP FAQ for more information. -- John M. Aldrich, aka Fighteer I UIN# 7406319 -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS d- s+:- a-->? C++>$ U@>++$ p>+ L>++ E>++ W++ N++ o+>++ K? w(---) O- M-- V? PS+ PE Y+ PGP- t+(-) 5- X- R+(++) tv+() b+++ DI++ D++ G>++ e(*)>++++ h!() !r !y+() ------END GEEK CODE BLOCK------ t I think it is suppose to do is creat a subdirectory called include and copy the appropriate *.h files into it. Wonder if anybody has run into this kind of problem and found a wayout. If so, please let me know. Thank so much, -- Gordon -- ,,, (. .) +-----------------------ooO-(_)-Ooo----------------------+ | Gordon Talge WB6YKK e-mail: gtalge AT pe DOT net | | Department of Mathematics QTH: Loma Linda, CA | | St. Joseph High School Lat. N 34° 03.1' | | Lakewood, California Long. W 117° 15.2' | | http://www.stjosephs.pvt.k12.ca.us | +--------------------------------------------------------+