Mail Archives: djgpp/1994/11/23/19:50:20
> Okay, this is a dumb question, could you post to the list a
> thumbnail sketch of the differences between non-dpmi and
> (un)non-dpmi? Sort of the living non-dpmi?
In non-DPMI, go32 can put the stack at 0x7fffffff, and just not fill
in the memory inbetween that and the top of the heap. In DPMI, you
have to allocate all the memory inbetween, so we put the stack UNDER
the heap (so that we can grow the allocated block to grow the heap),
and thus need to know how big it is.
Because we just can't map things anywhere (like the stack), we also
can't do graphics - because we map the graphics buffer at 0xd0000000,
or the 387 emulator - which is mapped to 0x90000000. Even the
debugger is mapped to 0xa0000000, but in DPMI it has its own segment
and starts at zero.
DJ
- Raw text -