From 9a4238dea938400e45b134920eaf172499aaa48b Mon Sep 17 00:00:00 2001 From: nickysn Date: Sun, 22 Aug 2010 10:16:17 +0000 Subject: [PATCH] * Mode-X fixed (regcall-related bugfix in the asm of SetVisualX) git-svn-id: trunk@15872 - --- packages/graph/src/go32v2/graph.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/graph/src/go32v2/graph.pp b/packages/graph/src/go32v2/graph.pp index 007bf9e906..7c15f128c6 100644 --- a/packages/graph/src/go32v2/graph.pp +++ b/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 }