EasyManuals Logo

Atari XL User Manual

Atari XL
262 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #158 background imageLoading...
Page #158 background image
148 The A
tar;
XL
Handbook
(0
The
Joystick
Positions
given
by
STICK(
)
controller
of
the
specified
paddle.
PTRIG()
is
used
to
read
the
Fire
button
of
a
paddle.
The
program
listed
below
uses
a
joystick
to
control
the
drawing
of
lines
on a
graphics
display.
10
REM
JOYSTICK ARTIST
20
REM
SET UP VARIABLES
AND
LABELS
100
POKE
752,1:
PRINT
" i i .SKETCHPAD"
110
GOSUB
20000
192
REM
FIND JOYSTICK
PORT
200
PRINT"
iii
i
.PRESS
FIRE
TO
START"
210
PORT=O
220
IF
STRIG(PORT)=l
THEN
PORT=
PORT=O:
GOTO
220
992
REM
PICTURE
1000
GRAPHICS 7
1010
X=O:Y=O
1020
GOSUB
MESSAGE
1030
POKE
82,0
1040
GOSUB
COLOUR

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atari XL and is the answer not in the manual?

Atari XL Specifications

General IconGeneral
Release Year1983
CPUMOS Technology 6502C
GraphicsANTIC, GTIA
SoundPOKEY (4 channels)
StorageCassette tape
PortsCartridge
Operating SystemAtari BASIC
CPU Speed1.79 MHz
RAM64 KB

Related product manuals