Mail Archives: djgpp/1997/04/02/11:37:00
On Wed, 2 Apr 1997, Peter Berdeklis wrote:
> Also if you use a memory manager like QEMM you can load many of
> your TSRs into extended memory with the loader (LOADHI for QEMM).
No. QEMM indeed takes the memory from the extended RAM, but it remaps it
to the addresses below 1MB using the memory-mapping feature of the V86
mode. Real-mode DOS cannot access addresses above 1MB directly (by
dereferencing a pointer), so this remapping must be done for the TSRs to
work at all. And addresses below 1MB aren't used by DJGPP unless the
amount of free memory above 1MB is less than 256K.
Of course, if the TSR uses extended memory, like SmartDrv does, it will
make less RAM available to DJGPP programs.
> I still think that the best way is to pop out some of your RAM - although
> these days with 16MB SIMMs you still need to waste some memory.
A much easier way is to spawn the tested program from another DJGPP
program which calloc's a lot of RAM before it spawns the child.
- Raw text -