Download Ipso Facto Issue 5
Transcript
MEMORY
:LOCH.
00
01
03
04
06
KNDlONIO llEGIS-
COlE
STATEMENT 'I'ER'D'
B8
1'8 50
SEX II
.1.8
PLO 8
LOI43
PLO 9
1'8 43
109
lDl 50
07
72
LDD.
08
09
.lA
PLO A
OB
OD
1'10 70
32 01
O! to 16
17
18
!'able 4
0KI'EC'l'
B8
ANI 70
PHI B
All C4
NOP
1D
SA
GLO
ANI OJ'
PLO 0
A
ORI40
PLO D
n:
OD
LDN
U'
.u
PLO
:r:
20
8A.
GLO
.I.
21
23
25
26
27
29
J'A
U
~
80
2A
.lHI 80
BZ
GLO I:
SHR
1'6
n
I.E
SIll 01
PLO I:
C4
9B
HOP
CHI
2C
Bl"
PBI
2D
91'
32 04
CHI
8!
GLO
!:
:
51[[
01
DEO
'1'
2A
2B
21
30
31
33
34
36
37
39
3B
[
01
01
3A 31
SO
BNZ
GLO
BZ
1 JE
BQ
SJ:Q.
0
~
31'
40
41
42
43
44
45
46
47
48
49
2D
7A
30,
2D
C4
FF
04
57
49
41
36
30
33
4A
SC
4B
52
B
40
4D
c
4D
JoE
4l'
45
3D
39
:r:
3C
)!
B
'1'
I'
BZ
3.2 2D
Use Register-6 as Bteck-Ftr.
50} 1st Yusio Byte 10o'~ to R-8.0
50
43 } Speed modif'ier loc'n to R-9.0
43
Get Yusio Byte;advlUIce stk.ptr.
Store Yusio Byte in R-A.O
If'Yus.Byte is OO,repeat tune
B9
AND 70 With B9
30 }
Store result-duration byte = 30
30
::J
(See text tor Speed ModUler)
J'A OF
J.C
'1'9 40
AD
1.1.
lB
BZ
C(U{EN'l'S
BR
llEQ.
BR
NOP
NOP
0
Get Yusio Byte
B9j
AND OF with B9
09
Store result-note oonstlUlt
09
09
OR
40
with
09
49 }
Store result-note 100'~ • 49
49
Get f'req.oonsta~t in 100'~ 49
33 }
Store ~ote f'req,oonstant • 33
33
Get Yusio Byte
AND 80 with B9:oot. byte • 10
If' oot, byte is 00, go to 2A
10
Get low oot. f'req. oo~sta~t
33
Shirt rt.,~am1~811Y halves 'I:'
19
7in&1 hi-oct.f'req.oonstant mod'n
18
Store hi-oot.treq.oonstlUlt
18
Spare. (See "Hew Uses")
Get duration constant
30
Yake
a oopy.(See "New Uses")
30
Get duration oonstant
30
If' hi-F=OO,get next Yusio Byte
30
Get frequenoy co~stant
18
Deorement freq.const;ho1d in 'D'
17
Decrement duration constant
Back thru' loop until 'D' = 0
17
Get note oonstant
09
If' 00, baok thru' dur'n loop
09
If' Q • I, go to reset Q
Set Q
Loop baok until dur'n ends
Reset Q
Loop beok until dur'n ends
2D 81so used 8S 'rest' oounter
Spare; end ot main program,
(See "Hew Uses")
ReserYed 100'n f'or sp&edmod'r
=
:}
.I.'1 (or
(or ~)
0
rI
pi
d1
G
0"')
(or I:J)
(or oJ)
(or Ai)
'Hote' f'requency
const~.ts
A
D
'1'
50--(-)
1st Yusio Byte at melody
(40)