Date: Tue, 8 Oct 1996 16:50:31 +0200 (MET DST) From: Mark Habersack Reply-To: grendel AT ananke DOT amu DOT edu DOT pl To: Eli Zaretskii cc: "John M. Aldrich" , djgpp-workers AT delorie DOT com Subject: Re: Stub error messages (Was: Re: 'Cannot open') In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 8 Oct 1996, Eli Zaretskii wrote: >I would suggest something much simpler: if you get 0 from the code I >posted, just tell them that they have ``at least 128MB of memory''. And if you get 65536? You can't tell whether it is the amount of memory REALLY installed in the computer... >Machines which have that much, really don't have to worry about the >exact number... > >A still better solution is to check the physical memory returned by the >DPMI functions, and if it's more than 128MB, add 128MB to the value >returned by CMOS. I think that it's sensible. Still, it would be great to have a way to find out the actual and exact amout of memory present. --------------------------------------------------------------------------- You can't brush me under the carpet, you can't hide me under the stairs, The custodian of your private fears, your leading actor of yesteryear, Who as you crawled out of the alleys of obscurity, sentenced to rejection in the morass of anonymity. You who I directed with a lover's will, you who I let hypnotise the lens. You who I let bathe in the spotlights glare. You who wiped me from your memory like a greasepaint mask, just like a greasepaint mask... -------------------- http://ananke.amu.edu.pl/~grendel -------------------