// ============================================
// output - Disassembled Source
// ============================================
// KickAssembler syntax
// Generated by Restore 64 v0.2.1 alpha build 298, 2026-04-11 21:35:20
// https://restore64.dev by datucker / Rabenauge
//
// Load address: $0700  End: $b71f  (45088 bytes)
// Crunched with Exomizer — depacked by emulation
// Packer entry: $080b (via BASIC SYS 2059)
// Entry point:  $2000 (8192)
// IRQ handler:  $2027 (irq_2027)
//
// Code: 4022 bytes, Data: 41066 bytes
// Labels: 337, Subroutines: 23
//
// Cross-references: all OK
// ============================================


// --- Region $08b0-$08be ---
.pc = $08b0 "Program $08b0"
        eor $54,x
        eor $6a,x
        adc $64
        ror $66
        ora ($55),y
        eor $44,x
        eor $00,x
        rti

// --- Region $08d0-$08d4 ---
.pc = $08d0 "Program $08d0"
        .byte $14,$54                               // nop $54,x // ILLEGAL
        .byte $14,$50                               // nop $50,x // ILLEGAL
        brk

// --- Region $0ad0-$0ad0 ---
.pc = $0ad0 "Program $0ad0"
        rti

// --- Region $1000-$100d ---
.pc = $1000 "sub_1000"
// Referenced by: jsr from $20c1

sub_1000:
        lda #$35
        sta $01
        lda #$00
        jsr sub_a803
        lda #$37
        sta $01
        rts

// --- Region $158d-$158d ---
.pc = $158d "Segment $158d"
        brk

// --- Region $15a5-$15a5 ---
.pc = $15a5 "Segment $15a5"
        brk

// --- Region $18a8-$18a8 ---
.pc = $18a8 "Segment $18a8"
        brk

// --- Region $2000-$2051 ---
.pc = $2000 "main_2000"

main_2000:
        lda #$00
        sta $d011
        jsr sub_2078
        sei
        lda #$7f
        sta $dc0d
        lda #$01
        sta $d01a
        lda #$22
        sta $d012
        lda #$27
        sta $0314
        lda #$20
        sta $0315
        cli

loc_2023:
        jmp loc_2023

dat_2026:
        .byte $00                                   // .

irq_2027:
        lda #$01
        sta $d019
        lda #$d8
        sta $d016
        lda #$12
        sta $d013
        lda #$12
        sta $d018
        lda #$ad
        sta $d012
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        lda #$52
        sta $0314
        jmp $ea81

// --- Region $2073-$20f4 ---
.pc = $2073 "loc_2073"

loc_2073:
        nop
        nop
        jmp $ea81
// Referenced by: jsr from $2005

sub_2078:
        lda #$00
        sta $d021
        sta $d020
        lda #$0e
        jsr sub_29a6
        ldx #$00

loc_2087:
        lda #$0b
        sta $d800,x
        sta $d900,x
        sta $da00,x
        sta $db00,x
        lda #$00
        sta $0400,x
        sta $0500,x
        sta $0600,x
        sta $0700,x
        inx
        bne loc_2087
        ldx #$00

loc_20a8:
        lda $0d00,x
        sta $0400,x
        lda $0e00,x
        sta $0500,x
        lda $0f00,x
        sta $0600,x
        inx
        bne loc_20a8
        lda #$00
        tax
        tay
        jsr sub_1000
        jsr sub_2340
        ldx #$00

loc_20c9:
        lda #$07
        sta $daf8,x
        lda #$00
        sta $06f8,x
        inx
        cpx #$f0
        bne loc_20c9
        ldx #$00

loc_20da:
        lda $3858,x
        sta $0680,x
        inx
        cpx #$78
        bne loc_20da
        lda #$f0
        sta $d015
        lda #$06
        sta $d022
        lda #$00
        sta $0800
        rts

// --- Region $2127-$22d8 ---
.pc = $2127 "loc_2127"

loc_2127:
        nop
        nop
        ldy #$01
        lda $d012
        cmp #$b0
        beq loc_2132

loc_2132:
        jmp loc_2135

loc_2135:
        bit $01
        jmp loc_213c

dat_213a:
        .byte $00,$00                               // ..

loc_213c:
        ldx #$00
        ldy #$a7
        lda $20f8
        sta $d02b
        sta $d02c
        sta $d02d
        sta $d02e
        lda #$1b
        sta $d011
        lda #$e0
        sta $d008
        ldx #$b0
        stx $07fc
        inx
        stx $07fd
        inx
        stx $07fe
        inx
        stx $07ff
        lda #$b5
        sta $d009
        sta $d00b
        sta $d00d
        sta $d00f
        lda #$70
        sta $d00e
        lda #$00
        sta $d00a
        lda #$58
        sta $d00c
        lda #$1d
        sta $d018
        lda #$d8
        ldx #$23

loc_2190:
        dex
        bne loc_2190
        bit $ea
        jsr sub_2313
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2320
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2320
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        lda $20f8
        sta $d021
        sta $d020
        jsr sub_230c
        lda #$1d
        sta $d018
        lda $2400
        nop
        nop
        ora #$d8
        sta $d016
        lda #$b4
        sta $07fc
        lda #$b6
        sta $07fd
        lda #$b8
        sta $07fe
        lda #$ba
        sta $07ff
        lda #$d0
        sta $d010
        lda #$d1
        sta $d009
        sta $d00b
        sta $d00d
        sta $d00f
        lda $d008
        clc
        adc $2400
        sta $d008
        lda $d00a
        clc
        adc $2400
        sta $d00a
        lda $d00c
        sec
        sbc $2407
        sta $d00c
        lda $d00e
        sec
        sbc $2407
        sta $d00e
        lda #$07
        sta $d02b
        sta $d02c
        sta $d02d
        sta $d02e
        lda $d016
        ldy #$d7
        ldx #$34

loc_224a:
        dex
        bne loc_224a
        bit $ea
        jsr sub_2329
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2320
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2320
        jsr sub_2308
        lda #$e6
        sta $d009
        sta $d00b
        sta $d00d
        sta $d00f
        lda $d016
        jsr sub_2313
        inc $07fc
        inc $07fd
        inc $07fe
        inc $07ff
        jsr sub_2314
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2320
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2320
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jsr sub_2308
        jmp loc_2350

dat_22d8:
        .byte $00                                   // .

// --- Region $2308-$23a9 ---
.pc = $2308 "sub_2308"
// Referenced by: jsr from $2198, $219b, $219e, $21a4, $21a7, $21aa, $21ad, $21b0

sub_2308:
        nop
        nop
        nop
        nop
// Referenced by: jsr from $21d4

sub_230c:
        nop
        nop
        nop
        nop
        nop
        nop
        nop
// Referenced by: jsr from $2195, $2290

sub_2313:
        nop
// Referenced by: jsr from $229f

sub_2314:
        nop
        nop
        nop
        nop
        sty $d016
        sta $d016
        rts

dat_231f:
        .byte $ea                                   // .
// Referenced by: jsr from $21a1, $21b6, $2264, $2279, $22ab, $22c0

sub_2320:
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
// Referenced by: jsr from $224f

sub_2329:
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        sty $d016
        sta $d016,x
        sty $d016
        sta $d016
        rts

dat_233d:
        .byte $00,$00,$00                           // ...
// Referenced by: jsr from $20c4

sub_2340:
        ldx #$00

loc_2342:
        nop
        lda #$00
        sta $da80,x
        inx
        cpx #$78
        bne loc_2342
        rts

dat_234e:
        .byte $00,$00                               // ..

loc_2350:
        lda $20fa
        jsr sub_2f00
        jsr sub_23a0
        lda #$2c

loc_235b:
        cmp $d012
        bne loc_235b
        ldx #$06

loc_2362:
        dex
        bne loc_2362
        lda $20f9
        sta $d020
        sta $d021
        lda #$d8
        sta $d016
        lda #$12
        sta $d018
        lda $20fd
        sta $d011
        ldx #$27
        ldy #$20
        stx $0314
        sty $0315
        lda $20fa
        cmp #$01
        bne loc_2392
        jsr sub_2408

loc_2392:
        lda $2400
        eor #$07
        clc
        adc #$09
        sta $2407
        jmp $ea81
// Referenced by: jsr from $2356

sub_23a0:
        jsr sub_1010
        lda $20fe
        sta $d418
        rts

// --- Region $2408-$244c ---
.pc = $2408 "sub_2408"
// Referenced by: jsr from $238f

sub_2408:
        lda $2400
        sec
        sbc $2401
        bcc loc_2417
        nop
        nop
        sta $2400
        rts

loc_2417:
        clc
        adc #$08
        sta $2400
        jsr sub_2600
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        lda $2404
        cmp #$00
        beq loc_2434
        jmp loc_2471

loc_2434:
        lda $3957
        cmp #$00
        bne loc_2447
        ldx #$00
        stx $2435
        ldx #$39
        stx $2436
        lda #$20

loc_2447:
        cmp #$41
        bcc loc_2457

dat_244b:
        .byte $c9,$48                               // .H

// --- Region $2457-$24e8 ---
.pc = $2457 "loc_2457"

loc_2457:
        sta $2402
        lda $2435
        clc
        adc #$01
        sta $2435
        bcc loc_2468
        inc $2436

loc_2468:
        ldx $2402
        lda $2500,x
        sta $2403

loc_2471:
        ldx $2402
        lda $2540,x
        sta $fd
        lda dat_2580,x
        sta $fe
        lda $fd
        clc
        adc $2404
        sta $fd
        bcc loc_248a
        inc $fe

loc_248a:
        lda #$25
        sta $fc
        lda #$c0
        sta $fb
        ldx #$00
        ldy #$00

loc_2496:
        lda ($fd,x)
        sta ($fb,x)
        iny
        lda $fb
        clc
        adc #$05
        sta $fb
        lda $fd
        clc
        adc #$28
        sta $fd
        bcc loc_24ad
        inc $fe

loc_24ad:
        cpy #$05
        bne loc_2496
        lda $2404
        cmp $2403
        bne loc_24be
        lda #$ff
        sta $2404

loc_24be:
        inc $2404
        lda $25c4
        sta $0747
        lda $25c9
        sta $076f
        lda $25ce
        sta $0797
        lda $25d3
        sta $07bf
        lda $25d8
        sta $07e7
        nop
        nop
        nop
        jsr sub_26a8
        nop
        nop
        nop
        rts

// --- Region $2600-$262c ---
.pc = $2600 "sub_2600"
// Referenced by: jsr from $241d

sub_2600:
        ldx #$18

loc_2602:
        lda $25bf,x
        sta $25c0,x
        dex
        bne loc_2602
        lda $0720
        sta $25d9
        lda $0748
        sta $25da
        lda $0770
        sta $25db
        lda $0798
        sta $25dc
        lda $07c0
        sta dat_25dd
        jmp loc_2980

dat_262c:
        .byte $21                                   // !

// --- Region $2639-$2a59 ---
.pc = $2639 "sub_2639"
// Referenced by: jsr from $26ab, $26f1, $2737, $277d, $27c3, $2828, $286e, $28b4

sub_2639:
        cmp #$20
        bcs loc_2645
        ldy #$30
        sty $2678
        jmp loc_266e

loc_2645:
        cmp #$40
        bcs loc_2651
        ldy #$31
        sty $2678
        jmp loc_266e

loc_2651:
        cmp #$60
        bcs loc_265d
        ldy #$32
        sty $2678
        jmp loc_266e

loc_265d:
        cmp #$80
        bcs loc_2669
        ldy #$33
        sty $2678
        jmp loc_266e

loc_2669:
        ldy #$34
        sty $2678

loc_266e:
        and #$1f
        asl
        asl
        asl
        tax
        ldy #$00

loc_2676:
        lda $3000,x
        sta $25e0,y
        iny
        inx
        cpy #$08
        bne loc_2676
        rts

dat_2683:
        .byte $00                                   // .
// Referenced by: jsr from $26b3, $26bb, $26c3, $26cb, $26d3, $26db, $26e3, $26eb

sub_2684:
        lda $2e01,x
        sta $2e00,x
        lda $2e02,x
        sta $2e01,x
        lda $2e80,x
        sta $2e02,x
        lda $2e81,x
        sta $2e80,x
        lda $2e82,x
        sta $2e81,x
        tya
        sta $2e82,x
        rts

dat_26a7:
        .byte $00                                   // .
// Referenced by: jsr from $24e2

sub_26a8:
        lda $25c0
        jsr sub_2639
        ldy $25e0
        ldx #$03
        jsr sub_2684
        ldy $25e1
        ldx #$06
        jsr sub_2684
        ldy $25e2
        ldx #$09
        jsr sub_2684
        ldy $25e3
        ldx #$0c
        jsr sub_2684
        ldy $25e4
        ldx #$0f
        jsr sub_2684
        ldy $25e5
        ldx #$12
        jsr sub_2684
        ldy $25e6
        ldx #$15
        jsr sub_2684
        ldy $25e7
        ldx #$18
        jsr sub_2684
        lda $25c5
        jsr sub_2639
        ldy $25e0
        ldx #$1b
        jsr sub_2684
        ldy $25e1
        ldx #$1e
        jsr sub_2684
        ldy $25e2
        ldx #$21
        jsr sub_2684
        ldy $25e3
        ldx #$24
        jsr sub_2684
        ldy $25e4
        ldx #$27
        jsr sub_2684
        ldy $25e5
        ldx #$2a
        jsr sub_2684
        ldy $25e6
        ldx #$2d
        jsr sub_2684
        ldy $25e7
        ldx #$30
        jsr sub_2684
        lda $25ca
        jsr sub_2639
        ldy $25e0
        ldx #$33
        jsr sub_2684
        ldy $25e1
        ldx #$36
        jsr sub_2684
        ldy $25e2
        ldx #$39
        jsr sub_2684
        ldy $25e3
        ldx #$3c
        jsr sub_2684
        ldy $25e4
        ldx #$40
        jsr sub_2684
        ldy $25e5
        ldx #$43
        jsr sub_2684
        ldy $25e6
        ldx #$46
        jsr sub_2684
        ldy $25e7
        ldx #$49
        jsr sub_2684
        lda $25cf
        jsr sub_2639
        ldy $25e0
        ldx #$4c
        jsr sub_2684
        ldy $25e1
        ldx #$4f
        jsr sub_2684
        ldy $25e2
        ldx #$52
        jsr sub_2684
        ldy $25e3
        ldx #$55
        jsr sub_2684
        ldy $25e4
        ldx #$58
        jsr sub_2684
        ldy $25e5
        ldx #$5b
        jsr sub_2684
        ldy $25e6
        ldx #$5e
        jsr sub_2684
        ldy $25e7
        ldx #$61
        jsr sub_2684
        lda $25d4
        jsr sub_2639
        ldy $25e0
        ldx #$64
        jsr sub_2684
        ldy $25e1
        ldx #$67
        jsr sub_2684
        ldy $25e2
        ldx #$6a
        jsr sub_2684
        ldy $25e3
        ldx #$6d
        jsr sub_2684
        ldy $25e4
        ldx #$70
        jsr sub_2684
        ldy $25e5
        ldx #$73
        jsr sub_2684
        ldy $25e6
        ldx #$76
        jsr sub_2684
        jmp loc_2825

