DPMI RawModeSwitch support added

Alexandre Julliard julliard at winehq.com
Tue May 7 12:59:40 CDT 2002


Jukka Heinonen <jhei at 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.

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list