delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/10/10/20:51:14

Message-ID: <325DBA74.771E@cs.com>
Date: Thu, 10 Oct 1996 20:09:40 -0700
From: "John M. Aldrich" <fighteer AT cs DOT com>
Reply-To: fighteer AT cs DOT com
Organization: Three pounds of chaos and a pinch of salt
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: Mark Habersack <grendel AT ananke DOT amu DOT edu DOT pl>, djgpp-workers AT delorie DOT com
Subject: Re: Stub error messages (Was: Re: 'Cannot open')
References: <Pine DOT SUN DOT 3 DOT 91 DOT 961009073332 DOT 8012A-100000 AT is>

Eli Zaretskii wrote:
> 
> I meant of course 64MB, not 128MB: if DPMI says you have more than 64MB
> of physical RAM, add 64MB to what CMOS says.

Probably the best solution is to test for DPMI reporting _more_ RAM than
is reported by the CMOS.  At worst, you'd have a buffer zone of 5-10 MB
at the 64MB mark due to memory currently in use, but anybody with more
than 64MB installed probably isn't going to stop at 68 or 72.

I think we can accurately report on well over 99% of the machines out
there with this method.  (not counting NT, of course)

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I  |        fighteer AT cs DOT com         |
| Plan:  To find ANYONE willing to |   http://www.cs.com/fighteer   |
| play Descent 2 on DWANGO!        | Tagline: <this space for rent> |
---------------------------------------------------------------------

- Raw text -


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