dat_2801:
        .byte $00                                   // .
// Referenced by: jsr from $2830, $2838, $2840, $2848, $2850, $2858, $2860, $2868

sub_2802:
        lda $2d01,x
        sta $2d00,x
        lda $2d02,x
        sta $2d01,x
        lda $2d80,x
        sta $2d02,x
        lda $2d81,x
        sta $2d80,x
        lda $2d82,x
        sta $2d81,x
        tya
        sta $2d82,x
        rts

loc_2825:
        lda $25d9
        jsr sub_2639
        ldy $25e0
        ldx #$03
        jsr sub_2802
        ldy $25e1
        ldx #$06
        jsr sub_2802
        ldy $25e2
        ldx #$09
        jsr sub_2802
        ldy $25e3
        ldx #$0c
        jsr sub_2802
        ldy $25e4
        ldx #$0f
        jsr sub_2802
        ldy $25e5
        ldx #$12
        jsr sub_2802
        ldy $25e6
        ldx #$15
        jsr sub_2802
        ldy $25e7
        ldx #$18
        jsr sub_2802
        lda $25da
        jsr sub_2639
        ldy $25e0
        ldx #$1b
        jsr sub_2802
        ldy $25e1
        ldx #$1e
        jsr sub_2802
        ldy $25e2
        ldx #$21
        jsr sub_2802
        ldy $25e3
        ldx #$24
        jsr sub_2802
        ldy $25e4
        ldx #$27
        jsr sub_2802
        ldy $25e5
        ldx #$2a
        jsr sub_2802
        ldy $25e6
        ldx #$2d
        jsr sub_2802
        ldy $25e7
        ldx #$30
        jsr sub_2802
        lda $25db
        jsr sub_2639
        ldy $25e0
        ldx #$33
        jsr sub_2802
        ldy $25e1
        ldx #$36
        jsr sub_2802
        ldy $25e2
        ldx #$39
        jsr sub_2802
        ldy $25e3
        ldx #$3c
        jsr sub_2802
        ldy $25e4
        ldx #$40
        jsr sub_2802
        ldy $25e5
        ldx #$43
        jsr sub_2802
        ldy $25e6
        ldx #$46
        jsr sub_2802
        ldy $25e7
        ldx #$49
        jsr sub_2802
        lda $25dc
        jsr sub_2639
        ldy $25e0
        ldx #$4c
        jsr sub_2802
        ldy $25e1
        ldx #$4f
        jsr sub_2802
        ldy $25e2
        ldx #$52
        jsr sub_2802
        ldy $25e3
        ldx #$55
        jsr sub_2802
        ldy $25e4
        ldx #$58
        jsr sub_2802
        ldy $25e5
        ldx #$5b
        jsr sub_2802
        ldy $25e6
        ldx #$5e
        jsr sub_2802
        ldy $25e7
        ldx #$61
        jsr sub_2802
        lda dat_25dd
        jsr sub_2639
        ldy $25e0
        ldx #$64
        jsr sub_2802
        ldy $25e1
        ldx #$67
        jsr sub_2802
        ldy $25e2
        ldx #$6a
        jsr sub_2802
        ldy $25e3
        ldx #$6d
        jsr sub_2802
        ldy $25e4
        ldx #$70
        jsr sub_2802
        ldy $25e5
        ldx #$73
        jsr sub_2802
// Referenced by: jsr from $29e8

sub_2973:
        ldy $25e6
        ldx #$76
        jsr sub_2802
        rts

dat_297c:
        .byte $00,$00,$00,$00                       // ....

loc_2980:
        ldx #$00

loc_2982:
        lda $0721,x
        sta $0720,x
        lda $0749,x
        sta $0748,x
        lda $0771,x
        sta $0770,x
        lda $0799,x
        sta $0798,x
        lda $07c1,x
        sta $07c0,x
        inx
        cpx #$28
        bne loc_2982
        rts
// Referenced by: jsr from $2082

sub_29a6:
        sta $d023
        ldx #$00
        lda #$00

loc_29ad:
        sta $2d00,x
        sta $2e00,x
        inx
        bne loc_29ad
        ldx #$00

loc_29b8:
        sta $25c0,x
        inx
        cpx #$28
        bne loc_29b8
        lda #$00
        sta $2404
        ldx #$00
        ldy #$39
        stx $2435
        sty $2436
        lda #$04
        sta $2401
        lda #$00
        sta $20fa
        lda #$00
        sta $20fd
        lda #$00
        sta $20fb
        sta $20fc
        lda #$00
        jsr sub_2973
        lda #$02
        sta $20f8
        rts

dat_29f1:
        .byte $00,$78,$a9,$34,$85,$01,$a2,$00       // .x.4....

loc_29f9:
        lda $3c00,x
        sta $0801,x
        inx
        bne loc_29f9
        inc $0343
        inc $0346
        lda $0343

loc_2a0b:
        cmp #$00
        bne loc_29f9
        lda #$37
        sta $01
        cli
        jsr $e544
        jmp $fce2

loc_2a1a:
        jsr $ff8a
        lda #$00
        sta $d020
        sta $d020
        sta $d021
        ldx #$18

loc_2a2a:
        lda #$00
        sta $d400,x
        dex
        bne loc_2a2a
        ldx #$00

loc_2a34:
        lda $29f2,x
        sta $033a,x
        inx
        cpx #$30
        bne loc_2a34
        lda #$16
        sta $d018
        ldx #$00

loc_2a46:
        lda $2a5a,x
        sta $0400,x
        lda #$0c
        sta $d800,x
        inx
        cpx #$18
        bne loc_2a46
        jmp $033a

dat_2a59:
        .byte $00                                   // .

// --- Region $2f00-$2fa0 ---
.pc = $2f00 "sub_2f00"
// Referenced by: jsr from $2353

sub_2f00:
        cmp #$01
        bne loc_2f07
        jmp loc_2f60

loc_2f07:
        cmp #$02
        bne loc_2f0e
        jmp loc_2f70

loc_2f0e:
        nop
        lda $20fc
        sec
        sbc #$01
        bcc loc_2f1b
        sta $20fc
        rts

loc_2f1b:
        lda #$02
        sta $20fc
        inc $20fb
        lda $20fb
        cmp #$10
        bcs loc_2f3b

loc_2f2a:
        tax
        lda $2fe0,x
        sta $20f8
        sta $20f9
        lda $2ff0,x
        sta $20fe
        rts

loc_2f3b:
        cmp #$30
        bne loc_2f45
        lda #$01
        sta $20fa
        rts

loc_2f45:
        sec
        sbc #$10
        tax
        lda $2fc0,x
        sta $20fd
        cmp #$1b
        bne loc_2f59
        lda #$00
        sta $20f8
        rts

loc_2f59:
        lda #$06
        sta $20f8
        rts

dat_2f5f:
        .byte $00                                   // .

loc_2f60:
        lda $dc01
        cmp #$ef
        beq loc_2f68
        rts

loc_2f68:
        lda #$02
        sta $20fa
        rts

dat_2f6e:
        .byte $00,$00                               // ..

loc_2f70:
        lda $20fc
        sec
        sbc #$01
        bcc loc_2f7c
        sta $20fc
        rts

loc_2f7c:
        lda #$02
        sta $20fc
        dec $20fb
        lda $20fb
        cmp #$10
        bcc loc_2f8e
        jmp loc_2f45

loc_2f8e:
        cmp #$00
        beq loc_2f95
        jmp loc_2f2a

loc_2f95:
        sei
        lda #$00
        sta $d020
        jsr $ff81
        jmp loc_2a1a

// --- Region $3860-$3864 ---
.pc = $3860 "Segment $3860"
        adc ($72),y
        .byte $73,$00                               // rra ($00),y // ILLEGAL
        brk

// --- Region $38a8-$38ae ---
.pc = $38a8 "Segment $38a8"
        .byte $7b,$7b,$7b                           // rra $7b7b,y // ILLEGAL
        .byte $7b,$9d,$97                           // rra $979d,y // ILLEGAL

dat_38ae:
        .byte $9e                                   // .

// --- Region $4ca8-$4ca8 ---
.pc = $4ca8 "Segment $4ca8"
        brk

// --- Region $9da8-$9da8 ---
.pc = $9da8 "Segment $9da8"
        brk

// --- Region $a803-$a807 ---
.pc = $a803 "sub_a803"
// Referenced by: jsr from $1006

sub_a803:
        jmp loc_af08

dat_a806:
        .byte $00,$0b                               // ..

// --- Region $a889-$a9ef ---
.pc = $a889 "loc_a889"

loc_a889:
        ora ($60,x)
        dec dat_a806
        bpl loc_a895
        lda #$03
        sta dat_a806

loc_a895:
        ldx #$00
        jsr sub_a8b1
        ldx #$07
        jsr sub_a8b1
        ldx #$0e
        jsr sub_a8b1
        lda #$10
        ora #$0f
        sta $d418
        lda #$a0
        sta $d416
        rts
// Referenced by: jsr from $a897, $a89c, $a8a1

sub_a8b1:
        lda dat_a806
        cmp #$03
        bne loc_a8d1
        dec $a808,x
        beq loc_a8cc
        bpl loc_a8c2
        jmp loc_ad5f

loc_a8c2:
        ldy $a807,x
        lda $b500,y
        and #$08
        bne loc_a8d1

loc_a8cc:
        lda #$fe
        sta $a847,x

loc_a8d1:
        ldy $a807,x
        sty $f9
        lda $a831,x
        bne loc_a8fc
        sta $a870,x
        sta $a833,x
        sta $a834,x
        sta $a84a,x
        sta $a85f,x
        lda $b5e6,y
        sta $a84b,x
        lda $b5a1,y
        sta $a875,x
        lda $b5cf,y
        sta $a876,x

loc_a8fc:
        lda $a81c,x
        cmp $a81d,x
        beq loc_a957
        bcs loc_a922
        lda $a84c,x
        clc
        adc $a81e,x
        sta $a84c,x
        lda $a837,x
        adc #$00
        sta $a837,x
        ldy $a81d,x
        cmp $af5d,y
        bcc loc_a954
        bcs loc_a93c

loc_a922:
        lda $a84c,x
        sec
        sbc $a81e,x
        sta $a84c,x
        lda $a837,x
        sbc #$00
        sta $a837,x
        ldy $a81d,x
        cmp $af5d,y
        bcs loc_a954

loc_a93c:
        lda $a849,x
        and #$7f
        sta $a849,x
        tya
        sta $a81c,x
        lda $afbc,y
        sta $a84c,x
        lda $af5d,y
        sta $a837,x

loc_a954:
        jmp loc_ab17

loc_a957:
        ldy $f9
        lda $b614,y
        and #$02
        beq loc_a99e
        lda $b5fd,y
        sta $f8
        and #$7f
        asl
        tay
        lda $b0a1,y
        sta $14
        lda $b0a2,y
        sta $15
        ldy #$00
        lda $a831,x
        cmp ($14),y
        bcs loc_a99b
        asl
        adc #$01
        tay
        lda ($14),y
        sta $a822,x
        iny
        lda ($14),y
        bit $f8
        bpl loc_a993
        clc
        ldy $a81c,x
        adc $af5e,y

loc_a993:
        sta $a837,x
        lda #$00
        sta $a84c,x

loc_a99b:
        jmp loc_ab44

loc_a99e:
        lda $b614,y
        and #$b0
        bne loc_a9ac
        lda $b5fd,y
        sta $14
        bne loc_a9af

loc_a9ac:
        jmp loc_aa49

loc_a9af:
        lda $a831,x
        cmp $b5e6,y
        bcs loc_a9c3
        lda $14
        lsr
        lsr
        lsr
        lsr
        sta $a833,x
        jmp loc_ab17

loc_a9c3:
        lda $14
        and #$78
        lsr
        lsr
        lsr
        sta $aa22
        ldy $a81c,x
        lda $afbc,y
        sec
        sbc $afbb,y
        pha
        lda $af5d,y
        sbc $af5c,y
        sta $15
        lda $14
        and #$07
        tay
        lda dat_af55,y
        sta smc_a9ee                                // SMC: modifies $a9ee
        pla
        clv
.label smc_a9ee = * + 1
        bvc loc_aa04                                // !SMC: modified by $a9e8

dat_a9ef:
        .byte $46                                   // F

// --- Region $aa04-$af55 ---
.pc = $aa04 "loc_aa04"

loc_aa04:
        lsr $15
        ror
        ldy $a834,x
        bne loc_aa2b
        clc
        adc $a84c,x
        sta $a84c,x
        lda $a837,x
        adc $15
        sta $a837,x
        inc $a833,x
        lda $a833,x
        cmp #$04
        bcc loc_aa28
        inc $a834,x

loc_aa28:
        jmp loc_ab17

loc_aa2b:
        sta $14
        sec
        lda $a84c,x
        sbc $14
        sta $a84c,x
        lda $a837,x
        sbc $15
        sta $a837,x
        dec $a833,x
        bne loc_aa28
        dec $a834,x
        jmp loc_ab17

loc_aa49:
        lda $b614,y
        bpl loc_aa93
        dec $a84a,x
        bpl loc_aa70
        lda $a84b,x
        sta $a84a,x
        lda $a849,x
        eor #$20
        sta $a849,x
        ora $b614,y
        and #$20
        bne loc_aa70
        lda $a84b,x
        beq loc_aa70
        dec $a84b,x

loc_aa70:
        ldy $a81c,x
        lda $a849,x
        and #$20
        bne loc_aa84
        ldy $f9
        lda $b687,y
        clc
        adc $a81c,x
        tay

loc_aa84:
        lda $afbc,y
        sta $a84c,x
        lda $af5d,y
        sta $a837,x
        jmp loc_ab17

loc_aa93:
        sta $f8
        and #$40
        beq loc_aad0
        ldy $a85e,x
        lda #$01
        clc
        adc $b0ab,y
        sta $14
        lda #$b7
        adc #$00
        sta $15
        dec $a85f,x
        bpl loc_aab6
        ldy #$00
        lda ($14),y
        sta $a85f,x

loc_aab6:
        ldy $a85f,x
        iny
        lda ($14),y
        clc
        adc $a81c,x
        tay
        lda $afbc,y
        sta $a84c,x
        lda $af5d,y
        sta $a837,x
        jmp loc_ab17

loc_aad0:
        lda $f8
        and #$10
        beq loc_ab17
        ldy $f9
        lda $b62b,y
        sta $aae4
        beq loc_aae9
        lda $a837,x
        cmp #$00
        beq loc_ab17
        bne loc_aafc

loc_aae9:
        lda $a837,x
        cmp $b687,y
        bcs loc_aafc
        ldy $a81c,x
        lda $af5d,y
        sta $a837,x
        ldy $f9

loc_aafc:
        lda $a84c,x
        sec
        sbc $b5e6,y
        sta $a84c,x
        lda $a837,x
        sbc $b5fd,y
        bcs loc_ab14
        ldy $aae4
        beq loc_ab14
        tya

loc_ab14:
        sta $a837,x

