CLXDAT 00E R D Collision data register (read and clear) This address reads (and clears) the collision detection register. The bit assignments are below. NOTE: Playfield 1 is all odd-numbered enabled bit planes.
Playfield 2 is all even-numbered enabled bit planes BIT# COLLISIONS REGISTERED -------------------------------------- 15 not used 14 Sprite 4 (or 5) to sprite 6 (or 7) 13 Sprite 2 (or 3) to sprite 6 (or 7) 12 Sprite 2 (or 3) to sprite 4 (or 5) 11 Sprite 0 (or 1) to sprite 6 (or 7) 10 Sprite 0 (or 1) to sprite 4 (or 5) 09 Sprite 0 (or 1) to sprite 2 (or 3) 08 Playfield 2 to sprite 6 (or 7) 07 Playfield 2 to sprite 4 (or 5) 06 Playfield 2 to sprite 2 (or 3) 05 Playfield 2 to sprite 0 (or 1) 04 Playfield 1 to sprite 6 (or 7) 03 Playfield 1 to sprite 4 (or 5) 02 Playfield 1 to sprite 2 (or 3) 01 Playfield 1 to sprite 0 (or 1) 00 Playfield 1 to playfield 2 COLORxx 180 W D Color Table xx There are 32 of these registers (xx=00-31) and they are sometimes collectively called the "color palette." They contain 12-bit codes representing red, green, and blue colors for RGB systems.
One of these registers at a time is selected (by the BPLxDAT serialized video code) for presentation at the RGB video output pins. The Table below shows the color register bit usage. BIT# 15,14,13,12,11,10,09,08,07,06,05,04,03,02,01,00 ---------------------------------------------------- RGB X X X X R3 R2 B1 R0 G3 G2 G1 G0 B3 B2 B1 B0 B=blue, G=green, R=red, COP1LCH 080 W A Copper first location register (high 3 bits) COP1LCL 082 W A Copper first location register (low 15 bits) COP2LCH 084 W A Copper second location register (high 3 bits) COP2LCL 086 W A Copper second location register (low 15 bits) These registers contain the jump addresses described above. - Appendix A 267 -