EasyManua.ls Logo

Commodore 128D - Page 132

Commodore 128D
427 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...
on
(equal
to
1),
the
corresponding
pixel
on
the
screen
is
turned
on
in
the
foreground
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
one
bit
of
.-■■-j
storage
In
memory,
one
sprite
uses
up
63
bytes
of
memory.
See
Fig-
I
)
ure
6-8
to
understand
the
storage
requirements
for
a
sprite's
data.
12345678 12345678
12345678
U
1
i
\
i
3
\—/
4
6
i
i
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.
124
USING
C128
MODE—Color,
Animation
and
Sprite
Graphics
Statements

Table of Contents

Other manuals for Commodore 128D

Related product manuals