loc_ab17:
        ldy $f9
        lda $a831,x
        bne loc_ab31
        lda $b517,y
        bpl loc_ab39
        lda #$81
        sta $d401,x
        sta $d404,x
        sta $a885
        jmp loc_ab44

loc_ab31:
        lda $b517,y
        and #$7f
        sta $a885

loc_ab39:
        cmp $a831,x
        bcs loc_ab44
        lda $b52e,y
        sta $a822,x

loc_ab44:
        ldy $f9
        lda $b614,y
        sta $f8
        and #$08
        beq loc_ab78
        lda $a849,x
        and #$40
        bne loc_ab78
        lda $a832,x
        cmp #$02
        bcs loc_ab66
        lda $b55c,y
        and #$f0
        ora #$02
        bne loc_ab68

loc_ab66:
        lda #$02

loc_ab68:
        sta smc_ab74                                // SMC: modifies $ab74
        lda $a808,x
        cmp $b62b,y
        bcs loc_ab78
.label smc_ab74 = * + 1
        lda #$02                                    // !SMC: modified by $ab68
        sta $d406,x

loc_ab78:
        ldy $f9
        lda $b642,y
        sta $15
        and #$7f
        bne loc_ab86
        jmp loc_ac9f

loc_ab86:
        sec
        sbc #$01
        asl
        asl
        asl
        sta $14
        lda $a831,x
        bne loc_abdf
        lda $15
        cmp #$80
        lda #$00
        rol
        sta $a872,x
        lda $a871,x
        bne loc_abcf

loc_aba2:
        sta $a85c,x
        lda #$ff
        sta $a85d,x
        lda #$80
        sta $a85b,x
        lda $b659,y
        asl
        asl
        asl
        asl
        sta $a821,x
        sta smc_ac88                                // SMC: modifies $ac88
        lda $a872,x
        sta $a871,x
        lda $a885
        bpl loc_abcc

loc_abc7:
        lda #$e0
        jmp loc_ac8c

loc_abcc:
        jmp loc_abdf

loc_abcf:
        lda $a885
        bmi loc_abc7
        lda $a872,x
        bne loc_abdf
        sta $a871,x
        jmp loc_aba2

loc_abdf:
        bit $15
        bvc loc_abe6
        jmp loc_ac80

loc_abe6:
        ldy $14
        dec $a85c,x
        bpl loc_ac44
        lda $b717,y
        sta $a85c,x
        lda $a85d,x
        cmp #$03
        bne loc_ac41
        lda $b718,y
        beq loc_ac13
        bne loc_ac44

loc_ac01:
        lda $b718,y
        bmi loc_ac13
        asl
        bpl loc_ac16
        asl
        sta $a85b,x
        lda $b715,y
        sta $a821,x

loc_ac13:
        jmp loc_ac80

loc_ac16:
        asl
        bpl loc_ac25
        sta $a85b,x
        lda $b716,y
        sta $a821,x
        jmp loc_ac80

loc_ac25:
        asl
        bpl loc_ac33
        ldy $14
        lda $b715,y
        sta $a821,x
        jmp loc_ac80

loc_ac33:
        asl
        bpl loc_ac80
        ldy $14
        lda $b716,y
        sta $a821,x
        jmp loc_ac80

loc_ac41:
        inc $a85d,x

loc_ac44:
        lda $a85d,x
        ora $14
        tay
        lda $a85b,x
        bmi loc_ac6b
        lda $a821,x
        clc
        adc $b719,y
        sta $a821,x
        ldy $14
        cmp $b716,y
        bcc loc_ac68
        lda #$80

loc_ac62:
        sta $a85b,x
        jmp loc_ac01

loc_ac68:
        jmp loc_ac80

loc_ac6b:
        lda $a821,x
        sec
        sbc $b719,y
        sta $a821,x
        ldy $14
        cmp $b715,y
        bcs loc_ac80
        lda #$00
        beq loc_ac62

loc_ac80:
        lda $a821,x
        bit $15
        bvc loc_ac8c
.label smc_ac88 = * + 1
        lda #$a0                                    // !SMC: modified by $abb9
        sta $a821,x

loc_ac8c:
        sta $a8ac
        ldy $f9
        lda $b659,y
        and #$f0
        sta $a8a5
        lda $a846,x
        sta $a870,x

loc_ac9f:
        lda $a870
        ora $a877
        ora $a87e
        ora #$f0
        sta $d417
        ldy $f9
        lda $b573,y
        bne loc_acb7
        jmp loc_ad0d

loc_acb7:
        lda $a875,x
        beq loc_acd1
        dec $a875,x
        lda $a835,x
        clc
        adc $b58a,y
        sta $a835,x
        bcc loc_acce
        inc $a836,x

loc_acce:
        jmp loc_ad04

loc_acd1:
        lda $a876,x
        beq loc_aceb
        dec $a876,x
        lda $a835,x
        sec
        sbc $b5b8,y
        sta $a835,x
        bcs loc_ace8
        dec $a836,x

loc_ace8:
        jmp loc_ad04

loc_aceb:
        lda $b614,y
        and #$04
        beq loc_acfe
        lda $b5a1,y
        sta $a875,x
        lda $b5cf,y
        sta $a876,x

loc_acfe:
        jmp loc_ad01

loc_ad01:
        lda $a835,x

loc_ad04:
        sta $d402,x
        lda $a836,x
        sta $d403,x

loc_ad0d:
        lda $a885
        bmi loc_ad27
        lda $a84c,x
        sta $d400,x
        lda $a837,x
        sta $d401,x
        lda $a822,x
        and $a847,x
        sta $d404,x

loc_ad27:
        lda $a831,x
        bmi loc_ad2f
        inc $a831,x

loc_ad2f:
        lda #$00
        sta $a885
        rts
// Referenced by: jsr from $aea6

sub_ad35:
        lda $a861,x
        bmi loc_ad57
        beq loc_ad49
        lda $a860,x
        clc
        adc $b687,y
        sta $a860,x
        jmp loc_ad53

loc_ad49:
        lda $a860,x
        clc
        adc $b670,y
        sta $a860,x

loc_ad53:
        inc $a861,x
        rts

loc_ad57:
        lda $f8
        sta $a860,x
        jmp loc_ad53

loc_ad5f:
        lda $a809,x
        sta $14
        lda $a80a,x
        sta $15
        ldy $a80b,x
        jmp loc_ad70

loc_ad6f:
        iny

loc_ad70:
        lda ($14),y
        bpl loc_adac
        cmp #$fd
        bcc loc_ad99
        and #$01
        beq loc_ad89
        ldy #$0f
        sty $a8a7
        lsr
        sta $a80b,x
        tay
        jmp loc_ad70

loc_ad89:
        ldy #$ff
        sty $a887
        iny
        sty $d412
        sty $d40b
        sty $d404
        rts

loc_ad99:
        cmp #$b4
        bcc loc_ada5
        sbc #$c0
        sta $a820,x
        jmp loc_ad6f

loc_ada5:
        sbc #$7f
        sta $a80d,x
        bpl loc_ad6f

loc_adac:
        asl
        sta $adb5
        tya
        sta $a80b,x
        ldy #$18
        lda $b05d,y
        sta $14
        lda $b05e,y
        sta $15
        ldy $a80c,x

loc_adc3:
        lda ($14),y
        bmi loc_add6
        cmp #$60
        bcc loc_add3
        and #$1f
        sta $a85e,x
        iny
        bne loc_adc3

loc_add3:
        jmp loc_ae4c

loc_add6:
        cmp #$a0
        bcs loc_ade7
        and #$1f
        sta $a807,x
        lda #$ff
        sta $a861,x
        iny
        bne loc_adc3

loc_ade7:
        cmp #$e0
        bcs loc_adf3

dat_adeb:
        .byte $e9,$9f,$9d,$32,$a8                   // ...2.

loc_adf0:
        iny
        bne loc_adc3

loc_adf3:
        cmp #$e1
        bcs loc_ae24
        lda $a849,x
        ora #$80
        sta $a849,x
        iny
        lda ($14),y
        sta $f8
        and #$7f
        clc
        adc $a820,x
        sta $a81d,x
        iny
        lda ($14),y
        sta $a81e,x
        bit $f8
        bmi loc_ae34
        iny
        lda ($14),y
        clc
        adc $a820,x
        sta $a81c,x
        iny
        bne loc_ae5f

loc_ae24:
        cmp #$e2
        bcs loc_ae3c
        iny
        lda ($14),y
        bpl loc_ae31
        and #$7f
        bpl loc_adf0

loc_ae31:
        sta $a832,x

loc_ae34:
        iny
        tya
        sta $a80c,x
        jmp loc_aedc

loc_ae3c:
        asl
        asl
        asl
        asl
        asl
        clc
        adc $a807,x
        sta $a807,x
        iny
        jmp loc_adc3

loc_ae4c:
        clc
        adc $a820,x
        sta $a81c,x
        sta $a81d,x
        lda $a849,x
        and #$7f
        sta $a849,x
        iny

loc_ae5f:
        tya
        sta $a80c,x
        lda $a849,x
        and #$80
        sta $a849,x
        ldy $a807,x
        lda $b573,y
        and #$0f
        sta $d403,x
        sta $a836,x
        lda $b614,y
        and #$01
        bne loc_ae8c
        lda $b573,y
        and #$f0
        sta $a835,x
        lda #$00
        beq loc_ae90

loc_ae8c:
        lsr
        sta $a835,x

loc_ae90:
        sta $a831,x
        sta $d402,x
        lda $b545,y
        sta $d405,x
        lda $b55c,y
        sta $f8
        lda $b670,y
        beq loc_aeb2
        jsr sub_ad35
        lda $a860,x
        sta $d406,x
        jmp loc_aeb7

loc_aeb2:
        lda $f8
        sta $d406,x

loc_aeb7:
        lda #$ff
        sta $a847,x
        lda $b500,y
        and #$f7
        sta $d404,x
        sta $a822,x
        ldy $a81c,x
        lda $afbc,y
        sta $d400,x
        sta $a84c,x
        lda $af5d,y
        sta $d401,x
        sta $a837,x

loc_aedc:
        lda $a832,x
        sta $a808,x
        ldy $a80c,x
        lda ($14),y
        cmp #$e1
        bne loc_aef3
        lda $a849,x
        ora #$40
        sta $a849,x

loc_aef3:
        lda ($14),y
        bne loc_af07
        sta $a80c,x
        lda $a80d,x
        beq loc_af04
        dec $a80d,x
        bpl loc_af07

loc_af04:
        inc $a80b,x

loc_af07:
        rts

loc_af08:
        ldy #$00
        lda #$0f
        sta $a8a7
        ldx #$00
        stx $d416
        stx $a887
        stx dat_a806
        stx $d417
        stx $a8a5

loc_af20:
        lda $b0af,y
        sta $a809,x
        lda $b0b0,y
        sta $a80a,x
        lda #$00
        sta $a80b,x
        sta $a80c,x
        sta $a80d,x
        sta $a849,x
        sta $a871,x
        sta $a808,x
        sta $a807,x
        sta $a837,x
        sta $d404,x
        txa
        clc
        adc #$07
        tax
        iny
        iny
        cmp #$15
        bcc loc_af20
        rts

dat_af55:
        .byte $15                                   // .

// ============================================
// Data blocks
// ============================================

// --- Region $0808-$08af ---
.pc = $0808 "dat_0808"

dat_0808:
        .byte $01,$0a,$2a,$55,$6a,$65,$66,$65,$59,$ae,$ab,$55,$aa,$99,$56,$95 // ..*UjefeY..U..V.
        .byte $56,$af,$bf,$55,$aa,$95               // V..U..

txt_081e:
        .text "QD"
        .byte $a6                                   // '&' | $80 (end-of-string marker)
        .byte $ee,$ba,$55,$aa,$44,$15,$55,$65,$ea,$aa,$55,$aa,$46,$52,$46,$64 // ..U.D.Ue..U.FRFd
        .byte $a4,$a8,$64,$68,$64,$14               // ..dhd.

txt_0837:
        .text "TV"
        .byte $af                                   // '/' | $80 (end-of-string marker)
        .byte $bf,$55,$aa,$99                       // .U..

txt_083e:
        .text "VY"
        .byte $aa                                   // '*' | $80 (end-of-string marker)
        .byte $ef,$bf,$57,$a5,$6a,$56,$55,$80,$a4,$e5,$f9,$6a,$5a,$96,$a6,$00 // ..W.jVU....jZ...
        .byte $00,$00,$40,$40,$50,$90,$90,$02,$0e,$2a,$55,$6a,$65,$65,$65,$65 // ..@@P....*Ujeeee
        .byte $ea,$aa,$55,$a9,$65,$95,$65,$64,$a4,$88 // ..U.e.ed..

txt_086b:
        .text "DHDDD"
        .byte $00                                   // string terminator
        .byte $00,$00,$00,$00,$01,$05,$06,$00,$03,$0f,$35,$56,$6a,$a5,$95,$25 // ..........5Vj..%
        .byte $fe,$bf,$55,$aa,$59,$65,$59,$26,$fb,$be,$55,$aa,$55,$64,$55,$95 // ..U.YeY&..U.UdU.
        .byte $ba,$ea,$55,$aa,$19                   // ..U..

txt_0896:
        .text "YUV"
        .byte $ab                                   // '+' | $80 (end-of-string marker)
        .byte $aa,$55,$aa,$66,$95,$65,$56,$ab,$ef,$55,$aa,$65,$96,$55,$66,$69 // .U.f.eV..U.e.Ufi
        .byte $66,$69,$65,$69,$65,$69               // fieiei

// --- Region $08bf-$08cf ---
.pc = $08bf "dat_08bf"

dat_08bf:
        .byte $80,$11                               // ..

txt_08c1:
        .text "DUDU"
        .byte $00                                   // string terminator
        .byte $00,$00,$52,$56,$12,$40,$55,$00,$00,$00 // ..RV.@U...

// --- Region $08d5-$0acf ---
.pc = $08d5 "dat_08d5"

dat_08d5:
        .byte $00,$00,$00,$55,$55,$55,$6a,$65,$64,$66,$65,$55,$59,$55,$6a,$55 // ...UUUjedfeUYUjU
        .byte $01,$80,$80,$55,$55,$55,$95,$a5,$69,$59,$1a,$65,$69,$99,$69,$9a // ...UUU..iY.ei.i.
        .byte $66,$e6,$6a,$a4,$64,$64               // f.j.dd

txt_08fb:
        .text "T$X$XY"
        .byte $1a,$19,$1a,$19,$1a,$19,$1a,$95
        .byte $55,$95
        .text "ZYYYY"
        .byte $04
        .byte $54,$14
        .byte $50,$50,$00,$a0,$60,$16
        .text "ZYZ)"
        .byte $66
        .byte $26,$6a
        .byte $55
        .byte $55,$95,$55,$96,$5a,$d9,$69           // U.U.Z.i

txt_0928:
        .text "UYU"
        .byte $aa                                   // '*' | $80 (end-of-string marker)
        .byte $95,$50,$40,$00                       // .P@.

