FPU opcodes 0xd9 0xd8-0xdf, despite being undefined, do not throw an illegal instruction exception. Eradicator now works.

This commit is contained in:
TomW 2013-08-24 15:11:30 +01:00
commit af6d9474e6

View file

@ -414,6 +414,10 @@ void x87_d9()
if (fplog) pclog("FNOP\n");
cycles-=3;
return;
case 0xD8: case 0xD9: case 0xDA: case 0xDB: /*Invalid, but apparently not illegal*/
case 0xDC: case 0xDD: case 0xDE: case 0xDF:
cycles-=3;
return;
case 0xE0: /*FCHS*/
if (fplog) pclog("FCHS\n");
ST(0)=-ST(0);