mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 09:06:02 +02:00
* fixed HLine16 and VLine16 to support multiple video pages
git-svn-id: trunk@15927 -
This commit is contained in:
parent
fb2fc006aa
commit
3ab733fb47
@ -1771,7 +1771,7 @@ End;
|
|||||||
StartXViewPort+ViewWidth, StartYViewPort+ViewHeight) then
|
StartXViewPort+ViewWidth, StartYViewPort+ViewHeight) then
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
ScrOfs:=y*ScrWidth+x div 8;
|
ScrOfs:=y*ScrWidth+x div 8 + VideoOfs;
|
||||||
HLength:=x2 div 8-x div 8;
|
HLength:=x2 div 8-x div 8;
|
||||||
LMask:=$ff shr (x and 7);
|
LMask:=$ff shr (x and 7);
|
||||||
{$ifopt r+}
|
{$ifopt r+}
|
||||||
@ -1901,7 +1901,7 @@ End;
|
|||||||
StartXViewPort+ViewWidth, StartYViewPort+ViewHeight) then
|
StartXViewPort+ViewWidth, StartYViewPort+ViewHeight) then
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
ScrOfs:=y*ScrWidth+x div 8;
|
ScrOfs:=y*ScrWidth+x div 8 + VideoOfs;
|
||||||
BitMask:=$80 shr (x and 7);
|
BitMask:=$80 shr (x and 7);
|
||||||
Port[$3ce]:=0;
|
Port[$3ce]:=0;
|
||||||
If CurrentWriteMode <> NotPut Then
|
If CurrentWriteMode <> NotPut Then
|
||||||
|
Loading…
Reference in New Issue
Block a user