Previous 199869 Revisions Next

r45044 Saturday 20th February, 2016 at 14:34:21 UTC by Carl
i386: stuff (nw)
[src/devices/cpu/i386]i386ops.inc

trunk/src/devices/cpu/i386/i386ops.inc
r253555r253556
25062506{
25072507   if(PROTECTED_MODE && (m_CPL != 0))
25082508      FAULT(FAULT_GP,0)
2509   UINT32 ea = i386_translate(ES, REG32(EDI), 1);
2510   m_cr[0] = READ32(ea);
2509   UINT32 ea = i386_translate(ES, REG32(EDI), 0);
2510   m_cr[0] = READ32(ea) & 0xfffeffff; // wp not supported on 386
25112511   set_flags(READ32(ea + 0x04));
25122512   m_eip = READ32(ea + 0x08);
25132513   REG32(EDI) = READ32(ea + 0x0c);


Previous 199869 Revisions Next


© 1997-2024 The MAME Team