mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 08:59:26 +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);
|
||||
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 }
|
||||
|
Loading…
Reference in New Issue
Block a user