www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/05/01:42:51

Date: Sun, 5 Nov 2000 08:41:00 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Jerzy Klejnowski <dziabol AT polbox DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Buffers and physical addresses
In-Reply-To: <3A04A997.D8194D69@polbox.com>
Message-ID: <Pine.SUN.3.91.1001105083456.27000E-100000@is>
MIME-Version: 1.0
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

On Sun, 5 Nov 2000, Jerzy Klejnowski wrote:

> As DPMI "hides" physical locations entirely, I've
> tried to use locked XMS memory. But when I call 'himem.sys' from
> djgpp program, it says: "I am here, but I have 0 bytes of memory
> available".

Install a memory manager, such as EMM386 or one of its replacements, and 
the problem will go away.  As the DJGPP FAQ explains in section 15.8, 
when VCPI is not available, CWSDPMI allocates all of the extended memory 
to itself, because CWSDPMI is not a memory manager.

> is it possible to tell cwsdpmi or pmode/dj: "leave x MB of memory,
> take the rest"?

You could install a TSR that lies about the amount of free extended 
memory, if installing a memory manager is not an option.

- Raw text -


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