EasyManuals Logo

Atari 800 Basic Reference Manual

Atari 800
122 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 #66 background imageLoading...
Page #66 background image
Using
the
note
values
in
Table
10-1,
the
following
example
demonstrates
how
to
write
a
program
that
will
"play"
the
C scale.
TABLE
10.1.
TABLE
OF PITCH
VALUES
FOR
THE
MUSICAL
NOTES
HIGH
NOTES
MIDDLE C
LOW
NOTES
10
F.:EAD
A
~
c
B
A#
orB~
A
G#
or
A~
G
F#
or
G~
F
E
D#
orE
D
C#
or
D~
c
B
A#
orB
A
G#
or
A~
G
F#
or
G~
F
E
D#
orE~
D
C#
or
D~
c
B
A#
orB~
A
G#
or
A~
G
F#
G~
F
D
D#
or
I~
D
C#
or
Db
c
20
IF
A=256
iHEt·i
HiD
30
SOUr·iD
~3
.'
A
..
1
(1
.•
1 0
40
FOP
~·J=1
TO
400:
r·iE>~T
~·J
50
PRWT
A
60
GOTO
10
70
END
29
31
33
35
37
40
42
45
47
50
53
57
60
64
68
72
76
81
85
91
96
102
108
114
121
128
136
144
153
162
173
182
193
204
217
230
243
80
DATA
~·9
..
31.·
35,
4f)
..
45
..
4 7
..
53
..
6(1, 64,
72
·'
:31
191.·
96.:
108.:
121
90
[lATA
12:3.~
144.~162
..
1:::2.~
193.:217)243
..
256
Figure
10-1.
Musical
Scale
Program
Note
that
the
DATA
statement
in
line
80
ends
with
a
256,
which
is
outside
ofthe
designated
range.
The
256 is
used
as
an
end-of-data
marker.
58
Sounds
and
Game Controllers

Table of Contents

Other manuals for Atari 800

Questions and Answers:

Question and Answer IconNeed help?

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

Atari 800 Specifications

General IconGeneral
ProcessorMOS Technology 6502
Processor Speed1.79 MHz
ROM10 KB
GraphicsANTIC and GTIA chips
Release Year1979
Display Resolutionup to 320 x 192
Colors128 colors
Sound4 channels
StorageCartridge, cassette, floppy disk
PortsCartridge, serial, monitor
Operating SystemAtari OS

Related product manuals