+ 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:
nickysn 2013-10-05 21:25:50 +00:00
parent 8a0dccf590
commit 9a1018ec57

View File

@ -3514,7 +3514,7 @@ const CrtAddress: word = 0;
AddMode(mode);
end;
(* if VGADetected then
if VGADetected then
begin
SaveVideoState := @SaveStateVGA;
{$ifdef logging}
@ -3673,7 +3673,7 @@ const CrtAddress: word = 0;
AddMode(mode);
InitMode(mode);
(* InitMode(mode);
{ now add all standard VGA modes... }
mode.DriverNumber:= LowRes;
mode.HardwarePages:= 0;
@ -3717,7 +3717,7 @@ const CrtAddress: word = 0;
mode.InitMode := {$ifdef fpc}@{$endif}InitModeX;
mode.XAspect := 8333;
mode.YAspect := 10000;
AddMode(mode);
AddMode(mode);*)
InitMode(mode);
mode.ModeNumber:=VGALo;
@ -3796,7 +3796,7 @@ const CrtAddress: word = 0;
AddMode(mode);
end;
{ check if VESA adapter supPorted... }
(* { check if VESA adapter supPorted... }
{$ifndef noSupPortVESA}
hasVesa := getVesaInfo(VESAInfo);
{ VBE Version v1.00 is unstable, therefore }