First post, by superfury
What is the correct behaviour of the 32-bit pop of EIP when returning from protected mode to V86 mode?
I see that Dosbox masks EIP with 0xFFFF, so the top 16 bits are truncated. But PCem doesn't truncate it at all?
I see that V86mon in UniPCemu tries to return to 200XD in it's very first IRETD to V86 mode, so would that return to address XDh instead of 200XD(according to Dosbox) or X D(According to PCem and perhaps others(unchecked source code of other emulators))?
Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io