FPU can be enabled/disasbled through C_FPU define.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1019
This commit is contained in:
parent
6295928842
commit
2667e412a2
1 changed files with 5 additions and 0 deletions
|
@ -539,6 +539,7 @@ switch (inst.code.op) {
|
|||
BSWAP(inst.op1.d);
|
||||
break;
|
||||
case O_FPU:
|
||||
#if C_FPU
|
||||
switch (((inst.rm>=0xc0) << 3) | inst.code.save) {
|
||||
case 0x00: FPU_ESC0_EA(inst.rm,inst.rm_eaa);break;
|
||||
case 0x01: FPU_ESC1_EA(inst.rm,inst.rm_eaa);break;
|
||||
|
@ -559,6 +560,10 @@ switch (inst.code.op) {
|
|||
case 0x0f: FPU_ESC7_Normal(inst.rm);break;
|
||||
}
|
||||
goto nextopcode;
|
||||
#else
|
||||
LOG(LOG_CPU,LOG_ERROR)("Unhandled FPU ESCAPE %d",inst.code.save);
|
||||
goto nextopcode;
|
||||
#endif
|
||||
case 0:
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue