Mail Archives: djgpp/1996/02/27/21:50:08
> From the DPMI spec (http://www.delorie.com/djgpp/doc/dpmi/) :
> The real mode stack is at least 200H bytes in size ... Interrupts that
> are reflected to real mode, as well as calls
> to real mode interrupt handlers or procedures via Int 31H Functions
> 0300H, 0301H, or 0302H, will use this stack.
Beware - this is the total size of the stack, so things like real mode
interrupts which happen in these functions will also use this stack.
In case of nesting or real mode callbacks, you also sharethe same 200H bytes.
The DPMI 0.9 specification (in Section 11) indicates you should not use
the default stack if your procedure/interrupt routine uses more than 30 words
(ie 60 bytes, or 1/8 of the total) of stack space.
- Raw text -