mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-16 23:30:36 +02:00
* PutPixel320 converted to pure assembler routine
git-svn-id: trunk@40924 -
This commit is contained in:
parent
25c3981236
commit
28bb659a1c
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user