Browse Source

* fixed register in comment

git-svn-id: trunk@41054 -
nickysn 6 years ago
parent
commit
aca3933f6d
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

@@ -2642,7 +2642,7 @@ const CrtAddress: word = 0;
     (* End multiply by 80  *)
     (* End multiply by 80  *)
     add ax, [StartXViewPort]
     add ax, [StartXViewPort]
     mov cx, ax
     mov cx, ax
-    {DI = Y * LINESIZE, BX = X, coordinates admissible}
+    {DI = Y * LINESIZE, CX = X, coordinates admissible}
     shr ax, 1
     shr ax, 1
     shr ax, 1
     shr ax, 1
     add di, ax                ; {DI = Y * LINESIZE + (X SHR 2) }
     add di, ax                ; {DI = Y * LINESIZE + (X SHR 2) }