mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-17 02:00:41 +01:00
* SysUpdateScreen modified esi and edi
This commit is contained in:
parent
d57089732b
commit
5c03484982
@ -131,6 +131,8 @@ begin
|
|||||||
if not force then
|
if not force then
|
||||||
begin
|
begin
|
||||||
asm
|
asm
|
||||||
|
pushl %esi
|
||||||
|
pushl %edi
|
||||||
movl VideoBuf,%esi
|
movl VideoBuf,%esi
|
||||||
movl OldVideoBuf,%edi
|
movl OldVideoBuf,%edi
|
||||||
movl VideoBufSize,%ecx
|
movl VideoBufSize,%ecx
|
||||||
@ -138,6 +140,8 @@ begin
|
|||||||
repe
|
repe
|
||||||
cmpsl
|
cmpsl
|
||||||
setne force
|
setne force
|
||||||
|
popl %edi
|
||||||
|
popl %esi
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
if Force then
|
if Force then
|
||||||
|
|||||||
@ -139,6 +139,8 @@ begin
|
|||||||
if not force then
|
if not force then
|
||||||
begin
|
begin
|
||||||
asm
|
asm
|
||||||
|
pushl %esi
|
||||||
|
pushl %edi
|
||||||
movl VideoBuf,%esi
|
movl VideoBuf,%esi
|
||||||
movl OldVideoBuf,%edi
|
movl OldVideoBuf,%edi
|
||||||
movl VideoBufSize,%ecx
|
movl VideoBufSize,%ecx
|
||||||
@ -146,6 +148,8 @@ begin
|
|||||||
repe
|
repe
|
||||||
cmpsl
|
cmpsl
|
||||||
setne force
|
setne force
|
||||||
|
popl %edi
|
||||||
|
popl %esi
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
if Force then
|
if Force then
|
||||||
|
|||||||
@ -774,6 +774,8 @@ begin
|
|||||||
begin
|
begin
|
||||||
{$ifdef cpui386}
|
{$ifdef cpui386}
|
||||||
asm
|
asm
|
||||||
|
pushl %esi
|
||||||
|
pushl %edi
|
||||||
movl VideoBuf,%esi
|
movl VideoBuf,%esi
|
||||||
movl OldVideoBuf,%edi
|
movl OldVideoBuf,%edi
|
||||||
movl VideoBufSize,%ecx
|
movl VideoBufSize,%ecx
|
||||||
@ -781,6 +783,8 @@ begin
|
|||||||
repe
|
repe
|
||||||
cmpsl
|
cmpsl
|
||||||
setne DoUpdate
|
setne DoUpdate
|
||||||
|
popl %edi
|
||||||
|
popl %esi
|
||||||
end;
|
end;
|
||||||
{$else not cpui386}
|
{$else not cpui386}
|
||||||
p1:=plongint(VideoBuf);
|
p1:=plongint(VideoBuf);
|
||||||
@ -899,7 +903,10 @@ initialization
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.23 2004-07-09 19:03:35 peter
|
Revision 1.24 2004-10-03 20:16:43 armin
|
||||||
|
* SysUpdateScreen modified esi and edi
|
||||||
|
|
||||||
|
Revision 1.23 2004/07/09 19:03:35 peter
|
||||||
* isatty return cint again
|
* isatty return cint again
|
||||||
|
|
||||||
Revision 1.21 2004/07/03 13:29:23 daniel
|
Revision 1.21 2004/07/03 13:29:23 daniel
|
||||||
|
|||||||
@ -285,6 +285,8 @@ begin
|
|||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
asm
|
asm
|
||||||
|
pushl %esi
|
||||||
|
pushl %edi
|
||||||
movl VideoBuf,%esi
|
movl VideoBuf,%esi
|
||||||
movl OldVideoBuf,%edi
|
movl OldVideoBuf,%edi
|
||||||
movl VideoBufSize,%ecx
|
movl VideoBufSize,%ecx
|
||||||
@ -292,6 +294,8 @@ begin
|
|||||||
repe
|
repe
|
||||||
cmpsl
|
cmpsl
|
||||||
setne smallforce
|
setne smallforce
|
||||||
|
popl %edi
|
||||||
|
popl %esi
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
if SmallForce then
|
if SmallForce then
|
||||||
@ -443,7 +447,10 @@ initialization
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.14 2004-09-15 18:59:40 hajny
|
Revision 1.15 2004-10-03 20:16:43 armin
|
||||||
|
* SysUpdateScreen modified esi and edi
|
||||||
|
|
||||||
|
Revision 1.14 2004/09/15 18:59:40 hajny
|
||||||
+ resolution switching fully works now
|
+ resolution switching fully works now
|
||||||
|
|
||||||
Revision 1.13 2004/09/13 20:58:57 hajny
|
Revision 1.13 2004/09/13 20:58:57 hajny
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user