Mail Archives: djgpp/1996/04/28/20:39:56
Reply to message 3703662 from JUSTIN AT YOSS DOT C on 04/28/96 2:56PM
>I have a program compiled with djgpp 2.0. It needs to spawn other programs,
>some of which are real mode programs which depend on finding free
>XMS/EMS. Now the real-mode part is no problem at all. But how do I
>free up all the unused dpmi memory so that other programs can find free
>xms?
When your program spawns any other program, the DPMI host swaps it
out as necessary to provide the memory the spawnee requests. This
includes real-mode programs, as far as I know. Just make sure you
have enough swap space.
BTW, be thankful that you are using v2 and not v1.2 - the latter swapped
the ENTIRE program out each time any other program was spawned,
resulting in utterly abominable performance. :)
John
- Raw text -