mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 04:59:26 +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]
|
||||
add cx, [StartXViewPort]
|
||||
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
|
||||
add si, ax ; {SI = Y * LINESIZE + (X SHR 2) }
|
||||
|
Loading…
Reference in New Issue
Block a user