Jukka Heinonen jhei@iki.fi writes:
The patch does some potentially nasty things in memory/instr.c:
- indirect jump to RawModeSwitch routine using interrupt handler.
- directly calling interrupt handler so that I don't have to worry about relay code.
The problem with that is that you are going to run the DOS VM from inside the signal handler, which is probably not a good idea. Also I think you'll need to patch the context to make sure the code returns after the int31 instruction.