EasyManua.ls Logo

Commodore Plus 4 - Page 191

Commodore Plus 4
464 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...
Programming
Sound
and
Music
179
Table
3-4.
Hexadecimal
Musical
Notes
Note
Octave
1
Octave
2
Octave
3
Octave
4
Octave
5
Example:
A
A#
B
C
C#
D
D#
E
F
F#
G
G#
.
2000
.
2002
.
2005
.
2007
.
200A
200D
.
2010
.
2012
.
2015
.
2018
.
201B
.
201D
.
2020
.
2023
.
2025
.
2027
2029
.
202B
.
202D
.
202F
.
2031
.
2033
.
2035
.
2038
.
203A
203D
.
203F
2041
.
2043
.
2044
7
40
76
A9
D9
106
131
159
17F
1A3
1C5
1E5
A9
8D
A2
BD
8D
AD
29
ID
8D
AD
29
8D
BD
85
A5
29
F0
A5
29
D0
C6
D0
AD
09
8D
A5
29
F0
E8
E8
9F
11
00
01
0E
12
FC
00
12
11
7F
11
02
D8
A5
02
FA
A5
02
FA
D8
F0
11
80
11
A5
02
FA
FF
21
FF
FF
21
FF
FF
FF
21
FF
FF
LDA
STA
LDX
LDA
STA
LDA
AND
ORA
STA
LDA
AND
STA
LDA
STA
LDA
AND
BEQ
LDA
AND
BNE
DEC
BNE
LDA
ORA
STA
LDA
AND
BEQ
INX
INX
204
220
23B
254
26C
283
298
2AD
2C0
2D2
2E3
2F3
#$9F
$FF11
#$00
$2101,X
$FF0E
$FF12
#$FC
$2100,X
$FF12
$FF11
#$7F
$FF11
$2102,X
$D8
$A5
#$02
$2025
$A5
#$02
$202B
$D8
$2025
$FFll
#$80
$FF11
$A5
#$02
$203D
302
381
3C0
310
388
3C4
31E
38F
3C7
32
A
395
3CB
336
39B
3CE
342
3A1
3D0
346
3A6
3D3
356
3AB
3D6
360
3B0
3D8
369
3B4
3DA
371
3B9
3DC
379
3BD
3DE
Select
voice
1
with
maximum
volume.
Store
in
sound
selection
register.
•X
points
to
the
data.
Get
the
low
byte
of
the
frequency.
Store
in
low
byte
of
frequency
for
voice
1.
Get
high
byte
register.
Mask
off low
two
bits.
OR
in
the
high
bits
of
frequency
for
voice
1.
Store
in
high
byte
of
frequency
for
voice
1.
Get
sound
selection
register.
Turn on
sound.
Store sound
selection
register.
Get
duration
of
note.
Store
in
temporary
variable.
Get
low
byte
of
clock.
Look
at bit
1.
Wait
until
it
is
set.
Get low
byte
of
clock.
Look
at
bit
1.
Wait
until
it is
clear.
Decrement
duration.
If
not
done,
wait
again.
Get
sound
selection
register.
Turn
off
sound.
Store
sound
selection
register.
Get
low
byte
of
clock.
Look
at
bit
1.
Wait
until
it
is
set.
Increment
.X
by
three
to
point
at
next
note.

Other manuals for Commodore Plus 4

Related product manuals