소스 검색

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 년 전
부모
커밋
e092f00843
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      rtl/msdos/system.pp

+ 2 - 0
rtl/msdos/system.pp

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