mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 15:49:26 +02:00
* huge memory model fix for the asm version of PutPixel320
git-svn-id: trunk@40910 -
This commit is contained in:
parent
dca76d84c9
commit
e12968eb8c
@ -2252,7 +2252,13 @@ End;
|
||||
X:= X + StartXViewPort;
|
||||
Y:= Y + StartYViewPort;
|
||||
asm
|
||||
{$ifdef FPC_MM_HUGE}
|
||||
mov ax, SEG SegA000
|
||||
mov es, ax
|
||||
mov es, es:[SegA000]
|
||||
{$else FPC_MM_HUGE}
|
||||
mov es, [SegA000]
|
||||
{$endif FPC_MM_HUGE}
|
||||
mov ax, [Y]
|
||||
mov di, [X]
|
||||
xchg ah, al { The value of Y must be in AH }
|
||||
|
Loading…
Reference in New Issue
Block a user