mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 04:59:26 +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
|
||||
add di, bx ; (* Multiply Value by 80 *)
|
||||
(* End multiply by 80 *)
|
||||
mov cx, [X]
|
||||
add cx, [StartXViewPort]
|
||||
mov ax, cx
|
||||
mov ax, [X]
|
||||
add ax, [StartXViewPort]
|
||||
mov cx, ax
|
||||
{DI = Y * LINESIZE, BX = X, coordinates admissible}
|
||||
shr ax, 1
|
||||
shr ax, 1
|
||||
|
Loading…
Reference in New Issue
Block a user