the video.pp from rtl-console is heavily used in fv and it's descendents.
the DetectVideo-Procedure in drivers should detect the current -text-console mode, without changing it.
therefore it's declared as
procedure DetectVideo;
VAR
CurrMode : TVideoMode;
begin
{ Video.InitVideo; Incompatible with BP
and forces a screen clear which is often a bad thing PM }
GetVideoMode(CurrMode);
ScreenMode:=CurrMode;
end;
But since video isn't initialized, it returns zero-values.
But on video.initVideo the screen is changed.
Is there a way to init video, another (less invasive) way ?