Sylvain Petreolle wrote:
Unfortunately, winedbg complains on the first int21 call : First chance exception: interrupt 21 in vm86 mode in vm86 code (00d4:045e).
How can this be avoided ?
do you get the winedbg prompt or not ? if so, 'pass' should do.
This works, thanks. But the same error appears on the next interrupt call.
I tried 'mode 16' and 'mode 32' but they seem to do nothing. I stay in vm86 mode.
you shouldn't need to change the mode, why do you want to switch to mode 32 ?
since the pc has changed between the two exceptions, I assume several int 21 take place in a row. so, if you use cont at the second exception, you're stuck as for the first one. So, you should use pass if you want the execution to be correct (even the second time) A+