|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
The GPEVGAclass contains methods that simplify the process of using video chipsets that are compliant with the VGA standard. Many devices, such as the C3Virge, are based on the VGA standard. For a VGA-based display driver, follow the S3Virge sample to implement the Gpevga.h header file and the functions define in the Gpevga.cpp file. This helps you configure the numerous VGA registers. If your device is not VGA-based, the GPEVGAclass is not useful in developing your display driver.
Because the standard VGA registers do not include many of the high-resolution and high-bit-depth display modes, and because the registers do not define linear addressing schemes for display memory over 64 KB in size, you must determine the values to place in the non-standard registers, based on the characteristics of your display hardware. Keep in mind that GPE supports only those devices capable of presenting a linear frame buffer to the CPU .
To use the GPEVGAclass, derive your specific device's class from GPEVGA, rather than from GPE.
Last updated on Tuesday, July 13, 2004