![](http://datasheet.mmic.net.cn/100000/IBM37RGB524CF17A_datasheet_3492326/IBM37RGB524CF17A_39.png)
March 17, 1995
33
IBM
RGB524
Palette Control
Index:
0x0007
Access:
Read/Write
Power on Value: 0x00
Bit 7
6BIT LIN - 6 Bit Linear Color
0
Apply linear palette output
1
Do not apply linear palette out-
put
This bit only has effect with indirect
color modes, and when Color Resolu-
tion is set to 6 bits (Miscellaneous
Control 2 COL RES bit = 0). For the 8
bits of palette output for each color,
the high order two bits 7 and 6 will
be substituted for the two low order
bits 1 and 0.
Bits 6 - 4
Reserved.
Bits 3 - 0
PALETTE PARTITION - Selects
which partition to use within the pal-
ettes when the pixel format is either
4 BPP, 15 BPP indirect color, or 16
BPP indirect color.
With 4 BPP the palettes are divided
into 16 partitions. Each partition
contains 16 entries. Bits 3 - 0 select 1
of the 16 partitions.
With 15 BPP (555) indirect color, the
palettes are divided into 8 partitions.
Each partition contains 32 entries.
Bits 3 - 1 select 1 of the 8 partitions
and bit 0 is not used.
With 16 BPP (565) indirect color, the
palettes are divided into 4 partitions.
Each partition contains 64 entries.
All 64 entries of the Green palette
are used in each partition. For the
Red and Blue palettes only the rst
32 entries of each partition are used.
Bits 3 - 2 select 1 of the 4 partitions
and bits 1 and 0 are not used.
The PARTITION bits have no effect
when the pixel format is not 4 BPP,
15 BPP, or 16 BPP. Also, with 15 BPP
and 16 BPP the PARTITION bits
have no effect unless
1.
Indirect color is chosen (16 BPP
Control register bits B16
DCOL = 00), AND
2.
Contiguous addressing is cho-
sen (16 BPP Control register bit
SPR/CNT = 1)
0
1
2
3
4
5
6
7
Partition
Reserved
6 Bit
LIN