First post, by superfury

User metadata
Rank l33t

What instructions are affected by the Virtual 8086 mode when they affect the interrupt flag? When is the interrupt flag not updated when an instruction tries to update the interrupt flag?

Running UniPCemu in V86 mode seems to have some weird issue where it ends up with the interrupt flag disabled while performing some kind of loop depending on a interrupt that needs to fire for the loop to exit(e.g. waiting for a timer).

I see said behaviour happening with various software running in V86 mode(e.g. Eurosoft PC-Check, the game Privateer). They all depend on some kind of things that happen in a IRQ handler(mostly PIT0 timer interrupt driven, so IRQ0), while the interrupt flag is disabled, never allowing any such interrupt to occur?

UniPCemu Git repository
UniPCemu for Android, Windows and PSP on itch.io
Older UniPCemu PC/Android/PSP releases