txt_0930:
        .text "TUU"
        .byte $a9                                   // ')' | $80 (end-of-string marker)
        .byte $95,$50,$40,$00,$45,$16,$55,$1a,$59,$0a,$09,$0a,$55,$55,$55,$9a // .P@.E.U.Y...UUU.
        .byte $55,$01,$a0,$60,$66,$7a,$7e,$7a,$7e,$7a,$7e,$7a,$66,$96,$66,$95 // U..`fz~z~z~zf.f.
        .byte $61,$94,$61,$95,$40,$80,$40,$40,$56,$6f,$3f,$55,$00,$00,$00,$00 // a.a.@.@@Vo?U....
        .byte $a6,$ee,$ba,$55,$00,$00,$00,$00,$90,$90,$a0,$90,$66,$95,$65,$95 // ...U........f.e.
        .byte $62,$97,$63,$96,$80,$80,$40,$80,$80,$80,$c0,$c0,$16,$06,$07,$07 // b.c...@.........
        .byte $07,$07,$07,$07,$e6,$6a,$e6,$a9,$e6,$a9,$e6,$a9,$24,$54,$14,$58 // .....j......$T.X
        .byte $28,$78,$3c,$6c,$19,$1e,$1f,$1e,$1f,$1e,$1f,$1e,$99,$a5,$99,$a5 // (x<l............
        .byte $98,$a5,$98,$a5,$a0,$60,$50,$60,$a0,$e0,$f0,$b0,$26,$6a,$7e,$7a // .....`P`....&j~z
        .byte $7e,$7a,$7e,$7a,$e5,$64,$65,$95,$62,$97,$63,$96,$00,$00,$40,$80 // ~z~z.de.b.c...@.
        .byte $80,$80,$c0,$c0,$00,$00,$00,$00,$00,$01,$03,$03,$00,$00,$00,$00 // ................
        .byte $00,$a9,$fb,$ee,$00,$00,$00,$00,$00,$a4,$a4,$a8,$26,$6a,$7e,$7a // ............&j~z
        .text "&Z&Z"
        .byte $e5,$64,$61,$95,$f2,$b7,$f3,$b6,$09,$0e,$0f,$0e
        .byte $1f,$1e,$1f,$1e,$66,$95,$65,$95,$61,$94,$61,$95,$80,$80,$40,$80 // ....f.e.a.a...@.
        .byte $56,$6f,$3f,$55,$16,$06,$07,$07,$a7,$e7,$b7,$57,$7e,$7a,$7e,$7b // Vo?U.......W~z~{
        .byte $7e,$7b,$7e,$7b,$65,$9f,$aa,$9b,$ae,$bb,$ff,$fb,$00,$ea,$ae,$bf // ~{~{e...........
        .byte $ef,$ff,$ee,$bb,$01,$a8,$e9,$b8,$e9,$f8,$e9,$b9,$a0,$90,$50,$50 // ..............PP
        .byte $50,$50,$50,$10,$67,$96,$a7,$96,$a6,$b6,$f6,$f5,$80,$c0,$80,$c0 // PPP.g...........
        .byte $80,$80,$80,$80,$07,$07,$07,$07,$07,$07,$07,$07,$e6,$a9,$ea,$b9 // ................
        .byte $ea,$bb,$ef,$bf,$78,$6c,$78,$6c,$68,$68,$68,$58,$1f,$1e,$1f,$1e // ....xlxlhhhX....
        .byte $1f,$1e,$1f,$1e,$99,$a5,$a9,$e5,$a9,$ed,$bd,$fd,$e0,$b0,$e0,$b0 // ................
        .byte $a0,$a0,$a0,$60,$01,$05,$07,$07,$07,$07,$07,$07,$55,$55,$ea,$b9 // ...`........UU..
        .byte $ea,$bb,$ef,$bf,$64,$74,$78,$6c,$68,$68,$68,$58,$66,$5a,$6a,$5b // ....dtxlhhhXfZj[
        .byte $6a,$7b,$7e,$7f,$f7,$b6,$f7,$b6,$f6,$b6,$f6,$b5,$07,$a7,$e7,$b7 // j{~.............
        .byte $e7,$f7,$e7,$b7,$6e,$6b,$6f,$6b,$6f,$6b,$6e,$6b,$ea,$a5,$e4,$a6 // ....nkokoknk....
        .byte $e6,$a6,$e6,$e6,$aa,$55,$00,$40,$40,$80,$40,$80,$a9,$55,$00,$00 // .....U.@@.@..U..
        .byte $00,$00,$00,$00,$e5,$a5,$e6,$a1,$e5,$a1,$e5,$e2 // ............

// --- Region $0ad1-$0cb9 ---
.pc = $0ad1 "dat_0ad1"

dat_0ad1:
        .byte $80
        .byte $40,$80
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $06,$06,$06,$06,$06,$06,$06,$06,$ee
        .byte $ba,$fe,$ba,$fe,$ba,$ee,$be,$54,$58,$64,$18,$54,$14,$54,$24,$1b // .......TXd.T.T$.
        .byte $1a,$1b,$1a,$1b,$1a,$1b,$1a,$b9,$e9,$f9,$e8,$f9,$e8,$b9,$f8,$50 // ...............P
        .byte $60,$90,$60,$50,$50,$50,$90,$6e,$6b,$6f,$2b,$6f,$2b,$6e,$2f,$e5 // `.`PPP.nko+o+n/.
        .byte $a5,$e6,$a1,$e5,$a1,$e5,$a2,$ea,$a5,$e4,$a1,$e5,$a1,$e5,$e2,$aa // ................
        .byte $55,$00,$80                           // U..

txt_0b24:
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $a6                                   // '&' | $80 (end-of-string marker)
        .byte $56,$06,$06,$06,$06,$06,$06,$6e,$6b,$7f,$7a,$7e,$7a,$7e,$7a,$e6 // V......nk.z~z~z.
        .byte $e5,$e1,$a5,$91,$64,$91,$65           // ....d.e

txt_0b40:
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .text "UF/"
        .byte $7f,$00,$00,$00,$00,$55,$a6,$ee,$ba,$00,$00,$00,$00,$55,$65,$ea // .....U.......Ue.
        .byte $aa,$00,$00,$00,$00,$64,$a4,$a8,$64,$e6,$e6,$e2,$a6,$96,$65,$95 // .....d..d.....e.
        .byte $66,$06,$06,$07,$07,$07,$07,$07,$07,$ee,$be,$fe,$aa,$e9,$a6,$e9 // f...............
        .byte $a6,$64,$68,$24,$68,$64,$54,$54,$64,$1b,$1a,$1f,$1e,$1f,$1e,$1f // .dh$hdTTd.......
        .byte $1e,$b9,$f9,$f8,$a9,$a5,$99,$a5,$99,$90,$a0,$90,$a0,$90,$50,$50 // ..............PP
        .byte $90,$e6,$e6,$e2,$a6,$91,$64,$91,$65,$40,$80,$40,$80,$55,$46,$2f // ......d.e@.@.UF/
        .byte $7f,$06,$06,$06,$06,$56,$ab,$eb,$b7,$ee,$be,$fe,$fa,$fe,$fe,$ea // .....V..........
        .byte $aa,$64,$68,$24,$68,$64,$a4,$a8,$64,$6e,$6f,$2f,$6a,$5a,$66,$5a // .dh$hd..dno/jZfZ
        .byte $66,$e6,$a6,$f2,$b6,$f6,$b5,$f5,$b6,$7e,$7a,$7e,$7b,$7e,$7b,$7e // f........~z~{~{~
        .byte $7f,$99,$a6,$99,$aa,$aa,$aa,$ed,$ff,$95,$a6,$95,$65,$95,$55,$99 // ............e.U.
        .byte $aa,$55,$65,$95,$56,$55,$66,$99,$aa,$55,$56,$96,$56,$96,$66,$56 // .Ue.VUf..UV.V.fV
        .byte $aa,$28,$64,$14,$54,$14,$54,$14,$50,$95,$a6,$96,$a6,$a6,$a6,$e4 // .(d.T.T.P.......
        .byte $f4,$40,$40,$80,$80,$80,$00,$00,$00,$07,$07,$07,$07,$06,$07,$07 // .@@.............
        .byte $06,$e9,$aa,$e9,$ba,$ea,$ba,$ee,$fb,$54,$68,$64,$68,$64,$54,$54 // .........ThdhdTT
        .byte $54,$1f,$1e,$1f,$5e,$6f,$6e,$6f,$6f,$a5,$a9,$a5,$e9,$aa,$ea,$ba // T...^onoo.......
        .byte $fe,$14,$18,$28,$64,$58,$24,$68,$20,$56,$56,$96,$56,$96,$66,$56 // ...(dX$h VV.V.fV
        .byte $aa,$5a,$6a,$5a,$6b,$6a,$6b,$6e,$7b,$f5,$b6,$f6,$b6,$e6,$b5,$f5 // .ZjZkjkn{.......
        .byte $e5,$1f,$1e,$1f,$1e,$1f,$1e,$1f,$1f,$a5,$a9,$a5,$e9,$a9,$e9,$b9 // ................
        .byte $fd,$50,$90,$a0,$a0,$a0,$80,$00,$00,$55,$00,$00,$00,$00,$00,$00 // .P.......U......
        .byte $00,$54,$00,$00,$00,$00,$00,$00,$00,$06,$06,$06,$06,$05,$00,$00 // .T..............
        .byte $00,$ff,$fb,$ff,$bb,$55,$00,$00,$00   // .....U...

txt_0c90:
        .text "TTP"
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $00                                   // string terminator
        .byte $00,$00,$40,$00,$00,$00,$00,$00,$00,$00,$7f,$7b,$7f,$7b,$55,$00 // ..@........{.{U.
        .byte $00,$00,$e5,$e5,$e5,$a4,$54,$00,$00,$00,$40,$40,$00,$00,$00,$00 // ......T...@@....
        .byte $00,$00,$15                           // ...

dat_0cb9:
        // === Fill data (1 bytes, $0cb9-$0cb9) ===
        .byte $00                                   // .

// --- Region $0d7a-$0eb6 ---
.pc = $0d7a "dat_0d7a"

dat_0d7a:
        .byte $01,$02,$03,$04,$05,$06,$01,$02,$07,$08,$09,$0a,$0b,$0c,$0d,$0e // ................
        .byte $0f,$10,$04,$05,$06,$0e,$0f,$11,$12,$13,$14,$08,$09,$0a,$01,$02 // ................
        .byte $07,$08,$09,$0a,$00,$00,$00,$00,$15,$16,$17,$18,$19,$1a,$15,$1b // ................
        .byte $1c,$1d,$1e,$1f                       // ....

txt_0dae:
        .text " !"
        .byte $22                                   // double quote character
        .text "#$%"
        .byte $18,$19,$1a                           // ...

txt_0db7:
        .text "#$&'!("
        .byte $1d,$1e,$1f,$15,$1b,$1c,$1d,$1e,$1f,$00,$00,$00,$00,$29,$2a,$2b // .............)*+
        .byte $2c,$2d,$00                           // ,-.

txt_0dd0:
        .text ")./0123456789:;<=8>45012)?"
        .byte $40                                   // @ character
        .text "A12"
        .byte $00                                   // string terminator
        .byte $00,$00,$00
        .text "BCDEF"
        .byte $00

txt_0df8:
        .text "BGHIJKLMNBGHOPQRSHLMNIJKBCDTJK"
        .byte $00                                   // string terminator
        .byte $00,$00,$00                           // ...

txt_0e1a:
        .text "UVWX"
        .byte $00                                   // string terminator
        .byte $00,$55,$59,$5a,$5b,$5c,$5d,$5e,$5f,$60,$55,$59,$5a,$5b,$5c,$5d // .UYZ[\]^_`UYZ[\]
        .byte $61,$62,$5a,$5e,$5f,$60,$5b,$5c,$5d,$55,$63,$64,$65,$5c,$5d,$00 // abZ^_`[\]Ucde\].
        .byte $00,$00,$00,$66,$67,$68,$69,$6a,$6b,$66,$6c,$5a,$6d,$6e,$6f,$70 // ...fghijkflZmnop
        .byte $71,$72,$66,$73,$74,$75,$76,$77,$78,$79,$5a,$70,$71,$72,$6d,$6e // qrfstuvwxyZpqrmn
        .byte $6f,$66,$6c,$5a,$6d,$6e,$6f,$00,$00,$00,$00,$7a,$7b,$7c,$7d,$7e // oflZmno....z{|}~
        .byte $7f,$7a,$80,$81,$82,$83,$84,$85,$86,$87,$7a,$7b,$7c,$7d,$88,$7f // .z........z{|}..
        .byte $89,$8a,$5a,$8b,$8c,$8d,$82,$83,$84,$7a,$80,$81,$82,$83,$84,$00 // ..Z......z......
        .byte $00,$00,$00,$8e,$8e,$8e,$8e,$8e,$00,$8e,$8f,$00,$90,$91,$92,$8e // ................
        .byte $8e,$93,$8e,$8e,$8e,$8e,$8e,$00,$94,$95,$96,$97,$8e,$00,$90,$91 // ................
        .byte $92,$8e,$8f,$00,$90,$91,$92           // .......

dat_0eb6:
        // === Fill data (1 bytes, $0eb6-$0eb6) ===
        .byte $00                                   // .

// --- Region $100e-$101c ---
.pc = $100e "dat_100e"

dat_100e:
        // === Data block (15 bytes, $100e-$101c) ===
        .byte $00,$00                               // ..
// Referenced by: jsr from $23a0

sub_1010:
        .byte $a9,$35,$85,$01,$20,$00,$a8,$a9,$37,$85,$01,$60 // .5.. ...7..`

dat_101c:
        // === Fill data (1 bytes, $101c-$101c) ===
        .byte $00                                   // .

// --- Region $1100-$1100 ---
.pc = $1100 "spr_1100"

spr_1100:
        .byte $00                                   // .

// --- Region $1440-$1440 ---
.pc = $1440 "spr_1440"

spr_1440:
        .byte $00                                   // .

// --- Region $158e-$15a4 ---
.pc = $158e "dat_158e"

dat_158e:
        .fill 23, $00

// --- Region $15a6-$15a6 ---
.pc = $15a6 "dat_15a6"

dat_15a6:
        // === Fill data (1 bytes, $15a6-$15a6) ===
        .byte $00                                   // .

// --- Region $15c0-$15c0 ---
.pc = $15c0 "spr_15c0"

spr_15c0:
        .byte $00                                   // .

// --- Region $18a9-$18a9 ---
.pc = $18a9 "dat_18a9"

dat_18a9:
        // === Fill data (1 bytes, $18a9-$18a9) ===
        .byte $00                                   // .

// --- Region $1e00-$1e00 ---
.pc = $1e00 "spr_1e00"

spr_1e00:
        .byte $00                                   // .

// --- Region $2052-$2072 ---
.pc = $2052 "dat_2052"

dat_2052:
        .byte $a9,$00,$8d,$14,$03,$a9,$21,$8d,$15,$03,$a9,$af,$8d,$12,$d0,$a9 // ......!.........
        .byte $01,$8d,$19,$d0,$ea,$ea,$ea,$ea,$ea,$ea,$ea,$ea,$ea,$ea,$ea,$ea // ................
        .byte $ea                                   // .

