EasyManua.ls Logo

Commodore Amiga - Page 130

Commodore Amiga
321 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Sprite 1 to sprite 0
Sprite 3
to
sprite 2
Sprite 5
to
sprite 4
Sprite 7
to
sprite 6
Any or all of these attachments can be active during the same display field. As an
example, assume
that
you wish
to
have more colors
in
the spaceship sprite and you are
using sprite
DMA
channels 0 and
1.
There are
five
colors plus transparent
in
this sprite.
0000154444510000
0001564444651000
0015676446765100
0001564444651000
0000154444510000
The
first line
in
this sprite requires the four
data
words shown
in
table 4-4
to
form the
correct binary color selector numbers.
Table
4-4:
Data
Words for First Line of Spaceship Sprite
Pixel
Number
15
14 13 12
11
10
9 8 7 6 5 4 3
2
1
0
Line
1 0 0
0 0 0 0 0 0 0 0
0
0 0
0 0
0
Line
2 0 0 0 0 0 1 1
1 1 1 1
0 0 0 0
0
Line
3 0 0
0 0 0 0 0 0 0
0 0 0
0 0 0 0
Line
4
0
0
0 0 1 1
0
0
0 0
1
1
0 0
0 0
Sprite Hardware
117

Table of Contents

Other manuals for Commodore Amiga

Related product manuals