The
binary numbers 0 through
15
select registers
17
through
31
as shown
in
table 4-5.
Table
4-5:
Color Registers in Attached Sprites
Decimal
Binary
Color
Register
Number Number Number
0
0000
16
*
1
0001
17
2
0010
18
3
0011
19
4
0100 20
5
0101
21
6
0110
22
7
0111
23
8 1000
24
9 1001
25
10
1010
26
11
1011
27
12
1100
28
13
1101
29
14 1110
30
15
1111
31
* Unused; yields transparent pixel.
The
highest numbered sprite (number
1,
in this example) contributes the highest order
bits (leftmost)
in
the binary number.
The
high-order
data
word in each sprite contri-
butes the leftmost digit. Therefore, the lines above are written to the sprite
data
struc-
tures as follows:
Line 1
Line 2
Line 3
Line 4
Sprite 1 high-order word for sprite line 1
Sprite 1 low-order word for sprite line 1
Sprite 0 high-order word for sprite line 1
Sprite 0 low-order word for sprite line 1
118 Sprite Hardware