mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 13:09:32 +02:00
* 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:
parent
c986e5891a
commit
24f0625ee8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user