The correct expression for the virtual flags in DPMI is get_vFLAGS(TheCPU.eflags) which gets the VIF from the vm86s structure. git-svn-id: https://dosemu.svn.sourceforge.net/svnroot/dosemu/trunk@1219 7758b857-130e-0410-ab9c-d8735a528d18