Previous 199869 Revisions Next

r33023 Monday 27th October, 2014 at 23:05:44 UTC by Barry Rodewald
i386: fix segment present check for calls to a TSS
[src/emu/cpu/i386]i386.c

trunk/src/emu/cpu/i386/i386.c
r241534r241535
17271727               logerror("CALL: TSS: TSS is busy.\n");
17281728               FAULT(FAULT_TS,selector & ~0x03) // #TS(selector)
17291729            }
1730            if(desc.flags & 0x0080)
1730            if((desc.flags & 0x0080) == 0)
17311731            {
1732               logerror("CALL: TSS: Segment is not present.\n");
1732               logerror("CALL: TSS: Segment %02x is not present.\n",selector);
17331733               FAULT(FAULT_NP,selector & ~0x03) // #NP(selector)
17341734            }
17351735            if(desc.flags & 0x08)


Previous 199869 Revisions Next


© 1997-2024 The MAME Team