mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 08:09:28 +02:00
* declare all registers as clobbered by int 10h in the asm block in SetVisual200_350 and leave it to fpc to preserve what is necessary
git-svn-id: trunk@41103 -
This commit is contained in:
parent
c3bdb2c2ee
commit
8a96bb656f
@ -2237,16 +2237,8 @@ End;
|
|||||||
asm
|
asm
|
||||||
mov ax,[page] { only lower byte is supported. }
|
mov ax,[page] { only lower byte is supported. }
|
||||||
mov ah,05h
|
mov ah,05h
|
||||||
push ebp
|
|
||||||
push esi
|
|
||||||
push edi
|
|
||||||
push ebx
|
|
||||||
int 10h
|
int 10h
|
||||||
pop ebx
|
end ['EAX','EBX','ECX','EDX','ESI','EDI','EBP'];
|
||||||
pop edi
|
|
||||||
pop esi
|
|
||||||
pop ebp
|
|
||||||
end ['EDX','EAX'];
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure SetActive200(page: word);
|
procedure SetActive200(page: word);
|
||||||
|
Loading…
Reference in New Issue
Block a user