Microsoft Windows CE 3.0  

The FLAT Sample Display Driver

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.

Windows CE 3.0 introduces a new sample display driver, the FLAT display driver. This is a simple display driver that does not implement any hardware acceleration. However, the FLAT sample display driver implements software acceleration features, supports 8, 16, 24, and 32 bit color depths, and supports any physical resolution supported by the BIOS. The FLAT driver works with the ATI Rage, ATI Expert, S3, Savage4, Savage2000, nVidio TNT2, Voodoo3 2000, Voodoo3 3000, Matrox G200, Matrox G400, S3Trio64V2, S3Virge DX and S3Virge GX video chip sets. Video hardware using these chips is readily available in the marketplace at the time of this writing.

Because of its wide support for video chip sets and its overall flexibility, the FLAT driver makes a good basis for OEMs to implement hardware-accelerated display drivers for their own hardware. The FLAT driver is also good driver for OEMs to use when evaluating Windows CE, since it works with display hardware that is readily available in the marketplace.

The FLAT sample driver replaces the earlier S3Trio64 display driver as the default display driver for Windows CE 3.0. The S3Trio64 display driver only works with hardware that has become difficult to find in the marketplace. The FLAT sample display driver is intended for use with the CEPC reference platform. It requires that the display card supports VESA BIOS Extensions 2.0 or higher. At boot time, the bootloader must set the video mode; the FLAT driver is incapable of setting the video mode on its own. On the CEPC reference platform this is handled by the LOADCEC.EXE tool and the BIOS. Therefore, OEMs must update their CEPC boot disks for Windows CE 3.0 in order to have the correct bootloader that works with the FLAT display driver.

To use this driver in an operating system build targeted for CEPC, you must either unset all CEPC_DDI_* variables — which is the default state — or else set CEPC_DDI_FLAT=1 in your Windows CE Platform Builder environment.

The FLAT sample display driver is available in the CEPC\drivers\display\flat directory in your Microsoft Windows Platform Builder directory.

 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.