diff options
author | 2011-06-05 22:35:20 +0000 | |
---|---|---|
committer | 2011-06-05 22:35:20 +0000 | |
commit | a449c766a220e5edcfc5aeb03730813a929a7c8a (patch) | |
tree | 5b6a67fa3ffcc07fb2276420fffe6111679e29e8 /src/emu/cpu/i86 | |
parent | 910fff0955cf27aa904843c130ede859231642b8 (diff) |
Cleanups and version bumpmame0142u5
Diffstat (limited to 'src/emu/cpu/i86')
-rw-r--r-- | src/emu/cpu/i86/instr286.c | 2 | ||||
-rw-r--r-- | src/emu/cpu/i86/instr86.c | 4 | ||||
-rw-r--r-- | src/emu/cpu/i86/table286.h | 16 |
3 files changed, 11 insertions, 11 deletions
diff --git a/src/emu/cpu/i86/instr286.c b/src/emu/cpu/i86/instr286.c index bbf1e43f3f5..f25a446ba64 100644 --- a/src/emu/cpu/i86/instr286.c +++ b/src/emu/cpu/i86/instr286.c @@ -841,7 +841,7 @@ static void PREFIX286(_escape_7)(i8086_state *cpustate) /* Opcode 0xdf */ if ((cpustate->msw&8) || (cpustate->msw&4)) throw TRAP(FPU_UNAVAILABLE,-1); unsigned ModRM = FETCH; ICOUNT -= timing.nop; - GetRMByte(ModRM); + GetRMByte(ModRM); if (ModRM == 0xe0) cpustate->regs.w[AX] = 0xffff; // FPU not present } diff --git a/src/emu/cpu/i86/instr86.c b/src/emu/cpu/i86/instr86.c index 75ad21446c3..8d477125627 100644 --- a/src/emu/cpu/i86/instr86.c +++ b/src/emu/cpu/i86/instr86.c @@ -1177,8 +1177,8 @@ static void PREFIX86(_cmp_axd16)(i8086_state *cpustate) /* Opcode 0x3d */ static void PREFIX86(_aas)(i8086_state *cpustate) /* Opcode 0x3f */ { -// UINT8 ALcarry=1; -// if (cpustate->regs.b[AL]>0xf9) ALcarry=2; +// UINT8 ALcarry=1; +// if (cpustate->regs.b[AL]>0xf9) ALcarry=2; if (AF || ((cpustate->regs.b[AL] & 0xf) > 9)) { diff --git a/src/emu/cpu/i86/table286.h b/src/emu/cpu/i86/table286.h index 24b1b05215b..0ac2afa7570 100644 --- a/src/emu/cpu/i86/table286.h +++ b/src/emu/cpu/i86/table286.h @@ -221,14 +221,14 @@ static void (*const PREFIX286(_instruction)[256])(i8086_state *cpustate) = PREFIX86(_aad), /* 0xd5 */ PREFIX286(_invalid), PREFIX86(_xlat), /* 0xd7 */ - PREFIX286(_escape), /* 0xd8 */ - PREFIX286(_escape), /* 0xd9 */ - PREFIX286(_escape), /* 0xda */ - PREFIX286(_escape), /* 0xdb */ - PREFIX286(_escape), /* 0xdc */ - PREFIX286(_escape), /* 0xdd */ - PREFIX286(_escape), /* 0xde */ - PREFIX286(_escape_7), /* 0xdf */ + PREFIX286(_escape), /* 0xd8 */ + PREFIX286(_escape), /* 0xd9 */ + PREFIX286(_escape), /* 0xda */ + PREFIX286(_escape), /* 0xdb */ + PREFIX286(_escape), /* 0xdc */ + PREFIX286(_escape), /* 0xdd */ + PREFIX286(_escape), /* 0xde */ + PREFIX286(_escape_7), /* 0xdf */ PREFIX86(_loopne), /* 0xe0 */ PREFIX86(_loope), /* 0xe1 */ PREFIX86(_loop), /* 0xe2 */ |