-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVZ_DF7.ASM
1165 lines (1061 loc) · 18.2 KB
/
VZ_DF7.ASM
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
; музыка из Dark Fusion
; music of Dark Fusion
; disassembled by Oleg Origin
ORG $8000
START
DI
LD SP,0
LD HL,65024
LD BC,253
IMTAB1 LD (HL),C
INC HL
DJNZ IMTAB1
LD (HL),C
LD A,195
LD (65021),A
LD HL,MUSINTR
LD (65022),HL
LD A,254
LD I,A
IM 2
MUSREP CALL MUSPLAY
JR MUSREP
;------------------------------------------------------
MUSPLAY LD HL,MUSINTR
LD (65022),HL
LD (L_8BA8+1),SP
;------------------------------------------------------
; в оригинальном коде здесь, видимо, была ошибка:
; "LD BC,$1AFF", то есть 26 проходов цикла, в то время
; как для копирования всех значений нужно вдвое меньше;
; совершенно случайно лишние проходы "копировали" байты
; в область ПЗУ, но также могли быть запорченными байты
; в области кода игры
;
; the original code here, apparently, was a mistake:
; "LD BC, $ 1AFF", i.e. passes 26 cycles, while
; how to copy all the values you need half;
; accidentally superfluous passages "copied" bytes
; ROM region, but could also be a corrupt bytes
; in the game code
;------------------------------------------------------
LD HL,LAB_36340
LD BC,$0DFF ; ($FF will be ignored)
MUSISET LD E,(HL) ; get dest address
INC HL
LD D,(HL)
INC HL
LDI ; (HL)->(DE) and ++-
DJNZ MUSISET
EI
HALT
JP PTNINIT
MUSMC1 LD A,6 ; SMC
DEC A
LD (MUSMC1+1),A
RET NZ
MUSMC3 LD A,7
LD (MUSMC1+1),A
MUS_L1 EXX
LD A,(HL)
INC HL
EXX
AND A
RET Z
LD HL,L_87F9
CP 25
JP C,L_8999
LD (MUSMC34+1),A
LD (L_8B32),A
LD B,A
SRL B
SRL B
SUB B
LD (MUSMC37+1),A
LD A,0
LD (MUSMC38+1),A
LD A,32
LD (MUSMC36+1),A
XOR A
LD (L_8A48),A
LD A,(BASMOD1+1)
LD (L_8A6D),A
RET
MUSMC4 LD A,1 ; SMC
DEC A
LD (MUSMC4+1),A
JP Z,MUSMC5
L_87A1 EXX
MUSMC7 LD HL,L_8F58 ; SMC
EXX
JP MUS_L1
MUSMC5 LD HL,L_8E5E ; SMC
L_87AC LD A,(HL)
INC HL
LD (MUSMC4+1),A
LD C,(HL)
INC HL
LD (MUSMC5+1),HL
LD B,0
LD HL,L_8F1C
ADD HL,BC
LD (MUSMC7+1),HL
JP L_87A1
MLAB_2 EXX
LD A,(HL)
INC HL
LD (BASMOD1+1),A
LD A,(HL)
INC HL
LD (MUSMC23+1),A
EXX
JP MUS_L1
MLAB_1 EXX
LD A,(HL)
INC HL
EXX
LD (MUSMC3+1),A
LD (MUSMC1+1),A
JP MUS_L1
L_87DE LD A,0 ; SMC
AND A
JP Z,L_87F3
LD HL,L_87DE+1
DEC (HL)
EXX
JR Z,L_87EE
DEC HL
EXX
RET
L_87EE INC HL
EXX
JP MUS_L1
L_87F3 EXX
LD A,(HL)
LD (L_87DE+1),A
DEC HL
L_87F9 EXX
RET
;--------------------
DW L_87DE
DW MLAB_1
DW MUSMC4
DW MLAB_2
;--------------------
L_8803 LD HL,L_8E44
DEC (HL)
RET NZ
LD (HL),2
L_880A EXX
INC D
LD A,D
CP E
EXX
JR Z,L_8827
LD (MUSMC31+1),A
LD (L_8B31),A
SRL A
SRL A
INC A
SUB $0A
LD (MUSMC33+1),A
LD A,$0A
LD (MUSMC32+1),A
RET
L_8827 LD A,13
DEC A
LD (L_8827+1),A
JR Z,MUSMC9
L_882F EXX
MUSMC8 LD DE,L_8E32
EXX
JP L_880A
MUSMC9 LD HL,L_8E79 ; SMC
L_883A LD A,(HL)
INC HL
LD (L_8827+1),A
LD D,(HL)
INC HL
LD E,(HL)
INC HL
LD (MUSMC9+1),HL
LD (MUSMC8+1),DE
JR L_882F
MUSMC10 LD A,13 ; SMC
DEC A
LD (MUSMC10+1),A
RET NZ
MUSMC11 LD A,$2A
LD (MUSMC10+1),A
L_8858 EXX
LD A,(BC)
INC BC
EXX
AND A
RET Z
CP 25
LD HL,L_894B
JP C,L_8999
LD (MUSMC27+1),A
LD (L_8B30),A
DEC A
LD (MUSMC26+1),A
SRL A
SRL A
SRL A
SRL A
SUB 2
OR 1
LD (MUSMC25+1),A
XOR A
LD (L_8E43),A
LD (MUSMC29+1),A
MUSMC12 LD HL,0
LD DE,L_8E1B
LD C,4
LDIR
MUSMC13 LD A,$C9 ; code of RET
LD (L_8ADC),A
LD HL,L_8E32
LD DE,L_8E1F
LD BC,$0011
LDIR
LD HL,L_8E20
LD (L_8E30),HL
LD A,32
LD (MUSMC28+1),A
LD A,0
LD (MUSMC24+1),A
XOR A
LD (L_8A6E),A
LD A,(L_8E1F)
JP L_8A93
L_88BA LD A,1 ; SMC
DEC A
LD (L_88BA+1),A
JP Z,MUSMC15
L_88C3 EXX
MUSMC14 LD BC,L_8E9D
EXX
JP L_8858
MUSMC15 LD HL,L_8E47
L_88CE LD A,(HL)
INC HL
CP 253
JP Z,L_8BA6
LD (L_88BA+1),A
L_88D8 LD C,(HL)
INC HL
LD (MUSMC15+1),HL
LD B,0
LD HL,L_8E9D
ADD HL,BC
LD (MUSMC14+1),HL
JP L_88C3
L_88E9 EXX
LD A,(BC)
INC BC
EXX
LD DE,L_8E32
LD C,A
LD B,0
LD HL,L_915A
ADD HL,BC
LDI
LD BC,$04FF
L_88FC LDI
LDI
DEC HL
LDI
LDI
DJNZ L_88FC
JP L_8858
L_890A EXX
LD A,(BC)
INC BC
EXX
LD C,A
LD B,0
LD HL,L_9181
ADD HL,BC
LD (MUSMC12+1),HL
XOR A
JR L_891D
L_891B LD A,$C9 ; code of RET
L_891D LD (MUSMC13+1),A
JP L_8858
L_8923 EXX
LD A,(BC)
INC BC
EXX
LD (MUSMC11+1),A
LD (MUSMC10+1),A
JP L_8858
MUSMC16 LD A,3
AND A
JP Z,L_8945
LD HL,MUSMC16+1
DEC (HL)
EXX
JR Z,L_8940
DEC BC
EXX
RET
L_8940 INC BC
EXX
JP L_8858
L_8945 EXX
LD A,(BC)
LD (MUSMC16+1),A
DEC BC
L_894B EXX
RET
;--------------------
DW MUSMC16
DW L_8923
DW L_88BA
DW L_88E9
DW L_890A
DW L_891B
;--------------------
L_8959 LD A,13
DEC A
LD (L_8959+1),A
RET NZ
MUSMC17 LD HL,L_8E85
L_8963 ; pattern setting for drums
LD A,(HL)
INC HL
CP $FE
JR Z,L_8992
CP $FC ; marker of drumset pointer
JR Z,L_8987
LD (L_8959+1),A
LD C,(HL)
INC HL
LD (MUSMC17+1),HL
LD B,0
MUSMC18 LD HL,DRUM_PATTERNS
ADD HL,BC
LD A,(HL)
INC HL
LD (MUSMC19+1),A
LD (MUSMC2+1),A
LD (PTNPLAY+1),HL
RET
L_8987 LD E,(HL)
INC HL
LD D,(HL)
INC HL
LD (MUSMC18+1),DE
JP L_8963
L_8992 LD A,(HL)
INC HL
LD H,(HL)
LD L,A
JP L_8963
L_8999 LD E,A
SLA E
LD D,0
ADD HL,DE
LD E,(HL)
INC HL
LD D,(HL)
EX DE,HL
JP (HL)
PTNINIT
; pattern settings for each channel
LD HL,L_8E45
CALL L_88CE
LD HL,L_8E56
CALL L_87AC
LD HL,L_8E76
CALL L_883A
LD HL,L_8E7C
CALL L_8963
JP PTNPLAY
L_89BF
;---------------------------------------------
; в оригинале в этом месте летящие звёзды,
; мигающая строка и опрос клавиатуры (2 call)
;
; in the original at this point flying stars,
; flashing string and keyboard poll (2 CALLs)
;---------------------------------------------
CALL MUSMC10 ; call lead processing
CALL MUSMC1 ; call bass processing
CALL L_8803 ; call portamento
CALL L_8A48 ; call bass squeeze
CALL L_8A6E ; lead chan some modify
CALL L_8ADC
MUSMC2 LD A,6
LD C,0
DEC A
JP Z,L_89E5
LD (MUSMC2+1),A
JP MUSMC21
L_89E5 LD (MUSMC22+1),A
MUSMC19 LD A,7
LD (MUSMC2+1),A
MUSMC20 LD HL,0 ; SMC (drums data)
L_89F0 LD A,(HL)
DEC A
JP NZ,L_8A01
CALL L_8959
PTNPLAY LD HL,0 ; SMC (drums data)
LD (MUSMC20+1),HL
JP L_89F0
L_8A01 INC HL
LD (MUSMC20+1),HL
INC A
BIT 5,A
JR Z,L_8A16
AND $7F
EX AF,AF'
LD A,1
LD (MUSMC2+1),A
LD (MUSMC21+1),A
EX AF,AF'
L_8A16 LD D,A
AND 7
LD B,A
LD A,D
SRL A
SRL A
SRL A
DEC B
DEC B
JP Z,DRMBAS
DEC B
JP Z,DRMSNR
DEC B
JP Z,DRMHAT
MUSMC21 LD A,0 ; SMC
AND A
JR Z,MUSMC22
LD HL,MUSMC2+1
DEC (HL)
LD HL,MUSMC21+1
DEC (HL)
MUSMC22 LD A,0 ; SMC
DEC A
JP Z,MUSMC39
DEC A
JP Z,MUSMC41
JP L_8B33
L_8A48 DB $00 ; SMC NOP/RET
LD HL,L_8A6D
DEC (HL)
RET NZ
BASMOD1 LD (HL),1 ; SMC
LD HL,MUSMC37+1
LD A,(HL)
MUSMC23 LD C,$07
SUB C
JR Z,L_8A63
JR C,L_8A63
LD (HL),A
LD HL,MUSMC38+1
LD A,(HL)
ADD A,C
LD (HL),A
RET
L_8A63 XOR A
LD (MUSMC36+1),A
LD A,$C9 ; code of RET
LD (L_8A48),A
RET
;--------------------
L_8A6D DB $01 ; some variable for bass
;--------------------
L_8A6E DB $C9 ; SMC NOP/RET
LD HL,(L_8E30)
LD A,(HL)
AND A
JR NZ,L_8A86
MUSMC24 LD A,4
DEC A
JP Z,L_8AD3
LD (MUSMC24+1),A
LD DE,$0004
ADD HL,DE
LD (L_8E30),HL
L_8A86 INC HL
DEC (HL)
RET NZ
INC HL
LD A,(HL)
DEC HL
LD (HL),A
DEC HL
DEC (HL)
INC HL
INC HL
INC HL
LD A,(HL)
L_8A93 LD HL,L_8E43
LD D,A
ADD A,(HL)
CP $18
RET NC
LD (HL),A
LD A,D
AND A
RET Z
JP P,L_8AA4
NEG
L_8AA4 LD B,A
XOR A
MUSMC25 LD C,0
L_8AA8 ADD A,C
DJNZ L_8AA8
BIT 5,D
LD HL,MUSMC29+1
JR Z,L_8ABE
LD B,A
LD A,(HL)
SUB B
JP Z,L_8ACF
JP NC,MUSMC26
JP L_8ACF
L_8ABE ADD A,(HL)
MUSMC26 LD B,0
CP B
JP C,L_8AC7
LD A,B
DEC A
L_8AC7 LD (HL),A
LD C,A
LD A,B
SUB C
LD (MUSMC30+1),A
RET
L_8ACF XOR A
LD (MUSMC28+1),A
L_8AD3 LD A,$C9
LD (L_8A6E),A
LD (L_8ADC),A
RET
L_8ADC RET ; SMC NOP/RET
LD HL,L_8E1B
LD A,(HL)
AND A
JP Z,L_8AE7
DEC (HL)
RET
L_8AE7 LD HL,L_8E1C
DEC (HL)
JP NZ,L_8B03
INC HL
LD A,(HL)
AND A
JR NZ,L_8AFA
LD A,$C9
LD (L_8ADC),A
JR L_8B03
L_8AFA DEC HL
LD (HL),A
LD HL,L_8E1E
LD A,(HL)
NEG
LD (HL),A
L_8B03 LD A,(L_8E1E)
LD HL,MUSMC27+1
ADD A,(HL)
LD (HL),A
LD (L_8B30),A
DEC A
LD (MUSMC26+1),A
SRL A
SRL A
SRL A
SRL A
SUB 2
OR 1
LD (MUSMC25+1),A
LD C,A
LD A,(L_8E43)
LD B,A
XOR A
L_8B27 ADD A,C
DJNZ L_8B27
LD HL,MUSMC29+1
JP MUSMC26
L_8B30 INC DE
L_8B31 LD E,L
L_8B32 RET NZ
L_8B33 LD A,(L_8B30)
LD L,A
LD A,(L_8B31)
LD D,A
LD A,(L_8B32)
LD E,A
LD C,0
;--- main sound loop ----------
L_8B41 DEC L
JP NZ,L_8B56
MUSMC27 LD L,$5B
MUSMC28 LD A,32
; lead channel
ld (26624), a
MUSMC29 LD B,$12
DJNZ $
XOR A
ld (26624), a
MUSMC30 LD B,$4D
DJNZ $
L_8B56 DEC D
JP NZ,L_8B6B
MUSMC31 LD D,$5D
LD A,32
; OUT ($FE),A ; portamento channel
ld (26624), a
MUSMC32 LD B,$0A
DJNZ $
XOR A
ld (26624), a
MUSMC33 LD B,$0E
DJNZ $
L_8B6B DEC E
JP NZ,L_8B8F
MUSMC34 LD E,$C0
MUSMC35 LD A,2
INC A
AND $03
LD (MUSMC35+1),A
JP NZ,L_8B8F
MUSMC36 LD A,32
; bass channel
ld (26624), a
MUSMC37 LD B,$82
L_8B82 DB $00
DB $00
DJNZ L_8B82
XOR A
ld (26624), a
MUSMC38 LD B,$0F
L_8B8B DB $00
DB $00
DJNZ L_8B8B
L_8B8F LD A,C
AND A
JP Z,L_8B41
;--- end of main sound loop ---
LD A,L
LD (L_8B30),A
LD A,D
LD (L_8B31),A
LD A,E
LD (L_8B32),A
JP L_89BF
MUSINTR INC C
EI
RET
L_8BA6 LD B,0
L_8BA8 LD SP,0 ; SMC
DI
RET
;---------------DRUM MACHINE------------------
;--- snare drum
DRMSNR LD (MUSMC6+1),A
LD A,1
LD (MUSMC22+1),A
LD IX,DRUMSAMPLE_1
LD D,$FF
MUSMC6 LD B,8 ; SMC
DRMSNR1 LD A,33
BIT 5,(IX+0)
JR NZ,DRMSNR2
RES 5,A
DRMSNR2
; sound of snare drum
ld (26624), a
RLC (IX+0)
DJNZ DRMSNR1
INC IX
DEC D
JR Z,DRMSNR3
LD A,C
AND A
JP Z,MUSMC6
LD A,D
LD (MUSMC39+1),A
JP L_89BF
DRMSNR3 XOR A
LD (MUSMC22+1),A
JP L_8B33
MUSMC39 LD A,$42
LD D,A
JP MUSMC6
;--- bass drum
DRMBAS LD (MUSMC40+1),A
LD A,32
LD (MUSMC22+1),A
LD IX,DRUMSAMPLE_2
LD D,$70
MUSMC40 LD B,$08
L_8C18 LD A,32
BIT 5,(IX+$00)
JR NZ,L_8C22
RES 5,A
L_8C22
; sound of bass drum
ld (26624), a
RLC (IX+$00)
DB $00
DJNZ L_8C18
INC IX
DEC D
JR Z,L_8C3C
LD A,C
AND A
JP Z,MUSMC40
LD A,D
LD (MUSMC41+1),A
JP L_89BF
L_8C3C XOR A
LD (MUSMC22+1),A
JP L_8B33
MUSMC41 LD A,32
LD D,A
JP MUSMC40
;--- hi-hat section
DRMHAT LD E,A
L_8C4A LD D,50 ; hi-hat length
L_8C4C LD HL,DRUMSAMPLE_0
INC (HL)
INC (HL)
INC (HL)
LD B,(HL)
INC HL
LD A,(HL)
SUB $8D
LD (HL),A
ADD A,B
INC HL
RLCA
RRC (HL)
ADD A,(HL)
LD (HL),A
AND 33
JR Z,L_8C73
LD A,33
SUB E
LD B,A
DJNZ $
LD A,32
; sound of hi-hat
ld (26624), a
LD B,E
DJNZ $
XOR A
ld (26624), a
L_8C73 DEC D
JR NZ,L_8C4C
LD A,C
AND A
JP NZ,L_89BF
DEC E
JR NZ,L_8C4A
JP L_8B33
;--- Digital Drum Samples
DRUMSAMPLE_0
DB 0,0,0
DRUMSAMPLE_1
; snare drum
DB $FF,$00,$00,$00,$0F
DB $FF,$FF,$FF,$EF,$FF
DB $FF,$FF,$BE,$36,$10
DB 0,0,0,0,0
DB 0,0,0,0,0
DB $FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$F8,$78,$80
DB 0,0,0,0,0
DB 0,0,0,0
DB $C0,$E1
DB $FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF,$FF
DB $BE,$F3,$9E,$70,$C0
DB 0,0,0,0,0,0
DB $01,$9E,$FF,$3F
DB $FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF
DB $FB,$FF,$3F
DB $38,$F0,$03,$80
DB 0,0,0,0,0,0
DB $C6,$DB,$9D
DB $FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FE,$07,$70,$60
DB 0,0,0,1,0,0
DB $08,$80,$77,$DF
DB $FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF,$FE,$FF
DB $F8,$A3,$CE,$1C,$64,$02
DB $20,$00,$0E
DB 0,0
DB $3F,$18,$8F,$9F
DB $FF,$FF,$DF
DB $FF,$FF,$FF,$FF,$FF
DB $EF,$FF,$FF,$EF,$FF
DB $3F,$FC,$9C,$38,$CE
DB 0,3,0,0,0
DB $C4,$7F,$01
DB $FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF
DB $3E,$40,$98,$10,$C0
DB $1F,$80,$00,$FF,$00
DB $1F,$FF,$7F
DB $FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF
DB $B8,$77,$7E,$FC,$FE
DB $7F,$E7,$6F,$DE,$FF
DB $FE,$07,$F9,$FF,$3B
DB $3F,$3F,$FE,$DF
DB $FF,$FF,$EF,$FF
DB $FF,$FF,$FF,$FF,$FF
DB $03,$FE,$FF,$33,$A7
DB $FF,$9F,$FF,$EF
DB $FF,$FF,$FF,$FF,$FF
DRUMSAMPLE_2
; bass drum
DB $FF,$FF,$FF,$FF,$FF
DB $F3,$F8,$30,$FF,$DE
DB $00,$FF,$81
DB $FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF
DB $F4,$3B,$80
DB 0,0,0,0,0
DB $3C
DB 0,0,0,0
DB $1B
DB $FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$E0
DB 0,0,0,0,0
DB 0,0,0,0,0
DB 0,0,0,0,0,0,0
DB $7F
DB $FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF,$FF,$FF
DB $FF,$FF,$FF
DB $FD,$7E,$03
DB 0,0,0,0
;--- Init Data --------------------------------
LAB_36340
DW MUSMC27+1
DB 91 ; some tone correction
DW MUSMC29+1
DB 18 ; some tone correction
DW MUSMC30+1
DB 77 ; some tone correction
DW MUSMC28+1
DB 0 ; border color
DW L_8ADC
DB 201
DW MUSMC13+1
DB 201
DW L_8A48
DB 201
DW L_8A6E
DB 201
DW MUSMC16+1
DB 0
DW L_87DE+1
DB 0
DW MUSMC22+1
DB 0
DW MUSMC21+1
DB 0
DW L_8E44
DB 2 ; init.pos of portamento
;--- Music Data -------------------------------
L_8E1B DB 0
L_8E1C DB 0,0
L_8E1E DB 0
L_8E1F DB 0
L_8E20 DB 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
L_8E30 DB 0,0
L_8E32 DB 1, 19, 5, 5
DB 1, 4, 2, 2, 255, 30
DB 5, 5, 0, 19, 3, 3, 255
L_8E43 DB 0
L_8E44 DB 1
L_8E45 DB 1,0
L_8E47 DB 2
DB 9, 1, 35, 2, 42, 2
DB 80, 1, 42, 22, 115, 1
DB 120, 253
L_8E56 DB 1, 0
DB 4, 6, 1, 33, 1, 60
L_8E5E DB 4, 6, 1, 33, 1, 60
DB 4, 6, 1, 33, 1, 60
DB 4, 87
DB 2, 111, 3, 168, 4, 87
DB 10, 204, 1, 238
L_8E76 DB 18,50,142
L_8E79 DB 255
DB 50,147
L_8E7C DB 252 ; marker of drumset pointer
DW DRUM_PATTERNS
DB 3, 28, 1
DB 43, 14, 0
L_8E85 DB 4, 71, 4, 89, 26