2
0
Эх сурвалжийг харах

Avoid trying to use invalid instruction exception if Test8087 is below 2, as older CPU ignore simply invalid instructions

git-svn-id: trunk@36298 -
pierre 8 жил өмнө
parent
commit
e092f00843

+ 2 - 0
rtl/msdos/system.pp

@@ -167,6 +167,8 @@ Procedure SysInitFPU;
       fldcw   localfpucw
       fldcw   localfpucw
       fwait
       fwait
     end;
     end;
+    if Test8087 < 2 then
+      exit;
     asm
     asm
       push es
       push es
       push ds
       push ds