EasyManuals Logo
Home>Atari>Desktop>65XE

Atari 65XE User Manual

Atari 65XE
135 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 #84 background imageLoading...
Page #84 background image
A. Sample Programs
Your ATARI Computer can work miracles with a little help from your
imagination and the right programming techniques. These sample
programs will show off the versatility of your ATARI 65XE and motivate
you to try writing some programs yourself.
Just type in each program exactly as written, pressing at the
end of every line. When you're finished, type the word RUN, press
, and watch your ATARI Computer come to life.
Note: When spacing in program lines is critical, a note at the bottom
of the program will specify the exact number of spaces needed.
THE ATARI CHOO-CHOO
Sound effects are an ATARI specialty. If you close your eyes when you
run ATARI Choo-Choo, you might think you're on the Marrakesh
Express.
10 POKE 765,255:POKE 580,1
20 GRAPHICS 17:POKE 712,148: POSITION 1,10 : PRINT #6;
"THE ATARI CHOO-CHOO"
30 FOR
X=15
TO 0
STEP -1-P:SOUND
l,0,0,X
40 R=INT(RND (0)*300)+1
50 IF R=30 THEN SOUND 3,36,10,10: SOUND 2,48,10,
10:GOSUB 90: SOUND 3,0,0,0:SOUND 2,0,0,0
60 NEXT X:P=P+0.03
70 IF P>=5 THEN P=5
80 GOTO 30
90 POKE 77,0:POSITION 8,12: PRINT #6; "toot":FOR A=1 TO
400 : NEXT A : POSITION 8,12 : PRINT #6;" " : RETURN
Note: Line 90 requires four blank spaces between the quotation
marks.
79

Questions and Answers:

Question and Answer IconNeed help?

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

Atari 65XE Specifications

General IconGeneral
BrandAtari
Model65XE
CategoryDesktop
LanguageEnglish

Related product manuals