Browse Source

* fix register in comment

git-svn-id: trunk@41031 -
nickysn 6 years ago
parent
commit
8e832f31dc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/graph/src/msdos/graph.pp

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

@@ -2508,7 +2508,7 @@ const CrtAddress: word = 0;
     mov cx, [X]
     mov cx, [X]
     add cx, [StartXViewPort]
     add cx, [StartXViewPort]
     mov ax, cx
     mov ax, cx
-    {SI = Y * LINESIZE, BX = X, coordinates admissible}
+    {SI = Y * LINESIZE, CX = X, coordinates admissible}
     shr ax, 1                    ; (* Faster on 286/86 machines         *)
     shr ax, 1                    ; (* Faster on 286/86 machines         *)
     shr ax, 1
     shr ax, 1
     add si, ax                ; {SI = Y * LINESIZE + (X SHR 2) }
     add si, ax                ; {SI = Y * LINESIZE + (X SHR 2) }