When you have more than one sprite on the screen, you may need
to
take into con-
sideration their relative video priority,
that
is, which sprite appears in front of
or
behind
another. Each sprite has a
fixed
video priority with respect
to
all the others. The
lowest numbered sprite has the highest priority and appears
in
front of all other sprites;
the
highest numbered sprite has the lowest priority. This is illustrated in figure 4-8.
I
7
I
6
I
5
-
J 4
-
I
3
~
I 2
~
J
1
-
0
-
~
Figure
4-8:
Sprite Priority
Reusing
Sprite
DMA
Channels
Each of the eight sprite
DMA
channels can produce more than one independently con-
trollable image. There may
be
times when you want more than eight objects,
or
you
may be left with fewer than eight objects because you have attached some of the sprites
to
produce more colors or larger objects or overlapped some
to
produce more complex
images. You can reuse each spriteĀ·
DMA
channel several times within the same display
field, as shown
in
figure 4-9.
Sprite Hardware
111