== The colour palette ==
The ASIC can handle 4096(16x16x16) colours. Each colour is defined as values of '''red''', '''green ''' and '''blue'''.
Each value is handled as 4bit values.
The hardware code send to the ASIC is #0grb.
Thus In the below example changing the palette index colour 1 to value #0F00 gives a '''green' pac '' Pac sprite.
[[Image:Green pac.png]]
changing the palette index colour 1 to value #00F0 gives a '''red' pac '' Pac sprite.
[[Image:Red pac.png]]
and finally changing the palette index colour 1 to value #000F gives a '''blue' pac '' Pac sprite.
[[Image:Blue pac.png]]