delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/10/01/20:25:13

From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <9610020024.AA15296@clio.rice.edu>
Subject: Re: Stub error messages (Was: Re: 'Cannot open')
To: fighteer AT cs DOT com
Date: Tue, 1 Oct 1996 19:24:04 -0600 (CDT)
Cc: eliz AT is DOT elta DOT co DOT il, djgpp-workers AT delorie DOT com
In-Reply-To: <3251C64B.3DA6@cs.com> from "John M. Aldrich" at Oct 1, 96 06:33:00 pm

> What I would particularly like is a method to determine the base amount
> of physical RAM on the host computer, as opposed to the physical memory
> remaining when the program is run.  I imagine this would require some
> sort of BIOS call.  Charles offered to send me some examples of memory
> detection algorithms a while back - if any of those touch on this
> question I'd love to see them.

The physical memory remaining is very environment dependent ... and will
depend on if a DPMI application is running under a DPMI server or if you
are still in real mode...  Yes, I have code which does this in most
(all?) environments - if I haven't sent it to you and you want it
let me know (it does call some routines from cwsdpmi since I was too
lazy to recode up VCPI and XMS API detection calls).

- Raw text -


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