
endPtn		equ #40

noUpd1		equ #1
noUpd2		equ #4
noUpd3		equ #80

phaseReset	equ #1
dutyModOn	equ #40

scaleDown	equ #0f		;rrca
scaleUp		equ #07		;rlca
dMod		equ #57		;ld d,a

mXor		equ #ac00		;xor (iy)h
mAnd		equ #a400		;and (iy)h
mOr		equ #b400		;or (iy)h
mNone		equ #b700		;or a

slideUp		equ #8000

rest		equ #0

ckick		equ #4
chat		equ #80


a0	 equ #1c
ais0	 equ #1e
b0	 equ #20
c1	 equ #22
cis1	 equ #24
d1	 equ #26
dis1	 equ #28
e1	 equ #2b
f1	 equ #2d
fis1	 equ #30
g1	 equ #33
gis1	 equ #36
a1	 equ #39
ais1	 equ #3c
b1	 equ #40
c2	 equ #44
cis2	 equ #48
d2	 equ #4c
dis2	 equ #50
e2	 equ #55
f2	 equ #5a
fis2	 equ #60
g2	 equ #65
gis2	 equ #6b
a2	 equ #72
ais2	 equ #79
b2	 equ #80
c3	 equ #87
cis3	 equ #8f
d3	 equ #98
dis3	 equ #a1
e3	 equ #ab
f3	 equ #b5
fis3	 equ #bf
g3	 equ #cb
gis3	 equ #d7
a3	 equ #e4
ais3	 equ #f1
b3	 equ #100
c4	 equ #10f
cis4	 equ #11f
d4	 equ #130
dis4	 equ #142
e4	 equ #155
f4	 equ #169
fis4	 equ #17f
g4	 equ #196
gis4	 equ #1ae
a4	 equ #1c7
ais4	 equ #1e2
b4	 equ #1ff
c5	 equ #21d
cis5	 equ #23e
d5	 equ #260
dis5	 equ #284
e5	 equ #2aa
f5	 equ #2d3
fis5	 equ #2fe
g5	 equ #32b
gis5	 equ #35b
a5	 equ #38f
ais5	 equ #3c5
b5	 equ #3fe
c6	 equ #43b
cis6	 equ #47b
d6	 equ #4bf
dis6	 equ #508
e6	 equ #554
f6	 equ #5a5
fis6	 equ #5fb
g6	 equ #656
gis6	 equ #6b7
a6	 equ #71d
ais6	 equ #789
b6	 equ #7fc
c7	 equ #876
cis7	 equ #8f6
d7	 equ #97f
dis7	 equ #a0f
e7	 equ #aa9
f7	 equ #b4b
fis7	 equ #bf7
g7	 equ #cad
gis7	 equ #d6e
a7	 equ #e3a

