Mail Archives: djgpp/1993/10/05/17:32:33
In 1.11, you could trap the critical error handlers with a DPMI
real-mode callback. The trick is that you can't do much other than
set a flag from the handler because of the way DPMI handles the stack.
Note that this is more lenient in non-DPMI environments, but it's
still dangerous to do system calls from an interrupt handler. You
might be able to get away with BIOS calls, but I don't know if I can
guarantee it just yet.
In no case can you longjmp out of an interrupt handler.
- Raw text -