Mail Archives: djgpp/2001/07/26/12:30:05
> There might be one way out of this, although it's not very nice: page
> the DPMI client completely out of extended memory, either
> automatically whenever it spawns another program, or (better) when the
> spawned program requests memory via the XMS API.
I dislike the paging out of all memory - it really hurts performance on
the 99% of applications that don't need it.
It has been suggested before to have CWSDPMI hook XMS calls when it loads
to provide some support - this would make DMA buffers easier, allow
nesting programs, etc. But doing a partial XMS is a can of worms. Doing
a full XMS is re-inventing the wheel. Just paging out the memory, releasing
it on XMS call - what happens if application calls XMS inside a DPMI
program (not spawned? - difficult to tell when they use a real mode
far call what's happening). I'd still argue this is mostly a
non-problem in the real world. Let's get DJGPP stable on W2K and
XP first :-)
- Raw text -