© 1985 ASCII CORP. / NIPPON GAKKI CO.
Page 96 of 108
© 2010-2015 Eugeny Brychkov
5.1. SPRITE MODE 1 (G1, G2, MC)
While there’s a room for 256 sprite patterns in sprite pattern generator table, VDP is
only capable of displaying 32 sprites (#0…#31) – limiting factor is sprite attribute table
which can hold attributes for 32
active
sprites only.
Up to 4 sprites can be displayed on a single horizontal line, and from the set of
displayed sprites on this line, the sprites with higher priority will be displayed, and the
overlapping portions of lower priority sprites will not be displayed. Lower sprite numbers
are assigned higher priority, with #0 is of highest priority and #31 is of lowest priority.
#0
#3
#4
#1
#2
#5
When two sprites collide (their pattern color 1 portions have overlapped), status
register’s S#0 bit 5 “C” is set to 1.
If there’re more than 4 sprites on the single horizontal line, bit 6 of the status register
S#0 “5S” is set to 1, and the lower order 5 bits of this status register S#0 will contain the
number of the fifth sprite.