Mail Archives: djgpp/2001/07/25/10:48:16
Charles Sandmann <sandmann AT clio DOT rice DOT edu> wrote:
: XMS memory and manage it for DPMI applications. If a non-32-bit-DPMI
: protected mode application tries to run, it won't be able to get any XMS
: memory (bad things can happen in the raw memory management world). If
Can you be more specific about what these bad things are?
: No good way, but you could purposely write an application to look at XMS
: memory, fragment it on purpose (by allocating say 1Mb, then 1Kb, then
: freeing the 1Mb) which would cause CWSDPMI to manage the larger block
: leaving the smaller block potentially to the Pharlap application. It
This is very possible. Setup a resizeable RAMDISK that uses XMS (TDSK
or XMSDSK works fine). Init it to how much memory you don't want
CWSDPMI to use. Start CWSDPMI. Now all XMS memory is allocated. Resize
the RAMDISK to 0. Voila, suitable amount of XMS memory free!
Right,
MartinS
- Raw text -