Illegal REP and FFh opcodes no longer cause PCem to exit.

This commit is contained in:
TomW 2013-12-11 20:18:26 +00:00
commit adde1a77a4
2 changed files with 5 additions and 5 deletions

View file

@ -1119,7 +1119,7 @@ void rep386(int fv)
default:
pc=ipc;
cycles-=20;
fatal("Bad REP %02X %i\n",temp,rep32>>8);
pclog("Bad REP %02X %i\n", temp, rep32 >> 8);
x86illegal();
}
if (rep32&0x200) ECX=c;

View file

@ -166,7 +166,7 @@ static int opFF_w_a16(uint32_t fetchdat)
break;
default:
fatal("Bad FF opcode %02X\n",rmdat&0x38);
// fatal("Bad FF opcode %02X\n",rmdat&0x38);
x86illegal();
}
return 0;
@ -232,7 +232,7 @@ static int opFF_w_a32(uint32_t fetchdat)
break;
default:
fatal("Bad FF opcode %02X\n",rmdat&0x38);
// fatal("Bad FF opcode %02X\n",rmdat&0x38);
x86illegal();
}
return 0;
@ -299,7 +299,7 @@ static int opFF_l_a16(uint32_t fetchdat)
break;
default:
fatal("Bad FF opcode %02X\n",rmdat&0x38);
// fatal("Bad FF opcode %02X\n",rmdat&0x38);
x86illegal();
}
return 0;
@ -365,7 +365,7 @@ static int opFF_l_a32(uint32_t fetchdat)
break;
default:
fatal("Bad FF opcode %02X\n",rmdat&0x38);
// fatal("Bad FF opcode %02X\n",rmdat&0x38);
x86illegal();
}
return 0;