© 1985 ASCII CORP. / NIPPON GAKKI CO.
Page 103 of 108
© 2010-2015 Eugeny Brychkov
MSB
7 6 5 4 3 2 1 0
LSB
(B) 0
1
2
3
4
5
6
7
Bitmap for
pattern #0
…
2040
2041
2042
2043
2044
2045
2046
2047
Bitmap for
pattern #255
5.2.4. Sprite color table (SM2)
In SPRITE MODE 2 (SM2) the sprite color table specifies sprite colors for each sprite
line. Note that sprite color 0 (i.e. the dots having “0” for them in sprite pattern generator
table) is transparent unless TP bit of register R#8 is set. Each entry also defines sprite
priority, collision detection, and early clock sprite display options.
The base address of the sprite color table is calculated using base address of the
sprite attribute table: sprite color table is located “strictly above” the sprite attribute table,
having base address of sprite attribute table minus 512 (200h).
Every sprite is assigned 16 color entries in the sprite color table. If 8*8 sprite size
mode is selected, only first 8 color bytes are used for every sprite, with another 8 being
not used. If 16*16 sprite size mode is selected, then all 16 color bytes are used.