// --- Region $20f5-$2126 ---
.pc = $20f5 "dat_20f5"

dat_20f5:
        .byte $00,$00,$00,$00,$06,$01,$30,$02,$1b,$1f,$00,$a0,$03,$88,$d0,$fd // ......0.........
        .byte $ea,$24,$01,$ad,$12,$d0,$c9,$af,$f0,$00,$ea,$ea,$ea,$ea,$ea,$ea // .$..............
        .fill 18, $ea

// --- Region $22d9-$2307 ---
.pc = $22d9 "Segment $22d9"
        .byte $00,$00,$00,$00,$00,$00,$00,$c9,$8e,$94,$92,$8f,$a0,$82,$99,$a0 // ................
        .byte $d4,$d2,$c9,$c7,$c7,$c5,$d2,$a1,$b0,$b7,$af,$b9,$b1,$ab,$b0,$b2 // ................
        .byte $af,$b9,$b2,$a0,$a8,$83,$a9,$ea,$ea,$ea,$ea,$ea,$ea,$ea,$ea // ...............

// --- Region $23aa-$2407 ---
.pc = $23aa "dat_23aa"

dat_23aa:
        .fill 22, $00

txt_23c0:
        .text "CHAR+LOGO BY JATAGAN/CODE BY"
        .byte $60                                   // `

txt_23dd:
        .text "TRIGGER...VERSION"
        .byte $60                                   // `

txt_23ef:
        .text "FOR ENIGMA!"
        .byte $00                                   // string terminator
        .byte $00,$00,$00,$00,$00,$02,$03,$01,$02,$02,$00,$00,$0e // .............

// --- Region $244d-$2456 ---
.pc = $244d "Segment $244d"
        .byte $b0,$08,$38,$e9,$40,$8d,$01,$24,$a9,$20 // ..8.@..$. 

// --- Region $24e9-$25dd ---
.pc = $24e9 "dat_24e9"

dat_24e9:
        .fill 23, $00
        .fill 9, $02
        .byte $00,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02,$02 // ................
        .byte $02,$02,$02,$02,$02,$02,$02,$01,$00,$02,$02,$02,$00,$02,$00,$02 // ................
        .byte $02,$02,$02,$01,$01,$01,$02,$02,$01,$02,$02,$02,$02,$02,$02,$02 // ................
        .byte $02,$02,$02,$02,$02,$02,$02,$14,$00,$03,$06,$09,$0c,$0f,$12,$15 // ................
        .byte $ec,$18,$e9,$1b,$1e                   // .....

txt_254e:
        .text "$!"
        .byte $c8                                   // 'H' | $80 (end-of-string marker)
        .byte $cb,$ce,$d1,$d4,$d7,$da,$dd,$e6,$e0,$e3,$00,$00,$00,$00,$00,$ab // ................
        .byte $b0,$00,$00,$00,$00,$00,$b1,$00,$00,$00,$ed,$ad,$b4,$aa,$00,$21 // ...............!
        .byte $90,$92,$95,$98,$9b,$9e,$a1,$a4,$a7,$00,$00,$00,$00,$00,$00 // ...............

dat_2580:
        .text "6666666666666666666666666666666677666667666677766777777777666666"
        .byte $00                                   // string terminator
        .byte $00,$00,$00,$00,$04,$03,$06,$04,$03,$00,$0e,$0f,$00,$0e,$18,$17 // ................
        .byte $19,$18,$17,$00,$00,$22,$21,$20,$00,$03,$0e,$17 // ....."! ....

dat_25dd:
        // === Fill data (1 bytes, $25dd-$25dd) ===
        .byte $00                                   // .

// --- Region $262d-$2638 ---
.pc = $262d "Segment $262d"
        .byte $07,$9d,$20,$07,$e8,$e0,$c8,$d0,$f5,$60,$60,$60 // .. ......```

// --- Region $2a5a-$2a7d ---
.pc = $2a5a "Segment $2a5a"
        .byte $49,$0e,$14,$12,$0f,$3a,$20,$54,$12,$09,$07,$07,$05,$12,$26,$4a // I....: T......&J
        .byte $01,$14,$01,$07,$01,$0e,$20,$20,$20,$8d,$fe,$20,$8d,$f8,$20,$8d // ......   .. .. .
        .byte $f9,$20,$60                           // . `

dat_2a7d:
        // === Fill data (1 bytes, $2a7d-$2a7d) ===
        .byte $00                                   // .

// --- Region $2c14-$2cff ---
.pc = $2c14 "dat_2c14"

dat_2c14:
        .byte $01,$0c,$00,$07,$0e,$00,$1f,$1f,$00,$7f,$1f,$81,$ff,$3f,$83,$ff // .............?..
        .byte $3f,$c7,$ff,$7f,$c7,$ff,$7f,$ef,$ff,$ff,$f7,$ff,$ff,$ff,$ff,$ff // ?...............
        .fill 12, $ff

spr_2c40:
        // === Sprite data (64 bytes, $2c40-$2c7f) ===
        .byte $00,$00,$01                           // .......................#
        .byte $00,$00,$01                           // .......................#
        .byte $00,$00,$03                           // ......................##
        .byte $00,$00,$07                           // .....................###
        .byte $10,$00,$0f                           // ...#................####
        .byte $78,$00,$1f                           // .####..............#####
        .byte $f8,$00,$3f                           // #####.............######
        .byte $fc,$00,$7f                           // ######...........#######
        .byte $fc,$00,$ff                           // ######..........########
        .byte $fe,$01,$ff                           // #######........#########
        .byte $fe,$03,$ff                           // #######.......##########
        .byte $ff,$07,$ff                           // ########.....###########
        .byte $ff,$0f,$ff                           // ########....############
        .byte $ff,$9f,$ff                           // #########..#############
        .byte $ff,$bf,$ff                           // #########.##############
        .byte $ff,$7f,$ff                           // ########.###############
        .byte $ff,$ff,$ff                           // ########################
        .byte $ff,$ff,$ff                           // ########################
        .byte $ff,$ff,$ff                           // ########################
        .byte $ff,$ff,$ff                           // ########################
        .byte $ff,$ff,$ff                           // ########################
        .byte $ff                                   // sprite 0 padding
        .byte $04,$00,$00,$0e,$00,$00,$1e,$00,$00,$3f,$00,$00,$7f,$00,$00,$ff // .........?......
        .byte $80,$00,$ff,$80,$00,$ff,$c0,$00,$ff,$c0,$00,$ff,$e0,$00,$ff,$e0 // ................
        .byte $00,$ff,$f0,$00,$ff,$f0,$00,$ff,$f8,$00,$ff,$f8,$01,$ff,$fc,$03 // ................
        .byte $ff,$fc,$07,$ff,$fe,$0f,$ff,$fe,$1f,$ff,$ff,$3f,$ff,$ff,$7f,$ff // ...........?....
        .fill 17, $00
        .byte $10,$00,$00,$38,$00,$00,$7c,$00,$00,$fe,$00,$00,$ff,$00,$01,$ff // ...8..|.........
        .byte $00,$03,$ff,$20,$07,$ff,$70,$07,$ff,$f8,$0f,$ff,$fc,$1f,$ff,$fe // ... ..p.........
        .byte $1f,$ff,$ff,$3f,$ff,$ff,$bf,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff // ...?...........

// --- Region $2d1d-$2d79 ---
.pc = $2d1d "dat_2d1d"

dat_2d1d:
        .byte $03,$00,$00,$0f,$00,$00,$1e,$00,$00,$3c,$00,$00,$38,$00,$00,$78 // .........<..8..x
        .byte $00,$00,$70,$00,$00,$70,$00,$00,$f0,$00,$00,$e0,$00,$00,$e0,$00 // ..p..p..........
        .byte $00,$e0,$00,$00,$00,$e0,$00,$00,$e0,$00,$00,$e0,$00,$00,$e0,$00 // ................
        .byte $00,$e0,$00,$00,$e0,$00,$00,$e0,$00,$00,$e0,$00,$00,$e0,$00,$00 // ................
        .byte $e0,$00,$00,$ff,$00,$00,$ff,$00,$00,$e0,$00,$00,$e0,$00,$00,$e0 // ................
        .byte $00,$00,$e0,$00,$00,$e0,$00,$00,$e0,$00,$00,$e0 // ............

dat_2d79:
        // === Fill data (1 bytes, $2d79-$2d79) ===
        .byte $00                                   // .

// --- Region $2d9b-$2de4 ---
.pc = $2d9b "dat_2d9b"

dat_2d9b:
        .byte $ff,$e0,$03,$ff,$f0,$0f,$00,$78,$1e,$00,$3c,$3c,$00,$1c,$38,$00 // .......x..<<..8.
        .byte $1e,$78,$00,$0e,$70,$00,$0e,$70,$00,$0e,$f0,$00,$0e,$e0,$00,$0e // .x..p..p........
        .byte $e0,$00,$0e,$e0,$00,$00,$0e,$e0,$00,$0e,$e0,$00,$0e,$e0,$00,$0e // ................
        .byte $f0,$00,$0e,$70,$00,$0e,$70,$00,$1e,$78,$00,$1c,$38,$00,$7c,$3c // ...p..p..x..8.|<
        .byte $03,$f8,$1e,$ff,$e0,$0f,$ff,$80,$03   // .........

dat_2de4:
        // === Fill data (1 bytes, $2de4-$2de4) ===
        .byte $00                                   // .

// --- Region $2e1b-$2e79 ---
.pc = $2e1b "dat_2e1b"

dat_2e1b:
        .byte $e0,$03,$ff,$f0,$0f,$ff,$78,$1e,$00,$3c,$3c,$00,$1c,$38,$00,$1e // ......x..<<..8..
        .byte $78,$00,$0e,$70,$00,$0e,$70,$00,$0e,$f0,$00,$0e,$e0,$00,$fe,$e0 // x..p..p.........
        .byte $00,$fe,$e0,$00,$00,$00,$e0,$00,$00,$e0,$00,$00,$e0,$00,$00,$f0 // ................
        .byte $00,$0e,$70,$00,$0e,$70,$00,$1e,$78,$00,$1c,$38,$00,$7c,$3c,$00 // ..p..p..x..8.|<.
        .byte $f8,$1e,$00,$e0,$0f,$ff,$80,$03,$ff,$00,$e0,$00,$00,$e0,$00,$00 // ................
        .byte $e0,$00,$00,$f0,$00,$00,$70,$00,$00,$7f,$ff,$00,$1f,$ff // ......p.......

dat_2e79:
        // === Fill data (1 bytes, $2e79-$2e79) ===
        .byte $00                                   // .

// --- Region $2e9b-$2eff ---
.pc = $2e9b "dat_2e9b"

dat_2e9b:
        .byte $c0,$03,$ff,$e0,$0f,$ff,$f0,$1e,$00,$78,$3c,$00,$38,$38,$00,$3c // .........x<.88.<
        .byte $78,$00,$1c,$70,$00,$1c,$70,$00,$1e,$f0,$00,$0e,$e0,$00,$0e,$e0 // x..p..p.........
        .byte $00,$0e,$e0,$00,$00,$0e,$e0,$00,$0e,$e0,$00,$0e,$e0,$00,$0e,$f0 // ................
        .byte $00,$0e,$70,$00,$0e,$70,$00,$0e,$78,$00,$0e,$38,$00,$0e,$3c,$00 // ..p..p..x..8..<.
        .byte $0e,$1e,$00,$fe,$0f,$ff,$fe,$03,$ff,$0e,$00,$00,$0e,$00,$00,$1e // ................
        .byte $00,$00,$1c,$00,$00,$7c,$00,$00,$f8,$00,$00,$e0,$00,$00,$00,$00 // .....|..........
        .byte $00,$00,$00,$00,$00                   // .....

// --- Region $2fa1-$2fa1 ---
.pc = $2fa1 "dat_2fa1"

dat_2fa1:
        // === Fill data (1 bytes, $2fa1-$2fa1) ===
        .byte $00                                   // .

// --- Region $2fc1-$3540 ---
.pc = $2fc1 "dat_2fc1"

dat_2fc1:
        .byte $1b,$00,$00,$1b,$00,$1b,$00,$1b,$00,$1b,$00,$1b,$00,$00,$1b,$1b // ................
        .byte $00,$00,$1b,$1b,$00,$1b,$1b,$1b,$00,$00,$1b,$1b,$1b,$00,$1b,$00 // ................
        .byte $06,$04,$0e,$03,$07,$01,$07,$08,$0a,$02,$09,$0b,$0c,$0f,$06,$10 // ................
        .byte $11,$12,$13,$14,$15,$16,$17,$18,$19,$1a,$1b,$1c,$1d,$1e,$1f,$00 // ................
        .byte $00,$00,$00,$00,$00,$00,$00,$e0,$e0,$e0,$e0,$e0,$e0,$e0,$e0,$0e // ................
        .byte $0e,$0e,$0e,$0e,$0e,$0e,$0e,$03,$0f,$1e,$3c,$38,$78,$70,$70,$ff // ..........<8xpp.
        .byte $ff,$00,$00,$00,$00,$00,$00,$e0,$f0,$78,$3c,$1c,$1e,$0e,$00,$c0 // .........x<.....
        .byte $e0,$f0,$78,$38,$3c,$1c,$1c,$e3,$ef,$fe,$fc,$f8,$f8,$f0,$f0,$ce // ..x8<...........
        .byte $ee,$fe,$7e,$3e,$3e,$1e,$1e,$e0,$f0,$78,$3c,$1c,$1e,$0e,$0e,$f0 // ..~>>....x<.....
        .byte $e0,$e0,$e0,$e0,$e0,$ff,$ff,$00,$00,$00,$00,$00,$60,$e0,$e0,$1e // ............`...
        .byte $1e,$0e,$0e,$0e,$0e,$0e,$0e,$e3,$f7,$1c,$08,$00,$00,$00,$00,$f0 // ................
        .byte $e0,$e0,$e0,$e0,$e0,$e0,$f0,$1e,$0e,$0e,$0e,$0e,$0e,$0e,$0e,$f0 // ................
        .byte $e0,$e0,$e0,$e0,$e0,$e0,$e0,$1e,$0e,$0e,$0e,$0e,$0e,$1e,$1e,$f0 // ................
        .byte $e0,$ff,$ff,$e0,$e0,$e0,$f0,$00,$00,$ff,$ff,$00,$00,$00,$00,$0e // ................
        .byte $0e,$fe,$fe,$00,$00,$00,$00,$60,$00,$00,$00,$00,$00,$00,$00,$e0 // .......`........
        .byte $e0,$e0,$e0,$e0,$e0,$e0,$f0,$70,$70,$78,$38,$3c,$1e,$0f,$03,$00 // .......ppx8<....
        .byte $00,$00,$00,$00,$00,$ff,$ff,$0e,$0e,$0e,$0e,$0e,$0e,$fe,$fe,$e0 // ................
        .byte $e0,$e0,$e0,$e0,$e0,$ff,$ff,$00,$00,$00,$00,$00,$07,$ff,$ff,$1c // ................
        .byte $1c,$3c,$38,$f8,$f0,$80,$00,$70,$70,$78,$38,$38,$1c,$0f,$03,$00 // .<8....ppx88....
        .byte $00,$00,$00,$00,$03,$ff,$ff,$0e,$0e,$1e,$1c,$7c,$f8,$e0,$80,$e0 // ...........|....
        .byte $e0,$e0,$f0,$70,$7f,$1f,$00,$00,$00,$00,$00,$00,$ff,$ff,$00,$0e // ...p............
        .byte $0e,$1e,$1c,$7c,$f8,$e0,$00,$00,$00,$00,$00,$00,$01,$03,$07,$00 // ...|............
        .byte $00,$3c,$78,$f0,$e0,$c0,$80,$ff,$ff,$e0,$e0,$e0,$e0,$e0,$e0,$ff // .<x.............
        .byte $ff,$e0,$e0,$e0,$e0,$00,$00,$fe,$fe,$0e,$0e,$0e,$0e,$0e,$0e,$f0 // ................
        .byte $78,$3c,$1e,$0f,$07,$03,$01,$00,$00,$00,$00,$00,$80,$c0,$e1,$00 // x<..............
        .byte $06,$0e,$1e,$3c,$78,$f0,$e0,$e0,$e0,$e0,$e0,$e0,$e1,$e3,$e7,$0f // ...<x...........
        .byte $1e,$3c,$78,$f0,$e0,$c0,$80,$7c,$7c   // .<x....||

