Mail Archives: djgpp/1996/01/10/15:19:57
I was wanting to use "far" memory blocks (extended memory outside of the main pool)
under djgpp v2b3, but this seems to cause problems with malloc (seg fault). What
seems to be happening is that when I have DPMI allocate a block for me, it seems to
prevent the program's block from expanding.
I was wandering if it is possible to controll where DPMI allocates these blocks,
similar to the way you can in DOS (bottom first, top first, etc). I couldn't find any
references to this in the DPMI spec. Have I missed something, or is it just not
possible.
The segfaults happen under both cwsdpmi b9 and win 3.11.
TIA
Bill
- Raw text -