Sprite Mode 1 (G1, G2, Mc) - Yamaha V9938 Programmer's Manual

Msx-video
Table of Contents

Advertisement

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
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
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.
© 1985 ASCII CORP. / NIPPON GAKKI CO.
active
sprites only.
#1
#2
#3
Page 96 of 108
#4
#5
© 2010-2015 Eugeny Brychkov

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents