0,00, 7, 7, 7, 7, 7, 7,00,00,00,00,00),
(00,10,10,00,00, 7, 7, 7, 7, 7, 7,00,00,00,00,00),
(00,10,10,00,00,15, 7, 7, 7, 7,15,00,00,00,00,00),
(00,10,10,00,00,15, 7, 7, 7, 7,15,00,00,00,00,00),
(00,10,10,10,00,00,15,15,15,15,00,00,00,00,00,00),
(00,00,10,10,10,10,15,15,15,15,10,10,10,10,00,00),
(00,00,10,10,10,10,10,10,10,10,10,10,10,10,10,00),
(00,00,10,10,10,10,10,10,10,10,10,10,10,10,10,10),
(00,00,10,10,10,10,10,10,10,10,10,10,10,10,10,10),
(00,00,00,10,10,10,10,10,10,10,10,10,10,00,10,10),
(00,00,00,10,10,10,10,10,10,10,10,10,10,00,10,10),
(00,00,00,10,10,10,10,10,10,10,10,10,10,00,10,10),
(00,00,00,10,10,10,10,10,10,10,10,10,10,10,10,00),
(00,00,00,10,10,10,10,10,10,10,10,10,10,10,10,00),
(00,00,00,10,10,10,10,10,10,10,10,10,10,10,10,00),
(00,00,00,10,10,10,10,10,10,10,10,10,10,00,00,00),
(00,00,00, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,00,00,00),
(00,00,00, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,00,00,00),
(00,00,00, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,00,00),
(00,00,00, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,00,00),
(00,00,00, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,00),
(00,00, 8, 8, 8, 8, 8,00,00,00,00, 8, 8, 8, 8,00),
(00,00, 8, 8, 8, 8, 8,00,00,00,00, 8, 8, 8, 8, 8),
(00,00, 8, 8, 8, 8,00,00,00,00,00,00, 8, 8, 8, 8),
(00,00, 8, 8, 8, 8,00,00,00,00,00,00, 8, 8, 8, 8),
(00,00, 8, 8, 8, 8,00,00,00,00,00,00, 8, 8, 8, 8),
(00,00, 8, 8, 8, 8,00,00,00,00,00,00, 8, 8, 8,00),
(00,00, 8, 8, 8, 8,00,00,00,00,00,00, 8, 8, 8,00),
(00, 8, 8, 8, 8,00,00,00,00,00,00, 8, 8, 8,00,00),
(00, 8, 8, 8, 8,00,00,00,00,00,00, 8, 8, 8,00,00),
(00, 8, 8, 8, 8,00,00,00,00,00,00, 8, 8, 8,00,00),
(00, 8, 8, 8, 8,00,00,00,00,00,00,00,00,00,00,00),
(00, 8, 8, 8, 8,00,00,00,00,00,00,00,00,00,00,00),
(00, 8, 8, 8, 8,00,00,00,00,00,00,00,00,00,00,00),
(00, 8, 8, 8, 8,00,00,00,00,00,00,00,00,00,00,00)));
IMPLEMENTATION
END.
UNIT VGA13h;
INTERFACE
Type
PScreen = ^ TScreen;
TScreen = Array [0 .. 199,0 .. 319] of Byte;
Const
ScreenHeight = 200;
ScreenWidth = 320;
GetMaxY = ScreenHeight-1;
GetMaxX = ScreenWidth-1;
MidX = GetMaxX div 2;
MidY = GetMaxY div 2;
PageSize = ScreenHeight * ScreenWidth;
QuarterSize = PageSize div 4;
VideoSegment: Word = 0;
Base1: Word = 0;
Base2: Word = 0;
Page1: PScreen = NIL;
Page2: PScreen = NIL;
Function DetectVGA: Boolean;
Procedure SetGraphMode;
Procedure SetTextMode;
Procedure MakePixelSquare;
Procedure CopyBase (Source, Destin: Word);
Procedure ClearBase (Base: Word);
Procedure FillBase (Base, Ofs, Count: Word; Co...