FPU opcodes 0xd9 0xd8-0xdf, despite being undefined, do not throw an illegal instruction exception. Eradicator now works.
This commit is contained in:
parent
72f934d141
commit
af6d9474e6
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue