Pārlūkot izejas kodu

* Mode-X fixed (regcall-related bugfix in the asm of SetVisualX)

git-svn-id: trunk@15872 -
nickysn 15 gadi atpakaļ
vecāks
revīzija
9a4238dea9
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      packages/graph/src/go32v2/graph.pp

+ 1 - 1
packages/graph/src/go32v2/graph.pp

@@ -1498,7 +1498,7 @@ const CrtAddress: word = 0;
      push cx
      push dx
 {$IFDEF REGCALL}
-     mov cx, ax
+     mov cx, dx
 {$ENDIF REGCALL}
       { Wait if we are currently in a Vertical Retrace        }
      MOV     DX, INPUT_1         { Input Status #1 Register       }