color. The combination of zeroes and ones produces the image
you see on the screen.
Since a sprite is 24 by 21 pixels and each pixel requires a bit of
storage in memory, one sprite uses up 63 bytes of memory. See
Figure 6-8 to understand the storage requirements for a sprite’s
data.
12345678 12345678 12345678
1
2
3
4
5
6
7
8
9
10 ............................................................
11
12 ............................................................
13
14
15
16
17
18
19
20
21 ............................................................
Each Row = 24 bits = 3 bytes
Figure 6-8. Sprite Data Requirements
A sprite requires 63 bytes of data. Each sprite block is actually
made up of 64 bytes; the extra byte is not used. Since the
Commodore 128 has eight sprites and each one consists of a 64-
byte sprite block, the computer needs 512 (8 x 64) bytes to
represent the data of all eight sprite images.
6-34