mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-24 09:10:53 +02:00
* only load the low byte of the color in PutPixelX
git-svn-id: trunk@41044 -
This commit is contained in:
parent
e80d1564ed
commit
5556757f95
@ -2654,7 +2654,7 @@ const CrtAddress: word = 0;
|
|||||||
shl ah, cl ; (* Get Plane Select Value *)
|
shl ah, cl ; (* Get Plane Select Value *)
|
||||||
out dx, ax
|
out dx, ax
|
||||||
(* End selection of plane *)
|
(* End selection of plane *)
|
||||||
mov ax,[Color] ; { only lower byte is used. }
|
mov al, byte ptr [Color] ; { only lower byte is used. }
|
||||||
mov es:[di], al
|
mov es:[di], al
|
||||||
@@Done:
|
@@Done:
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user