Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- VGA registers - <b>palette reg.s index 00h-0fh attrib</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Palette reg.s          index 00h-0Fh  ATTRIB

        There are 16 palette registers (0-15). Each register's layout
        is (bits 5-0):

                b5  SR  Secondary red
                b4  SG  Secondary green
                b3  SB  Secondary blue
                b2  R   Red
                b1  G   Green
                b0  B   Blue

        The color palette is a random access memory (RAM) that is used
        to indirectly map the data contained in the individual pixel
        locations of the display memory into colors. The palette
        consists of a RAM memory that is 16 locations long.

See Also: Address

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson