/[projet1]/public/oric/games/Space 1999/Sources/game source/world/soundovl.s
Defence Force logotype

Contents of /public/oric/games/Space 1999/Sources/game source/world/soundovl.s

Parent Directory Parent Directory | Revision Log Revision Log


Revision 76 - (show annotations)
Tue May 26 07:45:25 2009 UTC (10 years, 6 months ago) by Chema
File size: 25184 byte(s)


1 ;;;;
2
3 ;System Defines
4 #define sys_IRQJump $0244
5 #define sys_IRQVectorLo $0245
6 #define sys_IRQVectorHi $0246
7 ;Music Defines
8 #define pcr_Disabled $DD
9 #define pcr_Register $FF
10 #define pcr_Value $FD
11
12 #define via_portb $0300
13 #define via_t1cl $0304
14 #define via_pcr $030C
15 #define via_porta $030F
16 ;Effect Defines
17 #define NoteC 0
18 #define NoteD 2
19 #define NoteE 4
20 #define NoteF 5
21 #define NoteG 7
22 #define NoteA 9
23 #define NoteB 11
24
25 #define hEffectD 0
26 #define hEffectE 4
27 #define hEffectF 8
28 #define hEffectG 12
29 #define hEffectH 16
30 #define hEffectI 20
31 #define hEffectJ 24
32 #define hEffectK 28
33 #define hEffectL 32
34 #define hEffectM 36
35 #define hEffectN 40
36 #define hEffectO 44
37 #define hEffectP 48
38 #define hEffectQ 52
39 #define hEffectR 56
40 #define hEffectS 60
41 #define hEffectT 64
42 #define hEffectU 68
43 #define hEffectV 72
44
45 #define EG20 1
46 #define EG09 2
47
48 #define efx_End 0
49 #define efx_ToneOn 1
50 #define efx_ToneOff 2
51 #define efx_NoiseOn 3
52 #define efx_NoiseOff 4
53 #define efx_EnvelopeOn 5
54 #define efx_EnvelopeOff 6
55 #define efx_SetAbsoluteMode 7
56 #define efx_IncPitch 8
57 #define efx_DecPitch 40
58 #define efx_IncNote 72
59 #define efx_DecNote 104
60 #define efx_SetRelativeMode 136
61 #define efx_IncVolume 137
62 #define efx_DecVolume 138
63 #define efx_SkipZeroVolume 139
64 #define efx_SkipZeroCount 140
65 #define efx_Volume 141
66 #define efx_SetEnvTriangle 157
67 #define efx_SetEnvSawtooth 158
68 #define efx_FilterFrequency 159
69 #define efx_LoopRow 163
70 #define efx_SetCounter 185
71 #define efx_Pause 205
72 #define efx_SkipZeroPitch 255
73
74
75 _Music_data_start
76
77 ;**** Generic Routine Tables and Variables go here *****
78 paTemp01 .byt 0
79 EventStart
80 .byt 0 ;Title Tune (Start Event 0) (ABC)
81 .byt 10 ;Reggae Track (AB)
82 .byt 11 ;Repeating Drum Pattern (A)
83 .byt 12 ;Pool Music (AB)
84 .byt 13 ;Hifi Music (AB)
85 EventEnd
86 .byt 10 ;Title Tune (End on Event 10)
87 .byt 11
88 .byt 12
89 .byt 13
90 .byt 14
91 TrackProperty
92 .byt 128+13 ;Title Tune (Loop and tempo 13)
93 .byt 128+16
94 .byt 128+14
95 .byt 128+30
96 .byt 128+12
97 TrackChannels
98 .byt 1+2+4
99 .byt 2+4
100 .byt 4
101 .byt 2+4
102 .byt 2+4
103 TracksChannelsUsed
104 .byt 0
105
106
107
108 ;************** Music Data Starts Here *****************
109
110 PatternRest
111 .byt 0,0,0
112 Event_A_Pats ;Event A Patterns
113 ; 00 01 02 03 04 05 06 07 08 09 10 11 12 13
114 .byt $00,$01,$02,$03,$04,$05,$06,$03,$04,$07,$04,$04,$06,$03
115 Event_A_NOFS ;Event A Note Offsets
116 .byt $40,$34,$34,$34,$34,$34,$34,$34,$34,$34,$34,$34,$34,$34
117 Event_B_Pats ;Event B Patterns
118 .byt $00,$01,$02,$03,$04,$05,$06,$03,$04,$07,$03,$80,$04,$04 ;$80 is pattern rest
119 Event_B_NOFS ;Event B Note Offsets
120 .byt $40,$34,$34,$34,$34,$34,$34,$34,$34,$34,$34,$34,$34,$34
121 Event_C_Pats ;Event C Patterns
122 .byt $00,$01,$02,$03,$04,$05,$06,$03,$04,$07,$80,$80,$80,$80
123 Event_C_NOFS ;Event C Note Offsets
124 .byt $40,$40,$34,$34,$34,$34,$34,$34,$34,$34,$34,$34,$34,$34
125
126 ;Pattern Memory
127 Pattern2B60
128 .byt $39,$0,$FE,$3,$3F,$0,$FE,$3,$3E,$0,$FE,$7,$BE,$0,$FE,$3,$38,$0
129 .byt $FE,$1,$3A,$0,$BA,$0,$3C,$0,$FE,$9,$BC,$0,$FE,$1,$37,$0,$FE,$B
130 .byt $3C,$0,$FE,$2,$BC,$0,$3C,$0,$FE,$1,$BC,$0,$FE,$4,$F8,$0,$FE,$4,$FF
131 Pattern2B97
132 .byt $30,$0,$FE,$1,$B0,$0,$FE,$1,$30,$0,$FE,$1,$B0,$0,$FE,$1,$2E,$0
133 .byt $FE,$1,$AE,$0,$FE,$1,$2E,$0,$FE,$1,$AE,$0,$FE,$1,$2D,$0,$FE,$1
134 .byt $AD,$0,$FE,$1,$2D,$0,$FE,$1,$AD,$0,$FE,$1,$2C,$0,$FE,$1,$AC,$0
135 .byt $FE,$1,$2C,$0,$FE,$1,$AC,$0,$FE,$1,$2B,$0,$FE,$C,$AB,$0,$FE,$5
136 .byt $37,$0,$43,$0,$37,$0,$43,$0,$37,$0,$43,$0,$37,$0,$43,$0,$37,$0
137 .byt $43,$0,$37,$0,$43,$0,$37,$0,$FF
138 Pattern2BFA
139 .byt $FE,$3,$29,$11,$29,$11,$A9,$0,$29,$11,$FE,$1,$29,$11,$A9,$0,$FE,$9
140 .byt $29,$11,$29,$11,$A9,$0,$29,$11,$FE,$1,$29,$11,$FE,$1,$A9,$0,$FE,$9
141 .byt $29,$11,$A9,$0,$FE,$2,$29,$11,$A9,$0,$FE,$16,$FF
142 Pattern2C2B
143 .byt $41,$22,$C1,$0,$79,$3,$30,$14,$3C,$14,$FE,$1,$30,$14,$B0,$0,$30
144 .byt $14,$B0,$0,$79,$3,$30,$14,$3C,$14,$FE,$1,$30,$14,$B0,$0,$30,$14
145 .byt $B0,$0,$79,$3,$30,$14,$3C,$14,$BC,$0,$30,$14,$B0,$0,$30,$14,$B0
146 .byt $0,$30,$14,$B0,$0,$41,$22,$C1,$0,$30,$14,$30,$14,$41,$22,$C1,$0
147 .byt $79,$3,$30,$14,$3C,$14,$FE,$1,$30,$14,$B0,$0,$30,$14,$B0,$0,$79
148 .byt $3,$30,$14,$3C,$14,$FE,$1,$30,$14,$B0,$0,$41,$22,$C1,$0,$78,$3
149 .byt $F8,$0,$78,$2,$F8,$0,$78,$3,$30,$14,$78,$2,$F8,$0,$FE,$2,$48,$0
150 .byt $4B,$0,$4F,$0,$C3,$0,$FF
151 Pattern2CAA
152 .byt $41,$22,$C1,$0,$79,$3,$30,$14,$3C,$14,$FE,$1,$30,$14,$B0,$0,$30
153 .byt $14,$B0,$0,$79,$3,$30,$14,$3C,$14,$FE,$1,$30,$14,$B0,$0,$30,$14
154 .byt $B0,$0,$79,$3,$30,$14,$3C,$14,$BC,$0,$30,$14,$B0,$0,$30,$14,$B0
155 .byt $0,$30,$14,$B0,$0,$41,$22,$C1,$0,$30,$14,$30,$14,$41,$22,$C1,$0
156 .byt $79,$3,$30,$14,$3C,$14,$FE,$1,$30,$14,$B0,$0,$30,$14,$B0,$0,$79
157 .byt $3,$30,$14,$3C,$14,$FE,$1,$30,$14,$B0,$0,$30,$14,$B0,$0,$79,$3
158 .byt $30,$14,$3C,$14,$BC,$0,$30,$14,$B0,$0,$30,$14,$B0,$0,$30,$14,$B0
159 .byt $0,$41,$22,$C1,$0,$30,$14,$B0,$0,$FF
160 Pattern2D2B
161 .byt $2B,$11,$FE,$F,$2B,$11,$FE,$F,$41,$22,$C1,$0,$79,$3,$30,$14,$3C
162 .byt $14,$FE,$1,$30,$14,$B0,$0,$30,$14,$B0,$0,$79,$3,$30,$14,$3C,$14
163 .byt $FE,$1,$30,$14,$B0,$0,$30,$14,$B0,$0,$79,$3,$30,$14,$3C,$14,$BC
164 .byt $0,$30,$14,$B0,$0,$30,$14,$B0,$0,$30,$14,$B0,$0,$41,$22,$C1,$0
165 .byt $30,$14,$B0,$0,$FF
166 Pattern2D74
167 .byt $2E,$11,$FE,$17,$2B,$11,$FE,$1,$2B,$11,$FE,$1,$2B,$11,$FE,$1,$2B
168 .byt $11,$FE,$1,$2B,$11,$FE,$3,$BA,$A,$FE,$2,$BA,$0,$BE,$A,$FE,$1,$2B
169 .byt $11,$FE,$1,$2B,$11,$FE,$1,$2B,$11,$FE,$1,$2B,$11,$FE,$3,$BC,$A,$FE
170 .byt $2,$C0,$0,$C0,$A,$FE,$1,$2B,$11,$FE,$1,$2B,$11,$FE,$1,$2B,$11,$FE
171 .byt $1,$FF
172 Pattern2DBD
173 .byt $F8,$0,$FE,$23,$2B,$11,$FE,$1,$2B,$11,$FE,$1,$2B,$11,$FE,$B,$2B
174 .byt $11,$FE,$1,$2B,$11,$FE,$1,$2B,$11,$FE,$3,$2B,$11,$35,$0,$39,$0
175 .byt $3C,$0,$FF
176 Pattern8A
177 Pattern8B
178 Pattern8C
179 .byt $F8,$0,$FE,63
180 .byt $FF
181
182 Pattern2DE2
183 .byt $23,$0,$FE,$1,$A3,$0,$FE,$1,$23,$0,$FE,$1,$A3,$0,$FE,$1,$22,$0
184 .byt $FE,$1,$A2,$0,$FE,$1,$22,$0,$FE,$1,$A2,$0,$FE,$1,$27,$0,$FE,$1
185 .byt $A7,$0,$FE,$1,$27,$0,$FE,$1,$A7,$0,$FE,$1,$25,$0,$FE,$1,$A5,$0
186 .byt $FE,$1,$25,$0,$FE,$1,$A5,$0,$24,$0,$FE,$2,$A4,$0,$FE,$1,$24,$0
187 .byt $A4,$0,$FE,$1,$24,$0,$27,$0,$FE,$1,$A7,$0,$FE,$1,$25,$0,$FE,$1
188 .byt $A5,$0,$FE,$1,$24,$0,$FE,$1,$A4,$0,$FE,$1,$24,$0,$FE,$1,$A4,$0
189 .byt $FE,$4,$F8,$0,$FE,$4,$FF
190 Pattern2E55
191 .byt $3F,$0,$FE,$A,$3E,$0,$FE,$3,$41,$0,$41,$0,$FE,$9,$C1,$0,$3F,$0
192 .byt $3E,$0,$FE,$1,$3C,$0,$FE,$1,$3E,$0,$FE,$F,$BE,$0,$FE,$2,$43,$0
193 .byt $FE,$9,$C3,$0,$FE,$2,$FF
194 Pattern2E80
195 .byt $FE,$3,$41,$0,$41,$0,$43,$0,$FE,$1,$40,$0,$FE,$8,$C0,$0,$FE,$2
196 .byt $40,$0,$3F,$0,$BF,$0,$3E,$0,$BE,$0,$3D,$0,$FE,$7,$BD,$0,$FE,$2
197 .byt $3D,$0,$3C,$0,$FE,$1,$3B,$0,$FE,$1,$3C,$0,$FE,$8,$BC,$0,$FE,$2
198 .byt $3B,$0,$FE,$3,$3C,$0,$BC,$0,$FE,$1,$48,$0,$3C,$0,$FE,$1,$3E,$0
199 .byt $FE,$1,$FF
200 Pattern2ECB
201 .byt $24,$0,$A4,$0,$FE,$1,$22,$0,$1F,$0,$FE,$1,$22,$0,$A2,$0,$24,$0
202 .byt $A4,$0,$22,$0,$FE,$1,$1F,$0,$FE,$1,$22,$0,$A2,$0,$20,$0,$FE,$1
203 .byt $A0,$0,$FE,$1,$27,$0,$A7,$0,$FE,$1,$2C,$0,$AC,$0,$2C,$0,$AC,$0
204 .byt $2C,$0,$27,$0,$A7,$0,$FE,$2,$24,$0,$A4,$0,$FE,$1,$22,$0,$1F,$0
205 .byt $FE,$1,$22,$0,$A2,$0,$24,$0,$A4,$0,$22,$0,$FE,$1,$1F,$0,$FE,$1
206 .byt $22,$0,$A2,$0,$20,$0,$FE,$1,$A0,$0,$FE,$1,$1F,$0,$FE,$1,$9F,$0
207 .byt $FE,$1,$24,$0,$FE,$1,$A4,$0,$FE,$1,$3C,$35,$FE,$3,$FF
208 Pattern2F46
209 .byt $24,$0,$A4,$0,$FE,$1,$22,$0,$1F,$0,$FE,$1,$22,$0,$A2,$0,$24,$0
210 .byt $A4,$0,$22,$0,$FE,$1,$1F,$0,$FE,$1,$22,$0,$A2,$0,$20,$0,$FE,$1
211 .byt $A0,$0,$FE,$1,$27,$0,$A7,$0,$FE,$1,$2C,$0,$AC,$0,$2C,$0,$AC,$0
212 .byt $2C,$0,$27,$0,$A7,$0,$FE,$2,$24,$0,$A4,$0,$FE,$1,$22,$0,$1F,$0
213 .byt $FE,$1,$22,$0,$A2,$0,$24,$0,$A4,$0,$22,$0,$FE,$1,$1F,$0,$FE,$1
214 .byt $22,$0,$A2,$0,$24,$0,$A4,$0,$FE,$1,$22,$0,$1F,$0,$FE,$1,$22,$0
215 .byt $A2,$0,$24,$0,$A4,$0,$22,$0,$FE,$1,$1F,$0,$FE,$1,$22,$0,$A2,$0,$FF
216 Pattern2FC5
217 .byt $4A,$0,$FE,$3,$4F,$0,$FE,$9,$CF,$0,$FE,$9,$56,$0,$51,$0,$4D,$0
218 .byt $4A,$0,$47,$0,$43,$0,$3B,$0,$35,$0,$24,$0,$A4,$0,$FE,$1,$22,$0
219 .byt $1F,$0,$FE,$1,$22,$0,$A2,$0,$24,$0,$A4,$0,$22,$0,$FE,$1,$1F,$0
220 .byt $FE,$1,$22,$0,$A2,$0,$24,$0,$A4,$0,$FE,$1,$22,$0,$1F,$0,$FE,$1
221 .byt $22,$0,$A2,$0,$24,$0,$A4,$0,$22,$0,$FE,$1,$1F,$0,$FE,$1,$22,$0
222 .byt $A2,$0,$FF
223 Pattern3022
224 .byt $4B,$0,$FE,$1B,$4A,$0,$FE,$3,$4F,$0,$FE,$F,$4C,$0,$FE,$F,$FF
225 Pattern3033
226 .byt $A9,$11,$FE,$1,$A9,$12,$FE,$1,$A9,$13,$FE,$1,$A9,$14,$FE,$1
227 .byt $A9,$15,$FE,$1,$A9,$16,$FE,$1,$A9,$17,$FE,$1,$A9,$18,$FE,$1
228 .byt $A9,$19,$FE,$1,$A9,$1A,$FE,$1,$A9,$1B,$FE,$1,$A9,$1C,$FE,$1
229 .byt $A9,$1D,$FE,$1,$29,$11,$FE,$1,$29,$11,$29,$11,$29,$11,$29,$11
230 .byt $3E,$0,$FE,$1B,$33,$0,$34,$0,$3B,$0,$3E,$0,$FF
231
232 Pattern3080
233 .byt $39,$0,$FE,$9,$38,$0,$FE,$1,$37,$0,$B7,$0,$35,$0,$FE,$1,$37,$0
234 .byt $FE,$8,$B7,$0,$FE,$1,$37,$0,$35,$0,$FE,$1,$33,$0,$FE,$1,$30,$0
235 .byt $FE,$5,$B0,$0,$FE,$5,$37,$0,$FE,$3,$3C,$0,$FE,$2,$BC,$0,$3C,$0
236 .byt $FE,$6,$F8,$0,$FE,$4,$FF
237 Pattern30BD
238 .byt $4B,$0,$FE,$2,$46,$0,$4A,$0,$4B,$0,$4D,$0,$CD,$0,$4F,$0,$FE,$5
239 .byt $CF,$0,$FE,$2,$43,$0,$FE,$1,$45,$0,$FE,$1,$46,$0,$FE,$1,$48,$0
240 .byt $FE,$6,$C8,$0,$FE,$4,$3B,$0,$BB,$0,$3B,$0,$BB,$0,$3C,$0,$BC,$0
241 .byt $3C,$0,$FE,$1,$BC,$0,$FE,$1,$3C,$0,$3C,$0,$3C,$0,$3B,$0,$BB,$0
242 .byt $FE,$5,$37,$0,$3A,$0,$3B,$0,$3C,$0,$3E,$0,$40,$0,$41,$0,$44,$0
243 .byt $50,$0,$FF
244 Pattern311A
245 .byt $55,$0,$FE,$B,$54,$0,$FE,$3,$4E,$0,$FE,$B,$4F,$0,$FE,$3,$52,$0
246 .byt $FE,$3,$2E,$0,$FE,$1,$AE,$0,$FE,$1,$2C,$0,$FE,$1,$AC,$0,$FE,$1
247 .byt $50,$0,$FE,$3,$47,$0,$FE,$2,$2F,$0,$2F,$0,$FE,$2,$48,$0,$30,$0
248 .byt $FE,$1,$B0,$0,$FE,$1,$48,$0,$C8,$0,$4A,$0,$FE,$1,$FF
249 Pattern315F
250 .byt $39,$0,$FE,$A,$38,$0,$37,$0,$FE,$1,$35,$0,$FE,$1,$37,$0,$FE,$8
251 .byt $B7,$0,$FE,$1,$37,$0,$35,$0,$FE,$1,$33,$0,$FE,$1,$3C,$0,$FE,$F
252 .byt $BC,$0,$FE,$F,$FF
253 Pattern3188
254 .byt $37,$0,$FE,$F,$38,$0,$FE,$B,$37,$0,$FE,$3,$3C,$0,$FE,$D,$BC,$0
255 .byt $FE,$1,$3A,$0,$FE,$F,$FF
256 Pattern31A1
257 .byt $46,$0,$FE,$F,$50,$0,$4D,$0,$4A,$0,$47,$0,$4D,$0,$4A,$0,$47,$0
258 .byt $44,$0,$4A,$0,$47,$0,$44,$0,$41,$0,$47,$0,$44,$0,$41,$0,$3E,$0
259 .byt $48,$4,$FE,$1,$3C,$4,$BC,$0,$48,$4,$C8,$0,$FE,$2,$48,$4,$C8,$0
260 .byt $3C,$4,$BC,$0,$48,$4,$C8,$0,$FE,$2,$48,$4,$C8,$0,$3C,$4,$BC,$0
261 .byt $48,$4,$C8,$0,$FE,$2,$48,$4,$FE,$1,$3C,$4,$BC,$0,$48,$4,$C8,$0
262 .byt $FE,$2,$FF
263 Pattern31FE
264 .byt $2F,$0,$FE,$7,$2E,$0,$FE,$7,$2D,$0,$FE,$7,$2C,$0,$FE,$7,$2B,$0
265 .byt $FE,$F,$30,$0,$FE,$F,$FF
266 Pattern3217
267 .byt $F8,$0,$A9,$11,$FE,$1,$A9,$12,$FE,$1,$A9,$13,$FE,$1,$A9,$14,$FE
268 .byt $1,$A9,$15,$FE,$1,$A9,$16,$FE,$1,$A9,$17,$FE,$1,$A9,$18,$FE,$1
269 .byt $A9,$19,$FE,$1,$A9,$1A,$FE,$1,$A9,$1B,$FE,$1,$A9,$1C,$FE,$1,$A9
270 .byt $1D,$FE,$1,$29,$11,$FE,$1,$29,$11,$29,$11,$29,$11,$32,$0,$FE,$F
271 .byt $31,$0,$FE,$7,$30,$0,$FE,$7,$FF
272
273 OrnamentAddressTableLo
274 .byt <Ornament0
275 .byt <Ornament1
276 .byt <Ornament2
277 .byt <Ornament3
278 OrnamentAddressTableHi
279 .byt >Ornament0
280 .byt >Ornament1
281 .byt >Ornament2
282 .byt >Ornament3
283
284 OrnamentData
285 Ornament0 ;Repeat
286 .byt $01,$05,$01,$07,$03 ;$03 is flag to loop to start
287 Ornament1
288 .byt $01,$0E,$16,$22,$32,$3E,$4A,$62,$6E,$76,$82,$8E,$00
289 Ornament2
290 .byt $01,$0E,$16,$22,$32,$3E,$4A,$62,$6E,$76,$82,$8E,$FE,$00
291 Ornament3
292 .byt $01,$01,$04,$04,$0C,$0C,$14,$14,$20,$20,$30,$30,$30,$3C,$3C,$3C ;3
293 .byt $44,$44,$44,$50,$50,$50,$60,$60,$60,$6C,$6C,$6C,$74,$74,$74,$00
294
295 SampleAddressTableLo
296 .byt <Sample0
297 .byt <Sample1
298 .byt <Sample2
299 .byt <Sample3
300 .byt <Sample4
301 .byt <Sample5
302 SampleAddressTableHi
303 .byt >Sample0
304 .byt >Sample1
305 .byt >Sample2
306 .byt >Sample3
307 .byt >Sample4
308 .byt >Sample5
309
310 SampleData
311 Sample0
312 .byt $1E,$0D,$00
313 Sample1
314 .byt $0B,$0C,$0B,$0A,$0A,$09,$09,$08,$08,$07,$07,$06,$06,$05,$05,$04 ;1
315 .byt $04,$04,$00
316 Sample2
317 .byt $1F,$2E,$1E,$2D,$1D,$2C,$1C,$2B,$1B,$2A,$1A,$29,$19,$28,$18,$27 ;2
318 .byt $17,$26,$16,$25,$15,$24,$14,$23,$13,$22,$12,$21,$11,$10,$00
319 Sample3
320 .byt $0F,$17,$14,$01,$10,$00
321 Sample4
322 .byt $0F,$0E,$0D,$0C,$0B,$09,$07,$05,$03,$01,$10,$00
323 Sample5
324 .byt $0F,$0F,$0E,$0E,$0D,$0D,$0C,$0C,$0B,$0B,$0A,$0A,$09,$09,$08,$08 ;5
325 .byt $07,$07,$06,$06,$05,$05,$04,$04,$03,$03,$02,$02,$01,$01,$10,$00
326
327 Table33A4 ;Pattern Address Table A Lo
328 .byt <Pattern2DBD
329 .byt <Pattern2D74
330 .byt <Pattern2D2B
331 .byt <Pattern2CAA
332 .byt <Pattern2C2B
333 .byt <Pattern2BFA
334 .byt <Pattern2B97
335 .byt <Pattern2B60
336 Table33AC ;Pattern Address Table A Hi
337 .byt >Pattern2DBD
338 .byt >Pattern2D74
339 .byt >Pattern2D2B
340 .byt >Pattern2CAA
341 .byt >Pattern2C2B
342 .byt >Pattern2BFA
343 .byt >Pattern2B97
344 .byt >Pattern2B60
345 Table33B4 ;Pattern Address Table B Lo
346 .byt <Pattern3033
347 .byt <Pattern3022
348 .byt <Pattern2FC5
349 .byt <Pattern2F46
350 .byt <Pattern2ECB
351 .byt <Pattern2E80
352 .byt <Pattern2E55
353 .byt <Pattern2DE2
354 Table33BC ;Pattern Address Table B Hi
355 .byt >Pattern3033
356 .byt >Pattern3022
357 .byt >Pattern2FC5
358 .byt >Pattern2F46
359 .byt >Pattern2ECB
360 .byt >Pattern2E80
361 .byt >Pattern2E55
362 .byt >Pattern2DE2
363 Table33C4 ;Pattern Address Table C Lo
364 .byt <Pattern3217
365 .byt <Pattern31FE
366 .byt <Pattern31A1
367 .byt <Pattern3188
368 .byt <Pattern315F
369 .byt <Pattern311A
370 .byt <Pattern30BD
371 .byt <Pattern3080
372 Table33CC ;Pattern Address Table C Hi
373 .byt >Pattern3217
374 .byt >Pattern31FE
375 .byt >Pattern31A1
376 .byt >Pattern3188
377 .byt >Pattern315F
378 .byt >Pattern311A
379 .byt >Pattern30BD
380 .byt >Pattern3080
381
382 RegisterBank
383 AY_PitchLo
384 .byt 0
385 .byt 0
386 .byt 0
387 AY_PitchHi
388 .byt 0
389 .byt 0
390 .byt 0
391 AY_Noise
392 .byt 0
393 AY_Status
394 .byt $78
395 AY_Volume
396 .byt 0
397 .byt 0
398 .byt 0
399 AY_EGPeriodLo .byt 0
400 AY_EGPeriodHi .byt 0
401 AY_EGCycle .byt 0
402 RegisterPointer
403 .byt 0,3
404 .byt 1,4
405 .byt 2,5
406 .byt 6
407 .byt 7
408 .byt 8,9,10
409 .byt 11,12
410 .byt 13
411 ReferenceBank
412 .byt 0,0,0,0,0,0
413 .byt 0,0
414 .byt 0,0,0
415 .byt 0,0,0
416
417 BasePitchLo ;Base Note Pitches Lo
418 .byt $EE,$16,$4C
419 .byt $8E,$D8,$2E
420 .byt $8E,$F6,$66
421 .byt $E0,$60,$E8
422 BasePitchHi ;Base Note Pitches Hi
423 .byt $0E,$0E,$0D
424 .byt $0C,$0B,$0B
425 .byt $0A,$09,$09
426 .byt $08,$08,$07
427 EventIndex .byt 0
428 EndEvent .byt 0
429 TrackLoop .byt 0
430 MusicTempoReference .byt 0
431 MusicStatus .byt 0
432
433 SampleProperty
434 .byt 128,128,128
435 SampleIndex
436 .byt 0,0,0
437 OrnamentProperty
438 .byt 128,128,128
439 OrnamentIndex
440 .byt 0,0,0
441 RuntimePatternBaseLo
442 .byt 0,0,0
443 RuntimePatternBaseHi
444 .byt 0,0,0
445 RuntimePatternIndex
446 .byt 0,0,0
447 RuntimePatternNoteOffset
448 .byt 0,0,0
449 RuntimeNote
450 .byt 0,0,0
451 EndOfMusic
452
453 ;************************ Effect Data starts here **********************
454
455
456 Channel_SFX_NoteHeaders
457 .byt NoteG+12*7 ;A 00
458 .byt NoteC+12*1 ; 01
459 .byt NoteC+12*2 ; 02
460 .byt NoteC+12*6 ; 03
461 .byt NoteC+12*3 ; 04
462 .byt NoteF+12*3 ; 05
463 .byt NoteC+12*1 ; 06
464 .byt NoteD+12*2 ; 07
465 .byt NoteG+12*3 ; 08
466
467 .byt NoteC+12*6 ;B 09
468 .byt NoteF+12*6 ; 10
469 .byt NoteC+12*3 ; 11
470 .byt NoteC+12*4 ; 12
471 .byt NoteC+12*4 ; 13
472 .byt NoteF+12*7 ; 14
473 .byt NoteG+12*3 ; 15
474 .byt NoteG+12*7 ; 16
475
476 .byt NoteC+12*5 ;C 17
477 .byt NoteC+12*7 ; 18
478 .byt NoteC+12*5 ; 19
479 .byt NoteG+12*7 ; 20
480 .byt NoteG+12*7 ; 21
481 .byt NoteG+12*3 ; 22
482
483 Channel_SFX_EffectAndEGHeaders
484 .byt hEffectV ;A 00 Switch
485 .byt hEffectU ; 01 Door Opening/Closing
486 .byt hEffectT ; 02 Pick up
487 .byt hEffectS ; 03 Drop
488 .byt hEffectR ; 04 Step #1
489 .byt hEffectR ; 05 Step #2
490 .byt hEffectH+EG20 ; 06 Lift Start
491 .byt hEffectG+EG20 ; 07 Lift End
492 .byt hEffectE+EG09 ; 08 Alarm #1
493
494 .byt hEffectQ ;B 09 Effect #1 (InfoPost)
495 .byt hEffectP ; 10 New Msg through Commlink
496 .byt hEffectO ; 11 Effect #2 (InfoPost)
497 .byt hEffectN ; 12 Computer Room #1
498 .byt hEffectM ; 13 Computer Room #2
499 .byt hEffectP ; 14 Beep for Info Messages in Text Area
500 .byt hEffectE+EG20 ; 15 -
501 .byt hEffectD+EG20 ; 16 Alarm #2
502
503 .byt hEffectL ;C 17 Alarm #3
504 .byt hEffectL ; 18 Alarm #4 (Low Power of 17)
505 .byt hEffectK ; 19 Alarm #5 (Receding low power)
506 .byt hEffectJ ; 20 Alarm #6
507 .byt hEffectI ; 21 Alarm #6 End
508 .byt hEffectF ; 22 -
509
510 ;Nice effect of mixing Effect 0F on A whilst playing Track 02 on A
511 ;Effects(19)
512
513 EffectBaseAddressLo
514 .byt <EffectD
515 .byt <EffectE
516 .byt <EffectF
517 .byt <EffectG
518 .byt <EffectH
519 .byt <EffectI
520 .byt <EffectJ
521 .byt <EffectK
522 .byt <EffectL
523 .byt <EffectM
524 .byt <EffectN
525 .byt <EffectO
526 .byt <EffectP
527 .byt <EffectQ
528 .byt <EffectR
529 .byt <EffectS
530 .byt <EffectT
531 .byt <EffectU
532 .byt <EffectV
533 EffectBaseAddressHi
534 .byt >EffectD
535 .byt >EffectE
536 .byt >EffectF
537 .byt >EffectG
538 .byt >EffectH
539 .byt >EffectI
540 .byt >EffectJ
541 .byt >EffectK
542 .byt >EffectL
543 .byt >EffectM
544 .byt >EffectN
545 .byt >EffectO
546 .byt >EffectP
547 .byt >EffectQ
548 .byt >EffectR
549 .byt >EffectS
550 .byt >EffectT
551 .byt >EffectU
552 .byt >EffectV
553
554 EffectD ;16
555 .byt efx_ToneOn
556 .byt efx_NoiseOff
557 .byt efx_EnvelopeOff
558 .byt efx_Volume+6
559 .byt efx_Pause+27
560 ; .byt Pause9
561 ; .byt Pause9
562 .byt efx_EnvelopeOn
563 .byt efx_Pause+18
564 ; .byt Pause9
565 .byt efx_EnvelopeOff
566 .byt efx_Pause+7
567 .byt efx_EnvelopeOn
568 .byt efx_Pause+9
569 .byt efx_EnvelopeOff
570 .byt efx_Pause+36
571 ; .byt Pause9
572 ; .byt Pause9
573 ; .byt Pause9
574 .byt efx_EnvelopeOn
575 .byt efx_Pause+18
576 ; .byt Pause9
577 .byt efx_LoopRow+13 ;Row 2
578 EffectE ;16
579 .byt efx_ToneOn
580 .byt efx_EnvelopeOn
581 .byt efx_NoiseOff
582 .byt efx_SetAbsoluteMode
583 .byt efx_IncPitch+1
584 .byt efx_Volume+0
585 .byt efx_Pause+3
586 .byt efx_DecPitch+2
587 .byt efx_IncVolume
588 .byt efx_SkipZeroVolume
589 .byt efx_LoopRow+4 ;To row 6
590 .byt efx_Volume+12
591 .byt efx_Pause+9
592 .byt efx_IncPitch+31
593 .byt efx_Pause+18
594 ; .byt Pause9
595 .byt efx_LoopRow+11 ;To row 4
596 EffectF ;16
597 .byt efx_ToneOn
598 .byt efx_EnvelopeOff
599 .byt efx_NoiseOff
600 .byt efx_SetAbsoluteMode
601 .byt efx_IncPitch+1
602 .byt efx_Volume+0
603 .byt efx_Pause+3
604 .byt efx_DecPitch+2
605 .byt efx_IncVolume
606 .byt efx_SkipZeroVolume
607 .byt efx_LoopRow+4 ;6
608 .byt efx_Volume+12
609 .byt efx_Pause+9
610 .byt efx_IncPitch+31
611 .byt efx_Pause+18
612 ; .byt Pause9
613 .byt efx_LoopRow+11 ;4
614 EffectG ;19
615 .byt efx_ToneOn
616 .byt efx_NoiseOff
617 .byt efx_EnvelopeOn
618 .byt efx_SetEnvTriangle
619 .byt efx_SetAbsoluteMode
620 .byt efx_SetCounter+8
621 .byt efx_Pause+9
622 .byt efx_DecNote+2
623 .byt efx_SkipZeroCount
624 .byt efx_LoopRow+3 ;6
625 .byt efx_EnvelopeOff
626 .byt efx_Pause+18
627 ; .byt Pause9
628 .byt efx_Volume+13
629 .byt efx_IncNote+31
630 .byt efx_IncNote+24
631 .byt efx_Pause+4
632 .byt efx_DecVolume
633 .byt efx_SkipZeroVolume
634 .byt efx_LoopRow+3 ;?16
635 .byt efx_End
636 EffectH ;10
637 .byt efx_ToneOn
638 .byt efx_NoiseOff
639 .byt efx_EnvelopeOn
640 .byt efx_SetEnvTriangle
641 .byt efx_SetAbsoluteMode
642 .byt efx_SetCounter+8
643 .byt efx_Pause+4
644 .byt efx_IncNote+2
645 .byt efx_SkipZeroCount
646 .byt efx_LoopRow+3 ;6
647 .byt efx_End
648 EffectI ;11
649 .byt efx_ToneOn
650 .byt efx_NoiseOff
651 .byt efx_EnvelopeOff
652 .byt efx_Volume+15
653 .byt efx_Pause+4
654 .byt efx_Volume+0
655 .byt efx_Pause+7
656 .byt efx_Volume+9
657 .byt efx_Pause+5
658 .byt efx_Volume+0
659 .byt efx_End
660 EffectJ ;8
661 .byt efx_ToneOn
662 .byt efx_NoiseOff
663 .byt efx_EnvelopeOff
664 .byt efx_Volume+15
665 .byt efx_Pause+4
666 .byt efx_Volume+0
667 .byt efx_Pause+7
668 .byt efx_LoopRow+4 ;3
669 EffectK ;19
670 .byt efx_ToneOn
671 .byt efx_NoiseOff
672 .byt efx_EnvelopeOff
673 .byt efx_Volume+7
674 .byt efx_SetAbsoluteMode
675 .byt efx_SetCounter+8
676 .byt efx_Pause+3
677 .byt efx_DecPitch+3
678 .byt efx_SkipZeroCount
679 .byt efx_LoopRow+3 ;6
680 .byt efx_SetCounter+8
681 .byt efx_Pause+3
682 .byt efx_IncPitch+4
683 .byt efx_SkipZeroCount
684 .byt efx_LoopRow+3 ;11
685 .byt efx_SkipZeroPitch
686 .byt efx_LoopRow+11 ;5
687 .byt efx_Volume+0
688 .byt efx_End
689 EffectL ;16
690 .byt efx_ToneOn
691 .byt efx_NoiseOff
692 .byt efx_EnvelopeOff
693 .byt efx_Volume+7
694 .byt efx_SetAbsoluteMode
695 .byt efx_SetCounter+8
696 .byt efx_Pause+2
697 .byt efx_DecPitch+4
698 .byt efx_SkipZeroCount
699 .byt efx_LoopRow+3 ;6
700 .byt efx_SetCounter+8
701 .byt efx_Pause+2
702 .byt efx_IncPitch+4
703 .byt efx_SkipZeroCount
704 .byt efx_LoopRow+3 ;11
705 .byt efx_LoopRow+10 ;5
706 EffectM ;9
707 .byt efx_ToneOn
708 .byt efx_NoiseOff
709 .byt efx_EnvelopeOff
710 .byt efx_Volume+7
711 .byt efx_SetAbsoluteMode
712 .byt efx_FilterFrequency+2
713 .byt efx_Pause+3
714 .byt efx_DecNote+26
715 .byt efx_LoopRow+2 ;6
716 EffectN ;9
717 .byt efx_ToneOn
718 .byt efx_NoiseOff
719 .byt efx_EnvelopeOff
720 .byt efx_Volume+7
721 .byt efx_SetAbsoluteMode
722 .byt efx_FilterFrequency+2
723 .byt efx_Pause+1
724 .byt efx_DecNote+27
725 .byt efx_LoopRow+2 ;+6
726 EffectO ;11
727 .byt efx_ToneOn
728 .byt efx_NoiseOn
729 .byt efx_EnvelopeOff
730 .byt efx_Volume+15
731 .byt efx_Pause+1
732 .byt efx_NoiseOff
733 .byt efx_DecVolume
734 .byt efx_Pause+3
735 .byt efx_SkipZeroVolume
736 .byt efx_LoopRow+3 ;6
737 .byt efx_End
738 EffectP ;11
739 .byt efx_ToneOn
740 .byt efx_NoiseOff
741 .byt efx_EnvelopeOff
742 .byt efx_SetCounter+3
743 .byt efx_Volume+15
744 .byt efx_Pause+9
745 .byt efx_Volume+0
746 .byt efx_Pause+9
747 .byt efx_SkipZeroCount
748 .byt efx_LoopRow+5 ;4
749 .byt efx_End
750 EffectQ ;9
751 .byt efx_ToneOn
752 .byt efx_NoiseOff
753 .byt efx_EnvelopeOff
754 .byt efx_Volume+15
755 .byt efx_Pause+6
756 .byt efx_DecNote+9
757 .byt efx_Pause+9
758 .byt efx_Volume+0
759 .byt efx_End
760 EffectR ;8
761 .byt efx_NoiseOn
762 .byt efx_ToneOn
763 .byt efx_EnvelopeOff
764 .byt efx_Volume+12
765 ; .byt efx_SetAbsoluteMode
766 .byt efx_Pause+0
767 .byt efx_Volume+0
768 .byt efx_End
769 EffectS ;13
770 .byt efx_NoiseOff
771 .byt efx_ToneOn
772 .byt efx_EnvelopeOff
773 .byt efx_Volume+10
774 .byt efx_SetCounter+4
775 .byt efx_SetAbsoluteMode
776 .byt efx_DecNote+10
777 .byt efx_Pause+3
778 .byt efx_SkipZeroCount
779 .byt efx_LoopRow+3 ;6
780 .byt efx_Pause+1
781 .byt efx_Volume+0
782 .byt efx_End
783 EffectT ;13
784 .byt efx_NoiseOff
785 .byt efx_ToneOn
786 .byt efx_EnvelopeOff
787 .byt efx_Volume+10
788 .byt efx_SetCounter+4
789 .byt efx_SetAbsoluteMode
790 .byt efx_IncNote+10
791 .byt efx_Pause+3
792 .byt efx_SkipZeroCount
793 .byt efx_LoopRow+3 ;6
794 .byt efx_Pause+1
795 .byt efx_Volume+0
796 .byt efx_End
797 EffectU ;14
798 .byt efx_NoiseOn
799 .byt efx_ToneOff
800 .byt efx_EnvelopeOff
801 .byt efx_Volume+0
802 .byt efx_SetCounter+8
803 .byt efx_Pause+2
804 .byt efx_IncVolume
805 .byt efx_SkipZeroCount
806 .byt efx_LoopRow+3 ;5
807 .byt efx_Volume+0
808 ; .byt efx_Pause+1
809 ; .byt efx_DecVolume
810 ; .byt efx_SkipZeroVolume
811 ; .byt efx_LoopRow+3 ;9
812 .byt efx_End
813 EffectV ;15
814 .byt efx_NoiseOff
815 .byt efx_EnvelopeOff
816 .byt efx_ToneOn
817 .byt efx_Volume+15
818 .byt efx_Pause+1
819 .byt efx_Volume+12
820 .byt efx_Pause+1
821 .byt efx_Volume+9
822 .byt efx_Pause+1
823 .byt efx_Volume+6
824 .byt efx_Pause+1
825 .byt efx_Volume+3
826 .byt efx_Pause+1
827 .byt efx_Volume+0
828 .byt efx_End
829 ;All Effects == 243 Bytes
830
831 ToneMask
832 .byt %11111110,%11111101,%11111011
833 ToneBit
834 .byt %00000001,%00000010,%00000100
835 NoiseMask
836 .byt %11110111,%11101111,%11011111
837 NoiseBit
838 .byt %00001000,%00010000,%00100000
839 AbsoluteMode
840 .byt 0,0,0
841 EffectCounter
842 .byt 0,0,0
843 PauseDelay
844 .byt 0,0,0
845 EffectPitchLo
846 .byt 0,0,0
847 EffectPitchHi
848 .byt 0,0,0
849 EffectNote
850 .byt 0,0,0
851 EffectIndex
852 .byt 0,0,0
853 EffectNumber
854 .byt 128,128,128
855 SkipLoopFlag
856 .byt 0,0,0
857 PitchOffset
858 NoteOffset .byt 0
859 TempPitchLo .byt 0
860 TempPitchHi .byt 0
861 EGValue
862 .byt 20,9,0
863 EffectCodeThreshhold
864 .byt 000 ;00
865 .byt 001 ;01
866 .byt 002 ;02
867 .byt 003 ;03
868 .byt 004 ;04
869 .byt 005 ;05
870 .byt 006 ;06
871 .byt 007 ;07
872 .byt 008 ;08
873 .byt 040 ;09
874 .byt 072 ;10
875 .byt 104 ;11
876 .byt 136 ;12
877 .byt 137 ;13
878 .byt 138 ;14
879 .byt 139 ;15
880 .byt 140 ;16
881 .byt 141 ;17
882 .byt 157 ;18
883 .byt 158 ;19
884 .byt 159 ;20
885 .byt 163 ;21
886 .byt 185 ;22
887 .byt 205 ;23
888 .byt 255 ;24
889 /*EffectCodeVectorLo
890 .byt <efxc_End
891 .byt <efxc_ToneOn
892 .byt <efxc_ToneOff
893 .byt <efxc_NoiseOn
894 .byt <efxc_NoiseOff
895 .byt <efxc_EnvelopeOn
896 .byt <efxc_EnvelopeOff
897 .byt <efxc_SetAbsoluteMode
898 .byt <efxc_IncPitch
899 .byt <efxc_DecPitch
900 .byt <efxc_IncNote
901 .byt <efxc_DecNote
902 .byt <efxc_SetRelativeMode
903 .byt <efxc_IncVolume
904 .byt <efxc_DecVolume
905 .byt <efxc_SkipZeroVolume
906 .byt <efxc_SkipZeroCount
907 .byt <efxc_Volume
908 .byt <efxc_SetEnvTriangle
909 .byt <efxc_SetEnvSawtooth
910 .byt <efxc_FilterFrequency
911 .byt <efxc_LoopRow
912 .byt <efxc_SetCounter
913 .byt <efxc_Pause
914 .byt <efxc_SkipZeroPitch
915 EffectCodeVectorHi
916 .byt >efxc_End
917 .byt >efxc_ToneOn
918 .byt >efxc_ToneOff
919 .byt >efxc_NoiseOn
920 .byt >efxc_NoiseOff
921 .byt >efxc_EnvelopeOn
922 .byt >efxc_EnvelopeOff
923 .byt >efxc_SetAbsoluteMode
924 .byt >efxc_IncPitch
925 .byt >efxc_DecPitch
926 .byt >efxc_IncNote
927 .byt >efxc_DecNote
928 .byt >efxc_SetRelativeMode
929 .byt >efxc_IncVolume
930 .byt >efxc_DecVolume
931 .byt >efxc_SkipZeroVolume
932 .byt >efxc_SkipZeroCount
933 .byt >efxc_Volume
934 .byt >efxc_SetEnvTriangle
935 .byt >efxc_SetEnvSawtooth
936 .byt >efxc_FilterFrequency
937 .byt >efxc_LoopRow
938 .byt >efxc_SetCounter
939 .byt >efxc_Pause
940 .byt >efxc_SkipZeroPitch*/
941 FilterIndex
942 .byt 0,0,0
943 FilterMask
944 .byt 7 ;1
945 .byt 15 ;2
946 .byt 31 ;3
947 .byt 127 ;4
948 EndOfAll
949
950 _Music_data_end
951
952
953 #echo Available music size :
954 #print (_Music_data_end - _Music_data_start)
955 #echo
956
957
958

  ViewVC Help
Powered by ViewVC 1.1.26