txt_316a:
        .text "888888"
        .byte $00                                   // string terminator
        .byte $00,$00,$c0,$c0,$c0,$c0,$c0,$f0,$e0,$ff,$7f,$00,$00,$00,$f0,$0e // ................
        .byte $00,$f0,$f8,$1c,$0c,$0e,$06,$e0,$e0,$e0,$e0,$f0,$70,$70,$70,$0e // ............ppp.
        .byte $0e,$0e,$0e,$1e,$1c,$1c,$1c,$0e,$0e,$0e,$0e,$0e,$0e,$0e,$1e,$00 // ................
        .byte $00,$03,$0f,$1e,$3c,$38,$78,$f3,$7f,$3f,$1e,$1f,$3f,$7b,$f1,$c0 // ....<8x..?..?{..
        .byte $80,$00,$00,$00,$80,$c0,$e0,$c0,$f0,$f8,$3c,$1c,$1e,$0e,$0e // ..........<....

txt_31c0:
        .text "88888888"
        .byte $00                                   // string terminator
        .byte $ff,$ff,$00,$00,$00,$00,$00,$c0,$ff,$ff,$c0,$c0,$c0,$c0,$c0,$00 // ................
        .byte $80,$80,$00,$00,$00,$00,$00,$06,$0e,$1e,$1c,$7c,$f8,$e0,$80,$e0 // ...........|....
        .byte $e0,$f0,$70,$78,$3c,$1f,$0f,$78,$38,$3c,$1e,$0f,$07,$03,$00,$00 // ..px<..x8<......
        .byte $00,$00,$00,$01,$83,$ff,$fe,$3c,$38,$78,$f0,$e0,$c0,$80,$00,$00 // .......<8x......
        .byte $00,$00,$00,$20,$70,$df,$8f,$1c,$1c,$3c,$38,$78,$f0,$e0,$80,$70 // ... p....<8x...p
        .byte $70,$f0,$e0,$e0,$e0,$ff,$ff,$01,$03,$07,$0f,$1e,$3c,$78,$f0,$e0 // p...........<x..
        .byte $c0,$80,$00,$00,$00,$00,$00,$f0,$78,$3c,$1e,$0e,$00,$00,$00 // ........x<.....

txt_3238:
        .text "888888"
        .byte $fe,$fe,$c0,$00,$00,$00,$00,$00,$00,$00,$e0,$e0,$e0,$e0,$e0,$e0 // ................
        .byte $e0,$00,$0e,$0e,$0e,$0e,$0e,$0e,$0e,$00,$00,$00,$00,$01,$03,$07 // ................
        .byte $0e,$1c,$3c,$7c,$fc,$dc,$9c,$1c,$1c,$1c,$c0,$f0,$78,$3c,$1c,$1e // ..<|........x<..
        .byte $0e,$0e,$03,$0f,$1e,$3c,$38,$78,$70,$00,$01,$01,$01,$01,$01,$01 // .....<8xp.......
        .byte $01,$01,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$fe,$fe,$0e,$0e,$00,$00 // ................
        .byte $00,$00,$e0,$f0,$78,$3c,$1c,$1c,$00,$00,$e0,$f0,$78,$3c,$1c,$1e // ....x<......x<..
        .byte $0e,$06,$f8,$f8,$f8,$f8,$f8,$f8,$f8,$f8,$3c,$3c,$78,$70,$e0,$00 // ..........<<xp..
        .byte $00,$00,$38,$70,$e0,$c0,$80,$00,$00,$00,$1c,$1c,$1c,$1c,$1c,$1c // ..8p............
        .byte $1c,$1c,$00,$00,$00,$00,$00,$00,$00,$f0,$00,$00,$01,$03,$01,$00 // ................
        .byte $00,$00,$0e,$1e,$fc,$f8,$fc,$1e,$0e,$0e,$e0,$e0,$ff,$ff,$00,$00 // ................
        .byte $00,$00,$01,$01,$ff,$ff,$01,$01,$01,$01,$c0,$c0,$fe,$fe,$c0,$c0 // ................
        .byte $c0,$c0,$e0,$e0,$ff,$7f,$00,$00,$00,$f0,$00,$00,$f0,$f8,$1c,$0c // ................
        .byte $0e,$06,$f0,$e0,$e0,$7f,$ff,$e0,$e0,$f0,$00,$00,$00,$ff,$ff,$00 // ................
        .byte $00,$00,$06,$0e,$0e,$fc,$fe,$0e,$0e,$06,$78,$3c,$3f,$0f,$00,$00 // ..........x<?...
        .byte $00,$f0,$0e,$0e,$fe,$fe,$1c,$0e,$0e,$0e,$00,$00,$fe,$fe,$00,$00 // ................
        .byte $00,$00,$1c,$1c,$1c,$1c,$1c,$1c,$3e,$3e,$70,$70,$f0,$e0,$e0,$e0 // ........>>pp....
        .byte $e0,$e0,$3c,$7e,$ff,$ff,$ff,$7f,$7f,$3e,$1c,$7e,$ff,$ff,$ff,$ff // ..<~.....>.~....
        .byte $7f,$3e,$f8,$f8,$f0,$00,$78,$f8,$f8,$f8,$1e,$7c,$f0,$00,$00,$00 // .>....x....|....
        .byte $00,$00,$f8,$f8,$f8,$00,$00,$00,$00,$00,$00,$00,$00,$80,$e0,$f8 // ................
        .byte $fe,$ff,$00,$00,$00,$00,$00,$00,$00,$80,$00,$00,$00,$00,$01,$03 // ................
        .byte $03,$07,$00,$00,$00,$00,$00,$80,$c0,$e0,$00,$00,$00,$00,$00,$00 // ................
        .byte $00,$20,$00,$00,$00,$00,$00,$00,$01,$01,$00,$00,$00,$00,$80,$c0 // . ..............
        .byte $e0,$f0,$00,$00,$00,$00,$02,$07,$0f,$1f,$00,$00,$00,$00,$00,$00 // ................
        .byte $0c,$3e,$00,$00,$00,$00,$20,$70,$78,$fc,$00,$00,$00,$00,$00,$00 // .>.... px.......
        .byte $01,$07,$00,$00,$00,$00,$18,$7c,$fc,$fe,$00,$00,$00,$00,$00,$40 // .......|.......@
        .byte $60,$e0,$00,$00,$00,$00,$00,$00,$00,$30,$ff,$ff,$ff,$ff,$ff,$ff // `........0......
        .byte $ff,$ff,$e0,$f8,$fe,$ff,$ff,$ff,$ff,$ff,$07,$0f,$0f,$9f,$df,$ef // ................
        .byte $f7,$fb,$f0,$f8,$fc,$fe,$ff,$ff,$ff,$ff,$00,$00,$00,$00,$00,$80 // ................
        .byte $80,$c0,$00,$00,$01,$03,$07,$0f,$1f,$3f,$78,$fe,$ff,$ff,$ff,$ff // .........?x.....
        .byte $ff,$ff,$03,$03,$87,$e7,$fb,$ff,$ff,$ff,$f8,$fc,$fe,$ff,$ff,$ff // ................
        .byte $ff,$ff,$00,$00,$00,$00,$80,$c1,$ef,$df,$00,$00,$00,$07,$3f,$ff // ..............?.
        .byte $ff,$ff,$00,$00,$00,$01,$83,$c7,$ef,$f7,$3f,$7f,$ff,$ff,$ff,$ff // ..........?.....
        .byte $ff,$ff                               // ..

spr_3440:
        // === Sprite data (64 bytes, $3440-$347f) ===
        .byte $80,$80,$c0                           // #.......#.......##......
        .byte $c0,$c0,$c0                           // ##......##......##......
        .byte $e0,$e0,$00                           // ###.....###.............
        .byte $00,$00,$00                           // ........................
        .byte $00,$03,$0f                           // ..............##....####
        .byte $3f,$00,$03                           // ..######..............##
        .byte $0f,$3f,$ff                           // ....####..##############
        .byte $ff,$ff,$ff                           // ########################
        .byte $00,$80,$c0                           // ........#.......##......
        .byte $e0,$f0,$f8                           // ###.....####....#####...
        .byte $fc,$fe,$00                           // ######..#######.........
        .byte $00,$00,$00                           // ........................
        .byte $10,$18,$3d                           // ...#.......##.....####.#
        .byte $3e,$00,$00                           // ..#####.................
        .byte $00,$00,$07                           // .....................###
        .byte $3f,$ff,$ff                           // ..######################
        .byte $01,$07,$1f                           // .......#.....###...#####
        .byte $ff,$ff,$ff                           // ########################
        .byte $ff,$ff,$80                           // #################.......
        .byte $e0,$f0,$fe                           // ###.....####....#######.
        .byte $ff,$ff,$ff                           // ########################
        .byte $ff                                   // sprite 0 padding
        .byte $00,$00,$00,$00,$c0,$f8,$ff,$ff,$00,$01,$01,$03,$03,$07,$0f,$ff // ................
        .byte $fe,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$00,$00,$80,$c1,$e3,$f7,$fb,$fd // ................
        .byte $30,$7c,$ff,$ff,$ff,$ff,$ff,$ff,$00,$00,$00,$c0,$f0,$fc,$fe,$ff // 0|..............
        .byte $00,$00,$01,$07,$1f,$7f,$ff,$ff,$1f,$7f,$ff,$ff,$ff,$ff,$ff,$ff // ................
        .byte $00,$01,$01,$83,$87,$cf,$df,$ef,$f0,$f8,$fc,$ff,$ff,$ff,$ff,$ff // ................
        .byte $00,$00,$01,$03,$c3,$f7,$ff,$ff,$78,$fc,$fe,$ff,$ff,$ff,$ff,$ff // ........x.......
        .byte $00,$01,$03,$07,$0f,$1f,$3f,$7f,$f0,$f8,$fd,$ff,$ff,$ff,$ff,$ff // ......?.........
        .byte $c0,$e0,$e1,$f3,$f7,$ef,$df,$ff,$7f,$ff,$ff,$ff,$ff,$ff,$ff,$ff // ................
        .byte $ff,$fd,$ff,$ff,$ff,$ff,$ff,$ff,$e0,$e3,$f7,$ff,$ff,$ff,$ff,$ff // ................
        .byte $ff,$fe,$ff,$ff,$ff,$ff,$ff,$ff,$7f,$ff,$df,$ff,$ff,$ff,$ff,$ff // ................
        .byte $f7,$f7,$fb,$ff,$ff,$ff,$ff,$ff,$00,$01,$03,$07,$8f,$df,$ef,$f7 // ................

dat_3530:
        // === Fill data (17 bytes, $3530-$3540) ===
        .fill 16, $00

spr_3540:
        .byte $00                                   // .

// --- Region $3603-$36ba ---
.pc = $3603 "dat_3603"

dat_3603:
        // === Sine/lookup table (256 bytes, range $00-$25) ===
        .byte $01,$00,$00,$00,$00,$00,$00,$00,$02,$00,$00,$00,$03,$04,$05,$00 // ................
        .byte $00,$00,$01,$00,$00,$00,$00,$00,$01,$00,$00,$00,$00,$00,$00,$00 // ................
        .byte $00,$00,$00,$00,$00,$03,$04,$06,$07,$04,$06,$03,$04,$05,$03,$04 // ................
        .byte $08,$03,$04,$09,$0a,$0b,$00,$03,$04,$06,$07,$04,$06,$00,$00,$0c // ................
        .byte $01,$00,$00,$03,$0d,$09,$03,$04,$09,$03,$04,$09,$00,$0e,$00,$0f // ................
        .byte $10,$00,$11,$0e,$00,$00,$0e,$00,$0f,$12,$13,$14,$01,$15,$00,$0e // ................
        .byte $00,$0f,$10,$00,$0f,$00,$00,$02,$16,$00,$00,$10,$00,$02,$0e,$00 // ................
        .byte $02,$10,$00,$02,$00,$17,$18,$19,$1a,$1b,$1c,$1d,$1e,$1f,$17,$18 // ................
        .byte $19,$1d,$1e,$1f,$01,$00,$00,$17,$18,$19,$01,$00,$02,$00,$00,$02 // ................
        .byte $17,$1e,$1f,$01,$00,$02,$1d,$1e,$1f,$01,$00,$02,$00,$00,$00,$00 // ................
        .fill 15, $00
        .byte $20,$21,$22,$00,$00,$00,$20,$21,$22   //  !"... !"

// --- Region $36d4-$3783 ---
.pc = $36d4 "dat_36d4"

dat_36d4:
        .byte $01,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 // ................
        .byte $00,$00,$00,$00,$00,$01,$23,$24,$00,$00,$00,$00,$03,$04,$09,$03 // ......#$........
        .byte $04,$06,$03,$04,$05,$03,$04,$09,$25,$00,$00,$01,$00,$02,$01,$00 // ........%.......
        .byte $02,$01,$00,$02,$01,$00,$02,$26,$04   // .......&.

txt_370d:
        .text "'()*+,"
        .byte $00                                   // string terminator
        .byte $2d,$00,$2e,$00,$10,$00,$02,$0e,$00,$0f,$10,$00,$00,$2f,$13,$30 // -............/.0
        .byte $16,$00,$00,$01,$00,$02,$31,$00,$32,$01,$00,$33,$16,$00,$02,$34 // ......1.2..3...4
        .byte $13,$14,$00
        .byte $35,$36,$25,$04
        .text "789:;"
        .byte $1a,$1e,$1f,$17
        .byte $18,$19,$01,$00,$00,$1d,$1e,$3c,$17,$1e,$1f,$3d,$18,$19 // .......<...=..

txt_3752:
        .text ">?"
        .byte $40                                   // @ character
        .text "=AB"
        .byte $17,$18,$19,$43,$18,$19,$44,$45,$46,$01,$00,$02,$47,$00,$48,$00 // ...C..DEF...G.H.
        .byte $49,$00,$00,$00,$00,$4a,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 // I....J..........
        .fill 8, $00
        .byte $20,$21,$22                           //  !"

