mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 19:29:18 +02:00
+ enabled the MCGA and 16-colour VGA modes in the graph unit for i8086-msdos
git-svn-id: trunk@25662 -
This commit is contained in:
parent
8a0dccf590
commit
9a1018ec57
@ -3514,7 +3514,7 @@ const CrtAddress: word = 0;
|
|||||||
AddMode(mode);
|
AddMode(mode);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
(* if VGADetected then
|
if VGADetected then
|
||||||
begin
|
begin
|
||||||
SaveVideoState := @SaveStateVGA;
|
SaveVideoState := @SaveStateVGA;
|
||||||
{$ifdef logging}
|
{$ifdef logging}
|
||||||
@ -3673,7 +3673,7 @@ const CrtAddress: word = 0;
|
|||||||
AddMode(mode);
|
AddMode(mode);
|
||||||
|
|
||||||
|
|
||||||
InitMode(mode);
|
(* InitMode(mode);
|
||||||
{ now add all standard VGA modes... }
|
{ now add all standard VGA modes... }
|
||||||
mode.DriverNumber:= LowRes;
|
mode.DriverNumber:= LowRes;
|
||||||
mode.HardwarePages:= 0;
|
mode.HardwarePages:= 0;
|
||||||
@ -3717,7 +3717,7 @@ const CrtAddress: word = 0;
|
|||||||
mode.InitMode := {$ifdef fpc}@{$endif}InitModeX;
|
mode.InitMode := {$ifdef fpc}@{$endif}InitModeX;
|
||||||
mode.XAspect := 8333;
|
mode.XAspect := 8333;
|
||||||
mode.YAspect := 10000;
|
mode.YAspect := 10000;
|
||||||
AddMode(mode);
|
AddMode(mode);*)
|
||||||
|
|
||||||
InitMode(mode);
|
InitMode(mode);
|
||||||
mode.ModeNumber:=VGALo;
|
mode.ModeNumber:=VGALo;
|
||||||
@ -3796,7 +3796,7 @@ const CrtAddress: word = 0;
|
|||||||
AddMode(mode);
|
AddMode(mode);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ check if VESA adapter supPorted... }
|
(* { check if VESA adapter supPorted... }
|
||||||
{$ifndef noSupPortVESA}
|
{$ifndef noSupPortVESA}
|
||||||
hasVesa := getVesaInfo(VESAInfo);
|
hasVesa := getVesaInfo(VESAInfo);
|
||||||
{ VBE Version v1.00 is unstable, therefore }
|
{ VBE Version v1.00 is unstable, therefore }
|
||||||
|
Loading…
Reference in New Issue
Block a user