mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 18:09:12 +02:00
* only load the low byte of CurrentColor in the asm version of DirectPutPixel320
git-svn-id: trunk@40957 -
This commit is contained in:
parent
1d9dae2129
commit
f1467fdaaf
@ -2345,7 +2345,7 @@ End;
|
|||||||
add di, ax
|
add di, ax
|
||||||
shr ax, 2
|
shr ax, 2
|
||||||
add di, ax
|
add di, ax
|
||||||
mov ax, [CurrentColor]
|
mov al, byte ptr [CurrentColor]
|
||||||
cmp [CurrentWriteMode],XORPut { check write mode }
|
cmp [CurrentWriteMode],XORPut { check write mode }
|
||||||
jne @MOVMode
|
jne @MOVMode
|
||||||
mov ah,es:[di] { read the byte... }
|
mov ah,es:[di] { read the byte... }
|
||||||
|
Loading…
Reference in New Issue
Block a user