* use huge memory model compatible initialization of es=SegA000 in the asm

version of DirectPutPixel16

git-svn-id: trunk@40900 -
This commit is contained in:
nickysn 2019-01-19 10:58:18 +00:00
parent c986e5891a
commit 24f0625ee8

View File

@ -1942,7 +1942,13 @@ End;
end;
{ note: still needs xor/or/and/notput support !!!!! (JM) }
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}
{ enable the set / reset function and load the color }
mov dx, 3ceh
mov ax, 0f01h