EasyManua.ls Logo

Apple IIe - Page 166

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...
166
Apple
lie
Users
Handbook
be
completed
and
execution
will
be resumed.
Otherwise,
this
test
will
continue
until
a
non-zero
value
is
returned.
When
value 2
is
also specified, a
two-part
comparison
process
is
used. First
of
all, each
of
the
eight
bits at
address
are
XOR'
ed
with
the
corresponding
bit
in
value
l's
binary
equivalent.
Second,
the
result
of
the
XOR
comparison
is
AND'ed
with
the
corresponding
bit
in
value
1's
binary
equivalent.
If
a
non-zero
value
is
returned
for
any
comparison,
the
program
will
proceed.
Otherwise,
the
test
will
continue.
Example
10
REM
SET
ADDRESS
FOR
GAME
CONTROL
0
TO
0
20
POKE
49168,0
30
PRINT "THE
PROGRAM
HAS STARTED"
40
PRINT:PRINT
50
PRINT "EXECUTION WILL
BE
HALTED UNTIL
THE
BUTTON
ON
GAME
CONTROL
0
IS
PRESSED"
60
PRINT:PRINT
70
WAIT
-16287,128
80
PRINT "THE BUTTON
WAS
PRESSED"
90
PRINT "THE
PROGRAM
WILL
NOW
END"
XDRAW
Applesoft
o
Integer
XDRAW
is
used
to
draw
a graphics shape
in
high
resolution
graphics.
Configuration
XDRAW
shape
[AT
column,
row]
The
color,
scale,
and
rotation
of
the
shape
to
be
drawn
must have
been
specified
previously.
shape
denotes
the
number
from
the
shape
table
of
the
shape
to
be
drawn.
shape
must have a
value

Other manuals for Apple IIe

Related product manuals