dat_3783:
        // === Fill data (1 bytes, $3783-$3783) ===
        .byte $00                                   // .

// --- Region $37b8-$3829 ---
.pc = $37b8 "dat_37b8"

dat_37b8:
        .byte $4b,$4c,$26,$04,$4d,$4e,$04,$09,$01,$4f,$50,$25,$04,$51,$03,$04 // KL&.MN...OP%.Q..
        .byte $52,$26,$04,$27,$03,$04,$53,$03,$04,$09,$00,$00,$00,$00,$00,$00 // R&.'..S.........
        .byte $54,$55,$00,$00,$00,$00,$00,$00,$56,$57,$34,$13,$14,$58,$59,$5a // TU......VW4..XYZ
        .byte $5b,$5c,$5d,$5e,$13,$5f,$12,$13,$5f,$00,$34,$14,$60,$61,$62,$63 // [\]^._.._.4.`abc
        .byte $13,$64,$00,$00,$00,$00,$00,$00,$54,$00,$00,$00,$13,$65,$00,$00 // .d......T....e..
        .byte $00,$66,$43,$18,$19,$1d,$1e,$1f,$00,$4f,$50,$1d,$1e,$3c,$1d,$1e // .fC......OP..<..
        .byte $3c,$00,$67,$00,$1d,$1e,$3c,$1d,$1e,$1f,$68,$00,$00,$69,$00,$00 // <.g...<...h..i..
        .byte $6a                                   // j

dat_3829:
        // === Fill data (1 bytes, $3829-$3829) ===
        .byte $00                                   // .

// --- Region $384d-$385f ---
.pc = $384d "dat_384d"

dat_384d:
        .byte $6b,$00,$00,$6c,$00,$00,$00,$00,$00,$00,$00,$6d,$6e,$6f,$70,$00 // k..l.......mnop.
        .byte $00,$00,$00                           // ...

// --- Region $3865-$38a7 ---
.pc = $3865 "dat_3865"

dat_3865:
        .byte $00,$74,$6e,$00,$00,$75,$00,$00,$00,$00,$00,$00,$00,$76,$00,$00 // .tn..u.......v..
        .byte $00,$00,$77,$78,$00,$79,$00,$7a,$00,$00,$00,$7b,$7c,$7d,$7e,$70 // ..wx.y.z...{|}~p
        .byte $77,$7f,$80,$81,$82,$83,$84,$85,$86,$87,$88,$89,$8a,$7b,$8b,$8c // w............{..
        .byte $8d,$8e,$8f,$90,$91,$92,$93,$94,$95,$96,$97,$92,$98,$99,$9a,$9b // ................
        .byte $73,$00,$9c                           // s..

// --- Region $38af-$3a2f ---
.pc = $38af "Segment $38af"
        .byte $9f,$7b,$7b,$7b,$7b,$7b,$a0,$7b,$a1,$7b,$7b,$7b,$a2,$9f,$a3,$7b // .{{{{{.{.{{{...{
        .fill 10, $7b
        .byte $a4,$7b,$7b,$7b,$83,$a5,$7b,$7b,$7b,$7b,$7b,$9d,$97,$9e,$9f,$7b // .{{{..{{{{{....{
        .byte $7b,$7b,$7b,$7b,$a0,$7b,$a1,$7b,$7b,$7b,$a2,$9f,$a3,$7b,$7b,$7b // {{{{.{.{{{...{{{
        .fill 8, $7b
        .byte $a4,$7b,$7b,$7b,$83,$a5,$7b,$00,$00,$00,$00,$00,$00,$00,$00 // .{{{..{........

txt_3900:
        .text "      E "

txt_3908:
        .encoding "screencode_mixed"
        .text "potsworth from hitec premier"
        .encoding "petscii_upper"

txt_3924:
        .text "!   C  "

txt_392b:
        .encoding "screencode_mixed"
        .text "was slapped from tape,iffl packed and +3mega-trained ! by"
        .encoding "petscii_upper"

txt_3964:
        .text "...       B - "

txt_3972:
        .encoding "screencode_mixed"
        .text "c h r y s a g o n"
        .encoding "petscii_upper"

txt_3983:
        .text " -    D "

txt_398b:
        .encoding "screencode_mixed"
        .text "greetings to...the shaolin monastery - excalibur - armageddon - censor - dominators - illusion and all otherz"
        .encoding "petscii_upper"

txt_39f8:
        .text " !   B "
        .byte $0f,$15,$14,$14,$01,$20,$13,$03,$08,$0e,$01,$10,$1a,$1a,$1a // ..... .........

txt_3a0e:
        .text "!!!                              "
        .byte $00                                   // string terminator

// --- Region $4ca9-$4ca9 ---
.pc = $4ca9 "dat_4ca9"

dat_4ca9:
        // === Fill data (1 bytes, $4ca9-$4ca9) ===
        .byte $00                                   // .

// --- Region $9da9-$9da9 ---
.pc = $9da9 "dat_9da9"

dat_9da9:
        // === Fill data (1 bytes, $9da9-$9da9) ===
        .byte $00                                   // .

// --- Region $a800-$a802 ---
.pc = $a800 "dat_a800"

dat_a800:
        .byte $4c,$86,$a8                           // L..

// --- Region $a808-$a888 ---
.pc = $a808 "Segment $a808"
        .byte $00,$b7,$b0,$11,$06,$01,$0e,$00,$47,$b1,$09,$05,$05,$10,$00,$5e // ........G......^
        .byte $b1,$09,$03,$03,$14,$14,$10,$00,$00,$a0,$41,$31,$31,$0f,$00,$00 // ..........A11...
        .byte $00,$21,$4c,$4c,$0f,$00,$00,$00,$47,$0a,$02,$03,$01,$a6,$04,$03 // .!LL....G.......
        .byte $06,$01,$00,$00,$80,$04,$1b,$0e,$03,$00,$00,$00,$08,$52,$01,$fe // .............R..
        .byte $00,$00,$00,$08,$8d,$02,$fe,$00,$00,$00,$00,$a0,$04,$fe,$00,$00 // ................
        .byte $00,$00,$c9,$80,$00,$ff,$00,$00,$00,$ff,$00,$00,$00,$03,$02,$00 // ................
        .byte $ff,$00,$00,$00,$00,$00,$00,$ff,$01,$00,$00,$fe,$00,$27,$32,$00 // .............'2.
        .byte $00,$00,$fd,$00,$2a,$30,$00,$00,$00,$fb,$00,$00,$00,$00,$a0,$00 // ....*0..........
        .byte $f0                                   // .

// --- Region $a9f0-$aa03 ---
.pc = $a9f0 "Segment $a9f0"
        .byte $15,$6a,$46,$15,$6a,$46,$15,$6a,$46,$15,$6a,$46,$15,$6a,$46,$15 // .jF.jF.jF.jF.jF.
        .byte $6a,$46,$15,$6a                       // jF.j

// --- Region $af56-$b66e ---
.pc = $af56 "Segment $af56"
        .byte $12,$0f,$0c,$09,$06,$03,$00,$01,$01,$01,$01,$01,$01,$01,$01,$01 // ................
        .byte $01,$01,$02,$02,$02,$02,$02,$02,$02,$03,$03,$03,$03,$03,$04,$04 // ................
        .byte $04,$04,$05,$05,$05,$06,$06,$06,$07,$07,$08,$08,$09,$09,$0a,$0a // ................
        .byte $0b,$0c,$0d,$0d,$0e,$0f,$10,$11,$12,$13,$14,$15,$17,$18,$1a,$1b // ................
        .byte $1d,$1f                               // ..

txt_af98:
        .text " "
        .byte $22                                   // double quote character
        .text "$')+.147:>AEINRW"
        .byte $5c                                   // backslash character
        .byte $62,$68,$6e,$75,$7c,$83,$8b,$93,$9c,$a5,$af,$b9,$c4,$d0,$dd,$ea // bhnu|...........
        .byte $f8,$16,$27,$39,$4b,$5f,$74,$8a,$a1,$ba,$d4,$f0,$0e,$2d,$4e,$71 // ..'9K_t......-Nq
        .byte $96,$be,$e7,$14,$42,$74,$a9,$e0,$1b,$5a,$9c,$e2,$2d,$7b,$cf,$27 // ....Bt...Z..-{.'
        .byte $85,$e8,$51,$c1,$37,$b4,$38,$c4,$59,$f7,$9e,$4e,$0a,$d0,$a2,$81 // ..Q.7.8.Y..N....
        .byte $6d,$67,$70,$89,$b2,$ed,$3b,$9d,$14,$a0,$45,$03,$db,$cf,$e1,$12 // mgp...;...E.....
        .byte $65,$db,$76,$3a,$27,$41,$8a,$05,$b5,$9d,$c1,$24,$c9,$b6,$ed,$73 // e.v:'A.....$...s
        .byte $4e,$82,$14,$0a,$6a,$3b,$82,$48,$93,$6b,$da,$e7,$9c,$04,$28,$14 // N...j;.H.k....(.

txt_b01b:
        .text "MUSIC BY THOMAS DETERT COPYRIGHT'91 BY X-AMPLE ARCHITECTURES ..   "
        .byte $7d,$b1,$81,$b1,$9b,$b1,$b3,$b1,$c6,$b1,$e4,$b1,$fd,$b1,$05,$b2 // }...............
        .byte $12,$b2,$22,$b2,$34,$b2,$46,$b2,$5a,$b2,$7e,$b2,$91,$b2,$a2,$b2 // ..".4.F.Z.~.....
        .byte $b1,$b2,$ca,$b2,$e2,$b2,$22,$b3,$61,$b3,$a4,$b3,$e0,$b3,$1b,$b4 // ......".a.......
        .byte $55,$b4,$68,$b4,$7b,$b4,$8a,$b4,$b9,$b4,$c0,$b4,$df,$b4,$e5,$b4 // U.h.{...........
        .byte $eb,$b4,$f4,$b4,$9e,$b6,$b3,$b6,$c4,$b6,$e5,$b6,$f6,$b6,$00,$05 // ................
        .byte $0a,$0f,$b7,$b0,$47,$b1,$5e,$b1,$33,$07,$c0,$03,$05,$c0,$10,$83 // ....G.^.3.......
        .byte $11,$06,$19,$09,$0a,$0b,$81,$09,$0a,$0d,$81,$19,$0a,$0b,$81,$09 // ................
        .byte $0a,$0e,$81,$19,$0a,$0b,$81,$09,$0a,$0e,$81,$19,$0a,$0b,$19,$09 // ................
        .byte $0a,$1a,$c1,$81,$19,$18,$0b,$81,$19,$0a,$0e,$81,$09,$0a,$0e,$81 // ................
        .byte $09,$0a,$1a,$c0,$81,$19,$0a,$0b,$81,$19,$0a,$0e,$81,$19,$0a,$0b // ................
        .byte $81,$19,$0a,$1a,$c2,$81,$09,$18,$0b,$81,$09,$18,$0e,$81,$19,$18 // ................
        .byte $0b,$81,$19,$18,$0e,$19,$09,$18,$0e,$19,$09,$0a,$1a,$81,$19,$0a // ................
        .byte $0b,$81,$19,$0a,$0e,$09,$19,$0a,$0b,$81,$19,$0a,$0e,$81,$09,$0a // ................
        .byte $0b,$81,$19,$0a,$1a,$81,$09,$0a,$0b,$81,$19,$0a,$0e,$81,$09,$0a // ................
        .byte $0b,$19,$09,$18,$1a,$82,$1c,$21,$1e,$ff,$c0,$01,$02,$01,$04,$c0 // .......!........
        .byte $81,$08,$87,$0c,$c1,$83,$0c,$c0,$83,$0c,$c2,$8f,$0c,$83,$0c,$1f // ................
        .byte $ff,$cc,$01,$02,$01,$04,$c0,$81,$07,$87,$0f,$12,$13,$c1,$15,$14 // ................
        .byte $c0,$87,$0f,$16,$17,$16,$17,$c2,$12,$14,$15,$81,$1b,$1d,$20,$ff // .............. .
        .byte $80,$bf,$01,$00,$82,$a5,$2e,$a1,$2c,$a5,$2e,$a1,$2c,$a5,$2e,$a1 // ........,...,...
        .byte $2c,$a5,$2e,$a1,$2c,$a5,$2e,$a1,$2c,$a3,$2e,$b3,$31,$00,$82,$a5 // ,...,...,...1...
        .byte $2c,$a1,$2a,$a5,$2c,$a1,$2a,$a5,$2c,$a1,$2a,$a5,$2c,$a1,$2a,$a3 // ,.*.,.*.,.*.,.*.
        .byte $31,$a7,$2e,$b3,$2c,$00,$82,$a7,$1e,$19,$1e,$19,$1e,$19,$1e,$19 // 1...,...........
        .byte $20,$1b,$20,$1b,$22,$1e,$20,$1b,$00,$82,$a5,$2c,$a1,$2a,$a5,$2c //  . .". ....,.*.,
        .byte $a1,$2a,$a5,$2c,$a1,$2a,$a5,$2c,$a1,$2a,$a3,$31,$a7,$2e,$83,$df // .*.,.*.,.*.1....
        .byte $e0,$08,$0f,$2c,$e1,$0f,$00,$82,$a7,$1e,$19,$1e,$19,$1e,$19,$1e // ...,............
        .byte $19,$20,$1b,$20,$1b,$22,$1e,$84,$df,$e0,$2c,$10,$14,$e1,$0b,$00 // . . ."....,.....
        .byte $a3,$8c,$28,$a1,$8c,$28,$28,$00,$88,$b3,$45,$80,$af // ..(..((...E..

txt_b20a:
        .text "--"
        .byte $b3                                   // '3' | $80 (end-of-string marker)
        .byte $2d,$af,$2d,$2d,$00,$87,$b3,$4a,$80,$af,$89 // -.--...J...

txt_b218:
        .text "99"
        .byte $b3                                   // '3' | $80 (end-of-string marker)
        .byte $80,$01,$af,$89,$39,$39,$00,$a0,$85,$28,$a2,$8b,$14,$8d,$a1,$14 // ....99...(......
        .byte $20,$8c,$8c,$28,$8d,$14,$20,$20,$00,$a0,$85,$28,$a2,$8b,$12,$8d //  ..(..  ...(....
        .byte $a1,$12,$1e,$8c,$8c,$28,$8d,$12,$1e,$1e,$00,$a0,$85,$28,$a2,$8b // .....(.......(..
        .byte $16,$8d,$a1,$16,$22,$8c,$8c,$28,$8d,$16,$8c,$28,$8d,$22,$00,$a1 // ...."..(...(."..
        .byte $8e,$63                               // .c

txt_b25d:
        .text "11111111"
        .byte $a5                                   // '%' | $80 (end-of-string marker)
        .byte $31,$a1                               // 1.

txt_b268:
        .text "11"
        .byte $a5                                   // '%' | $80 (end-of-string marker)
        .byte $31,$a5,$61,$31,$a1                   // 1.a1.

