2–29
The use of the auxiliary window to display a VGA window in a direct-color background can be accomplished
by setting ACR2 = ACR0 = logic 0 and ACR1 = MCR2 bit 7 = logic 1 and is illustrated in Figure 2–10. The
user can also configure the auxiliary window to display direct color in the auxiliary window and VGA
everywhere else by setting ACR0 = logic 1 (not shown). Similarly, the auxiliary window can be configured
to display overlay in the window or outside of the window by setting MCR2 bit 7 = logic 0 (not shown).
Window Start (x, y)
ééééééééééé
ééééééééééé
ééééééééééé
ééééééééééé
ééééééééééé
ééééééééééé
ééééééééééé
ééééééééééé
Figure 2–10. VGA in the Auxiliary Window
VGA
Auxiliary Window
Window Stop (x, y)
The use of PSEL to create multiple VGA windows in a direct-color background can be accomplished by
setting ACR0 = ACR1 = logic 0 and ACR2 = logic 1. PSEL is then switched to logic 1 wherever VGA display
is desired. This is illustrated in Figure 2–11. The user can also configure the port select to switch between
overlay and direct color (MCR2 bit 7 = logic 0 not shown) and also invert the fields (ACR0 = logic 1).
ééééééééééééé
ééééééééééééé
ééééééééééééé
ééééééééééééé
ééééééééééééé
ééééééééééééé
ééééééééééééé
ééééééééééééé
ééééééééééééé
ééééééééééééé
ééééééééééééé
Figure 2–11. Multiple VGA Windows Using Port Select (PSEL)
PSEL
2.6.2
The Viewpoint palette supports color-key-switching modes in which color data from the direct-color and
overlay or VGA ports is compared to a set of user-definable color-key registers. Based on the outcome of
the comparison, either direct color, overlay, or VGA are displayed (see Note 24). High and low color-key
registers are provided for each color and overlay/VGA so that ranges of colors can be compared as opposed
to a single color value. The register bit definitions for the color-key OL/VGA (low, high), color-key red (low,
high), color-key green (low, high), and color-key blue (low, high) range registers are shown in Section
2.16.12. The color-key function is controlled by the color-key control register bits 0–4. This register definition
is shown in Section 2.16.11.
Color-Key-Switching Control