GPEVGA Class

Many devices exist which are based (like the S3Trio64) upon the VGA standard. If your display device is VGA based, you will probably want to use the Gpevga.h header file and Gpevga.cpp functions in the same manner as the sample S3Trio64 driver to aid in configuring the numerous VGA registers. If your device is not VGA based, do not use Gpevga.h or call the functions in Gpevga.cpp.

Since the VGA standard registers do not cover many of the desirable (high resolution, high bit depth) display modes, and do not define linear addressing schemes for display memory over 64k in size, you will need to determine the values to place in the non-standard registers. Bear in mind that GPE only supports devices which are capable of presenting a linear frame buffer to the CPU.

To use the GPEVGA class, derive your specific device's class from GPEVGA instead of deriving it from GPE (GPEVGA is derived from GPE).