Browse Source

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

git-svn-id: trunk@15872 -
nickysn 15 years ago
parent
commit
9a4238dea9
1 changed files with 1 additions and 1 deletions
  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       }