Previous 199869 Revisions Next

r33098 Saturday 1st November, 2014 at 03:24:02 UTC by Carl
i386: GP fault with softint in v86 mode when iopl < 3 [Carl]
[src/emu/cpu/i386]i386.c

trunk/src/emu/cpu/i386/i386.c
r241609r241610
763763            logerror("IRQ (%08x): Software IRQ - gate DPL is less than CPL.\n",m_pc);
764764            FAULT_EXP(FAULT_GP,entry+2)
765765         }
766         if(V8086_MODE)
767         {
768            if((!m_IOP1 || !m_IOP2) && (m_opcode != 0xcc))
769            {
770               logerror("IRQ (%08x): Is in Virtual 8086 mode and IOPL != 3.\n",m_pc);
771               FAULT(FAULT_GP,0)
772            }
773
774         }
766775      }
767776
768777      if((flags & 0x0080) == 0)


Previous 199869 Revisions Next


© 1997-2024 The MAME Team