Mail Archives: djgpp/2000/11/05/01:42:51
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 -