mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 11:29:16 +02:00
* swapped ax and cx in PutPixelX
git-svn-id: trunk@41036 -
This commit is contained in:
parent
5ca7382516
commit
d04f801ee2
@ -2637,9 +2637,9 @@ const CrtAddress: word = 0;
|
|||||||
shl di, 1
|
shl di, 1
|
||||||
add di, bx ; (* Multiply Value by 80 *)
|
add di, bx ; (* Multiply Value by 80 *)
|
||||||
(* End multiply by 80 *)
|
(* End multiply by 80 *)
|
||||||
mov cx, [X]
|
mov ax, [X]
|
||||||
add cx, [StartXViewPort]
|
add ax, [StartXViewPort]
|
||||||
mov ax, cx
|
mov cx, ax
|
||||||
{DI = Y * LINESIZE, BX = X, coordinates admissible}
|
{DI = Y * LINESIZE, BX = X, coordinates admissible}
|
||||||
shr ax, 1
|
shr ax, 1
|
||||||
shr ax, 1
|
shr ax, 1
|
||||||
|
Loading…
Reference in New Issue
Block a user