Changes

Programming:Amstrad CPC plus sprite format

420 bytes added, 01:23, 15 July 2009
/* The colour palette */
== 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 changing the palette index colour 1 to value #0F00 gives a 'green' pac sprite. [[Image:Green pac.png]] changing the palette index colour 1 to value #00F0 gives a 'red' pac sprite. [[Image:Red pac.png]] and finally changing the palette index colour 1 to value #000F gives a 'blue' pac sprite. [[Image:Blue pac.png]]
== Example ==