mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 05:49:23 +02:00
* fix register in comment
git-svn-id: trunk@41031 -
This commit is contained in:
parent
9c3d65b08f
commit
8e832f31dc
@ -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) }
|
||||||
|
Loading…
Reference in New Issue
Block a user