-
Notifications
You must be signed in to change notification settings - Fork 0
/
TRAXX_KICK_Edited.asm
2979 lines (2963 loc) · 62 KB
/
TRAXX_KICK_Edited.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
* = $1200
#import "TraxxCSKick.asm"
* =$2000 "Program"
cld
lda #$CD
sta $9005
lda #$08
sta $900F
lda #$BC
sta $9003
lda #$1A
sta $9001
lda #$19
sta $9002
lda #$09
sta $9000
jsr Draw_Game_Status_Screen
jmp Title_Options_Screen //JUMP_3060_2022_OK
// -------------------------------------------------------------------------------
TitleScreen:
.byte $4b,$4b,$4b,$20,$20,$20,$20,$20
.byte $20,$20,$20,$41,$42,$43,$44,$45
.byte $20,$20,$20,$20,$20,$4b,$4b,$4b
.byte $20,$20,$20,$20,$20,$20,$20,$20
.byte $20,$20,$20,$20,$46,$47,$48,$49
.byte $4a,$20,$20,$20,$20,$20,$20,$20
.byte $20,$20,$5a,$31,$20,$30,$30,$30
.byte $30,$30,$20,$20,$20,$20,$20,$20
.byte $20,$20,$20,$5a,$32,$20,$30,$30
.byte $30,$30,$30,$20,$20,$20,$20,$20
.byte $20,$20,$20,$20,$6e,$20,$0c,$0c
.byte $01,$0d,$01,$20,$20,$20,$20,$20
.byte $20,$20,$20,$20
TitleScreenColour:
.byte $05,$05,$05,$00,$00,$00,$00,$00
.byte $00,$00,$00,$03,$03,$03,$03,$03
.byte $00,$00,$00,$00,$00,$04,$04,$04
.byte $00,$00,$00,$00,$00,$00,$00,$00
.byte $00,$00,$00,$00,$03,$03,$03,$03
.byte $03,$00,$00,$00,$00,$00,$00,$00
.byte $00,$00,$03,$03,$00,$01,$01,$01
.byte $01,$01,$00,$00,$00,$00,$00,$00
.byte $00,$00,$00,$03,$03,$00,$01,$01
.byte $01,$01,$01,$00,$00,$00,$00,$00
.byte $00,$00,$00,$00,$01,$00,$03,$03
.byte $03,$03,$03,$00,$00,$00,$00,$00
.byte $00,$00,$00,$00
// -------------------------------------------------------------------------------------------
Draw_Game_Status_Screen:
// SUBROUTINE_20ED_201F_OK:
// SUBROUTINE_20ED_3233_OK:
//------------------------------
ldy #$64
//------------------------------
LOOP_SKIP_20EF_20FC_OK:
//------------------------------
lda $2024,Y
sta $0FFF,Y
lda $2088,Y
sta $93FF,Y
dey
bne LOOP_SKIP_20EF_20FC_OK
rts
//------------------------------
SUBROUTINE_20FF_337A_OK:
SUBROUTINE_20FF_3392_OK:
SUBROUTINE_20FF_33FA_OK:
//------------------------------
nop
//------------------------------
Draw_Play_Grid:
// SUBROUTINE_2100_2203_OK:
// SUBROUTINE_2100_2BA3_OK:
// SUBROUTINE_2100_2D46_OK:
// SUBROUTINE_2100_2E8C_OK:
//------------------------------
lda #$10
sta $03
sta $05
lda #$64
sta $02
sta $04
ldx #$08
//------------------------------
LOOP_SKIP_210E_2131_OK:
//------------------------------
ldy #$17
lda #$51
//------------------------------
LOOP_SKIP_2112_2115_OK:
//------------------------------
sta ($04),Y
dey
bne LOOP_SKIP_2112_2115_OK
lda #$56
ldy #$00
sta ($04),Y
lda #$57
ldy #$18
sta ($04),Y
clc
lda $04
adc #$64
sta $04
lda $05
adc #$00
sta $05
dex
bne LOOP_SKIP_210E_2131_OK
lda $02
sta $04
lda $03
sta $05
ldy #$00
//------------------------------
LOOP_SKIP_213D_2178_OK:
//------------------------------
lda #$58
sta ($04),Y
ldx #$18
//------------------------------
LOOP_SKIP_2143_2163_OK:
//------------------------------
lda $04
clc
adc #$19
sta $04
lda $05
adc #$00
sta $05
lda #$50
sta $06
jsr SUBROUTINE_2195_2154_OK
nop
nop
nop
nop
nop
nop
nop
lda $06
sta ($04),Y
dex
bne LOOP_SKIP_2143_2163_OK
lda #$59
sta ($04),Y
lda $02
sta $04
lda $03
sta $05
iny
iny
iny
iny
nop
cpy #$1C
bne LOOP_SKIP_213D_2178_OK
lda #$52
ldy #$00
sta ($02),Y
ldy #$18
lda #$53
sta ($02),Y
lda #$55
ldy #$00
sta $12BC,Y
ldy #$18
lda #$54
sta $12BC,Y
rts
//------------------------------
SUBROUTINE_2195_2154_OK:
//------------------------------
lda ($04),Y
cmp #$51
bne LOOP_SKIP_21A0_2199_OK
lda #$4F
sta $06
rts
//------------------------------
LOOP_SKIP_21A0_2199_OK:
//------------------------------
cmp #$56
bne LOOP_SKIP_21A7_21A2_OK
sta $06
rts
//------------------------------
LOOP_SKIP_21A7_21A2_OK:
//------------------------------
cmp #$57
bne LOOP_SKIP_21AD_21A9_OK
sta $06
//------------------------------
LOOP_SKIP_21AD_21A9_OK:
//------------------------------
rts
//------------------------------
Clear_The_Screen:
// SUBROUTINE_21AE_2200_OK:
// SUBROUTINE_21AE_2E89_OK:
// SUBROUTINE_21AE_2F03_OK:
// SUBROUTINE_21AE_3000_OK:
//------------------------------
lda #$10
sta $05
lda #$64
sta $04
ldx #$1A
//------------------------------
LOOP_SKIP_21B8_21D1_OK:
//------------------------------
ldy #$00
//------------------------------
LOOP_SKIP_21BA_21C1_OK:
//------------------------------
lda #$20
jsr Print_Character_To_Screen_In_Yellow
cpy #$1A
bne LOOP_SKIP_21BA_21C1_OK
lda $04
clc
adc #$19
sta $04
lda $05
adc #$00
sta $05
dex
bne LOOP_SKIP_21B8_21D1_OK
rts
//------------------------------
Print_Character_To_Screen_In_Yellow:
//------------------------------
sta ($04),Y
lda $05
pha
clc
adc #$84
sta $05
lda #$07
sta ($04),Y
pla
sta $05
iny
rts
//------------------------------
// $21E7
.byte $F5,$F5,$F5,$F5,$F5,$F5
.byte $F5,$F5,$F5,$F5,$F5,$F5
.byte $F5,$F5,$F5,$F5,$F5,$F5
.byte $F5,$F5,$F5,$F5,$F5,$F5
.byte $F5
//------------------------------
JUMP_2200_3236_OK:
//------------------------------
jsr Clear_The_Screen
jsr Draw_Play_Grid
lda $19
sta $19
lda #$0F
sta $900E
jsr SUBROUTINE_2E0E_220F_OK
jsr SUBROUTINE_2C1C_2212_OK
jsr SUBROUTINE_2DDD_2215_OK
nop
lda #$03
sta $0E
sta $0F
lda $0D
sta $0D
sta $08
jsr SUBROUTINE_2920_2225_OK
lda #$03
sta $14
sta $13
lda $05
sta $2A
lda #$10
sta $1B
lda $19
sta $19
lda #$00
sta $17
sta $18
lda #$03
sta $20
lda #$1F
sta $21
lda $19
sta $00
nop
nop
nop
nop
//------------------------------
JUMP_2250_2265_OK:
LOOP_SKIP_2250_2294_OK:
JUMP_2250_2E98_OK:
JUMP_2250_2EF8_OK:
//------------------------------
jsr SUBROUTINE_28C8_2250_OK
jsr SUBROUTINE_2560_2253_OK //Get Joystick
jsr SUBROUTINE_28E1_2256_OK //Play Music
jsr SUBROUTINE_2A0E_2259_OK
jsr SUBROUTINE_2A3B_225C_OK
jsr SUBROUTINE_2B11_225F_OK
jsr SUBROUTINE_2E9B_2262_OK
jmp JUMP_2250_2265_OK
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jsr $FFE1
bne LOOP_SKIP_2250_2294_OK
rts
//------------------------------
// $2297
.byte $f5,$f5,$f5,$f5,$f5,$f5,$f5,$f5
.byte $f5,$f5,$f5,$f5,$f5,$f5,$f5,$f5
.byte $f5,$f5,$f5,$f5,$f5,$f5,$f5,$f5
.byte $f5,$f5,$f5,$f5,$f5,$f5,$f5,$f5
.byte $f5,$f5,$f5,$f5,$f5,$f5,$f5,$f5
.byte $f5,$f5,$f5,$f5,$f5,$f5,$f5,$f5
.byte $f5,$f5,$f5,$f5,$f5,$f5,$f5,$f5
.byte $f5,$ea,$f5,$f5,$f5,$f5,$f5,$f5
.byte $f5,$f5,$f5,$f5,$f5,$f5,$f5,$f5
.byte $f5,$f5,$f5,$f5,$f5,$f5,$f5,$f5
.byte $f5,$f5,$f5,$f5,$f5,$f5,$f5,$f5
.byte $f5,$f5,$f5,$f5,$f5,$f5,$f5,$f5
.byte $f5,$f5,$f5,$f5,$f5,$f5,$f5,$f5
.byte $f5
// $2300
.byte $96,$10,$00,$07,$50,$39,$11,$01
.byte $b7,$51,$f8,$11,$01,$87,$4f,$06
.byte $12,$01,$b7,$51,$a2,$10,$00,$07
.byte $50,$a6,$10,$00,$b7,$50,$aa,$10
.byte $00,$27,$50,$ae,$10,$00,$27,$50
.byte $af,$10,$02,$b7,$50,$c7,$10,$02
.byte $07,$50,$00,$00,$00,$e3,$00,$00
.byte $5b,$5c,$5d,$5e,$5f,$60,$61,$e4
.byte $01,$19,$00,$00,$00,$00,$00,$00
.byte $56,$01,$02,$03,$00,$58,$00,$02
.byte $03,$04,$4f,$01,$02,$03,$04,$63
.byte $01,$02,$03,$04,$64,$01,$02,$03
.byte $04,$6f,$01,$02,$03,$04,$59,$01
.byte $02,$00,$04,$57,$01,$00,$03,$04
.byte $52,$00,$02,$03,$00,$53,$00,$00
.byte $03,$04,$54,$01,$00,$00,$04,$55
.byte $01,$02,$00,$00,$00,$00,$00,$00
.byte $00,$00,$00,$00,$00,$00,$00,$00
//------------------------------
JUMP_2390_2F52_OK:
//------------------------------
lda $00
sta $FD
//------------------------------
LOOP_SKIP_2394_23B2_OK:
//------------------------------
ldx #$00
ldy $FD
//------------------------------
LOOP_SKIP_2398_239E_OK:
//------------------------------
inx
inx
inx
inx
inx
dey
bne LOOP_SKIP_2398_239E_OK
lda $2300,X
sta $01
lda $2301,X
sta $02
jsr SUBROUTINE_23B5_23AA_OK
jsr SUBROUTINE_23CE_23AD_OK
dec $FD
bne LOOP_SKIP_2394_23B2_OK
rts
//------------------------------
SUBROUTINE_23B5_23AA_OK:
//------------------------------
txa
pha
lda $2302,X
tax
lda $2338,X
sta ($01),Y
lda $02
clc
adc #$84
sta $02
lda #$03
sta ($01),Y
pla
tax
rts
//------------------------------
SUBROUTINE_23CE_23AD_OK:
//------------------------------
txa
pha
tya
pha
ldx #$80
//------------------------------
LOOP_SKIP_23D4_23D8_OK:
LOOP_SKIP_23D4_23DB_OK:
//------------------------------
stx $900D
dey
bne LOOP_SKIP_23D4_23D8_OK
inx
bne LOOP_SKIP_23D4_23DB_OK
//------------------------------
LOOP_SKIP_23DD_23E1_OK:
LOOP_SKIP_23DD_23E6_OK:
//------------------------------
stx $900D
dey
bne LOOP_SKIP_23DD_23E1_OK
dex
cpx #$7E
bne LOOP_SKIP_23DD_23E6_OK
pla
tay
pla
tax
rts
//------------------------------
.byte $00,$00,$00
//------------------------------
SUBROUTINE_23F0_251E_OK:
//------------------------------
lda $2300,X
sta $01
lda $2301,X
sta $02
lda #$00
sta $03
clc
lda ($01),Y
and #$04
bne LOOP_SKIP_2409_2403_OK
lda #$04
sta $03
//------------------------------
LOOP_SKIP_2409_2403_OK:
//------------------------------
lda $2304,X
sta ($01),Y
lda $02
clc
adc #$84
sta $02
lda $2303,X
sta ($01),Y
//------------------------------
JUMP_241A_2559_OK:
//------------------------------
lda $2302,X
cmp #$00
beq LOOP_SKIP_243F_241F_OK
cmp #$02
beq LOOP_SKIP_243F_2423_OK
cmp #$01
bne LOOP_SKIP_2434_2427_OK
inc $2300,X
bne LOOP_SKIP_2431_242C_OK
inc $2301,X
//------------------------------
LOOP_SKIP_2431_242C_OK:
//------------------------------
jmp JUMP_2468_2431_OK
//------------------------------
LOOP_SKIP_2434_2427_OK:
//------------------------------
ldy #$01
jsr SUBROUTINE_2532_2436_OK
nop
nop
nop
jmp JUMP_2468_243C_OK
//------------------------------
LOOP_SKIP_243F_241F_OK:
LOOP_SKIP_243F_2423_OK:
//------------------------------
cmp #$02
beq LOOP_SKIP_2457_2441_OK
nop
nop
nop
jsr SUBROUTINE_2530_2446_OK
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp JUMP_2468_2454_OK
//------------------------------
LOOP_SKIP_2457_2441_OK:
//------------------------------
lda $2300,X
clc
adc #$19
sta $2300,X
lda $2301,X
adc #$00
sta $2301,X
//------------------------------
JUMP_2468_2431_OK:
JUMP_2468_243C_OK:
JUMP_2468_2454_OK:
//------------------------------
lda $2300,X
sta $01
lda $2301,X
sta $02
lda ($01),Y
cmp #$50
beq LOOP_SKIP_24D8_2476_OK
cmp #$51
beq LOOP_SKIP_24D8_247A_OK
sta $04
txa
pha
ldy #$0C
ldx #$00
//------------------------------
LOOP_SKIP_2484_2491_OK:
//------------------------------
lda $2348,X
cmp $04
beq LOOP_SKIP_2495_2489_OK
inx
inx
inx
inx
inx
dey
bne LOOP_SKIP_2484_2491_OK
beq LOOP_SKIP_2508_2493_OK
//------------------------------
LOOP_SKIP_2495_2489_OK:
//------------------------------
stx $06
pla
tax
lda #$03
jsr SUBROUTINE_28DB_249B_OK
nop
and #$01
beq LOOP_SKIP_24A7_24A1_OK
lda #$01
sta $05
//------------------------------
LOOP_SKIP_24A7_24A1_OK:
//------------------------------
ldy $05
//------------------------------
LOOP_SKIP_24A9_24B9_OK:
JUMP_24A9_24D3_OK:
//------------------------------
inc $2302,X
lda $2302,X
cmp #$04
bne LOOP_SKIP_24B8_24B1_OK
lda #$00
sta $2302,X
//------------------------------
LOOP_SKIP_24B8_24B1_OK:
//------------------------------
dey
bne LOOP_SKIP_24A9_24B9_OK
txa
pha
lda $2302,X
sta $07
lda $06
clc
adc $07
tax
lda $2349,X
cmp #$00
bne LOOP_SKIP_24D6_24CD_OK
pla
tax
ldy #$02
jmp JUMP_24A9_24D3_OK
//------------------------------
LOOP_SKIP_24D6_24CD_OK:
//------------------------------
pla
tax
//------------------------------
LOOP_SKIP_24D8_2476_OK:
LOOP_SKIP_24D8_247A_OK:
//------------------------------
lda $2300,X
sta $01
lda $2301,X
sta $02
lda ($01),Y
sta $2304,X
txa
pha
lda $2302,X
clc
adc $03
tax
lda $2338,X
sta ($01),Y
pla
tax
lda $02
clc
adc #$84
sta $02
//------------------------------
SUBROUTINE_24FF_3384_BAD:
//------------------------------
lda ($01),Y
sta $2303,X
lda $20
sta ($01),Y
rts
//------------------------------
LOOP_SKIP_2508_2493_OK:
//------------------------------
jmp JUMP_2BF8_2508_OK
.byte $00,$00,$00,$00,$00
//------------------------------
SUBROUTINE_2510_25E0_OK:
//------------------------------
ldy #$00
lda $00
sta $FD
//------------------------------
LOOP_SKIP_2516_2523_OK:
//------------------------------
lda $FD
asl
asl
clc
adc $FD
tax
jsr SUBROUTINE_23F0_251E_OK
dec $FD
bne LOOP_SKIP_2516_2523_OK
rts
//------------------------------
JUMP_2526_28D1_OK:
//------------------------------
dec $08
beq LOOP_SKIP_252B_2528_OK
rts
//------------------------------
LOOP_SKIP_252B_2528_OK:
//------------------------------
jmp JUMP_28D4_252B_OK
.byte $00,$00
//------------------------------
SUBROUTINE_2530_2446_OK:
//------------------------------
ldy #$28 //#$19
//------------------------------
SUBROUTINE_2532_2436_OK:
LOOP_SKIP_2532_2540_OK:
//------------------------------
dec $2300,X
lda $2300,X
cmp #$FF
bne LOOP_SKIP_253F_253A_OK
dec $2301,X
//------------------------------
LOOP_SKIP_253F_253A_OK:
//------------------------------
dey
bne LOOP_SKIP_2532_2540_OK
rts
//------------------------------
JUMP_2543_2C04_OK:
//------------------------------
pla
tax
ldy #$02
//------------------------------
LOOP_SKIP_2547_2557_OK:
//------------------------------
inc $2302,X
lda $2302,X
cmp #$04
bne LOOP_SKIP_2556_254F_OK
lda #$00
sta $2302,X
//------------------------------
LOOP_SKIP_2556_254F_OK:
//------------------------------
dey
bne LOOP_SKIP_2547_2557_OK
jmp JUMP_241A_2559_OK
.byte $00,$00,$00,$00
//------------------------------
SUBROUTINE_2560_2253_OK:
SUBROUTINE_2560_3079_OK:
//------------------------------
sei
ldx #$7F
stx $9122
//------------------------------
LOOP_SKIP_2566_256C_OK:
//------------------------------
ldy $9120
cpy $9120
bne LOOP_SKIP_2566_256C_OK
ldx #$FF
stx $9122
ldx #$F7
stx $9120
cli
//------------------------------
LOOP_SKIP_2579_257F_OK:
//------------------------------
lda $911F
cmp $911F
bne LOOP_SKIP_2579_257F_OK
pha
and #$1C
lsr
cpy #$80
bcc LOOP_SKIP_258B_2587_OK
ora #$10
//------------------------------
LOOP_SKIP_258B_2587_OK:
//------------------------------
tay
pla
and #$20
cmp #$20
tya
ror
eor #$8F
sta $0A
rts
//------------------------------
.byte $00,$00,$00,$00,$00,$00,$00,$00
//------------------------------
JUMP_25A0_2BA6_OK:
SUBROUTINE_25A0_2D5E_OK:
SUBROUTINE_25A0_2D61_OK:
JUMP_25A0_2E20_OK:
SUBROUTINE_25A0_2E8F_OK:
//------------------------------
lda #$C7
sta $01
lda #$96
sta $02
ldy #$05
lda #$02
//------------------------------
LOOP_SKIP_25AC_25AF_OK:
//------------------------------
sta ($01),Y
dey
bne LOOP_SKIP_25AC_25AF_OK
inc $01
inc $01
lda $01
sta $2600
lda #$12
sta $2601
lda #$51
sta $2602
lda #$01
sta $2603
lda #$00
sta $2604
lda #$12
sta $02
lda #$4C
sta ($01),Y
lda #$02
sta $2608
rts
//------------------------------
.byte $00,$00,$00,$00
//------------------------------
JUMP_25E0_28D8_OK:
//------------------------------
jsr SUBROUTINE_2510_25E0_OK
jmp JUMP_2620_25E3_OK
.byte $00,$00,$00,$00,$00,$00,$00,$00
.byte $00,$00,$00,$00,$00,$00,$00,$00
.byte $00,$00,$00,$00,$00,$00,$00,$00
.byte $00,$04,$A6,$10,$50,$00
.byte $00,$00,$00,$00,$07
.byte $4B,$4C,$4D,$4E
.byte $00,$00,$00,$00,$00,$00,$00,$00
.byte $00,$00,$00,$00,$00,$00,$00,$00
.byte $00,$00,$00
//------------------------------
JUMP_2620_25E3_OK:
JUMP_2620_2BB4_OK:
//------------------------------
lda $2600
sta $01
lda $2601
sta $02
ldy #$00
lda ($01),Y
ldx $2603
cmp $2609,X
beq LOOP_SKIP_2639_2634_OK
jmp JUMP_2B91_2636_OK
//------------------------------
LOOP_SKIP_2639_2634_OK:
//------------------------------
lda #$00
sta $0B
lda $2602
sta ($01),Y
lda $02
clc
adc #$84
sta $02
lda $2608
sta ($01),Y
lda $2602
cmp #$50
bne LOOP_SKIP_265C_2653_OK
lda #$03
sta $0B
jmp JUMP_26A7_2659_OK
//------------------------------
LOOP_SKIP_265C_2653_OK:
//------------------------------
cmp #$51
bne LOOP_SKIP_2667_265E_OK
lda #$0C
sta $0B
jmp JUMP_26A7_2664_OK
//------------------------------
LOOP_SKIP_2667_265E_OK:
//------------------------------
ldx #$00
ldy #$0C
lda $2602
//------------------------------
LOOP_SKIP_266E_2679_OK:
//------------------------------
cmp $2348,X
beq LOOP_SKIP_267B_2671_OK
inx
inx
inx
inx
inx
dey
bne LOOP_SKIP_266E_2679_OK
//------------------------------
LOOP_SKIP_267B_2671_OK:
//------------------------------
lda $2349,X
beq LOOP_SKIP_2686_267E_OK
lda #$01
ora $0B
sta $0B
//------------------------------
LOOP_SKIP_2686_267E_OK:
//------------------------------
lda $234A,X
beq LOOP_SKIP_2691_2689_OK
lda #$08
ora $0B
sta $0B
//------------------------------
LOOP_SKIP_2691_2689_OK:
//------------------------------
lda $234B,X
beq LOOP_SKIP_269C_2694_OK
lda #$02
ora $0B
sta $0B
//------------------------------
LOOP_SKIP_269C_2694_OK:
//------------------------------
lda $234C,X
beq LOOP_SKIP_26A7_269F_OK
lda #$04
ora $0B
sta $0B
//------------------------------
JUMP_26A7_2659_OK:
JUMP_26A7_2664_OK:
LOOP_SKIP_26A7_269F_OK:
//------------------------------
nop
nop
nop
nop
nop
nop
lda $0A
and #$0F
beq LOOP_SKIP_272D_26B1_OK
lda $0A
and $0B
sta $0B
lda $0B
beq LOOP_SKIP_272D_26BB_OK
and #$01
beq LOOP_SKIP_26DB_26BF_OK
ldy #$19
//------------------------------
LOOP_SKIP_26C3_26D1_OK:
//------------------------------
dec $2600
lda $2600
cmp #$FF
bne LOOP_SKIP_26D0_26CB_OK
dec $2601
//------------------------------
LOOP_SKIP_26D0_26CB_OK:
//------------------------------
dey
bne LOOP_SKIP_26C3_26D1_OK
lda #$00
sta $2603
jmp JUMP_272D_26D8_OK
//------------------------------
LOOP_SKIP_26DB_26BF_OK:
//------------------------------
lda $0B
and #$08
beq LOOP_SKIP_26F1_26DF_OK
inc $2600
bne LOOP_SKIP_26E9_26E4_OK
inc $2601
//------------------------------
LOOP_SKIP_26E9_26E4_OK:
//------------------------------
lda #$01
sta $2603
jmp JUMP_272D_26EE_OK
//------------------------------
LOOP_SKIP_26F1_26DF_OK:
//------------------------------
lda $0B
and #$02
beq LOOP_SKIP_2710_26F5_OK