5 #include "regtable.hpp"
\r
6 #include "vgalib.hpp"
\r
11 enum EmulType { EM_CONFLICT, HERC, CGA, VGA };
\r
12 enum ColorsType { COLOR2=2, COLOR4=4, COLOR16=16, COLOR256=256 };
\r
13 enum AGType { AG_CONFLICT, ALPHA, GRAPHICS };
\r
18 int hClocks, vClocks, xres, yres, lineClocks, spareClocks, adrOffset,
\r
19 hPixelsPerClock, vxres, vyres, vxresBytes;
\r
20 float xpages, ypages;
\r
21 Boolean countBy2, chain4;
\r
23 ModeInfo(RegisterTable &rt) { detectFrom(rt); }
\r
24 void detectFrom(RegisterTable &);
\r
25 GraphicsAPI *getGraphicsAPI();
\r