52 | Installing the Board and Driver in a PC
Color palette
The color palette is a 256-color palette. This option is
available in single-screen mode.
Dynamic gray palette
The dynamic gray palette reserves the first and last 10 entries
in the palette for the Windows NT 4.0 operating system, but
you can manipulate the middle 236 entries. Your application
can create a 256-entry gray ramp in any 8-bit driver with the
SetSystemPaletteUse()
WinAPI call, but doing so causes
all icons to be redrawn in black and white.
The dynamic gray palette accommodates gray-mapped Windows
colors for the first and last 10 palette entries.
Static gray palette
The static gray palette provides 256 shades of gray in a linear static
palette. This frees the entire grayscale ramp for applications by
not reserving the first and last 10 palette entries for icons and
other standard Windows graphics.
The static gray palette does not provide gray-mapped Windows
colors for the first and last 10 palette entries. Because the frame-
buffer assumes the Windows palette is in use, applications
that draw directly to the framebuffer display incorrectly.
For example, icons and button bitmaps may display in black
and white.
Application colors display incorrectly in the static gray palette
mode if the application assumes all 8-bit framebuffers have
palettes that can be set.