Rein Klazes wijn@online.nl writes:
@@ -203,9 +203,9 @@ void WINAPI _fpMath( CONTEXT *context ) context->Eax &= ~0xffff; /* set AX to 0 */ break;
- case 11: /* just returns the installed flag in DX:AX */
- case 11: /* returns in ax whether a 8087 coprocessor is present, say yes */ context->Edx &= ~0xffff; /* set DX to 0 */
context->Eax = (context->Eax & ~0xffff) | Installed;
context->Eax = (context->Eax & ~0xffff) | 1;
Should you set Installed to 1 instead?