-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsecret_of_mana_notes.txt
1145 lines (1082 loc) · 73.7 KB
/
secret_of_mana_notes.txt
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
Secret of MANA
Square
2097152 Bytes (16.0000 Mb)
Padded: Maybe, 2 Bytes (0.0000 Mb)
HiROM: Yes
Internal size: 16 Mb
Version: 1.0
Checksum: Ok, 0x51fc (calculated) == 0x51fc (internal)
Inverse checksum: Ok, 0xae03 (calculated) == 0xae03 (internal)
Checksum (CRC32): 0xd0176b24
==============
= Free Space =
==============
0x05FFE9 to 0x05FFFF = 22 bytes
0x08FEE0 to 0x08FFFF = 287 bytes
0x0AFF70 to 0x0AFFFF = 143 bytes
0x0B3400 to 0x0B3FFF = 3071 bytes
0x13FFE0 to 0x13FFFF = 31 bytes
0x1AFFB0 to 0x1AFFFF = 79 bytes
$C324C0
$cb34b8 = Fade Code
============================
= JSL to $C30004 Locations =
============================
0x000fdc = $C00FDC
0x0029F7 = $C029F7
0x00399F = $C0399F
0x004170 = $C04170
0x008154 = $C08154
0x008CF3 = $C08CF3
0x00B586 = $C0B586
0x0137A5 = $C137A5
0x01D4FD = $C1D4FD
0x01DAD5 = $C1DAD5
0x01F109 = $C1F109
0x0230DC = $C230DC
0x0230F8 = $C230F8
0x023103 = $C23103
0x023116 = $C23116
0x02A93E = $C2A93E
0x0640D2 = $C640D2
0x079B3E = $C79B3E
0x07B0FE = $C7B0FE
0x10CEF1 = $D0CEF1
============
= Research =
============
$1E00 = Command to do
$00 = Do nothing
$01 = Play Music
$02 = Play SFX
$80 = Fade out
$F1 = Stop music
$F2 = Stop FX
$1E01 = Requested song
$1E05 = Previous song
; Squaresoft SFX
$C3/01D6 8D 41 21 STA $2141 [$00:2141] A:012D X:0B2D Y:02DE P:envMxdizC
; Title Screen / Angel's Fear
$C3/01D6 8D 41 21 STA $2141 [$00:2141] A:012C X:0F0B Y:0600 P:envMxdizC
; Select game menu
$C3/01D6 8D 41 21 STA $2141 [$00:2141] A:0112 X:0F0F Y:0004 P:envMxdIzc
; Game Intro
$C3/01D6 8D 41 21 STA $2141 [$00:2141] A:012B X:FF02 Y:0003 P:envMxdIzC
; RTL from SPC transfer routine
$7E/D28F A2 FF 7F LDX #$7FFF A:000F X:0490 Y:02DE P:envMxdizC
$7E/D16C A9 7E LDA #$7E A:0720 X:0000 Y:0600 P:envMxdizC
$7E/D2E2 20 0D D2 JSR $D20D [$7E:D20D] A:070F X:0000 Y:0600 P:envMxdizC
; SFX playing ?
$C0/29FB 60 RTS A:FF00 X:0024 Y:0004 P:envMxdIzc
$C0/29FB 60 RTS A:0000 X:001C Y:0004 P:envMxdIzc
$C0/29FB 60 RTS A:0000 X:0004 Y:0004 P:envMxdIzc
$C0/0FE0 60 RTS A:2080 X:0000 Y:0800 P:envmxdIZc
; Fade in ?
$01/F10D 60 RTS A:0C0A X:0080 Y:0003 P:envmXdIzc
$01/F10D 60 RTS A:957E X:0080 Y:0003 P:envmXdIzc
$C3/0197 6B RTL A:9546 X:0080 Y:0003 P:envmXdIzc
$01/F10D 60 RTS A:9546 X:0080 Y:0003 P:envmXdIzc
$01/F10D 60 RTS A:9451 X:0080 Y:0003 P:envmXdIzc
$01/F109 22 04 00 C3 JSL $C30004[$C3:0004] A:0C0A X:0080 Y:0003 P:envmXdIzc
$01/F109 22 04 00 C3 JSL $C30004[$C3:0004] A:957E X:0080 Y:0003 P:eNvmXdIzc
; Squaresoft SFX in RAM
$7E/D560 22 00 00 C3 JSL $C30000[$C3:0000] A:00F0 X:0620 Y:0000 P:envmxdizC
$7E/D564 20 D0 AC JSR $ACD0 [$7E:ACD0] A:00F0 X:0620 Y:0000 P:envmxdizC
$7E/D28B 22 04 00 C3 JSL $C30004[$C3:0004] A:000F X:0490 Y:02DE P:envMxdizC
$7E/D28F A2 FF 7F LDX #$7FFF A:000F X:0490 Y:02DE P:envMxdizC
$7E/D2DE 22 04 00 C3 JSL $C30004[$C3:0004] A:070F X:0000 Y:0600 P:envMxdizC
$7E/D2E2 20 0D D2 JSR $D20D [$7E:D20D] A:070F X:0000 Y:0600 P:envMxdizC
// Weird bug
; Hit sword
C1D4FD
C04170
********************
* Fade-in/fade-out *
********************
; Press start at title screen (fade-out)
$01 = $20
$02 = $0F
$03 = $0F
; Entered name (fade-out)
$01 = $20
$02 = $0F
$03 = $00
; Falling off waterfall (fade-out)
$01 = $80
$02 = $00
$03 = $00
; Raising up after waterfall (fade-in)
$01 = $8F
$02 = $00
$03 = $00
; Removing sword (fade-out)
$01 = $80
$02 = $00
$03 = $00
// SPC trace when fade-in
..1011 mov a,$0b5 A:11 X:80 Y:00 SP:01fd YA:0011 nvpbhizc
..1013 and $0b5,#$f0 A:8f X:80 Y:00 SP:01fd YA:008f Nvpbhizc
..1018 mov y,#$11 A:0f X:80 Y:00 SP:01fd YA:000f nvpbhizc
..101a mul ya A:0f X:80 Y:11 SP:01fd YA:110f nvpbhizc
..101b mov $0b6,a A:ff X:80 Y:00 SP:01fd YA:00ff nvpbhiZc
..101d mov $0f5,$0b5 A:ff X:80 Y:00 SP:01fd YA:00ff nvpbhiZc
..1020 mov y,$0b6 A:ff X:80 Y:00 SP:01fd YA:00ff nvpbhiZc
..1022 mov a,$0b5 A:ff X:80 Y:ff SP:01fd YA:ffff Nvpbhizc
..1024 mov $08b,a A:80 X:80 Y:ff SP:01fd YA:ff80 Nvpbhizc
..1026 bne $1035 A:80 X:80 Y:ff SP:01fd YA:ff80 Nvpbhizc
..1035 mov a,y A:80 X:80 Y:ff SP:01fd YA:ff80 Nvpbhizc
..1036 setc A:ff X:80 Y:ff SP:01fd YA:ffff Nvpbhizc
..1037 sbc a,$084 A:ff X:80 Y:ff SP:01fd YA:ffff NvpbhizC
..1039 beq $1024 A:ff X:80 Y:ff SP:01fd YA:ffff NvpbHizC
..103b push p A:ff X:80 Y:ff SP:01fd YA:ffff NvpbHizC
..103c bcs $1041 A:ff X:80 Y:ff SP:01fc YA:ffff NvpbHizC
..1041 mov x,$0b5 A:ff X:80 Y:ff SP:01fc YA:ffff NvpbHizC
..1043 mov y,#$00 A:ff X:80 Y:ff SP:01fc YA:ffff NvpbHizC
..1045 div ya,x A:ff X:80 Y:00 SP:01fc YA:00ff nvpbHiZC
..1046 mov $035,a A:01 X:80 Y:7f SP:01fc YA:7f01 nvpbHizC
..1048 mov a,#$00 A:01 X:80 Y:7f SP:01fc YA:7f01 nvpbHizC
..104a div ya,x A:00 X:80 Y:7f SP:01fc YA:7f00 nvpbHiZC
..104b mov $034,a A:fe X:80 Y:00 SP:01fc YA:00fe NvpbHizC
..104d movw ya,$034 A:fe X:80 Y:00 SP:01fc YA:00fe NvpbHizC
..104f bne $1053 A:fe X:80 Y:01 SP:01fc YA:01fe nvpbHizC
..1053 pop p A:fe X:80 Y:01 SP:01fc YA:01fe nvpbHizC
..1054 bcs $105e A:fe X:80 Y:01 SP:01fd YA:01fe NvpbHizC
..105e movw ya,$034 A:fe X:80 Y:01 SP:01fd YA:01fe NvpbHizC
..1060 movw $087,ya A:fe X:80 Y:01 SP:01fd YA:01fe nvpbHizC
..1062 mov $083,#$00 A:fe X:80 Y:01 SP:01fd YA:01fe nvpbHizC
..13eb movw ya,$087 A:80 X:af Y:00 SP:01fd YA:0080 nvpbHizC
..13ed addw ya,$083 A:fe X:af Y:01 SP:01fd YA:01fe nvpbHizC
..13ef cmp y,$084 A:fe X:af Y:01 SP:01fd YA:01fe nvpbhizc
..13f1 movw $083,ya A:fe X:af Y:01 SP:01fd YA:01fe nvpbhizC
..13f3 beq $13f8 A:fe X:af Y:01 SP:01fd YA:01fe nvpbhizC
..13f5 or $0c9,$0ad A:fe X:af Y:01 SP:01fd YA:01fe nvpbhizC
..13f8 mov a,$097 A:fe X:af Y:01 SP:01fd YA:01fe nvpbhizC
..13fa beq $1404 A:00 X:af Y:01 SP:01fd YA:0100 nvpbhiZC
..1404 mov a,$0a3 A:00 X:af Y:01 SP:01fd YA:0100 nvpbhiZC
..1406 beq $1417 A:00 X:af Y:01 SP:01fd YA:0100 nvpbhiZC
..1417 ret A:00 X:af Y:01 SP:01fd YA:0100 nvpbhiZC
..13eb movw ya,$087 A:7f X:af Y:00 SP:01fd YA:007f nVpbhizC
..13ed addw ya,$083 A:fe X:af Y:01 SP:01fd YA:01fe nVpbhizC
..13ef cmp y,$084 A:fc X:af Y:03 SP:01fd YA:03fc nvpbhizc
..13f1 movw $083,ya A:fc X:af Y:03 SP:01fd YA:03fc nvpbhizC
..13f3 beq $13f8 A:fc X:af Y:03 SP:01fd YA:03fc nvpbhizC
..13f5 or $0c9,$0ad A:fc X:af Y:03 SP:01fd YA:03fc nvpbhizC
..13f8 mov a,$097 A:fc X:af Y:03 SP:01fd YA:03fc nvpbhizC
..13fa beq $1404 A:00 X:af Y:03 SP:01fd YA:0300 nvpbhiZC
..1404 mov a,$0a3 A:00 X:af Y:03 SP:01fd YA:0300 nvpbhiZC
..1406 beq $1417 A:00 X:af Y:03 SP:01fd YA:0300 nvpbhiZC
..1417 ret A:00 X:af Y:03 SP:01fd YA:0300 nvpbhiZC
// First fade-out trace
..1011 mov a,$0b5 A:11 X:80 Y:00 SP:01fd YA:0011 nVpbhizc
..1013 and $0b5,#$f0 A:20 X:80 Y:00 SP:01fd YA:0020 nVpbhizc
..1016 and a,#$0f A:20 X:80 Y:00 SP:01fd YA:0020 nVpbhizc
..1018 mov y,#$11 A:00 X:80 Y:00 SP:01fd YA:0000 nVpbhiZc
..101a mul ya A:00 X:80 Y:11 SP:01fd YA:1100 nVpbhizc
..101b mov $0b6,a A:00 X:80 Y:00 SP:01fd YA:0000 nVpbhiZc
..101d mov $0f5,$0b5 A:00 X:80 Y:00 SP:01fd YA:0000 nVpbhiZc
..1020 mov y,$0b6 A:00 X:80 Y:00 SP:01fd YA:0000 nVpbhiZc
..1022 mov a,$0b5 A:00 X:80 Y:00 SP:01fd YA:0000 nVpbhiZc
..1024 mov $08b,a A:20 X:80 Y:00 SP:01fd YA:0020 nVpbhizc
..1026 bne $1035 A:20 X:80 Y:00 SP:01fd YA:0020 nVpbhizc
..1035 mov a,y A:20 X:80 Y:00 SP:01fd YA:0020 nVpbhizc
..1036 setc A:00 X:80 Y:00 SP:01fd YA:0000 nVpbhiZc
..1037 sbc a,$084 A:00 X:80 Y:00 SP:01fd YA:0000 nVpbhiZC
..1039 beq $1024 A:01 X:80 Y:00 SP:01fd YA:0001 nvpbhizc
..103b push p A:01 X:80 Y:00 SP:01fd YA:0001 nvpbhizc
..103c bcs $1041 A:01 X:80 Y:00 SP:01fc YA:0001 nvpbhizc
..103e eor a,#$ff A:01 X:80 Y:00 SP:01fc YA:0001 nvpbhizc
..1040 inc a A:fe X:80 Y:00 SP:01fc YA:00fe Nvpbhizc
..1041 mov x,$0b5 A:ff X:80 Y:00 SP:01fc YA:00ff Nvpbhizc
..1043 mov y,#$00 A:ff X:20 Y:00 SP:01fc YA:00ff nvpbhizc
..1045 div ya,x A:ff X:20 Y:00 SP:01fc YA:00ff nvpbhiZc
..1046 mov $035,a A:07 X:20 Y:1f SP:01fc YA:1f07 nvpbHizc
..1048 mov a,#$00 A:07 X:20 Y:1f SP:01fc YA:1f07 nvpbHizc
..104a div ya,x A:00 X:20 Y:1f SP:01fc YA:1f00 nvpbHiZc
..104b mov $034,a A:f8 X:20 Y:00 SP:01fc YA:00f8 NvpbHizc
..104d movw ya,$034 A:f8 X:20 Y:00 SP:01fc YA:00f8 NvpbHizc
..104f bne $1053 A:f8 X:20 Y:07 SP:01fc YA:07f8 nvpbHizc
..1053 pop p A:f8 X:20 Y:07 SP:01fc YA:07f8 nvpbHizc
..1054 bcs $105e A:f8 X:20 Y:07 SP:01fd YA:07f8 nvpbhizc
..1056 eor $034,#$ff A:f8 X:20 Y:07 SP:01fd YA:07f8 nvpbhizc
..1059 eor $035,#$ff A:f8 X:20 Y:07 SP:01fd YA:07f8 nvpbhizc
..105c incw $034 A:f8 X:20 Y:07 SP:01fd YA:07f8 Nvpbhizc
..105e movw ya,$034 A:f8 X:20 Y:07 SP:01fd YA:07f8 Nvpbhizc
..1060 movw $087,ya A:08 X:20 Y:f8 SP:01fd YA:f808 Nvpbhizc
..1062 mov $083,#$00 A:08 X:20 Y:f8 SP:01fd YA:f808 Nvpbhizc
..1065 ret A:08 X:20 Y:f8 SP:01fd YA:f808 Nvpbhizc
===========
= Routine =
===========
; Reset
008004 clc A:0000 X:0000 Y:0000 S:01ff D:0000 DB:00 nv1BdIzc V: 0 H: 186
008005 xce A:0000 X:0000 Y:0000 S:01ff D:0000 DB:00 nv1BdIzc V: 0 H: 208
008006 sep #$30 A:0000 X:0000 Y:0000 S:01ff D:0000 DB:00 nvMXdIzC V: 0 H: 230
008008 jml $c10010 [c10010] A:0000 X:0000 Y:0000 S:01ff D:0000 DB:00 nvMXdIzC V: 0 H: 260
$C3/0004 4C 60 01 JMP $0160 [$C3:0160] A:9451 X:0080 Y:0003 P:eNvmXdIzc
; SPC transfert routine at beginning of the game
$C3/008A 8D 42 21 STA $2142 [$00:2142] A:0000 X:0000 Y:0800 P:envMxdiZC
$C3/008D AF 15 00 C3 LDA $C30015[$C3:0015] A:0000 X:0000 Y:0800 P:envMxdiZC
$C3/0091 8D 43 21 STA $2143 [$00:2143] A:0002 X:0000 Y:0800 P:envMxdizC
$C3/0094 A9 CC LDA #$CC A:0002 X:0000 Y:0800 P:envMxdizC
$C3/0096 8D 41 21 STA $2141 [$00:2141] A:00CC X:0000 Y:0800 P:eNvMxdizC
$C3/0099 8D 40 21 STA $2140 [$00:2140] A:00CC X:0000 Y:0800 P:eNvMxdizC
$C3/009C CD 40 21 CMP $2140 [$00:2140] A:00CC X:0000 Y:0800 P:eNvMxdizC
$C3/009F D0 FB BNE $FB [$009C] A:00CC X:0000 Y:0800 P:envMxdizC
$C3/00A3 EB XBA A:0000 X:0000 Y:0800 P:envMxdiZC
$C3/00A4 BF 08 00 C3 LDA $C30008,x[$C3:0008] A:0000 X:0000 Y:0800 P:envMxdiZC
$C3/00A8 85 14 STA $14 [$00:1E14] A:0048 X:0000 Y:0800 P:envMxdizC
$C3/00AA BF 09 00 C3 LDA $C30009,x[$C3:0009] A:0048 X:0000 Y:0800 P:envMxdizC
$C3/00AE 85 15 STA $15 [$00:1E15] A:0007 X:0000 Y:0800 P:envMxdizC
$C3/00B0 A9 C3 LDA #$C3 A:0007 X:0000 Y:0800 P:envMxdizC
$C3/00B2 85 16 STA $16 [$00:1E16] A:00C3 X:0000 Y:0800 P:eNvMxdizC
$C3/00B4 A0 00 00 LDY #$0000 A:00C3 X:0000 Y:0800 P:eNvMxdizC
$C3/00B7 B7 14 LDA [$14],y[$C3:0748] A:00C3 X:0000 Y:0000 P:envMxdiZC
$C3/00B9 18 CLC A:0098 X:0000 Y:0000 P:eNvMxdizC
$C3/00BA 69 02 ADC #$02 A:0098 X:0000 Y:0000 P:eNvMxdizc
$C3/00C8 8D 41 21 STA $2141 [$00:2141] A:0020 X:0000 Y:0002 P:envMxdizc
$C3/00CC 8D 40 21 STA $2140 [$00:2140] A:2000 X:0000 Y:0002 P:envMxdiZc
SoundMain:
$C3/0160 8B PHB A:9451 X:0080 Y:0003 P:eNvmXdIzc
$C3/0161 0B PHD A:9451 X:0080 Y:0003 P:eNvmXdIzc
$C3/0162 08 PHP A:9451 X:0080 Y:0003 P:eNvmXdIzc
$C3/0163 C2 20 REP #$20 A:9451 X:0080 Y:0003 P:eNvmXdIzc
$C3/0165 C2 10 REP #$10 A:9451 X:0080 Y:0003 P:eNvmXdIzc
$C3/0167 48 PHA A:9451 X:0080 Y:0003 P:eNvmxdIzc
$C3/0168 DA PHX A:9451 X:0080 Y:0003 P:eNvmxdIzc
$C3/0169 5A PHY A:9451 X:0080 Y:0003 P:eNvmxdIzc
$C3/016A E2 20 SEP #$20 A:9451 X:0080 Y:0003 P:eNvmxdIzc
$C3/016C A9 00 LDA #$00 A:9451 X:0080 Y:0003 P:eNvMxdIzc
$C3/016E 48 PHA A:9400 X:0080 Y:0003 P:envMxdIZc
$C3/016F AB PLB A:9400 X:0080 Y:0003 P:envMxdIZc
$C3/0170 A2 00 1E LDX #$1E00 A:9400 X:0080 Y:0003 P:envMxdIZc
$C3/0173 DA PHX A:9400 X:1E00 Y:0003 P:envMxdIzc
$C3/0174 2B PLD A:9400 X:1E00 Y:0003 P:envMxdIzc
$C3/0175 E2 20 SEP #$20 A:9400 X:1E00 Y:0003 P:envMxdIzc
$C3/0177 A5 00 LDA $00 [$00:1E00] A:9400 X:1E00 Y:0003 P:envMxdIzc
$C3/0179 64 00 STZ $00 [$00:1E00] A:94F1 X:1E00 Y:0003 P:eNvMxdIzc
$C3/017B F0 10 BEQ $10 [$018D] A:94F1 X:1E00 Y:0003 P:eNvMxdIzc
$C3/017D 30 08 BMI $08 [$0187] A:94F1 X:1E00 Y:0003 P:eNvMxdIzc
$C3/017F C9 01 CMP #$01 A:2801 X:1E00 Y:0003 P:envMxdIzc
$C3/0181 F0 15 BEQ $15 [$0198] A:2801 X:1E00 Y:0003 P:envMxdIZC
$C3/0183 C9 70 CMP #$70 A:0002 X:1E00 Y:0004 P:envMxdIzC
$C3/0185 B0 03 BCS $03 [$018A] A:0002 X:1E00 Y:0004 P:eNvMxdIzc
$C3/0187 4C 9F 05 JMP $059F [$C3:059F] A:94F1 X:1E00 Y:0003 P:eNvMxdIzc
Exit:
$C3/018D C2 20 REP #$20 A:0000 X:0040 Y:5555 P:enVMxdiZC
$C3/018F C2 10 REP #$10 A:0000 X:0040 Y:5555 P:enVmxdiZC
$C3/0191 7A PLY A:0000 X:0040 Y:5555 P:enVmxdiZC
$C3/0192 FA PLX A:0000 X:0040 Y:02DE P:enVmxdizC
$C3/0193 68 PLA A:0000 X:0490 Y:02DE P:enVmxdizC
$C3/0194 28 PLP A:000F X:0490 Y:02DE P:enVmxdizC
$C3/0195 2B PLD A:000F X:0490 Y:02DE P:envMxdizC
$C3/0196 AB PLB A:000F X:0490 Y:02DE P:envMxdizC
$C3/0197 6B RTL A:000F X:0490 Y:02DE P:envMxdizC
PlaySong:
$C3/0198 E2 20 SEP #$20 A:2801 X:1E00 Y:0003 P:envMxdIZC
$C3/019A EB XBA A:2801 X:1E00 Y:0003 P:envMxdIZC
$C3/019B A5 02 LDA $02 [$00:1E02] A:0128 X:1E00 Y:0003 P:envMxdIzC
$C3/019D 29 0F AND #$0F A:014A X:1E00 Y:0003 P:envMxdIzC
$C3/019F 48 PHA A:010A X:1E00 Y:0003 P:envMxdIzC
$C3/01A0 A5 01 LDA $01 [$00:1E01] A:010A X:1E00 Y:0003 P:envMxdIzC
$C3/01A2 48 PHA A:011C X:1E00 Y:0003 P:envMxdIzC
$C3/01A3 FA PLX A:011C X:1E00 Y:0003 P:envMxdIzC
$C3/01A4 E4 05 CPX $05 [$00:1E05] A:011C X:0A1C Y:0003 P:envMxdIzC
$C3/01A6 F0 E5 BEQ $E5 [$018D] A:011C X:0A1C Y:0003 P:eNvMxdIzc
$C3/01A8 AD 42 21 LDA $2142 [$00:2142] A:011C X:0A1C Y:0003 P:eNvMxdIzc
$C3/01AB F0 1D BEQ $1D [$01CA] A:0100 X:0A1C Y:0003 P:envMxdIZc
$C3/01CA A5 05 LDA $05 [$00:1E05] A:0100 X:0A1C Y:0003 P:envMxdIZc
$C3/01CC 30 06 BMI $06 [$01D4] A:01FF X:0B2D Y:02DE P:eNvMxdizC
$C3/01CE 85 09 STA $09 [$00:1E09] A:012D X:0F2C Y:0600 P:envMxdizC
$C3/01D0 A6 06 LDX $06 [$00:1E06] A:012D X:0F2C Y:0600 P:envMxdizC
$C3/01D2 86 0A STX $0A [$00:1E0A] A:012D X:0F0B Y:0600 P:envMxdizC
$C3/01D4 A5 01 LDA $01 [$00:1E01] A:01FF X:0B2D Y:02DE P:eNvMxdizC
$C3/01D6 8D 41 21 STA $2141 [$00:2141] A:0112 X:0F0F Y:0004 P:envMxdIzc
$C3/01D9 85 05 STA $05 [$00:1E05] A:0112 X:0F0F Y:0004 P:envMxdIzc
$C3/01DB A5 02 LDA $02 [$00:1E02] A:0112 X:0F0F Y:0004 P:envMxdIzc
$C3/01DD 8D 42 21 STA $2142 [$00:2142] A:0102 X:0F0F Y:0004 P:envMxdIzc
$C3/01E0 29 0F AND #$0F A:0102 X:0F0F Y:0004 P:envMxdIzc
$C3/01E2 85 06 STA $06 [$00:1E06] A:0102 X:0F0F Y:0004 P:envMxdIzc
$C3/01E4 A5 03 LDA $03 [$00:1E03] A:0102 X:0F0F Y:0004 P:envMxdIzc
$C3/01E6 8D 43 21 STA $2143 [$00:2143] A:01FF X:0F0F Y:0004 P:eNvMxdIzc
$C3/01E9 85 07 STA $07 [$00:1E07] A:01FF X:0F0F Y:0004 P:eNvMxdIzc
$C3/01EB AD 41 21 LDA $2141 [$00:2141] A:01FF X:0F0F Y:0004 P:eNvMxdIzc
$C3/01EE D0 FB BNE $FB [$01EB] A:0100 X:0F0F Y:0004 P:envMxdIZc
$C3/01F0 EB XBA A:0100 X:0F0F Y:0004 P:envMxdIZc
$C3/01F1 CD 40 21 CMP $2140 [$00:2140] A:0001 X:0F0F Y:0004 P:envMxdIzc
$C3/01F4 F0 FB BEQ $FB [$01F1] A:0001 X:0F0F Y:0004 P:envMxdIzC
$C3/01F6 8D 40 21 STA $2140 [$00:2140] A:0001 X:0F0F Y:0004 P:envMxdIzC
$C3/01F9 CD 40 21 CMP $2140 [$00:2140] A:0001 X:0F0F Y:0004 P:envMxdIzC
$C3/01FC D0 FB BNE $FB [$01F9] A:0001 X:0F0F Y:0004 P:envMxdIzC
$C3/01FE 1A INC A A:0001 X:0F0F Y:0004 P:envMxdIZC
$C3/01FF EB XBA A:0002 X:0F0F Y:0004 P:envMxdIzC
$C3/0200 20 0A 06 JSR $060A [$C3:060A] A:0200 X:0F0F Y:0004 P:envMxdIZC
$C3/0203 A9 02 LDA #$02 A:0400 X:0008 Y:0004 P:envMxdIZC
$C3/0205 8D 41 21 STA $2141 [$00:2141] A:0402 X:0008 Y:0004 P:envMxdIzC
$C3/0208 A5 F3 LDA $F3 [$00:1EF3] A:0402 X:0008 Y:0004 P:envMxdIzC
$C3/020A F0 03 BEQ $03 [$020F] A:0400 X:0008 Y:0004 P:envMxdIZC
$C3/020F A2 00 1A LDX #$1A00 A:0400 X:0008 Y:0004 P:envMxdIZC
$C3/0212 8E 42 21 STX $2142 [$00:2142] A:0400 X:1A00 Y:0004 P:envMxdIzC
$C3/0215 EB XBA A:0400 X:1A00 Y:0004 P:envMxdIzC
$C3/0216 8D 40 21 STA $2140 [$00:2140] A:0004 X:1A00 Y:0004 P:envMxdIzC
$C3/0219 CD 40 21 CMP $2140 [$00:2140] A:0004 X:1A00 Y:0004 P:envMxdIzC
$C3/021C D0 FB BNE $FB [$0219] A:0004 X:1A00 Y:0004 P:envMxdIzC
$C3/0220 A5 05 LDA $05 [$00:1E05] A:0004 X:1A00 Y:0004 P:envmxdIZC
$C3/0222 29 FF 00 AND #$00FF A:0212 X:1A00 Y:0004 P:envmxdIzC
$C3/0225 48 PHA A:0012 X:1A00 Y:0004 P:envmxdIzC
$C3/0226 0A ASL A A:0012 X:1A00 Y:0004 P:envmxdIzC
$C3/0227 85 EA STA $EA [$00:1EEA] A:0024 X:1A00 Y:0004 P:envmxdIzc
$C3/0229 68 PLA A:0024 X:1A00 Y:0004 P:envmxdIzc
$C3/022A 18 CLC A:0012 X:1A00 Y:0004 P:envmxdIzc
$C3/022B 65 EA ADC $EA [$00:1EEA] A:0012 X:1A00 Y:0004 P:envmxdIzc
$C3/022D AA TAX A:0036 X:1A00 Y:0004 P:envmxdIzc
$C3/022E E2 20 SEP #$20 A:0036 X:0036 Y:0004 P:envmxdIzc
$C3/0230 BF 39 3D C3 LDA $C33D39,x[$C3:3D6F] A:0036 X:0036 Y:0004 P:envMxdIzc
$C3/0234 85 14 STA $14 [$00:1E14] A:0085 X:0036 Y:0004 P:eNvMxdIzc
$C3/0236 BF 3A 3D C3 LDA $C33D3A,x[$C3:3D70] A:0085 X:0036 Y:0004 P:eNvMxdIzc
$C3/023A 85 15 STA $15 [$00:1E15] A:005A X:0036 Y:0004 P:envMxdIzc
$C3/023C BF 3B 3D C3 LDA $C33D3B,x[$C3:3D71] A:005A X:0036 Y:0004 P:envMxdIzc
$C3/0240 85 16 STA $16 [$00:1E16] A:00C5 X:0036 Y:0004 P:eNvMxdIzc
$C3/0242 A4 14 LDY $14 [$00:1E14] A:00C5 X:0036 Y:0004 P:eNvMxdIzc
$C3/0244 64 14 STZ $14 [$00:1E14] A:00C5 X:0036 Y:5A85 P:envMxdIzc
$C3/0246 64 15 STZ $15 [$00:1E15] A:00C5 X:0036 Y:5A85 P:envMxdIzc
$C3/0248 B7 14 LDA [$14],y[$C5:5A85] A:00C5 X:0036 Y:5A85 P:envMxdIzc
$C3/024A EB XBA A:00DD X:0036 Y:5A85 P:eNvMxdIzc
$C3/024B C8 INY A:DD00 X:0036 Y:5A85 P:envMxdIZc
$C3/024C D0 02 BNE $02 [$0250] A:DD00 X:0036 Y:5A86 P:envMxdIzc
$C3/0250 B7 14 LDA [$14],y[$C5:5A86] A:DD00 X:0036 Y:5A86 P:envMxdIzc
$C3/0252 48 PHA A:DD01 X:0036 Y:5A86 P:envMxdIzc
$C3/0253 C8 INY A:DD01 X:0036 Y:5A86 P:envMxdIzc
$C3/0254 D0 02 BNE $02 [$0258] A:DD01 X:0036 Y:5A87 P:envMxdIzc
$C3/0258 EB XBA A:DD01 X:0036 Y:5A87 P:envMxdIzc
$C3/0259 48 PHA A:01DD X:0036 Y:5A87 P:eNvMxdIzc
$C3/025A FA PLX A:01DD X:0036 Y:5A87 P:eNvMxdIzc
$C3/025B 64 F3 STZ $F3 [$00:1EF3] A:01DD X:01DD Y:5A87 P:envMxdIzc
$C3/025D E0 00 12 CPX #$1200 A:01DD X:01DD Y:5A87 P:envMxdIzc
$C3/0260 90 02 BCC $02 [$0264] A:01DD X:01DD Y:5A87 P:eNvMxdIzc
$C3/0264 A9 80 LDA #$80 A:01DD X:01DD Y:5A87 P:eNvMxdIzc
$C3/0266 EB XBA A:0180 X:01DD Y:5A87 P:eNvMxdIzc
$C3/0267 B7 14 LDA [$14],y[$C5:5A87] A:8001 X:01DD Y:5A87 P:envMxdIzc
$C3/0269 8D 42 21 STA $2142 [$00:2142] A:809B X:01DD Y:5A87 P:eNvMxdIzc
$C3/026C C8 INY A:809B X:01DD Y:5A87 P:eNvMxdIzc
$C3/026D D0 02 BNE $02 [$0271] A:809B X:01DD Y:5A88 P:envMxdIzc
$C3/0271 B7 14 LDA [$14],y[$C5:5A88] A:809B X:01DD Y:5A88 P:envMxdIzc
$C3/0273 8D 43 21 STA $2143 [$00:2143] A:805A X:01DD Y:5A88 P:envMxdIzc
$C3/0276 C8 INY A:805A X:01DD Y:5A88 P:envMxdIzc
$C3/0277 D0 02 BNE $02 [$027B] A:805A X:01DD Y:5A89 P:envMxdIzc
$C3/027B EB XBA A:805A X:01DD Y:5A89 P:envMxdIzc
$C3/027C 8D 40 21 STA $2140 [$00:2140] A:5A80 X:01DD Y:5A89 P:eNvMxdIzc
$C3/027F CD 40 21 CMP $2140 [$00:2140] A:5A80 X:01DD Y:5A89 P:eNvMxdIzc
$C3/0282 D0 FB BNE $FB [$027F] A:5A80 X:01DD Y:5A89 P:envMxdIzC
$C3/0284 1A INC A A:5A80 X:01DD Y:5A89 P:envMxdIZC
$C3/0285 D0 01 BNE $01 [$0288] A:5A81 X:01DD Y:5A89 P:eNvMxdIzC
$C3/0288 EB XBA A:5A81 X:01DD Y:5A89 P:eNvMxdIzC
$C3/0289 CA DEX A:815A X:01DD Y:5A89 P:envMxdIzC
$C3/028A CA DEX A:815A X:01DC Y:5A89 P:envMxdIzC
$C3/028B 10 DA BPL $DA [$0267] A:815A X:01DB Y:5A89 P:envMxdIzC
$C3/0267 B7 14 LDA [$14],y[$C5:5A89] A:815A X:01DB Y:5A89 P:envMxdIzC
$C3/0269 8D 42 21 STA $2142 [$00:2142] A:819B X:01DB Y:5A89 P:eNvMxdIzC
$C3/026C C8 INY A:819B X:01DB Y:5A89 P:eNvMxdIzC
$C3/026D D0 02 BNE $02 [$0271] A:819B X:01DB Y:5A8A P:envMxdIzC
$C3/0271 B7 14 LDA [$14],y[$C5:5A8A] A:819B X:01DB Y:5A8A P:envMxdIzC
$C3/0273 8D 43 21 STA $2143 [$00:2143] A:815A X:01DB Y:5A8A P:envMxdIzC
$C3/0276 C8 INY A:815A X:01DB Y:5A8A P:envMxdIzC
$C3/0277 D0 02 BNE $02 [$027B] A:815A X:01DB Y:5A8B P:envMxdIzC
$C3/027B EB XBA A:815A X:01DB Y:5A8B P:envMxdIzC
$C3/027C 8D 40 21 STA $2140 [$00:2140] A:5A81 X:01DB Y:5A8B P:eNvMxdIzC
$C3/027F CD 40 21 CMP $2140 [$00:2140] A:5A81 X:01DB Y:5A8B P:eNvMxdIzC
$C3/0282 D0 FB BNE $FB [$027F] A:5A81 X:01DB Y:5A8B P:envMxdIzC
$C3/0284 1A INC A A:5A81 X:01DB Y:5A8B P:envMxdIZC
$C3/0285 D0 01 BNE $01 [$0288] A:5A82 X:01DB Y:5A8B P:eNvMxdIzC
$C3/0288 EB XBA A:5A82 X:01DB Y:5A8B P:eNvMxdIzC
$C3/0289 CA DEX A:825A X:01DB Y:5A8B P:envMxdIzC
$C3/028A CA DEX A:825A X:01DA Y:5A8B P:envMxdIzC
$C3/028B 10 DA BPL $DA [$0267] A:825A X:01D9 Y:5A8B P:envMxdIzC
$C3/0292 74 8A STZ $8A,x [$00:1E8A] A:708C X:0000 Y:5C65 P:envmxdIZC
$C3/0294 74 CA STZ $CA,x [$00:1ECA] A:708C X:0000 Y:5C65 P:envmxdIZC
$C3/0296 E8 INX A:708C X:0000 Y:5C65 P:envmxdIZC
$C3/0297 E8 INX A:708C X:0001 Y:5C65 P:envmxdIzC
$C3/0298 E0 20 00 CPX #$0020 A:708C X:0002 Y:5C65 P:envmxdIzC
$C3/029B D0 F5 BNE $F5 [$0292] A:708C X:0002 Y:5C65 P:eNvmxdIzc
$C3/029F 29 00 FF AND #$FF00 A:1200 X:0020 Y:5C65 P:envmxdIzC
$C3/02A2 4A LSR A A:1200 X:0020 Y:5C65 P:envmxdIzC
$C3/02A3 4A LSR A A:0900 X:0020 Y:5C65 P:envmxdIzc
$C3/02A4 4A LSR A A:0480 X:0020 Y:5C65 P:envmxdIzc
$C3/02A5 AA TAX A:0240 X:0020 Y:5C65 P:envmxdIzc
$C3/02A6 18 CLC A:0240 X:0240 Y:5C65 P:envmxdIzc
$C3/02A7 69 20 00 ADC #$0020 A:0240 X:0240 Y:5C65 P:envmxdIzc
$C3/02AA 85 12 STA $12 [$00:1E12] A:0260 X:0240 Y:5C65 P:envmxdIzc
$C3/02AC A9 AA 1E LDA #$1EAA A:0260 X:0240 Y:5C65 P:envmxdIzc
$C3/02AF 85 14 STA $14 [$00:1E14] A:1EAA X:0240 Y:5C65 P:envmxdIzc
$C3/02B1 A9 CA 1E LDA #$1ECA A:1EAA X:0240 Y:5C65 P:envmxdIzc
$C3/02B4 85 16 STA $16 [$00:1E16] A:1ECA X:0240 Y:5C65 P:envmxdIzc
$C3/02B6 BF 22 3F C3 LDA $C33F22,x[$C3:4162] A:1ECA X:0240 Y:5C65 P:envmxdIzc
$C3/02BA 92 14 STA ($14) [$00:1EAA] A:0010 X:0240 Y:5C65 P:envmxdIzc
$C3/02BC E6 14 INC $14 [$00:1E14] A:0010 X:0240 Y:5C65 P:envmxdIzc
$C3/02BE E6 14 INC $14 [$00:1E14] A:0010 X:0240 Y:5C65 P:envmxdIzc
$C3/02C0 A0 00 00 LDY #$0000 A:0010 X:0240 Y:5C65 P:envmxdIzc
$C3/02C3 D9 28 1E CMP $1E28,y[$00:1E28] A:0010 X:0240 Y:0000 P:envmxdIZc
$C3/02C6 F0 0F BEQ $0F [$02D7] A:0010 X:0240 Y:0000 P:eNvmxdIzc
$C3/02C8 C8 INY A:0010 X:0240 Y:0000 P:eNvmxdIzc
$C3/02C9 C8 INY A:0010 X:0240 Y:0001 P:envmxdIzc
$C3/02CA C0 20 00 CPY #$0020 A:0010 X:0240 Y:0002 P:envmxdIzc
$C3/02CD D0 F4 BNE $F4 [$02C3] A:0010 X:0240 Y:0002 P:eNvmxdIzc
$C3/02CF 92 16 STA ($16) [$00:1ECA] A:0012 X:0246 Y:0020 P:envmxdIZC
$C3/02D1 E6 16 INC $16 [$00:1E16] A:0012 X:0246 Y:0020 P:envmxdIZC
$C3/02D3 E6 16 INC $16 [$00:1E16] A:0012 X:0246 Y:0020 P:envmxdIzC
$C3/02D5 80 03 BRA $03 [$02DA] A:0012 X:0246 Y:0020 P:envmxdIzC
$C3/02DA E8 INX A:0012 X:0246 Y:0020 P:envmxdIzC
$C3/02DA E8 INX A:0012 X:0246 Y:0020 P:envmxdIzC
$C3/02DB E8 INX A:0012 X:0247 Y:0020 P:envmxdIzC
$C3/02DC E4 12 CPX $12 [$00:1E12] A:0012 X:0248 Y:0020 P:envmxdIzC
$C3/02DE D0 D6 BNE $D6 [$02B6] A:0012 X:0248 Y:0020 P:eNvmxdIzc
$C3/02E0 A5 CA LDA $CA [$00:1ECA] A:0000 X:0260 Y:000E P:envmxdIZC
$C3/02E2 D0 03 BNE $03 [$02E7] A:0012 X:0260 Y:000E P:envmxdIzC
$C3/02E7 64 17 STZ $17 [$00:1E17] A:0012 X:0260 Y:000E P:envmxdIzC
$C3/02E9 E2 20 SEP #$20 A:0012 X:0260 Y:000E P:envmxdIzC
$C3/02EB A2 00 00 LDX #$0000 A:0012 X:0260 Y:000E P:envMxdIzC
$C3/02EE B5 CA LDA $CA,x [$00:1ECA] A:0012 X:0000 Y:000E P:envMxdIZC
$C3/02F0 F0 41 BEQ $41 [$0333] A:0012 X:0000 Y:000E P:envMxdIzC
$C3/02F2 DA PHX A:0012 X:0000 Y:000E P:envMxdIzC
$C3/02F3 3A DEC A A:0012 X:0000 Y:000E P:envMxdIzC
$C3/02F4 C2 20 REP #$20 A:0011 X:0000 Y:000E P:envMxdIzC
$C3/02F6 29 FF 00 AND #$00FF A:0011 X:0000 Y:000E P:envmxdIzC
$C3/02F9 48 PHA A:0011 X:0000 Y:000E P:envmxdIzC
$C3/02FA 0A ASL A A:0011 X:0000 Y:000E P:envmxdIzC
$C3/02FB 85 EA STA $EA [$00:1EEA] A:0022 X:0000 Y:000E P:envmxdIzc
$C3/02FD 68 PLA A:0022 X:0000 Y:000E P:envmxdIzc
$C3/02FE 18 CLC A:0011 X:0000 Y:000E P:envmxdIzc
$C3/02FF 65 EA ADC $EA [$00:1EEA] A:0011 X:0000 Y:000E P:envmxdIzc
$C3/0301 AA TAX A:0033 X:0000 Y:000E P:envmxdIzc
$C3/0302 E2 20 SEP #$20 A:0033 X:0033 Y:000E P:envmxdIzc
$C3/0304 BF F9 3D C3 LDA $C33DF9,x[$C3:3E2C] A:0033 X:0033 Y:000E P:envMxdIzc
$C3/0308 85 14 STA $14 [$00:1E14] A:00B7 X:0033 Y:000E P:eNvMxdIzc
$C3/030A BF FA 3D C3 LDA $C33DFA,x[$C3:3E2D] A:00B7 X:0033 Y:000E P:eNvMxdIzc
$C3/030E 85 15 STA $15 [$00:1E15] A:00F4 X:0033 Y:000E P:eNvMxdIzc
$C3/0310 BF FB 3D C3 LDA $C33DFB,x[$C3:3E2E] A:00F4 X:0033 Y:000E P:eNvMxdIzc
$C3/0314 85 16 STA $16 [$00:1E16] A:00C3 X:0033 Y:000E P:eNvMxdIzc
$C3/0316 A4 14 LDY $14 [$00:1E14] A:00C3 X:0033 Y:000E P:eNvMxdIzc
$C3/0318 64 14 STZ $14 [$00:1E14] A:00C3 X:0033 Y:F4B7 P:eNvMxdIzc
$C3/031A 64 15 STZ $15 [$00:1E15] A:00C3 X:0033 Y:F4B7 P:eNvMxdIzc
$C3/031C B7 14 LDA [$14],y[$C3:F4B7] A:00C3 X:0033 Y:F4B7 P:eNvMxdIzc
$C3/031E 18 CLC A:0011 X:0033 Y:F4B7 P:envMxdIzc
$C3/031F 65 17 ADC $17 [$00:1E17] A:0011 X:0033 Y:F4B7 P:envMxdIzc
$C3/0321 85 17 STA $17 [$00:1E17] A:0011 X:0033 Y:F4B7 P:envMxdIzc
$C3/0323 C8 INY A:0011 X:0033 Y:F4B7 P:envMxdIzc
$C3/0324 D0 02 BNE $02 [$0328] A:0011 X:0033 Y:F4B8 P:eNvMxdIzc
$C3/0328 B7 14 LDA [$14],y[$C3:F4B8] A:0011 X:0033 Y:F4B8 P:eNvMxdIzc
$C3/032A 65 18 ADC $18 [$00:1E18] A:0007 X:0033 Y:F4B8 P:envMxdIzc
$C3/032C 85 18 STA $18 [$00:1E18] A:0007 X:0033 Y:F4B8 P:envMxdIzc
$C3/032E FA PLX A:0007 X:0033 Y:F4B8 P:envMxdIzc
$C3/032F E8 INX A:0007 X:0000 Y:F4B8 P:envMxdIZc
$C3/0330 E8 INX A:0007 X:0001 Y:F4B8 P:envMxdIzc
$C3/0331 80 BB BRA $BB [$02EE] A:0007 X:0002 Y:F4B8 P:envMxdIzc
$C3/0333 A2 00 00 LDX #$0000 A:0000 X:000E Y:7DC7 P:envMxdiZc
$C3/0336 C2 20 REP #$20 A:0000 X:0000 Y:7DC7 P:envMxdiZc
$C3/0338 B5 28 LDA $28,x [$00:1E28] A:0000 X:0000 Y:7DC7 P:envmxdiZc
$C3/033A F0 04 BEQ $04 [$0340] A:001F X:0000 Y:7DC7 P:envmxdizc
$C3/033C E8 INX A:001F X:0000 Y:7DC7 P:envmxdizc
$C3/033D E8 INX A:001F X:0001 Y:7DC7 P:envmxdizc
$C3/033E 80 F8 BRA $F8 [$0338] A:001F X:0002 Y:7DC7 P:envmxdizc
$C3/0340 B5 48 LDA $48,x [$00:1E4A] A:0000 X:0002 Y:7DC7 P:envmxdiZc
$C3/0342 18 CLC A:5E6E X:0002 Y:7DC7 P:envmxdizc
$C3/0343 65 17 ADC $17 [$00:1E17] A:5E6E X:0002 Y:7DC7 P:envmxdizc
$C3/0345 B0 07 BCS $07 [$034E] A:DA49 X:0002 Y:7DC7 P:eNVmxdizc
$C3/0347 C5 F1 CMP $F1 [$00:1EF1] A:DA49 X:0002 Y:7DC7 P:eNVmxdizc
$C3/0349 B0 03 BCS $03 [$034E] A:DA49 X:0002 Y:7DC7 P:enVmxdizC
$C3/034E A2 1E 00 LDX #$001E A:DA49 X:0002 Y:7DC7 P:enVmxdizC
$C3/0351 B5 88 LDA $88,x [$00:1EA6] A:DA49 X:001E Y:7DC7 P:enVmxdizC
$C3/0353 D0 04 BNE $04 [$0359] A:0000 X:001E Y:7DC7 P:enVmxdiZC
$C3/0355 CA DEX A:0000 X:001E Y:7DC7 P:enVmxdiZC
$C3/0356 CA DEX A:0000 X:001D Y:7DC7 P:enVmxdizC
$C3/0357 D0 F8 BNE $F8 [$0351] A:0000 X:001C Y:7DC7 P:enVmxdizC
$C3/0359 86 24 STX $24 [$00:1E24] A:0000 X:0000 Y:7DC7 P:enVmxdiZC
$C3/035B A2 00 00 LDX #$0000 A:0000 X:0000 Y:7DC7 P:enVmxdiZC
$C3/035E B5 8A LDA $8A,x [$00:1E8A] A:0000 X:0000 Y:7DC7 P:enVmxdiZC
$C3/0360 F0 07 BEQ $07 [$0369] A:0000 X:0000 Y:7DC7 P:enVmxdiZC
$C3/0369 E4 24 CPX $24 [$00:1E24] A:0000 X:0000 Y:7DC7 P:enVmxdiZC
$C3/036B D0 0C BNE $0C [$0379] A:0000 X:0000 Y:7DC7 P:enVmxdiZC
$C3/036D 74 28 STZ $28,x [$00:1E28] A:0000 X:0000 Y:7DC7 P:enVmxdiZC
$C3/036F E8 INX A:0000 X:0000 Y:7DC7 P:enVmxdiZC
$C3/0370 E8 INX A:0000 X:0001 Y:7DC7 P:enVmxdizC
$C3/0371 E0 20 00 CPX #$0020 A:0000 X:0002 Y:7DC7 P:enVmxdizC
$C3/0374 D0 F7 BNE $F7 [$036D] A:0000 X:0002 Y:7DC7 P:eNVmxdizc
$C3/0400 E2 20 SEP #$20 A:0000 X:0020 Y:7DC7 P:enVmxdiZC
$C3/0402 A9 03 LDA #$03 A:0000 X:0020 Y:7DC7 P:enVMxdiZC
$C3/0404 8D 41 21 STA $2141 [$00:2141] A:0003 X:0020 Y:7DC7 P:enVMxdizC
$C3/0407 A2 00 00 LDX #$0000 A:0003 X:0020 Y:7DC7 P:enVMxdizC
$C3/040A B5 28 LDA $28,x [$00:1E28] A:0003 X:0000 Y:7DC7 P:enVMxdiZC
$C3/040C F0 04 BEQ $04 [$0412] A:0000 X:0000 Y:7DC7 P:enVMxdiZC
$C3/0412 86 24 STX $24 [$00:1E24] A:0000 X:0000 Y:7DC7 P:enVMxdiZC
$C3/0414 B5 48 LDA $48,x [$00:1E48] A:0000 X:0000 Y:7DC7 P:enVMxdiZC
$C3/0416 8D 42 21 STA $2142 [$00:2142] A:00F1 X:0000 Y:7DC7 P:eNVMxdizC
$C3/0419 B5 49 LDA $49,x [$00:1E49] A:00F1 X:0000 Y:7DC7 P:eNVMxdizC
$C3/041B 8D 43 21 STA $2143 [$00:2143] A:004D X:0000 Y:7DC7 P:enVMxdizC
$C3/041E A9 00 LDA #$00 A:004D X:0000 Y:7DC7 P:enVMxdizC
$C3/0420 8D 40 21 STA $2140 [$00:2140] A:0000 X:0000 Y:7DC7 P:enVMxdiZC
$C3/0423 CD 40 21 CMP $2140 [$00:2140] A:0000 X:0000 Y:7DC7 P:enVMxdiZC
$C3/0426 D0 FB BNE $FB [$0423] A:0000 X:0000 Y:7DC7 P:eNVMxdizc
$C3/0428 1A INC A A:0000 X:0000 Y:7DC7 P:enVMxdiZC
$C3/0429 85 10 STA $10 [$00:1E10] A:0001 X:0000 Y:7DC7 P:enVMxdizC
$C3/042B A2 00 00 LDX #$0000 A:0001 X:0000 Y:7DC7 P:enVMxdizC
$C3/042E E2 20 SEP #$20 A:0001 X:0000 Y:7DC7 P:enVMxdiZC
$C3/0430 B5 CA LDA $CA,x [$00:1ECA] A:0001 X:0000 Y:7DC7 P:enVMxdiZC
$C3/0432 D0 03 BNE $03 [$0437] A:0013 X:0000 Y:7DC7 P:enVMxdizC
$C3/0437 A4 24 LDY $24 [$00:1E24] A:0013 X:0000 Y:7DC7 P:enVMxdizC
$C3/0439 99 28 1E STA $1E28,y[$00:1E28] A:0013 X:0000 Y:0000 P:enVMxdiZC
$C3/043C DA PHX A:0013 X:0000 Y:0000 P:enVMxdiZC
$C3/043D 3A DEC A A:0013 X:0000 Y:0000 P:enVMxdiZC
$C3/043E C2 20 REP #$20 A:0012 X:0000 Y:0000 P:enVMxdizC
$C3/0440 29 FF 00 AND #$00FF A:0012 X:0000 Y:0000 P:enVmxdizC
$C3/0443 48 PHA A:0012 X:0000 Y:0000 P:enVmxdizC
$C3/0444 0A ASL A A:0012 X:0000 Y:0000 P:enVmxdizC
$C3/0445 85 EA STA $EA [$00:1EEA] A:0024 X:0000 Y:0000 P:enVmxdizc
$C3/0447 68 PLA A:0024 X:0000 Y:0000 P:enVmxdizc
$C3/0448 18 CLC A:0012 X:0000 Y:0000 P:enVmxdizc
$C3/0449 65 EA ADC $EA [$00:1EEA] A:0012 X:0000 Y:0000 P:enVmxdizc
$C3/044B AA TAX A:0036 X:0000 Y:0000 P:envmxdizc
$C3/044C E2 20 SEP #$20 A:0036 X:0036 Y:0000 P:envmxdizc
$C3/044E BF F9 3D C3 LDA $C33DF9,x[$C3:3E2F] A:0036 X:0036 Y:0000 P:envMxdizc
$C3/0452 85 14 STA $14 [$00:1E14] A:00CA X:0036 Y:0000 P:eNvMxdizc
$C3/0454 BF FA 3D C3 LDA $C33DFA,x[$C3:3E30] A:00CA X:0036 Y:0000 P:eNvMxdizc
$C3/0458 85 15 STA $15 [$00:1E15] A:00FB X:0036 Y:0000 P:eNvMxdizc
$C3/045A BF FB 3D C3 LDA $C33DFB,x[$C3:3E31] A:00FB X:0036 Y:0000 P:eNvMxdizc
$C3/045E 85 16 STA $16 [$00:1E16] A:00C3 X:0036 Y:0000 P:eNvMxdizc
$C3/0460 A4 14 LDY $14 [$00:1E14] A:00C3 X:0036 Y:0000 P:eNvMxdizc
$C3/0462 64 14 STZ $14 [$00:1E14] A:00C3 X:0036 Y:FBCA P:eNvMxdizc
$C3/0464 64 15 STZ $15 [$00:1E15] A:00C3 X:0036 Y:FBCA P:eNvMxdizc
$C3/0466 B7 14 LDA [$14],y[$C3:FBCA] A:00C3 X:0036 Y:FBCA P:eNvMxdizc
$C3/0468 EB XBA A:003A X:0036 Y:FBCA P:envMxdizc
$C3/0469 C8 INY A:3A00 X:0036 Y:FBCA P:envMxdiZc
$C3/046A D0 02 BNE $02 [$046E] A:3A00 X:0036 Y:FBCB P:eNvMxdizc
$C3/046E B7 14 LDA [$14],y[$C3:FBCB] A:3A00 X:0036 Y:FBCB P:eNvMxdizc
$C3/0470 C8 INY A:3A1A X:0036 Y:FBCB P:envMxdizc
$C3/0471 D0 02 BNE $02 [$0475] A:3A1A X:0036 Y:FBCC P:eNvMxdizc
$C3/0475 EB XBA A:3A1A X:0036 Y:FBCC P:eNvMxdizc
$C3/0476 C2 20 REP #$20 A:1A3A X:0036 Y:FBCC P:envMxdizc
$C3/0478 48 PHA A:1A3A X:0036 Y:FBCC P:envmxdizc
$C3/0479 A6 24 LDX $24 [$00:1E24] A:1A3A X:0036 Y:FBCC P:envmxdizc
$C3/047B 95 6A STA $6A,x [$00:1E6A] A:1A3A X:0000 Y:FBCC P:envmxdiZc
$C3/047D 18 CLC A:1A3A X:0000 Y:FBCC P:envmxdiZc
$C3/047E 75 48 ADC $48,x [$00:1E48] A:1A3A X:0000 Y:FBCC P:envmxdiZc
$C3/0480 95 4A STA $4A,x [$00:1E4A] A:682B X:0000 Y:FBCC P:envmxdizc
$C3/0482 E8 INX A:682B X:0000 Y:FBCC P:envmxdizc
$C3/0483 E8 INX A:682B X:0001 Y:FBCC P:envmxdizc
$C3/0484 86 24 STX $24 [$00:1E24] A:682B X:0002 Y:FBCC P:envmxdizc
$C3/0486 FA PLX A:682B X:0002 Y:FBCC P:envmxdizc
$C3/0487 E2 20 SEP #$20 A:682B X:1A3A Y:FBCC P:envmxdizc
$C3/0489 B7 14 LDA [$14],y[$C3:FBCC] A:682B X:1A3A Y:FBCC P:envMxdizc
$C3/048B 8D 41 21 STA $2141 [$00:2141] A:6802 X:1A3A Y:FBCC P:envMxdizc
$C3/048E C8 INY A:6802 X:1A3A Y:FBCC P:envMxdizc
$C3/048F D0 02 BNE $02 [$0493] A:6802 X:1A3A Y:FBCD P:eNvMxdizc
$C3/0493 B7 14 LDA [$14],y[$C3:FBCD] A:6802 X:1A3A Y:FBCD P:eNvMxdizc
$C3/0495 8D 42 21 STA $2142 [$00:2142] A:6800 X:1A3A Y:FBCD P:envMxdiZc
$C3/0498 C8 INY A:6800 X:1A3A Y:FBCD P:envMxdiZc
$C3/0499 D0 02 BNE $02 [$049D] A:6800 X:1A3A Y:FBCE P:eNvMxdizc
$C3/049D B7 14 LDA [$14],y[$C3:FBCE] A:6800 X:1A3A Y:FBCE P:eNvMxdizc
$C3/049F 8D 43 21 STA $2143 [$00:2143] A:6800 X:1A3A Y:FBCE P:envMxdiZc
$C3/04A2 C8 INY A:6800 X:1A3A Y:FBCE P:envMxdiZc
$C3/04A3 D0 02 BNE $02 [$04A7] A:6800 X:1A3A Y:FBCF P:eNvMxdizc
$C3/04A7 A5 10 LDA $10 [$00:1E10] A:6800 X:1A3A Y:FBCF P:eNvMxdizc
$C3/04A9 8D 40 21 STA $2140 [$00:2140] A:6801 X:1A3A Y:FBCF P:envMxdizc
$C3/04AC CD 40 21 CMP $2140 [$00:2140] A:6801 X:1A3A Y:FBCF P:envMxdizc
$C3/04AF D0 FB BNE $FB [$04AC] A:6801 X:1A3A Y:FBCF P:envMxdizC
$C3/04B1 E6 10 INC $10 [$00:1E10] A:6801 X:1A3A Y:FBCF P:envMxdiZC
$C3/04B3 D0 02 BNE $02 [$04B7] A:6801 X:1A3A Y:FBCF P:envMxdizC
$C3/04B7 CA DEX A:6801 X:1A3A Y:FBCF P:envMxdizC
$C3/04B8 CA DEX A:6801 X:1A39 Y:FBCF P:envMxdizC
$C3/04B9 CA DEX A:6801 X:1A38 Y:FBCF P:envMxdizC
$C3/04BA D0 CD BNE $CD [$0489] A:6801 X:1A37 Y:FBCF P:envMxdizC
$C3/04BC FA PLX A:68C6 X:0000 Y:1606 P:envMxdiZC
$C3/04BD E8 INX A:68C6 X:0000 Y:1606 P:envMxdiZC
$C3/04BE E8 INX A:68C6 X:0001 Y:1606 P:envMxdizC
$C3/04BF 82 6C FF BRL $FF6C [$042E] A:68C6 X:0002 Y:1606 P:envMxdizC
$C3/04C2 C2 20 REP #$20 A:5E00 X:0002 Y:B059 P:envMxdiZC
$C3/04C4 A5 AA LDA $AA [$00:1EAA] A:5E00 X:0002 Y:B059 P:envmxdiZC
$C3/04C6 D0 03 BNE $03 [$04CB] A:001F X:0002 Y:B059 P:envmxdizC
$C3/04CB A9 AA 1E LDA #$1EAA A:001F X:0002 Y:B059 P:envmxdizC
$C3/04CE 85 14 STA $14 [$00:1E14] A:1EAA X:0002 Y:B059 P:envmxdizC
$C3/04D0 A9 00 1F LDA #$1F00 A:1EAA X:0002 Y:B059 P:envmxdizC
$C3/04D3 85 16 STA $16 [$00:1E16] A:1F00 X:0002 Y:B059 P:envmxdizC
$C3/04D5 A9 40 1F LDA #$1F40 A:1F00 X:0002 Y:B059 P:envmxdizC
$C3/04D8 85 18 STA $18 [$00:1E18] A:1F40 X:0002 Y:B059 P:envmxdizC
$C3/04DA A9 C0 1F LDA #$1FC0 A:1F40 X:0002 Y:B059 P:envmxdizC
$C3/04DD 85 1A STA $1A [$00:1E1A] A:1FC0 X:0002 Y:B059 P:envmxdizC
$C3/04DF B2 14 LDA ($14) [$00:1EAA] A:1FC0 X:0002 Y:B059 P:envmxdizC
$C3/04E1 F0 3D BEQ $3D [$0520] A:001F X:0002 Y:B059 P:envmxdizC
$C3/04E3 E6 14 INC $14 [$00:1E14] A:001F X:0002 Y:B059 P:envmxdizC
$C3/04E5 E6 14 INC $14 [$00:1E14] A:001F X:0002 Y:B059 P:envmxdizC
$C3/04E7 A0 00 00 LDY #$0000 A:001F X:0002 Y:B059 P:envmxdizC
$C3/04EA D9 28 1E CMP $1E28,y[$00:1E28] A:001F X:0002 Y:0000 P:envmxdiZC
$C3/04ED F0 04 BEQ $04 [$04F3] A:001F X:0002 Y:0000 P:envmxdiZC
$C3/04F3 3A DEC A A:001F X:0002 Y:0000 P:envmxdiZC
$C3/04F4 0A ASL A A:001E X:0002 Y:0000 P:envmxdizC
$C3/04F5 AA TAX A:003C X:0002 Y:0000 P:envmxdizc
$C3/04F6 BF 9E 3E C3 LDA $C33E9E,x[$C3:3EDA] A:003C X:003C Y:0000 P:envmxdizc
$C3/04FA 92 16 STA ($16) [$00:1F00] A:0000 X:003C Y:0000 P:envmxdiZc
$C3/04FC E6 16 INC $16 [$00:1E16] A:0000 X:003C Y:0000 P:envmxdiZc
$C3/04FE E6 16 INC $16 [$00:1E16] A:0000 X:003C Y:0000 P:envmxdizc
$C3/0500 B9 48 1E LDA $1E48,y[$00:1E48] A:0000 X:003C Y:0000 P:envmxdizc
$C3/0503 92 18 STA ($18) [$00:1F40] A:4DF1 X:003C Y:0000 P:envmxdizc
$C3/0505 E6 18 INC $18 [$00:1E18] A:4DF1 X:003C Y:0000 P:envmxdizc
$C3/0507 E6 18 INC $18 [$00:1E18] A:4DF1 X:003C Y:0000 P:envmxdizc
$C3/0509 18 CLC A:4DF1 X:003C Y:0000 P:envmxdizc
$C3/050A 7F 5C 3E C3 ADC $C33E5C,x[$C3:3E98] A:4DF1 X:003C Y:0000 P:envmxdizc
$C3/050E 92 18 STA ($18) [$00:1F42] A:8FDC X:003C Y:0000 P:eNVmxdizc
$C3/0510 E6 18 INC $18 [$00:1E18] A:8FDC X:003C Y:0000 P:eNVmxdizc
$C3/0512 E6 18 INC $18 [$00:1E18] A:8FDC X:003C Y:0000 P:enVmxdizc
$C3/0514 BF E0 3E C3 LDA $C33EE0,x[$C3:3F1C] A:8FDC X:003C Y:0000 P:enVmxdizc
$C3/0518 92 1A STA ($1A) [$00:1FC0] A:E0FF X:003C Y:0000 P:eNVmxdizc
$C3/051A E6 1A INC $1A [$00:1E1A] A:E0FF X:003C Y:0000 P:eNVmxdizc
$C3/051C E6 1A INC $1A [$00:1E1A] A:E0FF X:003C Y:0000 P:enVmxdizc
$C3/051E 80 BF BRA $BF [$04DF] A:E0FF X:003C Y:0000 P:enVmxdizc
$C3/0520 E2 20 SEP #$20 A:0000 X:003C Y:0000 P:enVmxdiZc
$C3/0522 A9 02 LDA #$02 A:0000 X:003C Y:0000 P:enVMxdiZc
$C3/0524 8D 41 21 STA $2141 [$00:2141] A:0002 X:003C Y:0000 P:enVMxdizc
$C3/0527 A2 00 1F LDX #$1F00 A:0002 X:003C Y:0000 P:enVMxdizc
$C3/052A DA PHX A:0002 X:1F00 Y:0000 P:enVMxdizc
$C3/052B 2B PLD A:0002 X:1F00 Y:0000 P:enVMxdizc
$C3/052C A2 40 18 LDX #$1840 A:0002 X:1F00 Y:0000 P:enVMxdizc
$C3/052F 8E 42 21 STX $2142 [$00:2142] A:0002 X:1840 Y:0000 P:enVMxdizc
$C3/0532 A9 00 LDA #$00 A:0002 X:1840 Y:0000 P:enVMxdizc
$C3/0534 A2 FE FF LDX #$FFFE A:0000 X:1840 Y:0000 P:enVMxdiZc
$C3/0537 80 05 BRA $05 [$053E] A:0000 X:FFFE Y:0000 P:eNVMxdizc
$C3/0539 B4 00 LDY $00,x [$00:1F00] A:0001 X:0000 Y:0000 P:eNVMxdizc
$C3/053B 8C 42 21 STY $2142 [$00:2142] A:0001 X:0000 Y:0000 P:enVMxdiZc
$C3/053E 8D 40 21 STA $2140 [$00:2140] A:0000 X:FFFE Y:0000 P:eNVMxdizc
$C3/0541 CD 40 21 CMP $2140 [$00:2140] A:0000 X:FFFE Y:0000 P:eNVMxdizc
$C3/0544 D0 FB BNE $FB [$0541] A:0000 X:FFFE Y:0000 P:enVMxdizc
$C3/0546 1A INC A A:0000 X:FFFE Y:0000 P:enVMxdiZC
$C3/0547 E8 INX A:0001 X:FFFE Y:0000 P:enVMxdizC
$C3/0548 E8 INX A:0001 X:FFFF Y:0000 P:eNVMxdizC
$C3/0549 E0 40 00 CPX #$0040 A:0001 X:0000 Y:0000 P:enVMxdiZC
$C3/054C D0 EB BNE $EB [$0539] A:0001 X:0000 Y:0000 P:eNVMxdizc
$C3/054E A2 80 19 LDX #$1980 A:0021 X:0040 Y:5555 P:enVMxdiZC
$C3/0551 8E 42 21 STX $2142 [$00:2142] A:0021 X:1980 Y:5555 P:enVMxdizC
$C3/0554 A9 00 LDA #$00 A:0021 X:1980 Y:5555 P:enVMxdizC
$C3/0556 A2 FE FF LDX #$FFFE A:0000 X:1980 Y:5555 P:enVMxdiZC
$C3/0559 80 05 BRA $05 [$0560] A:0000 X:FFFE Y:5555 P:eNVMxdizC
$C3/055B B4 40 LDY $40,x [$00:1F40] A:0001 X:0000 Y:5555 P:eNVMxdizc
$C3/055D 8C 42 21 STY $2142 [$00:2142] A:0001 X:0000 Y:4DF1 P:enVMxdizc
$C3/0560 8D 40 21 STA $2140 [$00:2140] A:0000 X:FFFE Y:5555 P:eNVMxdizC
$C3/0563 CD 40 21 CMP $2140 [$00:2140] A:0000 X:FFFE Y:5555 P:eNVMxdizC
$C3/0566 D0 FB BNE $FB [$0563] A:0000 X:FFFE Y:5555 P:eNVMxdizc
$C3/0568 1A INC A A:0000 X:FFFE Y:5555 P:enVMxdiZC
$C3/0569 E8 INX A:0001 X:FFFE Y:5555 P:enVMxdizC
$C3/056A E8 INX A:0001 X:FFFF Y:5555 P:eNVMxdizC
$C3/056B E0 80 00 CPX #$0080 A:0001 X:0000 Y:5555 P:enVMxdiZC
$C3/056E D0 EB BNE $EB [$055B] A:0001 X:0000 Y:5555 P:eNVMxdizc
$C3/0570 A2 C0 18 LDX #$18C0 A:0041 X:0080 Y:5555 P:enVMxdiZC
$C3/0573 8E 42 21 STX $2142 [$00:2142] A:0041 X:18C0 Y:5555 P:enVMxdizC
$C3/0576 A9 00 LDA #$00 A:0041 X:18C0 Y:5555 P:enVMxdizC
$C3/0578 A2 FE FF LDX #$FFFE A:0000 X:18C0 Y:5555 P:enVMxdiZC
$C3/057B 80 05 BRA $05 [$0582] A:0000 X:FFFE Y:5555 P:eNVMxdizC
$C3/057D B4 C0 LDY $C0,x [$00:1FC0] A:0001 X:0000 Y:5555 P:eNVMxdizc
$C3/057F 8C 42 21 STY $2142 [$00:2142] A:0001 X:0000 Y:E0FF P:eNVMxdizc
$C3/0582 8D 40 21 STA $2140 [$00:2140] A:0000 X:FFFE Y:5555 P:eNVMxdizC
$C3/0585 CD 40 21 CMP $2140 [$00:2140] A:0000 X:FFFE Y:5555 P:eNVMxdizC
$C3/0588 D0 FB BNE $FB [$0585] A:0000 X:FFFE Y:5555 P:eNVMxdizc
$C3/058A 1A INC A A:0000 X:FFFE Y:5555 P:enVMxdiZC
$C3/058B E8 INX A:0001 X:FFFE Y:5555 P:enVMxdizC
$C3/058C E8 INX A:0001 X:FFFF Y:5555 P:eNVMxdizC
$C3/058D E0 40 00 CPX #$0040 A:0001 X:0000 Y:5555 P:enVMxdiZC
$C3/0590 D0 EB BNE $EB [$057D] A:0001 X:0000 Y:5555 P:eNVMxdizc
$C3/0596 8D 41 21 STA $2141 [$00:2141] A:0000 X:0040 Y:5555 P:enVMxdiZC
$C3/0599 8D 40 21 STA $2140 [$00:2140] A:0000 X:0040 Y:5555 P:enVMxdiZC
$C3/059C 4C 8D 01 JMP $018D [$C3:018D] A:0000 X:0040 Y:5555 P:enVMxdiZC
; Fade out ?
$C3/059F E2 20 SEP #$20 A:0780 X:1E00 Y:0600 P:eNvMxdizC
$C3/05A1 EB XBA A:0780 X:1E00 Y:0600 P:eNvMxdizC
$C3/05A2 A5 03 LDA $03 [$00:1E03] A:8007 X:1E00 Y:0600 P:envMxdizC
$C3/05A4 8D 43 21 STA $2143 [$00:2143] A:800F X:1E00 Y:0600 P:envMxdizC
$C3/05A7 A5 02 LDA $02 [$00:1E02] A:800F X:1E00 Y:0600 P:envMxdizC
$C3/05A9 8D 42 21 STA $2142 [$00:2142] A:800F X:1E00 Y:0600 P:envMxdizC
$C3/05AC A5 01 LDA $01 [$00:1E01] A:800F X:1E00 Y:0600 P:envMxdizC
$C3/05AE 8D 41 21 STA $2141 [$00:2141] A:8020 X:1E00 Y:0600 P:envMxdizC
$C3/05B1 EB XBA A:8020 X:1E00 Y:0600 P:envMxdizC
$C3/05B2 CD 40 21 CMP $2140 [$00:2140] A:2080 X:1E00 Y:0600 P:eNvMxdizC
$C3/05B5 F0 FB BEQ $FB [$05B2] A:2080 X:1E00 Y:0600 P:eNvMxdizC
$C3/05B7 8D 40 21 STA $2140 [$00:2140] A:2080 X:1E00 Y:0600 P:eNvMxdizC
$C3/05BA C9 F0 CMP #$F0 A:2080 X:1E00 Y:0600 P:eNvMxdizC
$C3/05BC 90 14 BCC $14 [$05D2] A:2080 X:1E00 Y:0600 P:eNvMxdizc
$C3/05D2 CD 40 21 CMP $2140 [$00:2140] A:2080 X:1E00 Y:0600 P:eNvMxdizc
$C3/05D5 D0 FB BNE $FB [$05D2] A:2080 X:1E00 Y:0600 P:eNvMxdizC
$C3/05D7 A9 00 LDA #$00 A:2080 X:1E00 Y:0600 P:envMxdiZC
$C3/05D9 8D 40 21 STA $2140 [$00:2140] A:2000 X:1E00 Y:0600 P:envMxdiZC
$C3/05DC 4C 8D 01 JMP $018D [$C3:018D] A:2000 X:1E00 Y:0600 P:envMxdiZC
$C3/060A 08 PHP A:0200 X:0F0F Y:0004 P:envMxdIZC
$C3/060B E2 20 SEP #$20 A:0200 X:0F0F Y:0004 P:envMxdIZC
$C3/060D A9 00 LDA #$00 A:0200 X:0F0F Y:0004 P:envMxdIZC
$C3/060F 48 PHA A:0200 X:0F0F Y:0004 P:envMxdIZC
$C3/0610 A5 02 LDA $02 [$00:1E02] A:0200 X:0F0F Y:0004 P:envMxdIZC
$C3/0612 29 0F AND #$0F A:0202 X:0F0F Y:0004 P:envMxdIzC
$C3/0614 0A ASL A A:0202 X:0F0F Y:0004 P:envMxdIzC
$C3/0615 0A ASL A A:0204 X:0F0F Y:0004 P:envMxdIzc
$C3/0616 48 PHA A:0208 X:0F0F Y:0004 P:envMxdIzc
$C3/0617 FA PLX A:0208 X:0F0F Y:0004 P:envMxdIzc
$C3/0618 BF 08 07 C3 LDA $C30708,x[$C3:0710] A:0208 X:0008 Y:0004 P:envMxdIzc
$C3/061C 8D 42 21 STA $2142 [$00:2142] A:0206 X:0008 Y:0004 P:envMxdIzc
$C3/061F C5 F0 CMP $F0 [$00:1EF0] A:0206 X:0008 Y:0004 P:envMxdIzc
$C3/061F C5 F0 CMP $F0 [$00:1EF0] A:0206 X:0008 Y:0004 P:envMxdIzc
$C3/0621 F0 2E BEQ $2E [$0651] A:0206 X:0008 Y:0004 P:envMxdIZC
$C3/0651 BF 09 07 C3 LDA $C30709,x[$C3:0711] A:0206 X:0008 Y:0004 P:envMxdIZC
$C3/0655 8D 43 21 STA $2143 [$00:2143] A:0240 X:0008 Y:0004 P:envMxdIzC
$C3/0658 EB XBA A:0240 X:0008 Y:0004 P:envMxdIzC
$C3/0659 8D 40 21 STA $2140 [$00:2140] A:4002 X:0008 Y:0004 P:envMxdIzC
$C3/065C CD 40 21 CMP $2140 [$00:2140] A:4002 X:0008 Y:0004 P:envMxdIzC
$C3/065F D0 FB BNE $FB [$065C] A:4002 X:0008 Y:0004 P:envMxdIzC
$C3/0667 8D 42 21 STA $2142 [$00:2142] A:0300 X:0008 Y:0004 P:envMxdIZC
$C3/066A BF 0B 07 C3 LDA $C3070B,x[$C3:0713] A:0300 X:0008 Y:0004 P:envMxdIZC
$C3/066E 8D 43 21 STA $2143 [$00:2143] A:0300 X:0008 Y:0004 P:envMxdIZC
$C3/0671 EB XBA A:0300 X:0008 Y:0004 P:envMxdIZC
$C3/0672 8D 40 21 STA $2140 [$00:2140] A:0003 X:0008 Y:0004 P:envMxdIzC
$C3/0675 CD 40 21 CMP $2140 [$00:2140] A:0003 X:0008 Y:0004 P:envMxdIzC
$C3/0678 D0 FB BNE $FB [$0675] A:0003 X:0008 Y:0004 P:envMxdIzC
$C3/067A 1A INC A A:0003 X:0008 Y:0004 P:envMxdIZC
$C3/067B EB XBA A:0004 X:0008 Y:0004 P:envMxdIzC
$C3/067C 28 PLP A:0400 X:0008 Y:0004 P:envMxdIZC
$C3/067D 60 RTS A:0400 X:0008 Y:0004 P:envMxdIZC
============
= SPC code =
============
; Setting up wait timer for SNES communication ($24 = $24 / 8 = 4ms)
..024b mov $0fa,#$24 A:87 X:a0 Y:87 SP:01ff YA:8787 NVpbhizc
; Check SNES commucation
..0279 call $0caf A:00 X:00 Y:00 SP:01ff YA:0000 nvpbHiZC
..027c mov y,$0fd A:00 X:00 Y:00 SP:01ff YA:0000 nvpbHiZC
..027e beq $0279 A:00 X:00 Y:00 SP:01ff YA:0000 nvpbHiZC
..0280 mov y,#$06 A:00 X:00 Y:01 SP:01ff YA:0100 nVpbHizC
..0282 mov a,$158b+y A:00 X:00 Y:06 SP:01ff YA:0600 nVpbHizC
..0285 mov $0f2,a A:6c X:00 Y:06 SP:01ff YA:066c nVpbHizC
..0287 mov a,$1591+y A:6c X:00 Y:06 SP:01ff YA:066c nVpbHizC
..028a mov x,a A:bb X:00 Y:06 SP:01ff YA:06bb NVpbHizC
..028b mov a,(x) A:bb X:bb Y:06 SP:01ff YA:06bb NVpbHizC
..028c mov $0f3,a A:00 X:bb Y:06 SP:01ff YA:0600 nVpbHiZC
..028e dbnz y,$0282 A:00 X:bb Y:06 SP:01ff YA:0600 nVpbHiZC
..0282 mov a,$158b+y A:00 X:bb Y:05 SP:01ff YA:0500 nVpbHiZC
..0285 mov $0f2,a A:4d X:bb Y:05 SP:01ff YA:054d nVpbHizC
..0287 mov a,$1591+y A:4d X:bb Y:05 SP:01ff YA:054d nVpbHizC
..028a mov x,a A:b8 X:bb Y:05 SP:01ff YA:05b8 NVpbHizC
..028b mov a,(x) A:ba X:ba Y:03 SP:01ff YA:03ba NVpbHizC
..028c mov $0f3,a A:00 X:ba Y:03 SP:01ff YA:0300 nVpbHiZC
..028e dbnz y,$0282 A:00 X:bb Y:06 SP:01ff YA:0600 nVpbHiZC
..0290 mov $0b0,y A:00 X:af Y:00 SP:01ff YA:0000 nVpbHiZC
..0292 mov $0af,y A:00 X:af Y:00 SP:01ff YA:0000 nVpbHiZC
..0294 bbs7 $0b1,$02ac A:00 X:af Y:00 SP:01ff YA:0000 nVpbHiZC
..0297 movw ya,$0ad A:00 X:af Y:00 SP:01ff YA:0000 nVpbHiZC
..0299 movw $0f6,ya A:ff X:af Y:00 SP:01ff YA:00ff nVpbHizC
..029b bbs5 $0b1,$02a2 A:ff X:af Y:00 SP:01ff YA:00ff nVpbHizC
..029e mov a,#$00 A:ff X:af Y:00 SP:01ff YA:00ff nVpbHizC
..02a0 bra $02a8 A:00 X:af Y:00 SP:01ff YA:0000 nVpbHiZC
..02a8 mov $0f5,a A:00 X:af Y:00 SP:01ff YA:0000 nVpbHiZC
..02aa bra $02af A:00 X:af Y:00 SP:01ff YA:0000 nVpbHiZC
..02af movw ya,$0cb A:00 X:af Y:00 SP:01ff YA:0000 nVpbHiZC
..02b1 bne $02bd A:00 X:af Y:00 SP:01ff YA:0000 nVpbHiZC
..02b3 dec $0dd A:00 X:af Y:00 SP:01ff YA:0000 nVpbHiZC
..02b5 bne $02bd A:00 X:af Y:00 SP:01ff YA:0000 nVpbHizC
..02b7 mov $0dd,#$07 A:00 X:af Y:00 SP:01ff YA:0000 nvpbhiZC
; Fade routine
..02ba call $13e5 A:00 X:af Y:00 SP:01ff YA:0000 nvpbHiZC
..02bd call $02f7 A:00 X:af Y:f7 SP:01ff YA:f700 nvpbHiZc
..02c0 mov x,#$00 A:78 X:af Y:00 SP:01ff YA:0078 nvpbhizc
..02c2 mov $0b2,#$01 A:78 X:00 Y:00 SP:01ff YA:0078 nvpbhiZc
..02c5 mov a,$0ae A:78 X:00 Y:00 SP:01ff YA:0078 nvpbhiZc
..02c7 eor a,#$ff A:00 X:00 Y:00 SP:01ff YA:0000 nvpbhiZc
..02c9 and a,$0ad A:ff X:00 Y:00 SP:01ff YA:00ff Nvpbhizc
..02cb mov $002,a A:ff X:00 Y:00 SP:01ff YA:00ff Nvpbhizc
..02cd lsr $002 A:ff X:00 Y:00 SP:01ff YA:00ff Nvpbhizc
..02cf bcc $02d6 A:ff X:00 Y:00 SP:01ff YA:00ff nvpbhizC
..02d1 mov $005,x A:ff X:00 Y:00 SP:01ff YA:00ff nvpbhizC
..02d3 call $0ac0 A:ff X:00 Y:00 SP:01ff YA:00ff nvpbhizC
..02d8 asl $0b2 A:00 X:02 Y:00 SP:01ff YA:0000 nvpbhizC
..02da bne $02cd A:00 X:02 Y:00 SP:01ff YA:0000 nvpbhizc
..02cd lsr $002 A:00 X:02 Y:00 SP:01ff YA:0000 nvpbhizc
..02cf bcc $02d6 A:00 X:02 Y:00 SP:01ff YA:0000 nvpbhizC
..02d1 mov $005,x A:00 X:02 Y:00 SP:01ff YA:0000 nvpbhizC
..02d3 call $0ac0 A:00 X:02 Y:00 SP:01ff YA:0000 nvpbhizC
..02d6 inc x A:20 X:0a Y:07 SP:01ff YA:0720 nvpbhiZc
..02d7 inc x A:04 X:05 Y:12 SP:01ff YA:1204 nvpbhizc
..02d8 asl $0b2 A:04 X:06 Y:12 SP:01ff YA:1204 nvpbhizc
..02da bne $02cd A:04 X:06 Y:12 SP:01ff YA:1204 nvpbhizc
..02cd lsr $002 A:04 X:06 Y:12 SP:01ff YA:1204 nvpbhizc
..02cf bcc $02d6 A:04 X:06 Y:12 SP:01ff YA:1204 nvpbhizC
..02f7 mov a,$090 A:00 X:af Y:00 SP:01fd YA:0000 nvpbHiZC
..02f9 eor a,#$80 A:80 X:af Y:00 SP:01fd YA:0080 NvpbHizC
..02fb mov y,$07d A:00 X:af Y:00 SP:01fd YA:0000 nvpbHiZC
..02fd mul ya A:00 X:af Y:39 SP:01fd YA:3900 nvpbHizC
..02fe mov a,y A:00 X:af Y:00 SP:01fd YA:0000 nvpbHiZC
..02ff bbc7 $090,$030c A:00 X:af Y:00 SP:01fd YA:0000 nvpbHiZC
..0302 asl a A:00 X:af Y:00 SP:01fd YA:0000 nvpbHiZC
..0303 clrc A:00 X:af Y:00 SP:01fd YA:0000 nvpbHiZc
..0304 adc a,$07d A:00 X:af Y:00 SP:01fd YA:0000 nvpbHiZc
..0306 bcc $030f A:39 X:af Y:00 SP:01fd YA:0039 nvpbhizc
..030f clrc A:39 X:af Y:00 SP:01fd YA:0039 nvpbhizc
..0310 adc a,$07e A:39 X:af Y:00 SP:01fd YA:0039 nvpbhizc
..0312 mov $07e,a A:b1 X:af Y:00 SP:01fd YA:00b1 NVpbHizc
..0314 bbs1 $0b1,$0319 A:b1 X:af Y:00 SP:01fd YA:00b1 NVpbHizc
..0317 bcc $0367 A:b1 X:af Y:00 SP:01fd YA:00b1 NVpbHizc
..0367 mov a,#$78 A:b1 X:af Y:00 SP:01fd YA:00b1 NVpbHizc
..0369 clrc A:78 X:af Y:00 SP:01fd YA:0078 nVpbHizc
..036a adc a,$07f A:78 X:af Y:00 SP:01fd YA:0078 nVpbHizc
..036c mov $07f,a A:78 X:af Y:00 SP:01fd YA:0078 nvpbhizc
..036e bbs1 $0b1,$0373 A:78 X:af Y:00 SP:01fd YA:0078 nvpbhizc
..0371 bcc $03b0 A:78 X:af Y:00 SP:01fd YA:0078 nvpbhizc
..03b0 ret A:78 X:af Y:00 SP:01fd YA:0078 nvpbhizc
; Set DSP register value
..061b mov $0f2,y A:40 X:00 Y:3c SP:01f9 YA:3c40 nvpbhizC
..061d mov $0f3,a A:40 X:00 Y:3c SP:01f9 YA:3c40 nvpbhizC
..061f ret A:40 X:00 Y:3c SP:01f9 YA:3c40 nvpbhizC
; call $0ac0
..0ac0 mov a,$0121+x A:ff X:00 Y:00 SP:01fd YA:00ff nvpbhizC
..0ac3 beq $0b31 A:00 X:00 Y:00 SP:01fd YA:0000 nvpbhiZC
..0ac6 mov a,$0100+x A:c4 X:04 Y:c4 SP:01fd YA:c4c4 NVpbHizC
..0ac9 bne $0b31 A:00 X:04 Y:c4 SP:01fd YA:c400 nVpbHiZC
..0acb mov a,$fce0+x A:00 X:04 Y:c4 SP:01fd YA:c400 nVpbHiZC
..0ace dec a A:14 X:04 Y:c4 SP:01fd YA:c414 nVpbHizC
..0acf bne $0b2e A:13 X:04 Y:c4 SP:01fd YA:c413 nVpbHizC
..0b2e mov $fce0+x,a A:13 X:04 Y:c4 SP:01fd YA:c413 nVpbHizC
..0b31 mov a,$0140+x A:00 X:00 Y:00 SP:01fd YA:0000 nvpbhiZC
..0b34 beq $0b63 A:00 X:00 Y:00 SP:01fd YA:0000 nvpbhiZC
..0b63 movw ya,$0c9 A:00 X:00 Y:00 SP:01fd YA:0000 nvpbhiZC
..0b65 bne $0b68 A:00 X:00 Y:00 SP:01fd YA:0000 nvpbhiZC
..0b67 ret A:00 X:00 Y:00 SP:01fd YA:0000 nvpbhiZC
; Set volume and pitch to DSP
..0bbc mov a,$084 A:00 X:02 Y:5a SP:01fd YA:5a00 Nvpbhizc
..0bbe mul ya A:8f X:02 Y:5a SP:01fd YA:5a8f Nvpbhizc
..0bbf mov a,$ff88 A:46 X:02 Y:32 SP:01fd YA:3246 nvpbhizc
..0bc2 cmp a,$05d+x A:ff X:02 Y:32 SP:01fd YA:32ff Nvpbhizc
..0bc4 beq $0bcd A:ff X:02 Y:32 SP:01fd YA:32ff NvpbhizC
..0bc6 mov a,$0ac A:ff X:02 Y:32 SP:01fd YA:32ff NvpbhizC
..0bc8 bra $0bcc A:50 X:02 Y:32 SP:01fd YA:3250 nvpbhizC
..0bcc mul ya A:50 X:02 Y:32 SP:01fd YA:3250 nvpbhizC
..0bcd mov $037,y A:a0 X:02 Y:0f SP:01fd YA:0fa0 nvpbhizC
..0bcf cmp x,#$10 A:a0 X:02 Y:0f SP:01fd YA:0fa0 nvpbhizC
..0bd1 bcc $0bd9 A:a0 X:02 Y:0f SP:01fd YA:0fa0 Nvpbhizc
..0bd9 mov a,$036 A:a0 X:02 Y:0f SP:01fd YA:0fa0 Nvpbhizc
..0bdb mov y,a A:7f X:02 Y:0f SP:01fd YA:0f7f nvpbhizc
..0bdc mov a,$037 A:7f X:02 Y:7f SP:01fd YA:7f7f nvpbhizc
..0bde mul ya A:0f X:02 Y:7f SP:01fd YA:7f0f nvpbhizc
..0bdf mov a,$0b2 A:71 X:02 Y:07 SP:01fd YA:0771 nvpbhizc
..0be1 and a,$0b3 A:02 X:02 Y:07 SP:01fd YA:0702 nvpbhizc
..0be3 beq $0be7 A:00 X:02 Y:07 SP:01fd YA:0700 nvpbhiZc
..0be7 mov a,y A:00 X:02 Y:07 SP:01fd YA:0700 nvpbhiZc
..0be8 mov y,$034 A:07 X:02 Y:07 SP:01fd YA:0707 nvpbhizc
..0bea mov $00cd+y,a A:07 X:02 Y:02 SP:01fd YA:0207 nvpbhizc
..0bed lsr a A:07 X:02 Y:02 SP:01fd YA:0207 nvpbhizc
..0bee mov y,a A:03 X:02 Y:02 SP:01fd YA:0203 nvpbhizC
..0bef mov a,$035 A:03 X:02 Y:03 SP:01fd YA:0303 nvpbhizC
..0bf1 cmp x,#$10 A:11 X:02 Y:03 SP:01fd YA:0311 nvpbhizC
..0bf3 bcc $0bfa A:11 X:02 Y:03 SP:01fd YA:0311 Nvpbhizc
..0bfa mov $0f2,a A:10 X:02 Y:03 SP:01fd YA:0310 Nvpbhizc
..0bfc mov $0f3,y A:10 X:02 Y:03 SP:01fd YA:0310 Nvpbhizc
..0bfe mov a,$036 A:10 X:02 Y:03 SP:01fd YA:0310 Nvpbhizc
..0c00 eor a,#$ff A:7f X:02 Y:03 SP:01fd YA:037f nvpbhizc
..0c02 not1 c,$0034:0 A:80 X:02 Y:03 SP:01fd YA:0380 Nvpbhizc
..0c05 inc $035 A:80 X:02 Y:03 SP:01fd YA:0380 Nvpbhizc
..0c07 bbc1 $035,$0bdb A:80 X:02 Y:03 SP:01fd YA:0380 nvpbhizc
..0c0a set1 $035 A:b0 X:0a Y:12 SP:01fd YA:12b0 nvpbhizc
..0c0c mov a,$0b2 A:b0 X:0a Y:12 SP:01fd YA:12b0 nvpbhizc
..0c0e and a,$0ca A:20 X:0a Y:12 SP:01fd YA:1220 nvpbhizc
..0c10 beq $0c55 A:20 X:0a Y:12 SP:01fd YA:1220 nvpbhizc
..0c12 mov a,$fe60+x A:20 X:0a Y:12 SP:01fd YA:1220 nvpbhizc
..0c15 mov $036,a A:09 X:0a Y:12 SP:01fd YA:1209 nvpbhizc
..0c17 mov a,$fe61+x A:09 X:0a Y:12 SP:01fd YA:1209 nvpbhizc
..0c1a mov $037,a A:07 X:0a Y:12 SP:01fd YA:1207 nvpbhizc
..0c1c mov a,$fe41+x A:07 X:0a Y:12 SP:01fd YA:1207 nvpbhizc
..0c1f mov y,a A:00 X:0a Y:12 SP:01fd YA:1200 nvpbhiZc
..0c20 mov a,$fe40+x A:00 X:0a Y:00 SP:01fd YA:0000 nvpbhiZc
..0c23 addw ya,$036 A:00 X:0a Y:00 SP:01fd YA:0000 nvpbhiZc
..0c25 movw $036,ya A:09 X:0a Y:07 SP:01fd YA:0709 nvpbhizc
..0c27 cmp x,#$10 A:09 X:0a Y:07 SP:01fd YA:0709 nvpbhizc
..0c29 bcs $0c48 A:09 X:0a Y:07 SP:01fd YA:0709 Nvpbhizc
..0c2b mov a,$09c A:09 X:0a Y:07 SP:01fd YA:0709 Nvpbhizc
..0c2d eor a,#$80 A:80 X:0a Y:07 SP:01fd YA:0780 Nvpbhizc
..0c2f push p A:00 X:0a Y:07 SP:01fd YA:0700 nvpbhiZc
..0c30 push a A:00 X:0a Y:07 SP:01fc YA:0700 nvpbhiZc
..0c31 mul ya A:00 X:0a Y:07 SP:01fb YA:0700 nvpbhiZc
..0c32 movw $038,ya A:00 X:0a Y:00 SP:01fb YA:0000 nvpbhiZc
..0c34 pop a A:00 X:0a Y:00 SP:01fb YA:0000 nvpbhiZc
..0c35 mov y,$036 A:00 X:0a Y:00 SP:01fc YA:0000 nvpbhiZc
..0c37 mul ya A:00 X:0a Y:09 SP:01fc YA:0900 nvpbhizc
..0c38 mov a,y A:00 X:0a Y:00 SP:01fc YA:0000 nvpbhiZc
..0c39 mov y,#$00 A:00 X:0a Y:00 SP:01fc YA:0000 nvpbhiZc
..0c3b addw ya,$038 A:00 X:0a Y:00 SP:01fc YA:0000 nvpbhiZc
..0c3d pop p A:00 X:0a Y:00 SP:01fc YA:0000 nvpbhiZc
..0c3e bmi $0c48 A:00 X:0a Y:00 SP:01fd YA:0000 nvpbhiZc
..0c40 asl a A:00 X:0a Y:00 SP:01fd YA:0000 nvpbhiZc
..0c41 push a A:00 X:0a Y:00 SP:01fd YA:0000 nvpbhiZc
..0c42 mov a,y A:00 X:0a Y:00 SP:01fc YA:0000 nvpbhiZc
..0c43 rol a A:00 X:0a Y:00 SP:01fc YA:0000 nvpbhiZc
..0c44 mov y,a A:00 X:0a Y:00 SP:01fc YA:0000 nvpbhiZc
..0c45 pop a A:00 X:0a Y:00 SP:01fc YA:0000 nvpbhiZc
..0c46 addw ya,$036 A:00 X:0a Y:00 SP:01fd YA:0000 nvpbhiZc
..0c48 mov x,$035 A:09 X:0a Y:07 SP:01fd YA:0709 nvpbhizc
..0c4a mov $0f2,x A:09 X:52 Y:07 SP:01fd YA:0709 nvpbhizc
..0c4c mov $0f3,a A:09 X:52 Y:07 SP:01fd YA:0709 nvpbhizc
..0c4e inc x A:09 X:52 Y:07 SP:01fd YA:0709 nvpbhizc
..0c4f mov $0f2,x A:09 X:53 Y:07 SP:01fd YA:0709 nvpbhizc
..0c51 mov $0f3,y A:09 X:53 Y:07 SP:01fd YA:0709 nvpbhizc
..0c53 mov x,$005 A:09 X:53 Y:07 SP:01fd YA:0709 nvpbhizc
..0c55 mov a,$0b2 A:09 X:0a Y:07 SP:01fd YA:0709 nvpbhizc
..0c57 tclr $00c9,a A:20 X:0a Y:07 SP:01fd YA:0720 nvpbhizc
..0c5a tclr $00ca,a A:20 X:0a Y:07 SP:01fd YA:0720 nvpbhiZc
..0c5d ret A:20 X:0a Y:07 SP:01fd YA:0720 nvpbhiZc
; SNES communication
..0caf mov x,$0f4 A:00 X:00 Y:00 SP:01fd YA:0000 nvpbhiZC
..0cb1 beq $0cf0 A:00 X:f1 Y:00 SP:01fd YA:0000 NvpbhizC
..0cb3 movw ya,$0f6 A:00 X:f1 Y:00 SP:01fd YA:0000 NvpbhizC
..0cb5 movw $0b6,ya A:0f X:f1 Y:00 SP:01fd YA:000f nvpbhizC
..0cb7 movw ya,$0f4 A:0f X:f1 Y:00 SP:01fd YA:000f nvpbhizC
..0cb9 movw $0b4,ya A:f1 X:f1 Y:0e SP:01fd YA:0ef1 nvpbhizC
..0cbb cmp a,#$83 A:f1 X:f1 Y:0e SP:01fd YA:0ef1 nvpbhizC
..0cbd bne $0cc1 A:f1 X:f1 Y:0e SP:01fd YA:0ef1 nvpbhizC
..0cc1 mov $0f4,a A:f1 X:f1 Y:0e SP:01fd YA:0ef1 nvpbhizC
..0cc3 cmp a,$0f4 A:f1 X:f1 Y:0e SP:01fd YA:0ef1 nvpbhizC
..0cc5 beq $0cc3 A:f1 X:f1 Y:0e SP:01fd YA:0ef1 nvpbhiZC
..0cc7 mov x,a A:f1 X:f1 Y:0e SP:01fd YA:0ef1 NvpbhizC
..0cc8 bpl $0cd7 A:f1 X:f1 Y:0e SP:01fd YA:0ef1 NvpbhizC
..0cca cmp x,#$fe A:f1 X:f1 Y:0e SP:01fd YA:0ef1 NvpbhizC
..0ccc bne $0cd1 A:f1 X:f1 Y:0e SP:01fd YA:0ef1 Nvpbhizc
..0cd1 mov $0f4,#$00 A:f1 X:f1 Y:0e SP:01fd YA:0ef1 Nvpbhizc
..0cd4 jmp $0ff9 A:f1 X:f1 Y:0e SP:01fd YA:0ef1 Nvpbhizc
..0cfb mov $0fa,#$40 A:ff X:01 Y:5c SP:01fd YA:5cff nvpbHizC
..0cfe mov $0f1,#$01 A:ff X:01 Y:5c SP:01fd YA:5cff nvpbHizC
..0d01 mov a,$0fd A:ff X:01 Y:5c SP:01fd YA:5cff nvpbHizC
..0d03 mov a,$0fd A:00 X:01 Y:5c SP:01fd YA:5c00 nvpbHiZC
..0d05 beq $0d03 A:00 X:01 Y:5c SP:01fd YA:5c00 nvpbHiZC
..0d07 mov $0f1,#$00 A:01 X:01 Y:5c SP:01fd YA:5c01 nVpbHizC
..0d0a mov $0fa,#$24 A:01 X:01 Y:5c SP:01fd YA:5c01 nvpbHizC