EasyManua.ls Logo

Apple IIe - Page 98

Apple IIe
320 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...
98
Apple
lie
Users
Handbook
100
ROT=
0
110
SCALE
= 10
120
DRAW 1
AT
50
,30
130 HPLOT 20,70
140
SCALE= 6
150
ROT=4
160
DRAW 1
170
DATA
1,0,4,0,39,36,45,53,54,63,0
180
END
,,
In
the
preceding
example
,
line
20
initialized
the
screen
for
high
resolution
graphics.
The
shape
table
is
then
read
in
the
FOR
NEXT
loop
in
lines
30
to
60.
These
lines
define
the
shape.
Since
Applesoft
needs
to
know
where
the
shape
table
was
placed
,
the
shape
address
is
poked
into
memory
in
line 80.
Lines
90, 100,
and
110
then
define
the
color,
rotation
,
and
size
of
the
shape
drawn
at line 120.
The
shape
drawn
in
line
160 will
have
the
position
defined
at
line 130, size in
140
and
the
rotation
in
150.
'
DSP
o
Applesoft
In
t
eger
The
DSP
command
is
a
debugging
tool.
It
displays
the
variable
's
value
each
time
its
value
is
changed
.
Configuration
DSP
variable
variable
is
a
variable
in
the
program
to
be
traced.
The
DSP
command
will display
the
variable,
the
variable's
value
,
and
line
number
each
time
its
value
is
changed.

Other manuals for Apple IIe

Related product manuals