txt_b270:
        .text "11"
        .byte $a5                                   // '%' | $80 (end-of-string marker)
        .byte $31,$a5,$62,$31,$a3,$31,$a1,$31,$a3,$31,$00,$a0,$85,$28,$a2,$8b // 1.b1.1.1.1...(..
        .byte $11,$8d,$a1,$11,$22,$8c,$8c,$28,$8d,$16,$22,$8c,$28,$00,$a0,$85 // ...."..(..".(...
        .byte $28,$a2,$8b,$11,$8d,$a1,$11
        .byte $22,$8c,$8c
        .text "(((("
        .byte $00,$a3
        .byte $90                                   // .

txt_b2a4:
        .text "LL"
        .byte $a5                                   // '%' | $80 (end-of-string marker)
        .byte $40,$a3                               // @.

txt_b2a9:
        .text "LL"
        .byte $a1                                   // '!' | $80 (end-of-string marker)
        .byte $4c,$a3,$40,$40,$00,$a1,$85           // L.@@...

txt_b2b3:
        .text "(((("
        .byte $a3                                   // '#' | $80 (end-of-string marker)
        .byte $28,$8f,$51,$85,$28,$8f,$51,$85,$28,$8f,$51,$85,$28,$a1,$8f,$51 // (.Q.(.Q.(.Q.(..Q
        .byte $51,$00,$a3,$85,$28,$8f,$51,$85,$28,$8f,$51,$85,$28,$8f,$51,$85 // Q...(.Q.(.Q.(.Q.
        .byte $28,$8f,$51,$85,$28,$a1,$8f,$51,$51,$00,$91,$a5 // (.Q.(..QQ...

txt_b2e4:
        .text "=<"
        .byte $b1                                   // '1' | $80 (end-of-string marker)
        .byte $e0,$38,$7f,$37,$a1                   // .8.7.

txt_b2ec:
        .text "68"
        .byte $a3                                   // '#' | $80 (end-of-string marker)
        .byte $3a,$a1                               // :.

txt_b2f1:
        .text "8:"
        .byte $a3                                   // '#' | $80 (end-of-string marker)
        .byte $e0,$3d,$8f,$3c,$a1,$3a,$a3,$e0,$42,$8f,$41,$a1,$41,$a3 // .=.<.:..B.A.A.

txt_b302:
        .text "?="
        .byte $ba                                   // ':' | $80 (end-of-string marker)
        .byte $e0,$3f,$f5,$3d,$e1,$06,$92,$a5,$3d,$3c,$e0,$3d,$f5 // .?.=....=<.=.

txt_b312:
        .text "<<"
        .byte $a0                                   // ' ' | $80 (end-of-string marker)
        .byte $e0,$38,$7f,$37,$e1,$02,$91,$a3,$e0,$3a,$7f,$39,$00,$91,$a5 // .8.7.....:.9...

txt_b324:
        .text "=<"
        .byte $a7                                   // ''' | $80 (end-of-string marker)
        .byte $e0,$3f,$f5,$3c,$ab,$e0,$38,$7f,$37,$a1 // .?.<..8.7.

txt_b331:
        .text "68"
        .byte $a3                                   // '#' | $80 (end-of-string marker)
        .byte $3a,$a1                               // :.

txt_b336:
        .text "8:"
        .byte $a1                                   // '!' | $80 (end-of-string marker)
        .byte $e0,$3d,$8f,$3c,$a1,$3a,$a3,$e0,$42,$8f,$41,$a1,$41,$a3 // .=.<.:..B.A.A.

txt_b347:
        .text "?="
        .byte $bb                                   // ';' | $80 (end-of-string marker)
        .byte $e0,$3f,$f5,$3d,$e1,$05,$92,$a3,$3d,$a1,$3c,$a3,$e0,$3d,$f5,$3c // .?.=....=.<..=.<
        .byte $a1,$3c,$af,$38,$e1,$03,$00,$94,$a5   // .<.8.....

txt_b363:
        .text "=<"
        .byte $a7                                   // ''' | $80 (end-of-string marker)
        .byte $e0,$3f,$f5,$3c,$ab,$e0,$38,$7f,$37,$a1 // .?.<..8.7.

txt_b370:
        .text "68"
        .byte $a3                                   // '#' | $80 (end-of-string marker)
        .byte $3a,$a1                               // :.

txt_b375:
        .text "8:"
        .byte $a1                                   // '!' | $80 (end-of-string marker)
        .byte $e0,$3d,$8f,$3c,$a1,$3a,$a3,$e0,$42,$f8,$41,$a1,$41,$a3 // .=.<.:..B.A.A.

txt_b386:
        .text "?="
        .byte $bb                                   // ';' | $80 (end-of-string marker)
        .byte $e0,$44,$ff,$43,$e1,$05,$93,$a3,$25,$a1,$24,$a3,$e0,$25,$f5,$24 // .D.C....%.$..%.$
        .byte $a1
        .byte $24,$93,$a3
        .text ",)&$"
        .byte $e1,$03,$00,$94,$a5

txt_b3a6:
        .text "=<"
        .byte $b1                                   // '1' | $80 (end-of-string marker)
        .byte $e0,$38,$7f,$37,$a1                   // .8.7.

txt_b3ae:
        .text "68"
        .byte $a3                                   // '#' | $80 (end-of-string marker)
        .byte $3a,$a1                               // :.

txt_b3b3:
        .text "8:"
        .byte $a3                                   // '#' | $80 (end-of-string marker)
        .byte $e0,$3d,$8f,$3c,$a1,$3a,$a3,$e0,$42,$8f,$41,$a1,$41,$a3 // .=.<.:..B.A.A.

txt_b3c4:
        .text "?="
        .byte $ba                                   // ':' | $80 (end-of-string marker)
        .byte $e0,$3f,$f5,$3d,$e1,$06,$91,$a7       // .?.=....

txt_b3cf:
        .text "=<:"
        .byte $a0                                   // ' ' | $80 (end-of-string marker)
        .byte $e0,$38,$7f,$37,$e1,$02,$94,$a3,$e0,$3a,$7f,$39,$00,$92,$a5,$3a // .8.7.....:.9...:
        .byte $e0,$3c,$9f,$3b,$a3,$e0,$3a,$9f,$39,$a5,$41,$a9,$e0,$3a,$5f,$39 // .<.;..:.9.A..:_9
        .byte $a3                                   // .

txt_b3f4:
        .text ":875"
        .byte $a1                                   // '!' | $80 (end-of-string marker)

txt_b3f9:
        .text "32"
        .byte $a5                                   // '%' | $80 (end-of-string marker)
        .byte $30,$a1                               // 0.

txt_b3fe:
        .text "023"
        .byte $bf                                   // '?' | $80 (end-of-string marker)
        .byte $e0,$35,$af,$33,$a1,$93               // .5.3..

txt_b408:
        .text ")(&$("
        .byte $a3                                   // '#' | $80 (end-of-string marker)

txt_b40e:
        .text "&$"
        .byte $a1                                   // '!' | $80 (end-of-string marker)

txt_b411:
        .text "()"
        .byte $a3                                   // '#' | $80 (end-of-string marker)
        .byte $28,$90,$a1,$4c,$4c,$40,$00,$92,$a3,$3a,$3a,$e0,$3c,$9f,$3b,$a3 // (..LL@...::.<.;.
        .byte $e0,$3a,$7f,$39,$a3,$41,$a1,$3f,$ab,$e0,$3a,$5f,$39,$a1 // .:.9.A.?..:_9.

txt_b432:
        .text ":87"
        .byte $a3                                   // '#' | $80 (end-of-string marker)
        .byte $35,$a1                               // 5.

txt_b438:
        .text "32"
        .byte $a3                                   // '#' | $80 (end-of-string marker)
        .byte $30,$a1                               // 0.

txt_b43d:
        .text "0235"
        .byte $c3                                   // 'C' | $80 (end-of-string marker)
        .byte $e0,$2e,$7f,$2d,$a3,$90               // ...-..

txt_b448:
        .text "LL"
        .byte $a5                                   // '%' | $80 (end-of-string marker)
        .byte $40,$a3                               // @.

txt_b44d:
        .text "LL"
        .byte $a1                                   // '!' | $80 (end-of-string marker)
        .byte $4c,$a3,$40,$40,$00,$a0,$85,$28,$a2,$8b,$12,$8d,$a1,$12,$1e,$8c // L.@@...(........
        .byte $8c,$28,$8d,$12,$1e,$85,$28,$00,$a0,$85,$28,$a2,$8b,$14,$8d,$a1 // .(....(...(.....
        .byte $14,$20,$8c,$8c,$28,$8d,$14,$85,$28,$28,$00,$a0,$85,$28,$a2,$8b // . ..(...((...(..
        .byte $11,$8d,$a1,$11,$22,$a3,$95,$28,$28,$00,$91,$a5 // ...."..((...

txt_b48c:
        .text "=<"
        .byte $a7                                   // ''' | $80 (end-of-string marker)
        .byte $e0,$3f,$f5,$3c,$ab,$e0,$38,$7f,$37,$a1 // .?.<..8.7.

txt_b499:
        .text "68"
        .byte $a3                                   // '#' | $80 (end-of-string marker)
        .byte $3a,$a1                               // :.

txt_b49e:
        .text "8:"
        .byte $a1                                   // '!' | $80 (end-of-string marker)
        .byte $e0,$3d,$8f,$3c,$a1,$3a,$a3,$e0,$42,$8f,$41,$a1,$41,$a3,$3f,$3d // .=.<.:..B.A.A.?=
        .byte $db,$e0,$38,$6f,$37,$e1,$05,$00,$bf,$96,$2c,$af,$2a,$2e,$00,$91 // ..8o7.....,.*...
        .byte $a5                                   // .

txt_b4c2:
        .text "=<"
        .byte $a7                                   // ''' | $80 (end-of-string marker)
        .byte $e0,$3f,$f5,$3c,$ab,$e0,$38,$7f,$37,$a3 // .?.<..8.7.

txt_b4cf:
        .text "68:<=A?="
        .byte $db,$e0,$38,$6f,$37,$e1,$03,$00,$84,$df,$32,$e1,$1f,$00,$df,$84 // ..8o7.....2.....
        .byte $40,$e1,$1f,$00,$df,$84,$e0,$0c,$10,$48,$e1,$1f,$00,$bf,$96,$2c // @........H.....,
        .byte $af,$2a,$a7,$2e,$a3,$95,$28,$28,$00,$00,$89,$19,$19,$19,$01,$15 // .*....((........
        .byte $21,$15,$11,$21,$41,$01,$41,$41,$89,$15,$41,$41,$01,$41,$09,$29 // !..!A.AA..AA.A.)
        .fill 13, $00
        .byte $80,$83,$80,$80,$80,$80,$00,$7f,$00,$00,$00,$81,$11,$11,$15,$01 // ................
        .byte $15,$21,$15,$11,$21,$41,$01,$41,$21,$81,$47,$41,$41,$01,$21,$01 // .!..!A.A!.GAA.!.
        .byte $21,$00,$01,$0a,$0e,$bf,$00,$07,$00,$00,$00,$00,$0b,$00,$0e,$0b // !...............
        .byte $04,$00,$0b,$0a,$00,$0b,$0a,$0d,$00,$02,$09,$09,$0b,$e4,$09,$09 // ................
        .byte $ed,$ee,$09,$eb,$e6,$ef,$ef,$09,$e9,$ef,$ef,$e6,$ef,$09,$09,$00 // ................
        .byte $00,$00,$00,$00,$08,$08,$00,$00,$00,$00,$82,$08,$82,$03,$00,$08 // ................
        .byte $34,$08,$08,$f4,$08,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 // 4...............
        .byte $00,$32,$00,$32,$40,$00,$01,$30,$04,$00,$23,$00,$00,$00,$00,$00 // .2.2@..0..#.....
        .fill 8, $00
        .byte $32,$00,$32,$30,$00,$01,$30,$20,$00,$13,$00,$00,$00,$00,$00,$00 // 2.20..0 ........
        .byte $00,$00,$00,$00,$00,$00,$00,$32,$00,$32,$40,$00,$01,$30,$30,$00 // .......2.2@..00.
        .byte $26,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$32,$00 // &.............2.
        .byte $32,$30,$00,$01,$30,$20,$00,$16,$00,$00,$00,$00,$00,$0a,$00,$00 // 20..0 ..........
        .byte $0f,$00,$01,$ff,$00,$08,$00,$08,$00,$ff,$00,$13,$09,$00,$1a,$00 // ................
        .byte $0a,$00,$00,$00,$2a,$00,$00,$00,$00,$0f,$00,$00,$20,$01,$20,$00 // ....*....... . .
        .byte $ff,$00,$29,$2a,$82,$20,$02,$2a,$00,$00,$00,$00,$00,$0a,$80,$40 // ..)*. .*.......@
        .byte $20,$88,$40,$0c,$02,$0c,$4c,$40,$88,$0c,$0c,$0a,$0c,$02,$00,$00 //  .@...L@........
        .byte $00,$00,$00,$00,$00,$00,$00,$ff,$02,$00,$01,$00,$01,$01,$f0,$01 // ................
        .byte $01,$01,$00,$01,$00,$00,$00,$00,$00,$00,$01,$41,$00,$00,$00,$00 // ...........A....
        .byte $00,$41,$41,$41,$00,$01,$00,$00,$00,$00,$00,$41,$00,$00,$00,$00 // .AAA.......A....
        .byte $00,$1f,$1f,$00,$00,$00,$00,$00,$1a,$1f,$1a,$00,$1f,$00,$00,$00 // ................
        .byte $00,$00,$1f                           // ...

// --- Region $b68d-$b71f ---
.pc = $b68d "dat_b68d"

dat_b68d:
        .byte $0b,$00,$00,$01,$00,$00,$00,$00,$00,$00,$ff,$00,$00,$00,$00,$00 // ................
        .byte $00,$0a,$81,$5c,$41,$0a,$41,$05,$41,$07,$41,$06,$41,$05,$41,$04 // ...\A.A.A.A.A.A.
        .byte $41,$03,$41,$02,$41,$01,$08,$81,$5c,$41,$0f,$41,$0e,$81,$f6,$81 // A.A.A...\A.A....
        .byte $f5,$81,$f4,$81,$f3,$81,$f2,$10,$81,$3f,$41,$0f,$41,$0e,$81,$3c // .........?A.A..<
        .byte $17,$3c,$41,$0c,$41,$0a,$81,$3c,$40,$0c,$40,$0a,$80,$3c,$40,$0c // .<A.A..<@.@..<@.
        .byte $40,$08,$80,$3c,$40,$0c,$40,$0a,$08,$81,$36,$41,$0f,$41,$0c,$80 // @..<@.@...6A.A..
        .byte $31,$80,$36,$80,$31,$80,$31,$10,$04,$05,$41,$4c,$41,$10,$41,$11 // 1.6.1.1...ALA.A.
        .byte $41,$12,$41,$13,$03,$00,$03,$07,$00,$03,$00,$05,$09,$00,$03,$00 // A.A.............
        .byte $04,$09,$00,$03,$00,$02,$07,$00,$40,$b0,$80,$80,$02,$02,$02,$02 // ........@.......
        .byte $ea,$ea,$ea                           // ...
