* PutPixel320 converted to pure assembler routine

git-svn-id: trunk@40924 -
This commit is contained in:
nickysn 2019-01-19 22:07:03 +00:00
parent 25c3981236
commit 28bb659a1c

View File

@ -2237,8 +2237,7 @@ End;
Mem[SegA000:Y*320+X] := Pixel;
end;
{$else asmgraph}
Procedure PutPixel320(X,Y : smallint; Pixel: ColorType);
Begin
Procedure PutPixel320(X,Y : smallint; Pixel: ColorType); assembler;
asm
{$ifdef FPC_MM_HUGE}
mov ax, SEG SegA000
@ -2272,7 +2271,6 @@ End;
mov al, byte ptr [Pixel]
stosb
@@Done:
end ['ax','di'];
end;
{$endif asmgraph}