forked from DoctorDan1986/ChronoTrigger-MSU1
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathchrono_notes.txt
1570 lines (1481 loc) · 108 KB
/
chrono_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
Chrono Trigger
HiROM 32MBit
==============
= Free Space =
==============
3FF0A/$C3:FF0A to 3FFFF/$C3:FFFF = 245 bytes
4FFC1/$C4:FFC1 to 4FFFF/$C4:FFFF = 62 bytes
5F364/$C5:F364 to 5FFFF/$C5:FFFF = 3227 bytes (we got a winner !)
============================
= JSL to $C70004 Locations =
============================
0x001B73 ($81)
0x001B8B ($10)
0x001BA2 ($19)
0x001BCE ($14)
0x001BDF ($70)
0x001C2A ($81)
0x001C3A ($11)
0x001C52 ($81)
0x001C65 ($82)
0x001C78 ($83)
0x001C89 ($70)
0x001CA9 ($81)
0x001CB7 ($14)
0x001CCF ($81)
0x001CE2 ($82)
0x001CF5 ($83)
0x003C26 ($18)
0x003C43 ($10)
0x003C69 ($81)
0x003C7C ($82)
0x003C8F ($83)
0x003CB4 (variable)
0x011B50 ($19)
0x011B62 ($19)
0x0140DD ($18)
0x0161B5 ($18)
0x0161DF ($??)
0x01620F ($18)
0x020462 ($??)
0x0223F9 (variable)
0x0224F0 ($82)
0x022501 ($83)
0x02264E ($82)
0x022F49 ($10)
0x026BE9 ($18)
0x0280B2 ($70)
0x0280C5 ($18)
0x0280CE ($19)
0x0280E1 ($82)
0x0280EA ($83)
0x02C033 ($F3)
0x02CBF3 ($14)
0x02CC09 ($81)
0x02CF46 ($19)
0x02E6A1 ($F3)
0x02EB1A ($18)
0x0309D1 ($10)
0x030BE9 ($??)
0x031647 (title screen)
0x0D03AB ($81)
0x0D0D70 ($80)
0x0D0D81 ($10)
0x0D3B7D ($18)
0x0D3E54 ($F5)
0x0D3E70 ($F5)
0x3FFC82 ($70)
0x3FFC97 ($18)
============
= Research =
============
$1E00 = Command to do
$10 = Play music
$11 = Resume music
$14 = Pause music
$18 = Play a sample
$19 = Play a battle SFX ?
$81 = Fade
$82 = ?
$83 = ?
$F2 = Stop music ?
$F3 = Set Stereo (0 = Stereo, 1 = Mono)
$F5 = Pause/Unpause ($1e01: $F5 = pause, $00 = unpause)
$1E01 = SFX;Music to play;Fade timing;Pause/Unpause
; When playing a sample
$C7/0632 8D 40 21 STA $2140 [$00:2140] A:0018 X:0400 Y:0001 P:envMxdizc
; Transfering new samples for battle
$C7/08F7 8D 40 21 STA $2140 [$00:2140] A:01FE X:1E00 Y:C9ED P:eNvMxdizC
$C7/09DD 8D 40 21 STA $2140 [$00:2140] A:0127 X:178B Y:0078 P:envMxdizC
$C7/0A6B 8D 40 21 STA $2140 [$00:2140] A:0010 X:0010 Y:00F4 P:envMxdizc
001E01 = Music/SFX to play
; 1.02 Chrono Trigger
$C0/3C39 8D 01 1E STA $1E01 [$00:1E01] A:0118 X:013A Y:013A P:envMxdizc
$C0/3C3C A9 10 LDA #$10 A:0118 X:013A Y:013A P:envMxdizc
$C0/3C3E 8D 00 1E STA $1E00 [$00:1E00] A:0110 X:013A Y:013A P:envMxdizc
$C0/3C41 86 C7 STX $C7 [$00:01C7] A:0110 X:013A Y:013A P:envMxdizc
$C0/3C43 22 04 00 C7 JSL $C70004[$C7:0004] A:0110 X:013A Y:013A P:envMxdizc
; Entering area
$C0/1B83 8D 01 1E STA $1E01 [$00:1E01] A:0108 X:010A Y:0200 P:envMxdIzc ; Secret of the Forest
$C0/1B83 8D 01 1E STA $1E01 [$00:1E01] A:010C X:0126 Y:0200 P:envMxdIzc ; Courage and Pride
$C0/1B83 8D 01 1E STA $1E01 [$00:1E01] A:001E X:000E Y:0002 P:envMxdIzc ; Peaceful Day
$C0/1B83 8D 01 1E STA $1E01 [$00:1E01] A:0006 X:0046 Y:0200 P:envMxdIzc ; Guardia Millenial Fair
$C0/1B86 A9 10 LDA #$10 A:0006 X:0046 Y:0200 P:envMxdIzc
$C0/1B88 8D 00 1E STA $1E00 [$00:1E00] A:0010 X:0046 Y:0200 P:envMxdIzc
$C0/1B8B 22 04 00 C7 JSL $C70004[$C7:0004] A:0010 X:0046 Y:0200 P:envMxdIzc
; Exiting area
$C2/2F28 8D 01 1E STA $1E01 [$00:1E01] A:0001 X:0000 Y:0008 P:envMxdIz
$C2/2F2B 8D AE 02 STA $02AE [$00:02AE] A:001E X:0001 Y:000D P:envMxdIzC
$C2/2F2E 80 0A BRA $0A [$2F3A] A:001E X:0001 Y:000D P:envMxdIzC
$C2/2F3A A9 10 LDA #$10 A:001E X:0001 Y:000D P:envMxdIzC
$C2/2F3C 8D 00 1E STA $1E00 [$00:1E00] A:0010 X:0001 Y:000D P:envMxdIzC
$C2/2F3F A9 FF LDA #$FF A:0010 X:0001 Y:000D P:envMxdIzC
$C2/2F41 8D 02 1E STA $1E02 [$00:1E02] A:00FF X:0001 Y:000D P:eNvMxdIzC
$C2/2F44 A9 80 LDA #$80 A:00FF X:0001 Y:000D P:eNvMxdIzC
$C2/2F46 8D 03 1E STA $1E03 [$00:1E03] A:0080 X:0001 Y:000D P:eNvMxdIzC
$C2/2F49 22 04 00 C7 JSL $C70004[$C7:0004] A:0080 X:0001 Y:000D P:eNvMxdIzC
; On Map, change music
$C2/2EF1 8D 01 1E STA $1E01 [$00:1E01] A:001E X:0001 Y:B500 P:envMxdIzC
$C2/2EF1 8D 01 1E STA $1E01 [$00:1E01] A:000C X:0EB0 Y:000A P:envMxdIzC ; Trigger Fade Out
$C2/2EF1 8D 01 1E STA $1E01 [$00:1E01] A:001E X:0001 Y:B500 P:envMxdIzC ; Song to play
$C2/2EF1 8D 01 1E STA $1E01 [$00:1E01] A:0000 X:0006 Y:B500 P:envMxdIZc ; Play ?
$C2/2EEB 8D 00 1E STA $1E00 [$00:1E00] A:0081 X:0EB0 Y:0009 P:eNvMxdIzc
$C2/2EEE AD E9 1B LDA $1BE9 [$00:1BE9] A:0081 X:0EB0 Y:0009 P:eNvMxdIzc
$C2/2EF1 8D 01 1E STA $1E01 [$00:1E01] A:000C X:0EB0 Y:0009 P:envMxdIzc
$C2/2EF4 AD EA 1B LDA $1BEA [$00:1BEA] A:000C X:0EB0 Y:0009 P:envMxdIzc
$C2/2EF7 8D 02 1E STA $1E02 [$00:1E02] A:0000 X:0EB0 Y:0009 P:envMxdIZc
$C2/2EFA AD EB 1B LDA $1BEB [$00:1BEB] A:0000 X:0EB0 Y:0009 P:envMxdIZc
$C2/2EFD 8D 03 1E STA $1E03 [$00:1E03] A:00FF X:0EB0 Y:0009 P:eNvMxdIzc
$C2/2F00 AD ED 1B LDA $1BED [$00:1BED] A:00FF X:0EB0 Y:0009 P:eNvMxdIzc
$C2/2F03 8D EE 1B STA $1BEE [$00:1BEE] A:0000 X:0EB0 Y:0009 P:envMxdIZc
$C2/2F06 A9 01 LDA #$01 A:0000 X:0EB0 Y:0009 P:envMxdIZc
$C2/2F08 8D EC 1B STA $1BEC [$00:1BEC] A:0001 X:0EB0 Y:0009 P:envMxdIzc
$C2/2F0B 18 CLC A:0001 X:0EB0 Y:0009 P:envMxdIzc
$C2/2F0C 60 RTS A:0001 X:0EB0 Y:0009 P:envMxdIzc
$C2/3034 18 CLC A:0001 X:0EB0 Y:0009 P:envMxdIzc
$C2/3035 60 RTS A:0001 X:0EB0 Y:0009 P:envMxdIzc
$C2/23EF AD EC 1B LDA $1BEC [$00:1BEC] A:0002 X:0002 Y:1130 P:envMxdIzc
$C2/23F2 F0 DB BEQ $DB [$23CF] A:0001 X:0002 Y:1130 P:envMxdIzc
$C2/23F4 A9 FF LDA #$FF A:0001 X:0002 Y:1130 P:envMxdIzc
$C2/23F6 8D EC 1B STA $1BEC [$00:1BEC] A:00FF X:0002 Y:1130 P:eNvMxdIzc
$C2/23F9 22 04 00 C7 JSL $C70004[$C7:0004] A:00FF X:0002 Y:1130 P:eNvMxdIzc
$C2/23FD 9C EC 1B STZ $1BEC [$00:1BEC] A:00FF X:0002 Y:1130 P:envMxdIZc
; Battle
d1f405 jsl $c00008 [c00008] A:0000 X:0000 Y:c9ed S:06e6 D:0000 DB:7e nvMxdiZC V:142 H: 236
c00008 brl $1bab [c01bab] A:0000 X:0000 Y:c9ed S:06e3 D:0000 DB:7e nvMxdiZC V:142 H: 296
c01bab phb A:0000 X:0000 Y:c9ed S:06e3 D:0000 DB:7e nvMxdiZC V:142 H: 326
c01bac phd A:0000 X:0000 Y:c9ed S:06e2 D:0000 DB:7e nvMxdiZC V:142 H: 352
c01bad rep #$20 A:0000 X:0000 Y:c9ed S:06e0 D:0000 DB:7e nvMxdiZC V:142 H: 386
c01baf lda #$0100 A:0000 X:0000 Y:c9ed S:06e0 D:0000 DB:7e nvmxdiZC V:142 H: 410
c01bb2 tcd A:0100 X:0000 Y:c9ed S:06e0 D:0000 DB:7e nvmxdizC V:142 H: 434
c01bb3 sep #$20 A:0100 X:0000 Y:c9ed S:06e0 D:0100 DB:7e nvmxdizC V:142 H: 452
c01bb5 pha A:0100 X:0000 Y:c9ed S:06e0 D:0100 DB:7e nvMxdizC V:142 H: 476
c01bb6 plb A:0100 X:0000 Y:c9ed S:06df D:0100 DB:7e nvMxdizC V:142 H: 502
c01bb7 lda $7e2a1f [7e2a1f] A:0100 X:0000 Y:c9ed S:06e0 D:0100 DB:00 nvMxdiZC V:142 H: 534
c01bbb bit #$40 A:0100 X:0000 Y:c9ed S:06e0 D:0100 DB:00 nvMxdiZC V:142 H: 612
c01bbd bne $1bd5 [c01bd5] A:0100 X:0000 Y:c9ed S:06e0 D:0100 DB:00 nvMxdiZC V:142 H: 630
c01bbf lda #$ff A:0100 X:0000 Y:c9ed S:06e0 D:0100 DB:00 nvMxdiZC V:142 H: 648
c01bc1 sta $1e10 [001e10] A:01ff X:0000 Y:c9ed S:06e0 D:0100 DB:00 NvMxdizC V:142 H: 666
c01bc4 lda $fa [0001fa] A:01ff X:0000 Y:c9ed S:06e0 D:0100 DB:00 NvMxdizC V:142 H: 698
$C0/1BC6 8D 01 1E STA $1E01 [$00:1E01] A:0145 X:0000 Y:C9ED P:envMxdizC
$C0/1BC9 A9 14 LDA #$14 A:0145 X:0000 Y:C9ED P:envMxdizC
$C0/1BCB 8D 00 1E STA $1E00 [$00:1E00] A:0114 X:0000 Y:C9ED P:envMxdizC
$C0/1BCE 22 04 00 C7 JSL $C70004[$C7:0004] A:0114 X:0000 Y:C9ED P:envMxdizC
$C0/1BC6 8D 01 1E STA $1E01 [$00:1E01] A:0145 X:0000 Y:C9ED P:envMxdizC
$C0/1BCE 22 04 00 C7 JSL $C70004[$C7:0004] A:0114 X:0000 Y:C9ED P:envMxdizC
; Before Battle SFX ?
$C0/3C19 8D 01 1E STA $1E01 [$00:1E01] A:016F X:088C Y:088C P:envMxdizc
; Battle end
; Fade out music battle
$CD/03A0 8D 00 1E STA $1E00 [$7E:1E00] A:0081 X:0000 Y:FFFE P:eNvMxdizC
$CD/03A3 A9 10 LDA #$10 A:0081 X:0000 Y:FFFE P:eNvMxdizC
$CD/03A5 8D 01 1E STA $1E01 [$7E:1E01] A:0010 X:0000 Y:FFFE P:envMxdizC
$CD/03A8 9C 02 1E STZ $1E02 [$7E:1E02] A:0010 X:0000 Y:FFFE P:envMxdizC
$CD/03AB 22 04 00 C7 JSL $C70004[$C7:0004] A:0010 X:0000 Y:FFFE P:envMxdizC
c01c13 sta $1e10 [001e10] A:0100 X:f4c0 Y:ffff S:06e3 D:0100 DB:00 nvMxdiZC V:243 H: 618
c01c16 lda #$00 A:0100 X:f4c0 Y:ffff S:06e3 D:0100 DB:00 nvMxdiZC V:243 H: 626
$C0/1C18 8D 01 1E STA $1E01 [$00:1E01] A:0100 X:F4C0 Y:FFFF P:envMxdiZC
$C0/1C1B A9 00 LDA #$00 A:0100 X:F4C0 Y:FFFF P:envMxdiZC
$C0/1C1D 8D 02 1E STA $1E02 [$00:1E02] A:0100 X:F4C0 Y:FFFF P:envMxdiZC
$C0/1C20 A9 FF LDA #$FF A:0100 X:F4C0 Y:FFFF P:envMxdiZC
$C0/1C22 8D 03 1E STA $1E03 [$00:1E03] A:01FF X:F4C0 Y:FFFF P:eNvMxdizC
$C0/1C25 A9 81 LDA #$81 A:01FF X:F4C0 Y:FFFF P:eNvMxdizC
$C0/1C27 8D 00 1E STA $1E00 [$00:1E00] A:0181 X:F4C0 Y:FFFF P:eNvMxdizC
$C0/1C2A 22 04 00 C7 JSL $C70004[$C7:0004] A:0181 X:F4C0 Y:FFFF P:eNvMxdizC
$C0/1C32 8D 01 1E STA $1E01 [$00:1E01] A:0108 X:F4C0 Y:FFFF P:envMxdizC
$C0/1C35 A9 11 LDA #$11 A:0108 X:F4C0 Y:FFFF P:envMxdizC
$C0/1C37 8D 00 1E STA $1E00 [$00:1E00] A:0111 X:F4C0 Y:FFFF P:envMxdizC
$C0/1C3A 22 04 00 C7 JSL $C70004[$C7:0004] A:0111 X:F4C0 Y:FFFF P:envMxdizC
$C0/1C40 8D 01 1E STA $1E01 [$00:1E01] A:0140 X:F4C0 Y:FFFF P:envMxdizC
$C0/1C43 A9 FF LDA #$FF A:0140 X:F4C0 Y:FFFF P:envMxdizC
$C0/1C45 8D 02 1E STA $1E02 [$00:1E02] A:01FF X:F4C0 Y:FFFF P:eNvMxdizC
$C0/1C48 A9 FF LDA #$FF A:01FF X:F4C0 Y:FFFF P:eNvMxdizC
$C0/1C4A 8D 03 1E STA $1E03 [$00:1E03] A:01FF X:F4C0 Y:FFFF P:eNvMxdizC
$C0/1C4D A9 81 LDA #$81 A:01FF X:F4C0 Y:FFFF P:eNvMxdizC
$C0/1C4F 8D 00 1E STA $1E00 [$00:1E00] A:0181 X:F4C0 Y:FFFF P:eNvMxdizC
$C0/1C52 22 04 00 C7 JSL $C70004[$C7:0004] A:0181 X:F4C0 Y:FFFF P:eNvMxdizC
$C0/1C58 8D 01 1E STA $1E01 [$00:1E01] A:0100 X:F4C0 Y:FFFF P:envMxdiZC
$C0/1C5B A9 FF LDA #$FF A:0100 X:F4C0 Y:FFFF P:envMxdiZC
$C0/1C5D 8D 02 1E STA $1E02 [$00:1E02] A:01FF X:F4C0 Y:FFFF P:eNvMxdizC
$C0/1C60 A9 82 LDA #$82 A:01FF X:F4C0 Y:FFFF P:eNvMxdizC
$C0/1C62 8D 00 1E STA $1E00 [$00:1E00] A:0182 X:F4C0 Y:FFFF P:eNvMxdiz
$C0/1C6B 8D 01 1E STA $1E01 [$00:1E01] A:0100 X:F4C0 Y:FFFF P:envMxdiZC
$C0/1C6E A9 FF LDA #$FF A:0100 X:F4C0 Y:FFFF P:envMxdiZC
$C0/1C70 8D 02 1E STA $1E02 [$00:1E02] A:01FF X:F4C0 Y:FFFF P:eNvMxdizC
$C0/1C73 A9 83 LDA #$83 A:01FF X:F4C0 Y:FFFF P:eNvMxdizC
$C0/1C75 8D 00 1E STA $1E00 [$00:1E00] A:0183 X:F4C0 Y:FFFF P:eNvMxdizC
$C0/1C78 22 04 00 C7 JSL $C70004[$C7:0004] A:0183 X:F4C0 Y:FFFF P:eNvMxdizC
; Game Intro
First song is $C0/3C43 (Leene Bell)
$C0/3C39 8D 01 1E STA $1E01 [$00:1E01] A:0112 X:01A9 Y:01A9 P:envMxdIzc
$C0/3C3C A9 10 LDA #$10 A:0112 X:01A9 Y:01A9 P:envMxdIzc
$C0/3C3E 8D 00 1E STA $1E00 [$00:1E00] A:0110 X:01A9 Y:01A9 P:envMxdIzc
$C0/3C41 86 C7 STX $C7 [$00:01C7] A:0110 X:01A9 Y:01A9 P:envMxdIzc
$C0/3C43 22 04 00 C7 JSL $C70004[$C7:0004] A:0110 X:01A9 Y:01A9 P:envMxdIzc
; Opening a black chest / Collecting fanfare (interrupt music)
$C0/3CA1 E8 INX A:0114 X:01E5 Y:01E5 P:envMxdizc
$C0/3CA2 BF 01 20 7F LDA $7F2001,x[$7F:21E7] A:0114 X:01E6 Y:01E5 P:envMxdizc
$C0/3CA6 8D 01 1E STA $1E01 [$00:1E01] A:012E X:01E6 Y:01E5 P:envMxdizc
$C0/3CA9 E8 INX A:012E X:01E6 Y:01E5 P:envMxdizc
$C0/3CAA BF 01 20 7F LDA $7F2001,x[$7F:21E8] A:012E X:01E7 Y:01E5 P:envMxdizc
$C0/3CAE 8D 02 1E STA $1E02 [$00:1E02] A:0100 X:01E7 Y:01E5 P:envMxdiZc
$C0/3CB1 E8 INX A:0100 X:01E7 Y:01E5 P:envMxdiZc
$C0/3CB2 86 C7 STX $C7 [$00:01C7] A:0100 X:01E8 Y:01E5 P:envMxdizc
$C0/3CB4 22 04 00 C7 JSL $C70004[$C7:0004] A:0100 X:01E8 Y:01E5 P:envMxdizc
$C0/3C39 8D 01 1E STA $1E01 [$00:1E01] A:011E X:01EC Y:01EC P:envMxdizc
$C0/3C3C A9 10 LDA #$10 A:011E X:01EC Y:01EC P:envMxdizc
$C0/3C3E 8D 00 1E STA $1E00 [$00:1E00] A:0110 X:01EC Y:01EC P:envMxdizc
$C0/3C41 86 C7 STX $C7 [$00:01C7] A:0110 X:01EC Y:01EC P:envMxdizc
$C0/3C43 22 04 00 C7 JSL $C70004[$C7:0004] A:0110 X:01EC Y:01EC P:envMxdizc
; In NMI routine (on overworld)
$00/FF10 5C 00 05 00 JMP $000500[$00:0500] A:0000 X:08B3 Y:0038 P:envmxdIZC
$00/0500 5C B3 08 C3 JMP $C308B3[$C3:08B3] A:0000 X:08B3 Y:0038 P:envmxdIZC
; In title screen
; 0x335AF in ROM (copied to WRAM)
$7E/5AAA AD 43 21 LDA $2143 [$00:2143] A:2100 X:FFFF Y:0090 P:envMxdIZc
$7E/5AAD 29 0F AND #$0F A:2100 X:FFFF Y:0090 P:envMxdIZc
$7E/5AAF F0 F9 BEQ $F9 [$5AAA]
; Wait for song to finish in the game introduction
$C0/3CC6 AD 43 21 LDA $2143 [$00:2143] A:01DC X:0669 Y:0669 P:envMxdizc
$C0/3CC9 29 0F AND #$0F A:010F X:0669 Y:0669 P:envMxdizc
$C0/3CCB D0 01 BNE $01 [$3CCE] A:010F X:0669 Y:0669 P:envMxdizc
$C0/3CCD E8 INX A:0100 X:0669 Y:0669 P:envMxdiZc
$C0/3CCE 18 CLC A:0100 X:066A Y:0669 P:envMxdizc
$C0/3CCF 60 RTS A:0100 X:066A Y:0669 P:envMxdizc
; When entering switch character on overworld
$C2/CBE0 AF 43 21 00 LDA $002143[$00:2143] A:0A00 X:FF01 Y:FFFF P:envMxdiZc
$C2/CBE4 29 0F AND #$0F A:0A00 X:FF01 Y:FFFF P:envMxdiZc
$C2/CBE6 F0 F8 BEQ $F8 [$CBE0] A:0A00 X:FF01 Y:FFFF P:envMxdiZc
$C2/CBE8 4C 16 82 JMP $8216 [$C2:8216] A:0A0F X:FF01 Y:FFFF P:envMxdizc
$C2/8216 E2 30 SEP #$30 A:0A0F X:FF01 Y:FFFF P:envMxdizc
$C2/8218 A6 6E LDX $6E [$00:006E] A:0A0F X:0001 Y:00FF P:envMXdizc
; Setting music for attract
c03c30 tyx A:01d4 X:01d4 Y:013a S:06f5 D:0100 DB:00 nvMxdizc V:256 H: 928
c03c31 lda $7f2001,x [7f213b] A:01d4 X:013a Y:013a S:06f5 D:0100 DB:00 nvMxdizc V:256 H: 946
c03c35 sta $7e29ae [7e29ae] A:0118 X:013a Y:013a S:06f5 D:0100 DB:00 nvMxdizc V:256 H: 984
c03c39 sta $1e01 [001e01] A:0118 X:013a Y:013a S:06f5 D:0100 DB:00 nvMxdizc V:256 H:1022
; Music to play during attract
7f208b = 0x3A659c = $FA659C
7f213b = 0x1B6E03 = $DB6E03
7f21cb = 0x3a4925 = $FA4925
7f2206 = 0x3a4962 = $FA4962
7f22cb = 0x3a24a4 = $FA24A4
7f236d = 0x3a28fa = $FA28FA
// Pause during combat
; Pressing pause
70620 sta $2143 [002143] A:0009 X:1e00 Y:0000 S:06d3 D:1e00 DB:00 nvMxdizc V: 59 H: 276
c70623 lda $02 [001e02] A:0009 X:1e00 Y:0000 S:06d3 D:1e00 DB:00 nvMxdizc V: 59 H: 282
c70625 sta $2142 [002142] A:0080 X:1e00 Y:0000 S:06d3 D:1e00 DB:00 NvMxdizc V: 59 H: 308
Breakpoint 2 hit (4).
c70625 sta $2142 [002142] A:0080 X:1e00 Y:0000 S:06d3 D:1e00 DB:00 NvMxdizc V: 59 H: 332
c70628 lda $01 [001e01] A:0080 X:1e00 Y:0000 S:06d3 D:1e00 DB:00 NvMxdizc V: 59 H: 338
c7062a sta $2141 [002141] A:00f5 X:1e00 Y:0000 S:06d3 D:1e00 DB:00 NvMxdizc V: 59 H: 364
Breakpoint 1 hit (4).
c7062a sta $2141 [002141] A:00f5 X:1e00 Y:0000 S:06d3 D:1e00 DB:00 NvMxdizc V: 59 H: 388
c7062d lda $00 [001e00] A:00f5 X:1e00 Y:0000 S:06d3 D:1e00 DB:00 NvMxdizc V: 59 H: 394
c7062f ldx #$0400 A:00f5 X:1e00 Y:0000 S:06d3 D:1e00 DB:00 NvMxdizc V: 59 H: 420
c70632 sta $2140 [002140] A:00f5 X:0400 Y:0000 S:06d3 D:1e00 DB:00 nvMxdizc V: 59 H: 444
; Unpause
c70620 sta $2143 [002143] A:0009 X:1e00 Y:0000 S:06d3 D:1e00 DB:00 nvMxdizc V:239 H: 888
c70623 lda $02 [001e02] A:0009 X:1e00 Y:0000 S:06d3 D:1e00 DB:00 nvMxdizc V:239 H: 894
c70625 sta $2142 [002142] A:0080 X:1e00 Y:0000 S:06d3 D:1e00 DB:00 NvMxdizc V:239 H: 920
Breakpoint 2 hit (5).
c70625 sta $2142 [002142] A:0080 X:1e00 Y:0000 S:06d3 D:1e00 DB:00 NvMxdizc V:239 H: 944
c70628 lda $01 [001e01] A:0080 X:1e00 Y:0000 S:06d3 D:1e00 DB:00 NvMxdizc V:239 H: 950
c7062a sta $2141 [002141] A:0000 X:1e00 Y:0000 S:06d3 D:1e00 DB:00 nvMxdiZc V:239 H: 976
Breakpoint 1 hit (5).
c7062a sta $2141 [002141] A:0000 X:1e00 Y:0000 S:06d3 D:1e00 DB:00 nvMxdiZc V:239 H:1000
c7062d lda $00 [001e00] A:0000 X:1e00 Y:0000 S:06d3 D:1e00 DB:00 nvMxdiZc V:239 H:1006
c7062f ldx #$0400 A:00f5 X:1e00 Y:0000 S:06d3 D:1e00 DB:00 NvMxdizc V:239 H:1032
c70632 sta $2140 [002140] A:00f5 X:0400 Y:0000 S:06d3 D:1e00 DB:00 nvMxdizc V:239 H:1056
Breakpoint 0 hit (5).
c70632 sta $2140 [002140] A:00f5 X:0400 Y:0000 S:06d3 D:1e00 DB:00 nvMxdizc V:239 H:1080
c70635 cmp $2140 [002140] A:00f5 X:0400 Y:0000 S:06d3 D:1e00 DB:00 nvMxdizc V:239 H:1086
7e3194 sta $1e00 [001e00] A:43f2 X:03d3 Y:0090 S:06fb D:0000 DB:00 NvMxdIzC V:152 H: 490
7e3197 jsr $377e [7e377e] A:43f2 X:03d3 Y:0090 S:06fb D:0000 DB:00 NvMxdIzC V:152 H: 498
7e377e sep #$20 A:43f2 X:03d3 Y:0090 S:06f9 D:0000 DB:00 NvMxdIzC V:152 H: 592
7e3780 ldx #$0400 A:43f2 X:03d3 Y:0090 S:06f9 D:0000 DB:00 NvMxdIzC V:152 H: 622
7e3783 lda $1e03 [001e03] A:43f2 X:0400 Y:0090 S:06f9 D:0000 DB:00 nvMxdIzC V:152 H: 654
7e3786 sta $2143 [002143] A:4305 X:0400 Y:0090 S:06f9 D:0000 DB:00 nvMxdIzC V:152 H: 694
7e3789 lda $1e02 [001e02] A:4305 X:0400 Y:0090 S:06f9 D:0000 DB:00 nvMxdIzC V:152 H: 732
7e378c sta $2142 [002142] A:4300 X:0400 Y:0090 S:06f9 D:0000 DB:00 nvMxdIZC V:152 H: 772
7e378f lda $1e01 [001e01] A:4300 X:0400 Y:0090 S:06f9 D:0000 DB:00 nvMxdIZC V:152 H: 810
7e3792 sta $2141 [002141] A:4300 X:0400 Y:0090 S:06f9 D:0000 DB:00 nvMxdIZC V:152 H: 850
7e3795 lda $1e00 [001e00] A:4300 X:0400 Y:0090 S:06f9 D:0000 DB:00 nvMxdIZC V:152 H: 888
7e3798 sta $2140 [002140] A:43f2 X:0400 Y:0090 S:06f9 D:0000 DB:00 NvMxdIzC V:152 H: 928
7e379b cmp $2140 [002140] A:43f2 X:0400 Y:0090 S:06f9 D:0000 DB:00 NvMxdIzC V:152 H: 966
7e379e beq $37a5 [7e37a5] A:43f2 X:0400 Y:0090 S:06f9 D:0000 DB:00 nvMxdIzC V:152 H:1004
=====================
= Epoch 1999 AD fix =
=====================
For this fix, we need to modify the event script 114 of location 1B4 (Flying Epoch)
3A8F4F 3A9751 EVENT Y (114) Location Event Data 2003.07.10
Event data is compressed but in our case we do want the modification to be replicated 3 times.
$2142 check in event data = 0x3a96b1
; This is called by the Mode 7 routine
$C3/0AFF 20 03 0B JSR $0B03 [$C3:0B03] A:0B00 X:0008 Y:00B8 P:envmxdIzc
$C3/0B03 B2 20 LDA ($20) [$7E:7E9F] A:0B00 X:0008 Y:00B8 P:envmxdIzc
$C3/0B05 E6 20 INC $20 [$00:0B20] A:04F5 X:0008 Y:00B8 P:envmxdIzc
$C3/0B07 89 80 00 BIT #$0080 A:04F5 X:0008 Y:00B8 P:envmxdIzc
$C3/0B0A D0 49 BNE $49 [$0B55] A:04F5 X:0008 Y:00B8 P:envmxdIzc
$C3/0B55 85 F0 STA $F0 [$00:0BF0] A:04F5 X:0008 Y:00B8 P:envmxdIzc
$C3/0B57 29 F0 00 AND #$00F0 A:04F5 X:0008 Y:00B8 P:envmxdIzc
$C3/0B5A C9 80 00 CMP #$0080 A:00F0 X:0008 Y:00B8 P:envmxdIzc
$C3/0B5D D0 03 BNE $03 [$0B62] A:00F0 X:0008 Y:00B8 P:envmxdIzC
$C3/0B62 C9 90 00 CMP #$0090 A:00F0 X:0008 Y:00B8 P:envmxdIzC
$C3/0B65 D0 03 BNE $03 [$0B6A] A:00F0 X:0008 Y:00B8 P:envmxdIzC
$C3/0B6A A5 F0 LDA $F0 [$00:0BF0] A:00F0 X:0008 Y:00B8 P:envmxdIzC
$C3/0B6C 29 0F 00 AND #$000F A:04F5 X:0008 Y:00B8 P:envmxdIzC
$C3/0B6F 0A ASL A A:0005 X:0008 Y:00B8 P:envmxdIzC
$C3/0B70 AA TAX A:000A X:0008 Y:00B8 P:envmxdIzc
$C3/0B71 7C 74 0B JMP ($0B74,x)[$C3:0C2A] A:000A X:000A Y:00B8 P:envmxdIzc
$C3/0C2A E2 20 SEP #$20 A:000A X:000A Y:00B8 P:envmxdIzc
$C3/0C2C AF 42 21 00 LDA $002142[$00:2142] A:000A X:000A Y:00B8 P:envMxdIzc
$C3/0C30 CF 42 21 00 CMP $002142[$00:2142] A:0000 X:000A Y:00B8 P:envMxdIZc
$C3/0C34 D0 F4 BNE $F4 [$0C2A] A:0000 X:000A Y:00B8 P:envMxdIZC
$C3/0C36 29 0F AND #$0F A:0000 X:000A Y:00B8 P:envMxdIZC
$C3/0C38 D2 20 CMP ($20) [$7E:7EA0] A:0000 X:000A Y:00B8 P:envMxdIZC
$C3/0C3A 10 EC BPL $EC [$0C28] A:0000 X:000A Y:00B8 P:eNvMxdIzc
$C3/0C3C C2 20 REP #$20 A:0000 X:000A Y:00B8 P:eNvMxdIzc
$C3/0C3E C6 20 DEC $20 [$00:0B20] A:0000 X:000A Y:00B8 P:eNvmxdIzc
$C3/0C40 60 RTS A:0000 X:000A Y:00B8 P:envmxdIzc
=================
= Fade Research =
=================
c7061c sep #$20 A:1981 X:1e00 Y:0200 S:06ee D:1e00 DB:00 NvMxdIzc V: 17 H: 22
c7061e lda $03 [001e03] A:1981 X:1e00 Y:0200 S:06ee D:1e00 DB:00 NvMxdIzc V: 17 H: 46
c70620 sta $2143 [002143] A:19ff X:1e00 Y:0200 S:06ee D:1e00 DB:00 NvMxdIzc V: 17 H: 72
c70623 lda $02 [001e02] A:19ff X:1e00 Y:0200 S:06ee D:1e00 DB:00 NvMxdIzc V: 17 H: 102
c70625 sta $2142 [002142] A:19ff X:1e00 Y:0200 S:06ee D:1e00 DB:00 NvMxdIzc V: 17 H: 128
c70628 lda $01 [001e01] A:19ff X:1e00 Y:0200 S:06ee D:1e00 DB:00 NvMxdIzc V: 17 H: 158
c7062a sta $2141 [002141] A:1900 X:1e00 Y:0200 S:06ee D:1e00 DB:00 nvMxdIZc V: 17 H: 184
c7062d lda $00 [001e00] A:0000 X:1e00 Y:12b0 S:06f2 D:1e00 DB:00 nvMxdIZc V:151 H:1220
c7062f ldx #$0400 A:1981 X:1e00 Y:0200 S:06ee D:1e00 DB:00 NvMxdIzc V: 17 H: 240
c70632 sta $2140 [002140] A:1981 X:0400 Y:0200 S:06ee D:1e00 DB:00 nvMxdIzc V: 17 H: 264
c70635 cmp $2140 [002140] A:1981 X:0400 Y:0200 S:06ee D:1e00 DB:00 nvMxdIzc V: 17 H: 294
c70638 beq $0643 [c70643] A:1981 X:0400 Y:0200 S:06ee D:1e00 DB:00 NvMxdIzc V: 17 H: 324
c7063a dex A:1981 X:0400 Y:0200 S:06ee D:1e00 DB:00 NvMxdIzc V: 17 H: 342
c7063b bne $0635 [c70635] A:1981 X:03ff Y:0200 S:06ee D:1e00 DB:00 nvMxdIzc V: 17 H: 360
..0299 call $0b96 A:16 X:00 Y:00 SP:01ff YA:0016 nvpbhiZc
..029c mov y,$0fd A:00 X:00 Y:ea SP:01ff YA:ea00 nvpbhiZc
..02ec call $1492 A:00 X:22 Y:00 SP:01ff YA:0000 nvpbhiZc
..02ef call $0377 A:00 X:0b Y:e9 SP:01ff YA:e900 nvpbHiZc
..02f2 call $08cd A:ad X:0e Y:00 SP:01ff YA:00ad Nvpbhizc
..02f5 bbs4 $087,$0299 A:00 X:00 Y:00 SP:01ff YA:0000 nvpbhiZc
..02f8 mov x,#$00 A:00 X:00 Y:00 SP:01ff YA:0000 nvpbhiZc
..02fa mov $091,#$01 A:00 X:00 Y:00 SP:01ff YA:0000 nvpbhiZc
..02fd mov a,$086 A:00 X:00 Y:00 SP:01ff YA:0000 nvpbhiZc
..02ff eor a,#$ff A:00 X:00 Y:00 SP:01ff YA:0000 nvpbhiZc
..0301 and a,$053 A:ff X:00 Y:00 SP:01ff YA:00ff Nvpbhizc
..0303 and a,$024 A:7f X:00 Y:00 SP:01ff YA:007f nvpbhizc
..0305 mov $0a3,a A:77 X:00 Y:00 SP:01ff YA:0077 nvpbhizc
..0307 mov a,$f161 A:77 X:00 Y:00 SP:01ff YA:0077 nvpbhizc
..030a mov $0a8,a A:ff X:00 Y:00 SP:01ff YA:00ff Nvpbhizc
..030c bra $0323 A:ff X:00 Y:00 SP:01ff YA:00ff Nvpbhizc
..030e mov $0a6,x A:ff X:00 Y:00 SP:01ff YA:00ff nvpbhizC
..0310 mov a,$086 A:ff X:00 Y:00 SP:01ff YA:00ff nvpbhizC
..0312 bne $0319 A:00 X:00 Y:00 SP:01ff YA:0000 nvpbhiZC
..0314 call $0903 A:00 X:00 Y:00 SP:01ff YA:0000 nvpbhiZC
..0317 bra $031c A:00 X:00 Y:01 SP:01ff YA:0100 nvpbhiZc
..031c call $0892 A:00 X:00 Y:01 SP:01ff YA:0100 nvpbhiZc
..031f inc x A:00 X:00 Y:00 SP:01ff YA:0000 nvpbhiZC
..0320 inc x A:00 X:01 Y:00 SP:01ff YA:0000 nvpbhizC
..0321 asl $091 A:00 X:02 Y:00 SP:01ff YA:0000 nvpbhizC
..0323 lsr $0a3 A:00 X:02 Y:00 SP:01ff YA:0000 nvpbhizc
..0325 bcs $030e A:00 X:02 Y:00 SP:01ff YA:0000 nvpbhizC
..0323 lsr $0a3 A:ff X:00 Y:00 SP:01ff YA:00ff Nvpbhizc
..0325 bcs $030e A:ff X:00 Y:00 SP:01ff YA:00ff nvpbhizC
..03a3 mov $0a6,x A:0c X:08 Y:81 SP:01fd YA:810c nvpbhizC
..03a5 dec $026+x A:0c X:08 Y:81 SP:01fd YA:810c nvpbhizC
..03a7 bne $03b3 A:0c X:08 Y:81 SP:01fd YA:810c nvpbhizC
..03e0 call $0892 A:00 X:06 Y:00 SP:01fd YA:0000 nvpbhiZc
..03e3 inc x A:0c X:06 Y:81 SP:01fd YA:810c Nvpbhizc
..03e4 inc x A:0c X:07 Y:81 SP:01fd YA:810c nvpbhizc
..03e5 asl $091 A:0c X:08 Y:81 SP:01fd YA:810c nvpbhizc
..03e7 lsr $0a3 A:0c X:08 Y:81 SP:01fd YA:810c nvpbhizc
..03e9 bcs $03a3 A:0c X:08 Y:81 SP:01fd YA:810c nvpbhizC
..07a8 mov $0f1,#$13 A:0c X:06 Y:81 SP:01f9 YA:810c Nvpbhizc ; Activate all timers & Clear Port 0 and 1
..07ab mov $0f1,#$03 A:0c X:06 Y:81 SP:01f9 YA:810c Nvpbhizc ;
..07ae ret A:0c X:06 Y:81 SP:01f9 YA:810c Nvpbhizc
..07bd mov a,$f2c0+x A:00 X:06 Y:00 SP:01fb YA:0000 nvpbhiZc
..07c0 beq $07e1 A:00 X:06 Y:00 SP:01fb YA:0000 nvpbhiZc
..07e4 beq $0805 A:00 X:0e Y:00 SP:01fb YA:0000 nvpbHiZc
..0805 mov a,$f4e0+x A:00 X:06 Y:00 SP:01fb YA:0000 nvpbhiZc
..0808 mov $09b,a A:00 X:06 Y:00 SP:01fb YA:0000 nvpbhiZc
..080a mov a,$f3c0+x A:00 X:06 Y:00 SP:01fb YA:0000 nvpbhiZc
..080d mov $09c,a A:00 X:06 Y:00 SP:01fb YA:0000 nvpbhiZc
..080f mov a,$f3c1+x A:00 X:06 Y:00 SP:01fb YA:0000 nvpbhiZc
..0812 mov $09d,a A:00 X:06 Y:00 SP:01fb YA:0000 nvpbhiZc
..0814 movw ya,$09b A:00 X:06 Y:00 SP:01fb YA:0000 nvpbhiZc
..0816 bne $081c A:00 X:06 Y:00 SP:01fb YA:0000 nvpbhiZc
..0818 mov a,$09d A:00 X:06 Y:00 SP:01fb YA:0000 nvpbhiZc
..081a beq $084a A:00 X:06 Y:00 SP:01fb YA:0000 nvpbhiZc
..084a mov a,$0171+x A:00 X:06 Y:00 SP:01fb YA:0000 nvpbhiZc
..084d beq $0891 A:00 X:06 Y:00 SP:01fb YA:0000 nvpbhiZc
..0891 ret A:00 X:06 Y:00 SP:01fb YA:0000 nvpbhiZc
SNESCommunication:
..0892 mov a,$0f4 A:00 X:06 Y:00 SP:01fb YA:0000 nvpbhiZc
..0894 beq $08cc A:81 X:06 Y:00 SP:01fb YA:0081 Nvpbhizc
..0896 cmp a,$0f4 A:81 X:06 Y:00 SP:01fb YA:0081 Nvpbhizc
..0898 bne $0892 A:81 X:06 Y:00 SP:01fb YA:0081 nvpbhiZC
..089a cmp a,#$fe A:81 X:06 Y:00 SP:01fb YA:0081 nvpbhiZC
..089c beq $08cc A:81 X:06 Y:00 SP:01fb YA:0081 Nvpbhizc
..089e cmp a,#$10 A:81 X:06 Y:00 SP:01fb YA:0081 Nvpbhizc
..08a0 bcc $08a6 A:81 X:06 Y:00 SP:01fb YA:0081 nvpbhizC
..08a2 cmp a,#$18 A:81 X:06 Y:00 SP:01fb YA:0081 nvpbhizC
..08a4 bcc $08cc A:81 X:06 Y:00 SP:01fb YA:0081 nvpbhizC
..08a6 push x A:81 X:06 Y:00 SP:01fb YA:0081 nvpbhizC
..08a7 mov x,$0d7 A:81 X:06 Y:00 SP:01fa YA:0081 nvpbhizC
..08a9 mov $f172+x,a A:81 X:08 Y:00 SP:01fa YA:0081 nvpbhizC
..08ac mov y,a A:81 X:08 Y:00 SP:01fa YA:0081 nvpbhizC
..08ad mov a,$0f5 A:81 X:08 Y:81 SP:01fa YA:8181 NvpbhizC
..08af mov $f173+x,a A:00 X:08 Y:81 SP:01fa YA:8100 nvpbhiZC
..08b2 mov a,$0f6 A:00 X:08 Y:81 SP:01fa YA:8100 nvpbhiZC
..08b4 mov $f174+x,a A:ff X:08 Y:81 SP:01fa YA:81ff NvpbhizC
..08b7 mov a,$0f7 A:ff X:08 Y:81 SP:01fa YA:81ff NvpbhizC
..08b9 mov $f175+x,a A:ff X:08 Y:81 SP:01fa YA:81ff NvpbhizC
..08bc mov a,x A:ff X:08 Y:81 SP:01fa YA:81ff NvpbhizC
..08bd clrc A:08 X:08 Y:81 SP:01fa YA:8108 nvpbhizC
..08be adc a,#$04 A:08 X:08 Y:81 SP:01fa YA:8108 nvpbhizc
..08c0 cmp a,#$40 A:0c X:08 Y:81 SP:01fa YA:810c nvpbhizc
..08c2 bcs $08c6 A:0c X:08 Y:81 SP:01fa YA:810c Nvpbhizc
..08c4 mov $0d7,a A:0c X:08 Y:81 SP:01fa YA:810c Nvpbhizc
..08c6 pop x A:0c X:08 Y:81 SP:01fa YA:810c Nvpbhizc
..08c7 call $07a8 A:0c X:06 Y:81 SP:01fb YA:810c Nvpbhizc
..08ca mov $0f4,y A:0c X:06 Y:81 SP:01fb YA:810c Nvpbhizc
..08cc ret A:0c X:06 Y:81 SP:01fb YA:810c Nvpbhizc
..08d4 mov $08d,a A:81 X:00 Y:00 SP:01fd YA:0081 Nvpbhizc
..08d6 mov a,$f173+x A:81 X:00 Y:00 SP:01fd YA:0081 Nvpbhizc
..08d9 mov $08e,a A:00 X:00 Y:00 SP:01fd YA:0000 nvpbhiZc
..08db mov a,$f174+x A:00 X:00 Y:00 SP:01fd YA:0000 nvpbhiZc
..08de mov $08f,a A:ff X:00 Y:00 SP:01fd YA:00ff Nvpbhizc
..08e0 mov a,$f175+x A:ff X:00 Y:00 SP:01fd YA:00ff Nvpbhizc
..08e3 mov $090,a A:ff X:00 Y:00 SP:01fd YA:00ff Nvpbhizc
..08e5 push x A:ff X:00 Y:00 SP:01fd YA:00ff Nvpbhizc
..08e6 call $0bac A:ff X:00 Y:00 SP:01fc YA:00ff Nvpbhizc
..08e9 pop a A:ff X:00 Y:ff SP:01fc YA:ffff Nvpbhizc
..08ea clrc A:00 X:00 Y:ff SP:01fd YA:ff00 Nvpbhizc
..08eb adc a,#$04 A:00 X:00 Y:ff SP:01fd YA:ff00 Nvpbhizc
..08ed mov x,a A:04 X:00 Y:ff SP:01fd YA:ff04 nvpbhizc
..08ee cmp x,#$40 A:04 X:04 Y:ff SP:01fd YA:ff04 nvpbhizc
..08f0 bne $08cf A:04 X:04 Y:ff SP:01fd YA:ff04 Nvpbhizc
..08cf mov a,$f172+x A:04 X:04 Y:ff SP:01fd YA:ff04 Nvpbhizc
..08d2 beq $08f2 A:00 X:04 Y:ff SP:01fd YA:ff00 nvpbhiZc
..08f2 mov a,x A:00 X:04 Y:ff SP:01fd YA:ff00 nvpbhiZc
..08f3 beq $0900 A:04 X:04 Y:ff SP:01fd YA:ff04 nvpbhizc
..08f5 mov a,#$00 A:04 X:04 Y:ff SP:01fd YA:ff04 nvpbhizc
..08f7 mov $f16e+x,a A:00 X:04 Y:ff SP:01fd YA:ff00 nvpbhiZc
; Called when setting Channel Volume
..0a53 mul ya A:80 X:00 Y:2c SP:01fd YA:2c80 nvpbhizc
..0a54 mov a,y A:00 X:00 Y:16 SP:01fd YA:1600 nvpbhizc
..0a55 mov y,$09b A:16 X:00 Y:16 SP:01fd YA:1616 nvpbhizc
..0a57 mov $00be+y,a A:16 X:00 Y:01 SP:01fd YA:0116 nvpbhizc
..0a5a mov y,$09c A:16 X:00 Y:01 SP:01fd YA:0116 nvpbhizc
..0a5c mov $0f2,y A:20 X:00 Y:00 SP:01fd YA:0020 nvpbhiZc
..0a5e mov $0f3,a A:20 X:00 Y:00 SP:01fd YA:0020 nvpbhiZc
..0a60 not1 c,$009b:0 A:15 X:00 Y:00 SP:01fd YA:0015 nvpbhiZc
..0a63 inc $09c A:15 X:00 Y:00 SP:01fd YA:0015 nvpbhiZc
..0a65 bbs1 $09c,$0a70 A:15 X:00 Y:00 SP:01fd YA:0015 nvpbhizc
..0a68 mov a,$09d A:15 X:00 Y:00 SP:01fd YA:0015 nvpbhizc
..0a6a eor a,#$ff A:7f X:00 Y:00 SP:01fd YA:007f nvpbhizc
..0a6c mov y,$09e A:80 X:00 Y:00 SP:01fd YA:0080 Nvpbhizc
..0a6e bra $0a53 A:80 X:00 Y:2c SP:01fd YA:2c80 nvpbhizc
..0a70 mov a,$091 A:16 X:00 Y:01 SP:01fd YA:0116 nvpbhizc
..0a72 and a,$0d1 A:01 X:00 Y:01 SP:01fd YA:0101 nvpbhizc
..0a74 beq $0add A:00 X:00 Y:01 SP:01fd YA:0100 nvpbhiZc
..0add ret A:00 X:00 Y:01 SP:01fd YA:0100 nvpbhiZc
; When Command $81 is read in the SPC700
..0b96 mov x,$0f4 A:16 X:00 Y:00 SP:01fd YA:0016 nvpbhiZc
..0b98 bne $0b9d A:16 X:81 Y:00 SP:01fd YA:0016 Nvpbhizc
..0b9d cmp x,$0f4 A:16 X:81 Y:00 SP:01fd YA:0016 Nvpbhizc
..0b9f bne $0b9b A:16 X:81 Y:00 SP:01fd YA:0016 nvpbhiZC
..0ba1 movw ya,$0f6 A:16 X:81 Y:00 SP:01fd YA:0016 nvpbhiZC ; Reading $2142-2143 from SNES
..0ba3 movw $08f,ya A:00 X:81 Y:ff SP:01fd YA:ff00 NvpbhizC
..0ba5 movw ya,$0f4 A:00 X:81 Y:ff SP:01fd YA:ff00 NvpbhizC ; Reading $2140-2131 from SNES
..0ba7 movw $08d,ya A:81 X:81 Y:0c SP:01fd YA:0c81 nvpbhizC
..0ba9 call $07a8 A:81 X:81 Y:0c SP:01fd YA:0c81 nvpbhizC ; Start the timers
..0bac mov x,$08d A:10 X:10 Y:01 SP:01fd YA:0110 nvpbhizC
..0bae mov a,x A:10 X:10 Y:01 SP:01fd YA:0110 nvpbhizC
..0baf bpl $0bb6 A:10 X:10 Y:01 SP:01fd YA:0110 nvpbhizC
..0bb1 mov $0f4,x A:81 X:81 Y:00 SP:01fa YA:0081 Nvpbhizc ; Ping-back the SNES that we acknowledge the command
..0bb3 jmp $0dfb A:81 X:81 Y:00 SP:01fa YA:0081 Nvpbhizc
..0bb6 cmp x,#$10 A:10 X:10 Y:01 SP:01fd YA:0110 nvpbhizC
..0bb8 bcc $0bd5 A:10 X:10 Y:01 SP:01fd YA:0110 nvpbhiZC
..0bba cmp x,#$20 A:10 X:10 Y:01 SP:01fd YA:0110 nvpbhiZC
..0bbc bcs $0bd5 A:10 X:10 Y:01 SP:01fd YA:0110 Nvpbhizc
..0bbe and a,#$0f A:10 X:10 Y:01 SP:01fd YA:0110 Nvpbhizc
..0bc0 asl a A:00 X:10 Y:01 SP:01fd YA:0100 nvpbhiZc
..0bc1 mov y,a A:00 X:10 Y:01 SP:01fd YA:0100 nvpbhiZc
..0bc2 mov a,$1681+y A:00 X:10 Y:00 SP:01fd YA:0000 nvpbhiZc
..0bc5 push a A:0b X:10 Y:00 SP:01fd YA:000b nvpbhizc
..0bc6 mov a,$1680+y A:0b X:10 Y:00 SP:01fc YA:000b nvpbhizc
..0bc9 push a A:db X:10 Y:00 SP:01fc YA:00db Nvpbhizc
..0bca mov a,$16a1+y A:db X:10 Y:00 SP:01fb YA:00db Nvpbhizc
..0bcd beq $0bd4 A:0d X:10 Y:00 SP:01fb YA:000d nvpbhizc
..0bcf push a A:0d X:10 Y:00 SP:01fb YA:000d nvpbhizc
..0bd0 mov a,$16a0+y A:0d X:10 Y:00 SP:01fa YA:000d nvpbhizc
..0bd3 push a A:29 X:10 Y:00 SP:01fa YA:0029 nvpbhizc
..0bd4 ret A:29 X:10 Y:00 SP:01f9 YA:0029 nvpbhizc
; Handle special commands and call the right routine
..0dfb cmp x,#$f0 A:81 X:81 Y:00 SP:01fa YA:0081 Nvpbhizc
..0dfd bcs $0e03 A:81 X:81 Y:00 SP:01fa YA:0081 Nvpbhizc
..0dff cmp x,#$90 A:81 X:81 Y:00 SP:01fa YA:0081 Nvpbhizc
..0e01 bcs $0e10 A:81 X:81 Y:00 SP:01fa YA:0081 Nvpbhizc
..0e03 mov a,x A:81 X:81 Y:00 SP:01fa YA:0081 Nvpbhizc
..0e04 and a,#$1f A:81 X:81 Y:00 SP:01fa YA:0081 Nvpbhizc
..0e06 asl a A:01 X:81 Y:00 SP:01fa YA:0001 nvpbhizc
..0e07 mov y,a A:02 X:81 Y:00 SP:01fa YA:0002 nvpbhizc
..0e08 mov a,$16c1+y A:02 X:81 Y:02 SP:01fa YA:0202 nvpbhizc
..0e0b push a A:0e X:81 Y:02 SP:01fa YA:020e nvpbhizc
..0e0c mov a,$16c0+y A:0e X:81 Y:02 SP:01f9 YA:020e nvpbhizc
..0e0f push a A:1a X:81 Y:02 SP:01f9 YA:021a nvpbhizc
..0e10 ret A:1a X:81 Y:02 SP:01f8 YA:021a nvpbhizc
; $81 Command
..0e1a or $0d0,#$7f A:1a X:81 Y:02 SP:01fa YA:021a nvpbhizc
..0e1d mov x,#$00 A:1a X:81 Y:02 SP:01fa YA:021a nvpbhizc
..0e1f jmp $0e2f A:1a X:00 Y:02 SP:01fa YA:021a nvpbhiZc
; A = timing, Y = volume target
..0e2f mov y,$08f A:1a X:00 Y:02 SP:01fa YA:021a nvpbhiZc
..0e31 mov a,$08e A:1a X:00 Y:ff SP:01fa YA:ff1a Nvpbhizc
..0e33 mov $f166+x,a A:00 X:00 Y:ff SP:01fa YA:ff00 nvpbhiZc
..0e36 bne $0e46 A:00 X:00 Y:ff SP:01fa YA:ff00 nvpbhiZc
..0e38 mov $f160+x,a A:00 X:00 Y:ff SP:01fa YA:ff00 nvpbhiZc
..0e3b mov $f16c+x,a A:00 X:00 Y:ff SP:01fa YA:ff00 nvpbhiZc
..0e3e mov $f16d+x,a A:00 X:00 Y:ff SP:01fa YA:ff00 nvpbhiZc
..0e41 mov a,y A:00 X:00 Y:ff SP:01fa YA:ff00 nvpbhiZc
..0e42 mov $f161+x,a A:ff X:00 Y:ff SP:01fa YA:ffff Nvpbhizc
..0e45 ret A:ff X:00 Y:ff SP:01fa YA:ffff Nvpbhizc
..0e46 mov a,y A:0c X:00 Y:00 SP:01fd YA:000c nvpbhizc
..0e47 setc A:00 X:00 Y:00 SP:01fd YA:0000 nvpbhiZc
..0e48 sbc a,$f161+x A:00 X:00 Y:00 SP:01fd YA:0000 nvpbhiZC
..0e4b beq $0e33 A:01 X:00 Y:00 SP:01fd YA:0001 nvpbhizc
..0e4d push x A:01 X:00 Y:00 SP:01fd YA:0001 nvpbhizc
..0e4e call $0e5f A:01 X:00 Y:00 SP:01fc YA:0001 nvpbhizc
..0e51 pop x A:c0 X:0c Y:ea SP:01fc YA:eac0 Nvpbhizc
..0e52 mov $f16c+x,a A:c0 X:00 Y:ea SP:01fd YA:eac0 Nvpbhizc
..0e55 mov a,y A:c0 X:00 Y:ea SP:01fd YA:eac0 Nvpbhizc
..0e56 mov $f16d+x,a A:ea X:00 Y:ea SP:01fd YA:eaea Nvpbhizc
..0e59 mov a,#$00 A:ea X:00 Y:ea SP:01fd YA:eaea Nvpbhizc
..0e5b mov $f160+x,a A:00 X:00 Y:ea SP:01fd YA:ea00 nvpbhiZc
..0e5e ret A:00 X:00 Y:ea SP:01fd YA:ea00 nvpbhiZc
; Fade step calculation ?
..0e5f push p A:01 X:00 Y:00 SP:01fa YA:0001 nvpbhizc
..0e60 bcs $0e65 A:01 X:00 Y:00 SP:01f9 YA:0001 nvpbhizc
..0e62 eor a,#$ff A:01 X:00 Y:00 SP:01f9 YA:0001 nvpbhizc
..0e64 inc a A:fe X:00 Y:00 SP:01f9 YA:00fe Nvpbhizc
..0e65 mov x,$08e A:ff X:00 Y:00 SP:01f9 YA:00ff Nvpbhizc
..0e67 mov y,#$00 A:ff X:0c Y:00 SP:01f9 YA:00ff nvpbhizc
..0e69 div ya,x A:ff X:0c Y:00 SP:01f9 YA:00ff nvpbhiZc
..0e6a mov $0b6,a A:15 X:0c Y:03 SP:01f9 YA:0315 nvpbhizc
..0e6c mov a,#$00 A:15 X:0c Y:03 SP:01f9 YA:0315 nvpbhizc
..0e6e div ya,x A:00 X:0c Y:03 SP:01f9 YA:0300 nvpbhiZc
..0e6f mov $0b5,a A:40 X:0c Y:00 SP:01f9 YA:0040 nvpbhizc
..0e71 pop p A:40 X:0c Y:00 SP:01f9 YA:0040 nvpbhizc
..0e72 bcs $0e7c A:40 X:0c Y:00 SP:01fa YA:0040 nvpbhizc
..0e74 eor $0b5,#$ff A:40 X:0c Y:00 SP:01fa YA:0040 nvpbhizc
..0e77 eor $0b6,#$ff A:40 X:0c Y:00 SP:01fa YA:0040 Nvpbhizc
..0e7a incw $0b5 A:40 X:0c Y:00 SP:01fa YA:0040 Nvpbhizc
..0e7c movw ya,$0b5 A:40 X:0c Y:00 SP:01fa YA:0040 Nvpbhizc
..0e7e ret A:c0 X:0c Y:ea SP:01fa YA:eac0 Nvpbhizc
; Fade is applied
..1492 mov a,$f166 A:00 X:22 Y:0b SP:01fd YA:0b00 nvpbhiZC
..1495 beq $14c8 A:0b X:22 Y:0b SP:01fd YA:0b0b nvpbhizC
..1497 dec a A:0b X:22 Y:0b SP:01fd YA:0b0b nvpbhizC
..1498 mov $f166,a A:0a X:22 Y:0b SP:01fd YA:0b0a nvpbhizC
..149b mov x,a A:0a X:22 Y:0b SP:01fd YA:0b0a nvpbhizC
..149c mov a,$f160 A:0a X:0a Y:0b SP:01fd YA:0b0a nvpbhizC
..149f clrc A:c0 X:0a Y:0b SP:01fd YA:0bc0 NvpbhizC
..14a0 adc a,$f16c A:c0 X:0a Y:0b SP:01fd YA:0bc0 Nvpbhizc
..14a3 mov $f160,a A:80 X:0a Y:0b SP:01fd YA:0b80 NvpbhizC
..14a6 mov a,$f161 A:80 X:0a Y:0b SP:01fd YA:0b80 NvpbhizC
..14a9 adc a,$f16d A:e9 X:0a Y:0b SP:01fd YA:0be9 NvpbhizC
..14ac cmp a,$f161 A:d4 X:0a Y:0b SP:01fd YA:0bd4 NvpbHizC
..14af mov $f161,a A:d4 X:0a Y:0b SP:01fd YA:0bd4 NvpbHizc
..14b2 beq $14b7 A:d4 X:0a Y:0b SP:01fd YA:0bd4 NvpbHizc
..14b4 or $0d0,$053 A:d4 X:0a Y:0b SP:01fd YA:0bd4 NvpbHizc
..14b7 mov y,a A:d4 X:0a Y:0b SP:01fd YA:0bd4 nvpbHizc
..14b8 bne $14c8 A:d4 X:0a Y:d4 SP:01fd YA:d4d4 NvpbHizc
..14c8 mov a,$f168 A:e9 X:0b Y:e9 SP:01fd YA:e9e9 NvpbHizc
..14cb beq $14f6 A:00 X:0b Y:e9 SP:01fd YA:e900 nvpbHiZc
..14f6 mov a,$f16a A:00 X:0b Y:e9 SP:01fd YA:e900 nvpbHiZc
..14f9 beq $1524 A:00 X:0b Y:e9 SP:01fd YA:e900 nvpbHiZc
..1524 mov a,$0ad A:00 X:0b Y:e9 SP:01fd YA:e900 nvpbHiZc
..1526 beq $1530 A:00 X:0b Y:e9 SP:01fd YA:e900 nvpbHiZc
..1530 mov a,$0b4 A:00 X:0b Y:e9 SP:01fd YA:e900 nvpbHiZc
..1532 beq $1543 A:00 X:0b Y:e9 SP:01fd YA:e900 nvpbHiZc
..1543 ret A:00 X:0b Y:e9 SP:01fd YA:e900 nvpbHiZc
======================
= Bike Race Research =
======================
7e475c lda $2143 [002143] A:4700 X:000e Y:00bf S:06dc D:0000 DB:00 nvMxdIZc V: 32 H: 488
7e475f and #$0f A:47cf X:000e Y:00bf S:06dc D:0000 DB:00 NvMxdIzc V: 32 H: 488
7e4761 beq $4771 [7e4771] A:470f X:000e Y:00bf S:06dc D:0000 DB:00 nvMxdIzc V: 32 H: 512
7e4763 stz $08 [000008] A:470f X:000e Y:00bf S:06dc D:0000 DB:00 nvMxdIzc V: 32 H: 536
7e4765 ldx #$41a6 A:470f X:000e Y:00bf S:06dc D:0000 DB:00 nvMxdIzc V: 32 H: 608
7e4768 stx $0a20 [000a20] A:470f X:41a6 Y:00bf S:06dc D:0000 DB:00 nvMxdIzc V: 32 H: 640
// Compressed code
// Little hijack at 0x3257B = $C3257B
============
= Routines =
============
; Transfert music routine ?
$7E/5AA7 20 5F 37 JSR $375F [$7E:375F] A:2130 X:0001 Y:0090 P:envMxdIzc
$7E/375F E2 20 SEP #$20 A:2130 X:0001 Y:0090 P:envMxdIzc
$7E/3761 8D 8A 03 STA $038A [$00:038A] A:2130 X:0001 Y:0090 P:envMxdIzc
$7E/3764 8D 89 03 STA $0389 [$00:0389] A:2130 X:0001 Y:0090 P:envMxdIzc
$7E/3767 8D 01 1E STA $1E01 [$00:1E01] A:2130 X:0001 Y:0090 P:envMxdIzc
$7E/376A A9 10 LDA #$10 A:2130 X:0001 Y:0090 P:envMxdIzc
$7E/376C 8D 00 1E STA $1E00 [$00:1E00] A:2110 X:0001 Y:0090 P:envMxdIzc
$7E/376F A2 FF FF LDX #$FFFF A:2110 X:0001 Y:0090 P:envMxdIzc
$7E/3772 8E 02 1E STX $1E02 [$00:1E02] A:2110 X:FFFF Y:0090 P:eNvMxdIzc
$7E/3775 22 04 00 C7 JSL $C70004[$C7:0004] A:2110 X:FFFF Y:0090 P:eNvMxdIzc
; Code called during intro (looks like the Play Silence routine)
$C0/0053 22 00 00 C7 JSL $C70000[$C7:0000] A:0180 X:5080 Y:0000 P:eNvMxdIzC
$C7/0000 4C 38 00 JMP $0038 [$C7:0038] A:0180 X:5080 Y:0000 P:eNvMxdIzC
$C7/0004 4C 40 01 JMP $0140 [$C7:0140] A:2110 X:FFFF Y:0090 P:eNvMxdIzc
$C7/0038 8B PHB A:0180 X:5080 Y:0000 P:eNvMxdIzC
$C7/0039 0B PHD A:0180 X:5080 Y:0000 P:eNvMxdIzC
$C7/003A 08 PHP A:0180 X:5080 Y:0000 P:eNvMxdIzC
$C7/003B C2 20 REP #$20 A:0180 X:5080 Y:0000 P:eNvMxdIzC
$C7/003D C2 10 REP #$10 A:0180 X:5080 Y:0000 P:eNvmxdIzC
$C7/003F 48 PHA A:0180 X:5080 Y:0000 P:eNvmxdIzC
$C7/0040 DA PHX A:0180 X:5080 Y:0000 P:eNvmxdIzC
$C7/0041 5A PHY A:0180 X:5080 Y:0000 P:eNvmxdIzC
$C7/0042 E2 20 SEP #$20 A:0180 X:5080 Y:0000 P:eNvmxdIzC
$C7/0044 A9 00 LDA #$00 A:0180 X:5080 Y:0000 P:eNvMxdIzC
$C7/0046 48 PHA A:0100 X:5080 Y:0000 P:envMxdIZC
$C7/0047 AB PLB A:0100 X:5080 Y:0000 P:envMxdIZC
$C7/0048 A2 00 1E LDX #$1E00 A:0100 X:5080 Y:0000 P:envMxdIZC
$C7/004B DA PHX A:0100 X:1E00 Y:0000 P:envMxdIzC
$C7/004C 2B PLD A:0100 X:1E00 Y:0000 P:envMxdIzC
$C7/004D A2 AA BB LDX #$BBAA A:0100 X:1E00 Y:0000 P:envMxdIzC
$C7/0050 A9 F0 LDA #$F0 A:0100 X:BBAA Y:0000 P:eNvMxdIzC
$C7/0052 8D 41 21 STA $2141 [$00:2141] A:01F0 X:BBAA Y:0000 P:eNvMxdIzC
$C7/0055 A9 FF LDA #$FF A:01F0 X:BBAA Y:0000 P:eNvMxdIzC
$C7/0057 8D 40 21 STA $2140 [$00:2140] A:01FF X:BBAA Y:0000 P:eNvMxdIzC
$C7/005A EC 40 21 CPX $2140 [$00:2140] A:01FF X:BBAA Y:0000 P:eNvMxdIzC
$C7/005D D0 F1 BNE $F1 [$0050] A:01FF X:BBAA Y:0000 P:envMxdIZC
$C7/0057 8D 40 21 STA $2140 [$00:2140] A:01FF X:BBAA Y:0000 P:eNvMxdIzC
$C7/005F A2 00 00 LDX #$0000 A:01FF X:BBAA Y:0000 P:envMxdIZC
$C7/0062 AF 1C 00 C7 LDA $C7001C[$C7:001C] A:01FF X:0000 Y:0000 P:envMxdIZC
$C7/0066 8D 42 21 STA $2142 [$00:2142] A:0100 X:0000 Y:0000 P:envMxdIZC
$C7/0069 AF 1D 00 C7 LDA $C7001D[$C7:001D] A:0100 X:0000 Y:0000 P:envMxdIZC
$C7/006D 8D 43 21 STA $2143 [$00:2143] A:0102 X:0000 Y:0000 P:envMxdIzC
$C7/0070 A9 CC LDA #$CC A:0102 X:0000 Y:0000 P:envMxdIzC
$C7/0072 8D 41 21 STA $2141 [$00:2141] A:01CC X:0000 Y:0000 P:eNvMxdIzC
$C7/0075 8D 40 21 STA $2140 [$00:2140] A:01CC X:0000 Y:0000 P:eNvMxdIzC
$C7/0078 CD 40 21 CMP $2140 [$00:2140] A:01CC X:0000 Y:0000 P:eNvMxdIzC
$C7/007B D0 FB BNE $FB [$0078] A:01CC X:0000 Y:0000 P:envMxdIZC
$C7/007D A9 00 LDA #$00 A:01CC X:0000 Y:0000 P:envMxdIZC
$C7/007F EB XBA A:0100 X:0000 Y:0000 P:envMxdIZC
$C7/0080 BF 10 00 C7 LDA $C70010,x[$C7:0010] A:0001 X:0000 Y:0000 P:envMxdIzC
$C7/0084 85 12 STA $12 [$00:1E12] A:00C3 X:0000 Y:0000 P:eNvMxdIzC
$C7/0086 BF 11 00 C7 LDA $C70011,x[$C7:0011] A:00C3 X:0000 Y:0000 P:eNvMxdIzC
$C7/008A 85 13 STA $13 [$00:1E13] A:0024 X:0000 Y:0000 P:envMxdIzC
$C7/008C A9 C7 LDA #$C7 A:0024 X:0000 Y:0000 P:envMxdIzC
$C7/008E 85 14 STA $14 [$00:1E14] A:00C7 X:0000 Y:0000 P:eNvMxdIzC
$C7/0090 A0 00 00 LDY #$0000 A:00C7 X:0000 Y:0000 P:eNvMxdIzC
$C7/0093 B7 12 LDA [$12],y[$C7:24C3] A:00C7 X:0000 Y:0000 P:envMxdIZC
$C7/0095 18 CLC A:00EF X:0000 Y:0000 P:eNvMxdIzC
$C7/0096 69 02 ADC #$02 A:00EF X:0000 Y:0000 P:eNvMxdIzc
$C7/0098 85 0C STA $0C [$00:1E0C] A:00F1 X:0000 Y:0000 P:eNvMxdIzc
$C7/009A C8 INY A:00F1 X:0000 Y:0000 P:eNvMxdIzc
$C7/009B B7 12 LDA [$12],y[$C7:24C4] A:00F1 X:0000 Y:0001 P:envMxdIzc
$C7/009D 69 00 ADC #$00 A:001B X:0000 Y:0001 P:envMxdIzc
$C7/009F 85 0D STA $0D [$00:1E0D] A:001B X:0000 Y:0001 P:envMxdIzc
$C7/00A1 C8 INY A:001B X:0000 Y:0001 P:envMxdIzc
$C7/00A2 B7 12 LDA [$12],y[$C7:24C5] A:001B X:0000 Y:0002 P:envMxdIzc
$C7/00A4 8D 41 21 STA $2141 [$00:2141] A:0020 X:0000 Y:0002 P:envMxdIzc
$C7/00A7 EB XBA A:0020 X:0000 Y:0002 P:envMxdIzc
$C7/00A8 8D 40 21 STA $2140 [$00:2140] A:2000 X:0000 Y:0002 P:envMxdIZc
$C7/00AB CD 40 21 CMP $2140 [$00:2140] A:2000 X:0000 Y:0002 P:envMxdIZc
$C7/00AE D0 FB BNE $FB [$00AB] A:2000 X:0000 Y:0002 P:envMxdIzc
$C7/00AE D0 FB BNE $FB [$00AB] A:2000 X:0000 Y:0002 P:envMxdIZC
$C7/00B0 1A INC A A:2000 X:0000 Y:0002 P:envMxdIZC
$C7/00B1 EB XBA A:2001 X:0000 Y:0002 P:envMxdIzC
$C7/00B2 C8 INY A:0120 X:0000 Y:0002 P:envMxdIzC
$C7/00B3 C4 0C CPY $0C [$00:1E0C] A:0120 X:0000 Y:0003 P:envMxdIzC
$C7/00B5 D0 EB BNE $EB [$00A2] A:0120 X:0000 Y:0003 P:eNvMxdIzc
$C7/00B7 EB XBA A:EF77 X:0000 Y:1BF1 P:envMxdIZC
$C7/00B8 1A INC A A:77EF X:0000 Y:1BF1 P:eNvMxdIzC
$C7/00B9 1A INC A A:77F0 X:0000 Y:1BF1 P:eNvMxdIzC
$C7/00BA 1A INC A A:77F1 X:0000 Y:1BF1 P:eNvMxdIzC
$C7/00BB D0 01 BNE $01 [$00BE] A:77F2 X:0000 Y:1BF1 P:eNvMxdIzC
$C7/00BE E8 INX A:77F2 X:0000 Y:1BF1 P:eNvMxdIzC
$C7/00BF E8 INX A:77F2 X:0001 Y:1BF1 P:envMxdIzC
$C7/00C0 E0 0C 00 CPX #$000C A:77F2 X:0002 Y:1BF1 P:envMxdIzC
$C7/00C3 F0 1D BEQ $1D [$00E2] A:77F2 X:0002 Y:1BF1 P:eNvMxdIzc
$C7/00C5 EB XBA A:77F2 X:0002 Y:1BF1 P:eNvMxdIzc
$C7/00C6 BF 1C 00 C7 LDA $C7001C,x[$C7:001E] A:F277 X:0002 Y:1BF1 P:envMxdIzc
$C7/00CA 8D 42 21 STA $2142 [$00:2142] A:F200 X:0002 Y:1BF1 P:envMxdIZc
$C7/00CD BF 1D 00 C7 LDA $C7001D,x[$C7:001F] A:F200 X:0002 Y:1BF1 P:envMxdIZc
$C7/00D1 8D 43 21 STA $2143 [$00:2143] A:F22F X:0002 Y:1BF1 P:envMxdIzc
$C7/00D4 EB XBA A:F22F X:0002 Y:1BF1 P:envMxdIzc
$C7/00D5 8D 41 21 STA $2141 [$00:2141] A:2FF2 X:0002 Y:1BF1 P:eNvMxdIzc
$C7/00D8 8D 40 21 STA $2140 [$00:2140] A:2FF2 X:0002 Y:1BF1 P:eNvMxdIzc
$C7/00DB CD 40 21 CMP $2140 [$00:2140] A:2FF2 X:0002 Y:1BF1 P:eNvMxdIzc
$C7/00DE D0 FB BNE $FB [$00DB] A:2FF2 X:0002 Y:1BF1 P:envMxdIzC
$C7/00E0 80 9B BRA $9B [$007D] A:2FF2 X:0002 Y:1BF1 P:envMxdIZC
$C7/00E2 EB XBA A:0017 X:000C Y:0016 P:envMxdIZC
$C7/00E3 A9 02 LDA #$02 A:1700 X:000C Y:0016 P:envMxdIZC
$C7/00E5 8D 43 21 STA $2143 [$00:2143] A:1702 X:000C Y:0016 P:envMxdIzC
$C7/00E8 A9 00 LDA #$00 A:1702 X:000C Y:0016 P:envMxdIzC
$C7/00EA 8D 42 21 STA $2142 [$00:2142] A:1700 X:000C Y:0016 P:envMxdIZC
$C7/00ED A9 00 LDA #$00 A:1700 X:000C Y:0016 P:envMxdIZC
$C7/00EF 8D 41 21 STA $2141 [$00:2141] A:1700 X:000C Y:0016 P:envMxdIZC
$C7/00F2 EB XBA A:1700 X:000C Y:0016 P:envMxdIZC
$C7/00F3 8D 40 21 STA $2140 [$00:2140] A:0017 X:000C Y:0016 P:envMxdIzC
$C7/00F6 CD 40 21 CMP $2140 [$00:2140] A:0017 X:000C Y:0016 P:envMxdIzC
$C7/00F9 D0 FB BNE $FB [$00F6] A:0017 X:000C Y:0016 P:envMxdIzC
$C7/00FB EB XBA A:0017 X:000C Y:0016 P:envMxdIZC
$C7/00FC 8D 40 21 STA $2140 [$00:2140] A:1700 X:000C Y:0016 P:envMxdIZC
$C7/00FF A2 00 01 LDX #$0100 A:1700 X:000C Y:0016 P:envMxdIZC
$C7/0102 9D FF 1D STA $1DFF,x[$00:1EFF] A:1700 X:0100 Y:0016 P:envMxdIzC
$C7/0105 CA DEX A:1700 X:0100 Y:0016 P:envMxdIzC
$C7/0106 D0 FA BNE $FA [$0102] A:1700 X:00FF Y:0016 P:envMxdIzC
$C7/0102 9D FF 1D STA $1DFF,x[$00:1EFE] A:1700 X:00FF Y:0016 P:envMxdIzC
$C7/0105 CA DEX A:1700 X:00FF Y:0016 P:envMxdIzC
$C7/0106 D0 FA BNE $FA [$0102] A:1700 X:00FE Y:0016 P:envMxdIzC
$C7/0108 C2 20 REP #$20 A:1700 X:0000 Y:0016 P:envMxdIZC
$C7/010A AF B4 40 C7 LDA $C740B4[$C7:40B4] A:1700 X:0000 Y:0016 P:envmxdIZC
$C7/010E 18 CLC A:0201 X:0000 Y:0016 P:envmxdIzC
$C7/010F 69 00 47 ADC #$4700 A:0201 X:0000 Y:0016 P:envmxdIzc
$C7/0112 85 F8 STA $F8 [$00:1EF8] A:4901 X:0000 Y:0016 P:envmxdIzc
$C7/0114 85 60 STA $60 [$00:1E60] A:4901 X:0000 Y:0016 P:envmxdIzc
$C7/0116 85 F6 STA $F6 [$00:1EF6] A:4901 X:0000 Y:0016 P:envmxdIzc
$C7/0118 A2 00 08 LDX #$0800 A:4901 X:0000 Y:0016 P:envmxdIzc
$C7/011B CA DEX A:4901 X:0800 Y:0016 P:envmxdIzc
$C7/011C D0 FD BNE $FD [$011B] A:4901 X:07FF Y:0016 P:envmxdIzc
$C7/011E E2 20 SEP #$20 A:4901 X:0000 Y:0016 P:envmxdIZc
$C7/0120 A9 00 LDA #$00 A:4901 X:0000 Y:0016 P:envMxdIZc
$C7/0122 85 FA STA $FA [$00:1EFA] A:4900 X:0000 Y:0016 P:envMxdIZc
$C7/0124 A9 C7 LDA #$C7 A:4900 X:0000 Y:0016 P:envMxdIZc
$C7/0126 85 FB STA $FB [$00:1EFB] A:49C7 X:0000 Y:0016 P:eNvMxdIzc
$C7/0128 A9 05 LDA #$05 A:49C7 X:0000 Y:0016 P:eNvMxdIzc
$C7/012A 85 F0 STA $F0 [$00:1EF0] A:4905 X:0000 Y:0016 P:envMxdIzc
$C7/012C 0A ASL A A:4905 X:0000 Y:0016 P:envMxdIzc
$C7/012D 0A ASL A A:490A X:0000 Y:0016 P:envMxdIzc
$C7/012E 0A ASL A A:4914 X:0000 Y:0016 P:envMxdIzc
$C7/012F 49 FF EOR #$FF A:4928 X:0000 Y:0016 P:envMxdIzc
$C7/0131 1A INC A A:49D7 X:0000 Y:0016 P:eNvMxdIzc
$C7/0132 18 CLC A:49D8 X:0000 Y:0016 P:eNvMxdIzc
$C7/0133 69 F1 ADC #$F1 A:49D8 X:0000 Y:0016 P:eNvMxdIzc
$C7/0135 85 F2 STA $F2 [$00:1EF2] A:49C9 X:0000 Y:0016 P:eNvMxdIzC
$C7/0137 64 F1 STZ $F1 [$00:1EF1] A:49C9 X:0000 Y:0016 P:eNvMxdIzC
$C7/0139 A9 E0 LDA #$E0 A:49C9 X:0000 Y:0016 P:eNvMxdIzC
$C7/013B 85 05 STA $05 [$00:1E05] A:49E0 X:0000 Y:0016 P:eNvMxdIzC
$C7/013D 4C 92 01 JMP $0192 [$C7:0192] A:49E0 X:0000 Y:0016 P:eNvMxdIzC
$C7/0140 8B PHB A:2110 X:FFFF Y:0090 P:eNvMxdIzc
$C7/0141 0B PHD A:2110 X:FFFF Y:0090 P:eNvMxdIzc
$C7/0142 08 PHP A:2110 X:FFFF Y:0090 P:eNvMxdIzc
$C7/0143 C2 20 REP #$20 A:2110 X:FFFF Y:0090 P:eNvMxdIzc
$C7/0145 C2 10 REP #$10 A:2110 X:FFFF Y:0090 P:eNvmxdIzc
$C7/0147 48 PHA A:2110 X:FFFF Y:0090 P:eNvmxdIzc
$C7/0148 DA PHX A:2110 X:FFFF Y:0090 P:eNvmxdIzc
$C7/0149 5A PHY A:2110 X:FFFF Y:0090 P:eNvmxdIzc
$C7/014A E2 20 SEP #$20 A:2110 X:FFFF Y:0090 P:eNvmxdIzc
$C7/014C A9 00 LDA #$00 A:2110 X:FFFF Y:0090 P:eNvMxdIzc
$C7/014E 48 PHA A:2100 X:FFFF Y:0090 P:envMxdIZc
$C7/014F AB PLB A:2100 X:FFFF Y:0090 P:envMxdIZc
$C7/0150 A2 00 1E LDX #$1E00 A:2100 X:FFFF Y:0090 P:envMxdIZc
$C7/0153 DA PHX A:2100 X:1E00 Y:0090 P:envMxdIzc
$C7/0154 2B PLD A:2100 X:1E00 Y:0090 P:envMxdIzc
$C7/0155 E2 20 SEP #$20 A:2100 X:1E00 Y:0090 P:envMxdIzc
$C7/0157 A5 05 LDA $05 [$00:1E05] A:2100 X:1E00 Y:0090 P:envMxdIzc
$C7/0159 10 37 BPL $37 [$0192] A:21E0 X:1E00 Y:0090 P:eNvMxdIzc
$C7/015B A5 00 LDA $00 [$00:1E00] A:21E0 X:1E00 Y:0090 P:eNvMxdIzc
$C7/015D F0 33 BEQ $33 [$0192] A:2110 X:1E00 Y:0090 P:envMxdIzc
$C7/015F 30 19 BMI $19 [$017A] A:2110 X:1E00 Y:0090 P:envMxdIzc
$C7/0161 C9 10 CMP #$10 A:2110 X:1E00 Y:0090 P:envMxdIzc
$C7/0163 90 2D BCC $2D [$0192] A:2110 X:1E00 Y:0090 P:envMxdIZC
$C7/0165 C9 18 CMP #$18 A:2110 X:1E00 Y:0090 P:envMxdIZC
$C7/0167 B0 0D BCS $0D [$0176] A:2110 X:1E00 Y:0090 P:eNvMxdIzc
$C7/0169 29 0F AND #$0F A:2110 X:1E00 Y:0090 P:eNvMxdIzc
$C7/016B 0A ASL A A:2100 X:1E00 Y:0090 P:envMxdIZc
$C7/016C EB XBA A:2100 X:1E00 Y:0090 P:envMxdIZc
$C7/016F 48 PHA A:0000 X:1E00 Y:0090 P:envMxdIZc
$C7/0170 EB XBA A:0000 X:1E00 Y:0090 P:envMxdIZc
$C7/0171 48 PHA A:0000 X:1E00 Y:0090 P:envMxdIZc
$C7/0172 FA PLX A:0000 X:1E00 Y:0090 P:envMxdIZc
$C7/0173 7C D9 0A JMP ($0AD9,x)[$C7:01A1] A:0000 X:0000 Y:0090 P:envMxdIZc
c7017a jmp $061c [c7061c] A:1981 X:1e00 Y:0200 S:06ee D:1e00 DB:00 NvMxdIzc V: 16 H:1362
$C7/0192 E2 20 SEP #$20 A:49E0 X:0000 Y:0016 P:eNvMxdIzC
$C7/0194 64 00 STZ $00 [$00:1E00] A:49E0 X:0000 Y:0016 P:eNvMxdIzC
$C7/0196 C2 20 REP #$20 A:49E0 X:0000 Y:0016 P:eNvMxdIzC
$C7/0198 C2 10 REP #$10 A:49E0 X:0000 Y:0016 P:eNvmxdIzC
$C7/019A 7A PLY A:49E0 X:0000 Y:0016 P:eNvmxdIzC
$C7/019B FA PLX A:49E0 X:0000 Y:0000 P:envmxdIZC
$C7/019C 68 PLA A:49E0 X:5080 Y:0000 P:envmxdIzC
$C7/019D 28 PLP A:0180 X:5080 Y:0000 P:envmxdIzC
$C7/019E 2B PLD A:0180 X:5080 Y:0000 P:eNvMxdIzC
$C7/019F AB PLB A:0180 X:5080 Y:0000 P:envMxdIzC
$C7/01A0 6B RTL A:0180 X:5080 Y:0000 P:envMxdIZC
$C7/01A1 E2 20 SEP #$20 A:0000 X:0000 Y:0090 P:envMxdIZc
$C7/01A3 A5 01 LDA $01 [$00:1E01] A:0000 X:0000 Y:0090 P:envMxdIZc
$C7/01A5 CF E9 0A C7 CMP $C70AE9[$C7:0AE9] A:0030 X:0000 Y:0090 P:envMxdIzc
$C7/01A9 B0 E7 BCS $E7 [$0192] A:0030 X:0000 Y:0090 P:eNvMxdIzc
$C7/01AB 20 34 07 JSR $0734 [$C7:0734] A:0030 X:0000 Y:0090 P:eNvMxdIzc
$C7/01AE 20 39 0A JSR $0A39 [$C7:0A39] A:00FF X:0000 Y:0090 P:eNvMxdIzc
$C7/01B1 A5 01 LDA $01 [$00:1E01] A:0030 X:03E2 Y:0090 P:eNvMxdIzc
$C7/01B3 85 05 STA $05 [$00:1E05] A:0030 X:03E2 Y:0090 P:envMxdIzc
$C7/01B5 C2 20 REP #$20 A:0030 X:03E2 Y:0090 P:envMxdIzc
$C7/01B7 A2 20 00 LDX #$0020 A:0030 X:03E2 Y:0090 P:envmxdIzc
$C7/01BA 9E FE 1E STZ $1EFE,x[$00:1F1E] A:0030 X:0020 Y:0090 P:envmxdIzc
$C7/01BD 9E 1E 1F STZ $1F1E,x[$00:1F3E] A:0030 X:0020 Y:0090 P:envmxdIzc
$C7/01C0 CA DEX A:0030 X:0020 Y:0090 P:envmxdIzc
$C7/01C0 CA DEX A:0030 X:0020 Y:0090 P:envmxdIzc
$C7/01C1 CA DEX A:0030 X:001F Y:0090 P:envmxdIzc
$C7/01C2 D0 F6 BNE $F6 [$01BA] A:0030 X:001E Y:0090 P:envmxdIzc
$C7/01C4 A0 20 00 LDY #$0020 A:0030 X:0000 Y:0090 P:envmxdIZc
$C7/01C7 B9 1E 1E LDA $1E1E,y[$00:1E3E] A:0030 X:0000 Y:0020 P:envmxdIzc
$C7/01CA D0 04 BNE $04 [$01D0] A:0000 X:0000 Y:0020 P:envmxdIZc
$C7/01CC 88 DEY A:0000 X:0000 Y:0020 P:envmxdIZc
$C7/01CD 88 DEY A:0000 X:0000 Y:001F P:envmxdIzc
$C7/01CE D0 F7 BNE $F7 [$01C7] A:0000 X:0000 Y:001E P:envmxdIzc
$C7/01D0 84 0C STY $0C [$00:1E0C] A:0000 X:0000 Y:0000 P:envmxdIZc
$C7/01D2 A9 00 1F LDA #$1F00 A:0000 X:0000 Y:0000 P:envmxdIZc
$C7/01D5 85 12 STA $12 [$00:1E12] A:1F00 X:0000 Y:0000 P:envmxdIzc
$C7/01D7 A9 20 1F LDA #$1F20 A:1F00 X:0000 Y:0000 P:envmxdIzc
$C7/01DA 85 14 STA $14 [$00:1E14] A:1F20 X:0000 Y:0000 P:envmxdIzc
$C7/01DC A5 04 LDA $04 [$00:1E04] A:1F20 X:0000 Y:0000 P:envmxdIzc
$C7/01DE 29 00 FF AND #$FF00 A:3000 X:0000 Y:0000 P:envmxdIzc
$C7/01E1 4A LSR A A:3000 X:0000 Y:0000 P:envmxdIzc
$C7/01E2 4A LSR A A:1800 X:0000 Y:0000 P:envmxdIzc
$C7/01E3 4A LSR A A:0C00 X:0000 Y:0000 P:envmxdIzc
$C7/01E4 AA TAX A:0600 X:0000 Y:0000 P:envmxdIzc
$C7/01E5 69 20 00 ADC #$0020 A:0600 X:0600 Y:0000 P:envmxdIzc
$C7/01E8 85 0E STA $0E [$00:1E0E] A:0620 X:0600 Y:0000 P:envmxdIzc
$C7/01EA BF 11 0E C7 LDA $C70E11,x[$C7:1411] A:0620 X:0600 Y:0000 P:envmxdIzc
$C7/01EE F0 1F BEQ $1F [$020F] A:002C X:0600 Y:0000 P:envmxdIzc
$C7/01F0 92 12 STA ($12) [$00:1F00] A:002C X:0600 Y:0000 P:envmxdIzc
$C7/01F2 E6 12 INC $12 [$00:1E12] A:002C X:0600 Y:0000 P:envmxdIzc
$C7/01F4 E6 12 INC $12 [$00:1E12] A:002C X:0600 Y:0000 P:envmxdIzc
$C7/01F6 A4 0C LDY $0C [$00:1E0C] A:002C X:0600 Y:0000 P:envmxdIzc
$C7/01F8 F0 09 BEQ $09 [$0203] A:002C X:0600 Y:0000 P:envmxdIZc
$C7/0203 92 14 STA ($14) [$00:1F20] A:002C X:0600 Y:0000 P:envmxdIZc
$C7/0205 E6 14 INC $14 [$00:1E14] A:002C X:0600 Y:0000 P:envmxdIZc
$C7/0207 E6 14 INC $14 [$00:1E14] A:002C X:0600 Y:0000 P:envmxdIzc
$C7/0209 E8 INX A:002C X:0600 Y:0000 P:envmxdIzc
$C7/020A E8 INX A:002C X:0601 Y:0000 P:envmxdIzc
$C7/020B E4 0E CPX $0E [$00:1E0E] A:002C X:0602 Y:0000 P:envmxdIzc
$C7/020D D0 DB BNE $DB [$01EA] A:002C X:0602 Y:0000 P:eNvmxdIzc
$C7/020F AD 20 1F LDA $1F20 [$00:1F20] A:0000 X:060C Y:0000 P:envmxdIZc
$C7/0212 D0 03 BNE $03 [$0217] A:002C X:060C Y:0000 P:envmxdIzc
$C7/0217 C2 20 REP #$20 A:002C X:060C Y:0000 P:envmxdIzc
$C7/0219 A2 00 00 LDX #$0000 A:002C X:060C Y:0000 P:envmxdIzc
$C7/021C B5 20 LDA $20,x [$00:1E20] A:002C X:0000 Y:0000 P:envmxdIZc
$C7/021E F0 18 BEQ $18 [$0238] A:0000 X:0000 Y:0000 P:envmxdIZc
$C7/0238 A2 00 00 LDX #$0000 A:0000 X:0000 Y:0000 P:envmxdIZc
$C7/023B B5 20 LDA $20,x [$00:1E20] A:0000 X:0000 Y:0000 P:envmxdIZc
$C7/023D F0 07 BEQ $07 [$0246] A:0000 X:0000 Y:0000 P:envmxdIZc
$C7/0246 86 0C STX $0C [$00:1E0C] A:0000 X:0000 Y:0000 P:envmxdIZc
$C7/0248 A2 20 00 LDX #$0020 A:0000 X:0000 Y:0000 P:envmxdIZc
$C7/024B B5 1E LDA $1E,x [$00:1E3E] A:0000 X:0020 Y:0000 P:envmxdIzc
$C7/024D D0 04 BNE $04 [$0253] A:0000 X:0020 Y:0000 P:envmxdIZc
$C7/024F CA DEX A:0000 X:0020 Y:0000 P:envmxdIZc
$C7/024F CA DEX A:0000 X:0020 Y:0000 P:envmxdIZc
$C7/0250 CA DEX A:0000 X:001F Y:0000 P:envmxdIzc
$C7/0251 D0 F8 BNE $F8 [$024B] A:0000 X:001E Y:0000 P:envmxdIzc
$C7/0253 E4 0C CPX $0C [$00:1E0C] A:0000 X:0000 Y:0000 P:envmxdIZc
$C7/0255 D0 03 BNE $03 [$025A] A:0000 X:0000 Y:0000 P:envmxdIZC
$C7/0257 4C 26 03 JMP $0326 [$C7:0326] A:0000 X:0000 Y:0000 P:envmxdIZC
$C7/0326 E2 20 SEP #$20 A:0000 X:0000 Y:0000 P:envmxdIZC
$C7/0328 64 0A STZ $0A [$00:1E0A] A:0000 X:0000 Y:0000 P:envMxdIZC
$C7/032A A2 00 00 LDX #$0000 A:0000 X:0000 Y:0000 P:envMxdIZC
$C7/032D B5 20 LDA $20,x [$00:1E20] A:0000 X:0000 Y:0000 P:envMxdIZC
$C7/032F F0 0E BEQ $0E [$033F] A:0000 X:0000 Y:0000 P:envMxdIZC
$C7/033F A0 00 00 LDY #$0000 A:0000 X:0000 Y:0000 P:envMxdIZC
$C7/0342 C2 20 REP #$20 A:0000 X:0000 Y:0000 P:envMxdIZC
$C7/0344 B9 20 1F LDA $1F20,y[$00:1F20] A:0000 X:0000 Y:0000 P:envmxdIZC
$C7/0347 F0 18 BEQ $18 [$0361] A:002C X:0000 Y:0000 P:envmxdIzC
$C7/0349 95 20 STA $20,x [$00:1E20] A:002C X:0000 Y:0000 P:envmxdIzC
$C7/034B 86 1C STX $1C [$00:1E1C] A:002C X:0000 Y:0000 P:envmxdIzC
$C7/034D 84 1E STY $1E [$00:1E1E] A:002C X:0000 Y:0000 P:envmxdIzC
$C7/034F 20 55 06 JSR $0655 [$C7:0655] A:002C X:0000 Y:0000 P:envmxdIzC
$C7/0352 A6 1C LDX $1C [$00:1E1C] A:D9E0 X:0000 Y:D91E P:envmxdIzC
$C7/0354 A4 1E LDY $1E [$00:1E1E] A:D9E0 X:0000 Y:D91E P:envmxdIZC
$C7/0356 C8 INY A:D9E0 X:0000 Y:0000 P:envmxdIZC
$C7/0357 C8 INY A:D9E0 X:0000 Y:0001 P:envmxdIzC
$C7/0358 E8 INX A:D9E0 X:0000 Y:0002 P:envmxdIzC
$C7/0359 E8 INX A:D9E0 X:0001 Y:0002 P:envmxdIzC
$C7/035A C0 20 00 CPY #$0020 A:D9E0 X:0002 Y:0002 P:envmxdIzC
$C7/035D D0 E3 BNE $E3 [$0342] A:D9E0 X:0002 Y:0002 P:eNvmxdIzc
$C7/0361 C2 20 REP #$20 A:0000 X:000C Y:000C P:envmxdIZc
$C7/0363 B5 60 LDA $60,x [$00:1E6C] A:0000 X:000C Y:000C P:envmxdIZc
$C7/0365 85 F6 STA $F6 [$00:1EF6] A:B939 X:000C Y:000C P:eNvmxdIzc
$C7/0367 A9 00 00 LDA #$0000 A:B939 X:000C Y:000C P:eNvmxdIzc
$C7/036A 95 62 STA $62,x [$00:1E6E] A:0000 X:000C Y:000C P:envmxdIZc
$C7/036C 95 40 STA $40,x [$00:1E4C] A:0000 X:000C Y:000C P:envmxdIZc
$C7/036E E8 INX A:0000 X:000C Y:000C P:envmxdIZc
$C7/036F E8 INX A:0000 X:000D Y:000C P:envmxdIzc
$C7/0370 E0 20 00 CPX #$0020 A:0000 X:000E Y:000C P:envmxdIzc
$C7/0373 D0 F2 BNE $F2 [$0367] A:0000 X:000E Y:000C P:eNvmxdIzc
$C7/0375 E2 20 SEP #$20 A:0000 X:0020 Y:000C P:envmxdIZC
$C7/0377 A9 E0 LDA #$E0 A:0000 X:0020 Y:000C P:envMxdIZC
$C7/0379 85 84 STA $84 [$00:1E84] A:00E0 X:0020 Y:000C P:eNvMxdIzC
$C7/037B C2 20 REP #$20 A:00E0 X:0020 Y:000C P:eNvMxdIzC
$C7/037D A9 80 1F LDA #$1F80 A:00E0 X:0020 Y:000C P:eNvmxdIzC
$C7/0380 85 12 STA $12 [$00:1E12] A:1F80 X:0020 Y:000C P:envmxdIzC
$C7/0382 A2 00 00 LDX #$0000 A:1F80 X:0020 Y:000C P:envmxdIzC
$C7/0385 BD 00 1F LDA $1F00,x[$00:1F00] A:1F80 X:0000 Y:000C P:envmxdIZC
$C7/0388 F0 3E BEQ $3E [$03C8] A:002C X:0000 Y:000C P:envmxdIzC
$C7/038A A0 00 00 LDY #$0000 A:002C X:0000 Y:000C P:envmxdIzC
$C7/038D D9 20 1E CMP $1E20,y[$00:1E20] A:002C X:0000 Y:0000 P:envmxdIZC
$C7/0390 F0 0C BEQ $0C [$039E] A:002C X:0000 Y:0000 P:envmxdIZC
$C7/039E DA PHX A:002C X:0000 Y:0000 P:envmxdIZC