Explorar el Código

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

git-svn-id: trunk@15872 -
nickysn hace 15 años
padre
commit
9a4238dea9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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       }