mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 17:09:09 +02:00
* PutPixelX converted to a pure assembler routine
git-svn-id: trunk@41042 -
This commit is contained in:
parent
a190d65f92
commit
a22ac81677
@ -2606,8 +2606,7 @@ const CrtAddress: word = 0;
|
||||
Mem[SegA000:offset] := color;
|
||||
end;
|
||||
{$else asmgraph}
|
||||
Procedure PutPixelX(X,Y: smallint; color:ColorType);
|
||||
begin
|
||||
Procedure PutPixelX(X,Y: smallint; color:ColorType); assembler;
|
||||
asm
|
||||
push ax
|
||||
push bx
|
||||
@ -2671,7 +2670,6 @@ const CrtAddress: word = 0;
|
||||
pop bx
|
||||
pop ax
|
||||
end;
|
||||
end;
|
||||
{$endif asmgraph}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user