// ============================================
// output - Disassembled Source
// ============================================
// KickAssembler syntax
// Generated by Restore 64 v0.2.1 alpha build 298, 2026-04-11 21:37:03
// https://restore64.dev by datucker / Rabenauge
//
// Load address: $0800  End: $2aff  (8960 bytes)
// Crunched with Cruncher AB — depacked by emulation
// Packer entry: $080d (via BASIC SYS 2061)
// Entry point:  $1b5d (7005)
// IRQ handler:  $ea31 (irq_ea31)
// IRQ handler:  $1c07 (irq_1c07)
// IRQ handler:  $1c3e (irq_1c3e)
// IRQ handler:  $1c94 (irq_1c94)
// IRQ handler:  $1ccf (irq_1ccf)
// IRQ handler:  $1d04 (irq_1d04)
// IRQ handler:  $1d36 (irq_1d36)
// IRQ handler:  $ea07 (irq_ea07)
//
// Code: 3034 bytes, Data: 5926 bytes
// Labels: 275, Subroutines: 18
//
// Cross-references: all OK
// ============================================


// --- Region $1000-$1006 ---
.pc = $1000 "sub_1000"
// Referenced by: jsr from $1bfd

sub_1000:
        jmp loc_1040
// Referenced by: jsr from $1c72

sub_1003:
        jmp loc_10dc

dat_1006:
        .byte $01                                   // .

// --- Region $1040-$134e ---
.pc = $1040 "loc_1040"

loc_1040:
        asl
        asl
        asl
        tay
        ldx #$00

loc_1046:
        lda $177b,y
        sta $16e9,x
        sta $16ef,x
        lda $177c,y
        sta $16ec,x
        sta $16f2,x
        iny
        iny
        inx
        cpx #$03
        bne loc_1046
        ldx #$00
        stx $100b
        lda $177b,y
        sta $16e8

loc_106a:
        sta $1765,x
        inc $100b
        lda $16e8
        clc
        adc $177b,y
        sta $16e8
        clc
        adc $100b
        inx
        cpx #$10
        bne loc_106a
        lda $1020
        beq loc_10b3
        ldx #$02

loc_108a:
        lda $177c,y
        sta $100b
        and $16f5,x
        sta dat_1006,x
        dex
        bpl loc_108a
        bit $100b
        bpl loc_10b3
        ldx #$00

loc_10a0:
        lda $177d,y
        sta $16ef,x
        lda $177e,y
        sta $16f2,x
        iny
        iny
        inx
        cpx #$03
        bne loc_10a0

loc_10b3:
        ldy #$00
        tya

loc_10b6:
        sta $d400,y
        iny
        cpy #$1b
        bne loc_10b6
        tay

loc_10bf:
        sta $1014,y
        sta $170d,y
        iny
        cpy #$0c
        bne loc_10bf
        lda #$02
        sta $1716
        sta $1717
        sta $1718
        lda $1009
        sta $d418
        rts

loc_10dc:
        ldx #$02
        lda $fb
        pha
        lda $fc
        pha

loc_10e4:
        lda dat_1006,x
        bne loc_10ec
        jmp loc_161b

loc_10ec:
        lda $1716,x
        beq loc_110a
        cmp $1707,x
        bne loc_1104
        lda #$00
        sta $1707,x
        lda $1710,x
        ldy $16fb,x
        sta $d406,y

loc_1104:
        dec $1716,x
        jmp loc_138b

loc_110a:
        lda $1713,x
        sta $1716,x
        lda $16e9,x
        sta $fb
        lda $16ec,x
        sta $fc
        ldy #$00
        tya
        sta $16fe,x
        lda ($fb),y
        bpl loc_1133
        asl
        sta $1017,x
        inc $16e9,x
        bne loc_1130
        inc $16ec,x

loc_1130:
        iny
        lda ($fb),y

loc_1133:
        tay
        lda $18f0,y
        sta $fb
        lda $1900,y
        sta $fc

loc_113e:
        ldy $170d,x
        lda ($fb),y
        bmi loc_118c
        beq loc_116c
        cmp #$7e
        beq loc_1161
        sta $1014,x
        lda $1701,x
        beq loc_1156
        dec $1701,x

loc_1156:
        lda $1704,x
        beq loc_1164
        dec $1704,x
        jmp loc_1164

loc_1161:
        inc $16fe,x

loc_1164:
        lda #$ff
        sta $101a,x
        jmp loc_1262

loc_116c:
        inc $16fe,x
        lda $101a,x
        cmp #$fe
        beq loc_1189
        lda #$fe
        sta $101a,x
        ldy $101d,x
        lda $182a,y
        cmp $1829,y
        beq loc_1189
        sta $1750,x

loc_1189:
        jmp loc_1262

loc_118c:
        pha
        and #$e0
        cmp #$80
        bne loc_11ac
        pla
        pha
        and #$10
        sta $16fe,x
        pla
        and #$0f
        tay
.label loc_11a0 = * + 2
        lda $1765,y
        sta $1716,x
        sta $1713,x
        inc $170d,x
        bne loc_113e

loc_11ac:
        cmp #$a0
        bne loc_11bc
        pla
        asl
        asl
        asl
        sta $101d,x

loc_11b7:
        inc $170d,x
        bne loc_113e

loc_11bc:
        pla
        and #$3f
        asl
        tay
        lda $187b,y
        pha
        and #$c0
        bne loc_11f4
        pla
        pha
        and #$0f
        sta $1756,x
        pla
        pha
        and #$20
        sta $1759,x
        lda $187c,y
        sta $1753,x
        lda #$01
        sta $1704,x
        lda #$00
        sta $175c,x
        sta $175f,x
        pla
        and #$10
        bne loc_11b7
        inc $1704,x
        bne loc_11b7

loc_11f4:
        cmp #$40
        bne loc_1236
        lda #$02
        sta $1701,x
        pla
        pha
        and #$60
        cmp #$60
        bne loc_1208
        dec $1701,x

loc_1208:
        pla
        and #$0f
        sta $171f,x
        lda $187c,y
        pha
        lsr
        lsr
        lsr
        lsr
        sta $171c,x
        sec
        sbc #$01
        sta $1719,x
        lda #$00
        sta $1725,x
        sta $1722,x
        sta $1728,x
        sta $172b,x
        pla
        and #$0f
        sta $172e,x
        jmp loc_11b7

loc_1236:
        cmp #$80
        bne loc_1249
        pla
        and #$0f
        sta $1707,x
        lda $187c,y
        sta $1710,x
        jmp loc_11b7

loc_1249:
        lda $187c,y
        sta $100b
        pla
        and #$1f
        asl
        asl
        asl
        tay
        lda $100b
        sta $1829,y
        sta $182a,y
        jmp loc_11b7

loc_1262:
        inc $170d,x
        ldy $170d,x
        lda ($fb),y
        cmp #$7f
        bne loc_129b
        lda #$00
        sta $170d,x
        tay
        lda $16e9,x
        clc
        adc #$01
        sta $16e9,x
        sta $fb
        lda $16ec,x
        adc #$00
        sta $16ec,x
        sta $fc
        lda ($fb),y
        cmp #$ff
        bne loc_129b
        lda $16ef,x
        sta $16e9,x
        lda $16f2,x
        sta $16ec,x

loc_129b:
        cmp #$fe
        bne loc_12ad
        lda #$00
        sta dat_1006,x
        ldy $16fb,x
        sta $d404,y
        jmp loc_161b

loc_12ad:
        lda $16fe,x
        beq loc_12ce
        lda $17d9,x
        beq loc_12c3
        cmp #$01
        bne loc_12c0
        lda $1701,x
        beq loc_12c3

loc_12c0:
        jmp loc_161b

loc_12c3:
        jmp loc_138b

dat_12c6:
        .byte $a9,$00,$9d,$01,$17,$4c,$e0,$12       // .....L..

loc_12ce:
        ldy $16fb,x
        lda #$00
        sta $d405,y
        lda #$0f
        sta $d406,y
        lda #$08
        sta $d404,y
        ldy $101d,x
        lda $1829,y
        sta $1750,x
        lda $1828,y
        sta $173d,x
        tay
        lda #$00
        sta $1740,x
        lda $17fe,y
        and #$80
        cmp #$80
        bne loc_130d
        lda $17ff,y
        pha
        and #$f0
        sta $1743,x
        pla
        and #$0f
        sta $1746,x

loc_130d:
        ldy $101d,x
        lda $1826,y
        pha
        and #$f0
        sta $100b
        pla
        ldy #$00
        and #$0f
        beq loc_133d
        cmp #$08
        beq loc_133c
        asl
        asl
        asl
        asl
        ora $1009
        sta $d418
        iny
        lda $100a
        and #$0f
        ora $16f5,x
        ora $100b
        bne loc_1343

loc_133c:
        iny

loc_133d:
        lda $100a
        and $16f8,x

loc_1343:
        sta $d417
        sta $100a
        cpy #$01
        bne loc_136b

dat_134d:
        .byte $bc,$1d                               // ..

// --- Region $136b-$1628 ---
.pc = $136b "loc_136b"

loc_136b:
        ldy $101d,x
        lda $1823,y
        ldy $16fb,x
        sta $d405,y
        ldy $101d,x
        lda $1824,y
        ldy $16fb,x
        sta $d406,y
        lda #$09
        sta $d404,y
        jmp loc_161b

loc_138b:
        lda $1740,x
        beq loc_1396
        dec $1740,x
        jmp loc_13e0

loc_1396:
        ldy $173d,x
        lda $17fc,y
        pha
        lsr
        lsr
        lsr
        lsr
        sta $1731,x
        pla
        and #$0f
        sta $1734,x
        lda $17fd,y
        sta $1737,x
        lda $17fe,y
        sta $100b
        and #$3f
        sta $1740,x
        bit $100b
        bpl loc_13d4
        lda $17ff,y
        pha
        and #$f0
        sta $1743,x
        pla
        and #$0f
        sta $1746,x
        lda #$00
        sta $173a,x

loc_13d4:
        bit $100b
        bvs loc_13e0
        tya
        clc
        adc #$04
        sta $173d,x

loc_13e0:
        lda $173a,x
        bne loc_13fe
        lda $1743,x
        clc
        adc $1737,x
        sta $1743,x
        lda $1746,x
        adc #$00
        sta $1746,x
        cmp $1734,x
        bne loc_141d
        beq loc_1415

loc_13fe:
        lda $1743,x
        sec
        sbc $1737,x
        sta $1743,x
        lda $1746,x
        sbc #$00
        sta $1746,x
        cmp $1731,x
        bne loc_141d

loc_1415:
        lda $173a,x
        eor #$01
        sta $173a,x

loc_141d:
        ldy #$00
        txa
        cmp $17dc,y
        beq loc_1428
        jmp loc_14a3

loc_1428:
        lda $174e
        beq loc_1433
        dec $174e
        jmp loc_1476

loc_1433:
        ldy $174d
        lda $17d9,y
        pha
        and #$f0
        sta $1749
        pla
        asl
        asl
        asl
        asl
        sta $174a
        lda $17da,y
        sta $174b
        lda $17db,y
        sta $100b
        and #$3f
        sta $174e
        bit $100b
        bpl loc_1468
        lda $17dc,y
        sta $174f
        lda #$00
        sta $174c

loc_1468:
        bit $100b
        bvs loc_1476
        lda $174d
        clc
        adc #$04
        sta $174d

loc_1476:
        lda $174c
        bne loc_148c
        lda $174f
        clc
        adc $174b
        sta $174f
        cmp $174a
        bcc loc_14a3
        bcs loc_149b

loc_148c:
        lda $174f
        sec
        sbc $174b
        sta $174f
        cmp $1749
        bcs loc_14a3

loc_149b:
        lda $174c
        eor #$01
        sta $174c

loc_14a3:
        ldy $101d,x
        lda $1825,y
        beq loc_14ca
        ldy $1750,x
        lda $178b,y
        cmp #$7f
        bne loc_14bf
        lda $17b2,y
        sta $1750,x
        tay
        lda $178b,y

loc_14bf:
        sta $100f,x
        lda #$00
        sta $100c,x
        jmp loc_1509

loc_14ca:
        ldy $1750,x
        lda $178b,y
        bmi loc_14e2
        cmp #$7f
        bne loc_14e8
        lda $17b2,y
        sta $1750,x
        tay
        lda $178b,y
        bpl loc_14e8

loc_14e2:
        asl
        ldy #$01
        jmp loc_14f3

loc_14e8:
        clc
        adc $1014,x
        asl
        clc
        adc $1017,x
        ldy #$00

loc_14f3:
        sty $100b
        tay
        lda dat_1628,y
        clc
        adc $1762,x
        sta $100c,x
        lda $1629,y
        adc #$00
        sta $100f,x

loc_1509:
        ldy $1750,x
        lda $17b2,y
        sta $170a,x
        inc $1750,x
        lda $1704,x
        beq loc_1563
        lda $1759,x
        bne loc_1535
        lda $175c,x
        clc
        adc $1753,x
        sta $175c,x
        lda $175f,x
        adc $1756,x
        sta $175f,x
        jmp loc_1548

loc_1535:
        lda $175c,x
        sec
        sbc $1753,x
        sta $175c,x
        lda $175f,x
        sbc $1756,x
        sta $175f,x

loc_1548:
        lda $100b
        bne loc_1560
        lda $100c,x
        clc
        adc $175c,x
        sta $100c,x
        lda $100f,x
        adc $175f,x
        sta $100f,x

loc_1560:
        jmp loc_15f1

loc_1563:
        lda $1701,x
        beq loc_1560
        lda $1014,x
        asl
        tay
        lda $162a,y
        sec
        sbc dat_1628,y
        sta $16e8
        lda $162b,y
        sbc $1629,y
        clc
        adc $1722,x
        sta $100b
        ldy $172e,x

loc_1587:
        dey
        bmi loc_1593
        lsr $100b
        ror $16e8
        jmp loc_1587

loc_1593:
        dec $1719,x
        bpl loc_15a6
        lda $1725,x
        eor #$01
        sta $1725,x
        lda $171c,x
        sta $1719,x

loc_15a6:
        lda $1725,x
        bne loc_15c1
        lda $1728,x
        clc
        adc $16e8
        sta $1728,x
        lda $172b,x
        adc $100b
        sta $172b,x
        jmp loc_15d4

loc_15c1:
        lda $1728,x
        sec
        sbc $16e8
        sta $1728,x
        lda $172b,x
        sbc $100b
        sta $172b,x

loc_15d4:
        lda $100c,x
        clc
        adc $1728,x
        sta $100c,x
        lda $100f,x
        adc $172b,x
        sta $100f,x
        lda $1722,x
        clc
        adc $171f,x
        sta $1722,x

loc_15f1:
        ldy $16fb,x
        lda $1743,x
        sta $d402,y
        lda $1746,x
        sta $d403,y
        lda $174f
        sta $d416
        lda $100c,x
        sta $d400,y
        lda $100f,x
        sta $d401,y
        lda $170a,x
        and $101a,x
        sta $d404,y

loc_161b:
        dex
        bmi loc_1621
        jmp loc_10e4

loc_1621:
        pla
        sta $fc
        pla
        sta $fb
        rts

dat_1628:
        .byte $16                                   // .

// --- Region $1b00-$1b1b ---
.pc = $1b00 "loc_1b00"

loc_1b00:
        lda #$00
        sta $d020
        sta $d021
        jsr $e544
        ldx #$00

loc_1b0d:
        lda dat_1b1b,x
        sta $033c,x
        inx
        cpx #$28
        bne loc_1b0d
        jmp $033c

dat_1b1b:
        .byte $78                                   // x

// --- Region $1b5d-$1e80 ---
.pc = $1b5d "main_1b5d"

main_1b5d:
        sei
        lda #$00
        sta $d019
        sta $d01a
        sta $dc0d
        lda #$31
        sta $0314
        lda #$ea
        sta $0315
        cli
        sei
        lda #$07
        sta $0314
        lda #$1c
        sta $0315
        lda #$01
        sta $d01a
        lda #$00
        sta $dc0e
        sta $d020
        sta $d021
        sta $0e50
        sta $0eb8
        sta $02
        sta $03
        sta $05
        sta $0286
        lda #$1b
        sta $d011
        jsr $e544
        lda #$0a
        ldx #$00

loc_1baa:
        sta $d878,x
        inx
        cpx #$f0
        bne loc_1baa
        ldx #$00

loc_1bb4:
        lda $0f50,x
        sta $0590,x
        clc
        adc #$40
        sta $05b8,x
        inx
        cpx #$28
        bne loc_1bb4
        ldx #$00

loc_1bc7:
        lda $0f78,x
        sta $0608,x
        clc
        adc #$40
        sta $0630,x
        inx
        cpx #$28
        bne loc_1bc7
        ldx #$00

loc_1bda:
        lda $0e58,x
        sta $0e10,x
        sta $0e30,x
        lda $0ec0,x
        sta $0e78,x
        sta $0e98,x
        inx
        cpx #$20
        bne loc_1bda
        lda #$07
        sta $d022
        lda #$0a
        sta $d023
        lda #$00
        jsr sub_1000
        jsr sub_2800
        cli

loc_1c04:
        jmp loc_1c04

irq_1c07:
        inc $d019
        lda #$45
        sta $d012
        nop
        nop
        nop
.label smc_1c13 = * + 1
        lda #$0a                                    // !SMC: modified by $1e15, $280e
        sta $d020
        sta $d021
        ldx #$0b

loc_1c1c:
        dex
        bne loc_1c1c
        lda #$00
        sta $d020
        sta $d021
        lda #$18
        sta $d018
.label smc_1c2d = * + 1
        lda #$01                                    // !SMC: modified by $28e0
        sta $d016
        lda #$3e
        sta $0314
        lda #$1c
        sta $0315
        jmp $ea81

irq_1c3e:
        inc $d019
        lda #$7d
        sta $d012
        nop
        nop
        nop
.label smc_1c4a = * + 1
        lda #$07                                    // !SMC: modified by $1e1b, $2811
        sta $d020
        sta $d021
        ldx #$0b

loc_1c53:
        dex
        bne loc_1c53
        lda #$00
        sta $d020
        sta $d021
        lda #$12
        sta $d018
        lda #$17
        sta $d016
        lda #$94
        sta $0314
        lda #$1c
        sta $0315

smc_1c72:
.label smc_1c73 = * + 1
.label smc_1c74 = * + 2
        jsr sub_1003                                // !SMC: modified by $1c84, $1c89, $1c8e, $2831, $2834, $2837

smc_1c75:
.label smc_1c76 = * + 1
.label smc_1c77 = * + 2
        jsr sub_1d85                                // !SMC: modified by $283a, $283d, $2840

smc_1c78:
.label smc_1c79 = * + 1
.label smc_1c7a = * + 2
        jsr sub_1df3                                // !SMC: modified by $2843, $2846, $2849
        lda $1e4c
        cmp #$00
        bne loc_1c91
        lda #$20
        sta smc_1c72                                // SMC: modifies $1c72
        lda #$03
        sta smc_1c73                                // SMC: modifies $1c73
        lda #$10
        sta smc_1c74                                // SMC: modifies $1c74

loc_1c91:
        jmp $ea81

irq_1c94:
        inc $d019
        lda #$ad
        sta $d012
        nop
        nop
        nop
.label smc_1ca0 = * + 1
        lda #$01                                    // !SMC: modified by $1e21, $2814
        sta $d020
        sta $d021
        nop
        ldx #$0a

loc_1caa:
        dex
        bne loc_1caa
        lda #$00
        sta $d020
        sta $d021
        lda #$18
        sta $d018
        lda #$08
        sta $d016
        lda #$cf
        sta $0314
        lda #$1c
        sta $0315
        jsr sub_1fbd
        jmp $ea81

irq_1ccf:
        inc $d019
        lda #$c5
        sta $d012
        nop
        nop
        nop
.label smc_1cdb = * + 1
        lda #$0f                                    // !SMC: modified by $1e27, $2817
        sta $d020
        sta $d021
        ldx #$0b

loc_1ce4:
        dex
        bne loc_1ce4
        lda #$00
        sta $d020
        sta $d021
.label smc_1cf0 = * + 1
        lda #$07                                    // !SMC: modified by $1f1b
        sta $d016
        lda #$04
        sta $0314
        lda #$1d
        sta $0315

smc_1cfe:
.label smc_1cff = * + 1
.label smc_1d00 = * + 2
        jsr sub_1f64                                // !SMC: modified by $2855, $2858, $285b
        jmp $ea81

irq_1d04:
        inc $d019
        lda #$dd
        sta $d012
        nop
        nop
        nop
.label smc_1d10 = * + 1
        lda #$04                                    // !SMC: modified by $1e2d, $281a
        sta $d020
        sta $d021
        ldx #$0b

loc_1d19:
        dex
        bne loc_1d19
        lda #$00
        sta $d020
        sta $d021
.label smc_1d25 = * + 1
        lda #$00                                    // !SMC: modified by $1f74
        sta $d016
        lda #$36
        sta $0314
        lda #$1d
        sta $0315
        jmp $ea81

irq_1d36:
        inc $d019
        lda #$2e
        sta $d012
        nop
        nop
        nop
.label smc_1d42 = * + 1
        lda #$06                                    // !SMC: modified by $1e33, $281d
        sta $d020
        sta $d021
        ldx #$0b

loc_1d4b:
        dex
        bne loc_1d4b
        lda #$00
        sta $d020
        sta $d021
        lda #$08
        sta $d016
        lda #$07
        sta $0314
        lda #$1c
        sta $0315

smc_1d65:
.label smc_1d66 = * + 1
.label smc_1d67 = * + 2
        jsr sub_1dae                                // !SMC: modified by $2869, $286e, $2873

smc_1d68:
.label smc_1d69 = * + 1
.label smc_1d6a = * + 2
        jsr sub_1f0e                                // !SMC: modified by $284c, $284f, $2852
        nop

smc_1d6c:
.label smc_1d6d = * + 1
.label smc_1d6e = * + 2
        jsr sub_28d5                                // !SMC: modified by $285e, $2861, $2864
        lda $dc01
        cmp #$ef
        beq loc_1d79
        jmp $ea81

loc_1d79:
        jsr $ff5b
        jsr $fd15
        jsr $fda3
        jmp loc_1b00
// Referenced by: jsr from $1c75

sub_1d85:
        inc $02
        lda $02
        cmp #$03
        bne loc_1da1
        lda #$00
        sta $02
.label smc_1d92 = * + 1
        lda $0e04                                   // !SMC: modified by $1daa, $2802
        inc smc_1d92
        ldx #$00

loc_1d99:
        sta $d800,x
        inx
        cpx #$50
        bne loc_1d99

loc_1da1:
        lda smc_1d92
        cmp #$0d
        bne loc_1dad
        lda #$00
        sta smc_1d92                                // SMC: modifies $1d92

loc_1dad:
        rts

// Referenced by: jsr from $1d65
sub_1dae: {
        lda $0e10
        sta $0e50
        ldx #$00
loop1:
        lda $0e11,x
        sta $0e10,x
        inx
        cpx #$40
        bne loop1
        ldx #$00
loop2:
        lda $0e10,x
        sta $d990,x
        sta $d9b9,x
        inx
        cpx #$28
        bne loop2
        lda $0eb8
        sta $0e79
        ldx #$40
loop3:
        lda $0e78,x
        sta $0e79,x
        dex
        bne loop3
        ldx #$00
loop4:
        lda $0e79,x
        sta $da08,x
        sta $da2f,x
        inx
        cpx #$28
        bne loop4
        rts
}
// Referenced by: jsr from $1c78

sub_1df3:
        inc $03
        lda $03
        cmp #$03
        bne loc_1e12
        lda #$00
        sta $03
        lda $0ee0
        sta $0eef
        ldx #$00

loc_1e07:
        lda $0ee1,x
        sta $0ee0,x
        inx
        cpx #$0f
        bne loc_1e07

loc_1e12:
        lda $0ee0
        sta smc_1c13                                // SMC: modifies $1c13
        lda $0ee2
        sta smc_1c4a                                // SMC: modifies $1c4a
        lda $0ee4
        sta smc_1ca0                                // SMC: modifies $1ca0
        lda $0ee6
        sta smc_1cdb                                // SMC: modifies $1cdb
        lda $0ee8
        sta smc_1d10                                // SMC: modifies $1d10
        lda $0eea
        sta smc_1d42                                // SMC: modifies $1d42
        rts

loc_1e37:
        dec $04
        lda $04
        and #$07
        clc
        adc #$10
        sta $1c64
        cmp #$17
        bne loc_1e4a
        jsr sub_1e4b

loc_1e4a:
        rts
// Referenced by: jsr from $1e47

sub_1e4b:
        lda txt_0f25
        sta $05
        ldx #$00

loc_1e52:
        lda $0479,x
        sta $0478,x
        lda $04a1,x
        sta $04a0,x
        lda $04c9,x
        sta $04c8,x
        lda $04f1,x
        sta $04f0,x
        lda $0519,x
        sta $0518,x
        lda $0541,x
        sta $0540,x
        inx
        cpx #$27
        bne loc_1e52
        lda $05
        jsr sub_2963
        rts

// --- Region $1e9e-$1ff6 ---
.pc = $1e9e "loc_1e9e"

loc_1e9e:
        jsr $678d
        ora $4c
        lda $1e
        lda $1e4c
        cmp #$1f
        bne loc_1eb6
        lda #$63
        sta $1e7e
        lda #$29
        sta $1e7f

loc_1eb6:
        inc $1e4c
        lda $1e4c
        cmp #$25
        bne loc_1f0d
        lda #$20
        sta smc_1c75
        sta smc_1c78
        sta smc_1d68
        sta smc_1cfe
        sta smc_1d6c
        lda #$85
        sta smc_1c76
        lda #$1d
        sta smc_1c77
        lda #$f3
        sta smc_1c79
        lda #$1d
        sta smc_1c7a
        lda #$ae
        sta smc_1d66
        lda #$1d
        sta smc_1d67
        lda #$0e
        sta smc_1d69
        lda #$1f
        sta smc_1d6a
        lda #$64
        sta smc_1cff
        lda #$1f
        sta smc_1d00
        lda #$d5
        sta smc_1d6d
        lda #$28
        sta smc_1d6e

loc_1f0d:
        rts
// Referenced by: jsr from $1d68

sub_1f0e:
        jsr sub_1f15
        jsr sub_1f15
        rts
// Referenced by: jsr from $1f0e, $1f11

sub_1f15:
        dec $08
        lda $08
        and #$07
        sta smc_1cf0                                // SMC: modifies $1cf0
        cmp #$07
        bne loc_1f25
        jsr sub_1f26

loc_1f25:
        rts
// Referenced by: jsr from $1f22

sub_1f26:
.label smc_1f27 = * + 1
.label smc_1f28 = * + 2
        lda $248b                                   // !SMC: modified by $1f31, $1f36, $2808, $2822
        sta $07
        cmp #$00
        bne loc_1f3d
        lda #$00
        sta smc_1f27                                // SMC: modifies $1f27
        lda #$24
        sta smc_1f28                                // SMC: modifies $1f28
        lda #$20
        sta $07

loc_1f3d:
        ldx #$00

loc_1f3f:
        lda $0681,x
        sta $0680,x
        lda $06a9,x
        sta $06a8,x
        inx
        cpx #$27
        bne loc_1f3f
        lda $07
        sta $06a7
        clc
        adc #$40
        sta $06cf
        inc smc_1f27
        bne loc_1f63
        inc smc_1f28

loc_1f63:
        rts
// Referenced by: jsr from $1cfe

sub_1f64:
        jsr sub_1f6e
        jsr sub_1f6e
        jsr sub_1f6e
        rts
// Referenced by: jsr from $1f64, $1f67, $1f6a

sub_1f6e:
        dec $10
        lda $10
        and #$07
        sta smc_1d25                                // SMC: modifies $1d25
        cmp #$07
        bne loc_1f7e
        jsr sub_1f7f

loc_1f7e:
        rts
// Referenced by: jsr from $1f7b

sub_1f7f:
.label smc_1f80 = * + 1
.label smc_1f81 = * + 2
        lda $26d1                                   // !SMC: modified by $1f8a, $1f8f, $280b, $2827
        sta $11
        cmp #$00
        bne loc_1f96
        lda #$00
        sta smc_1f80                                // SMC: modifies $1f80
        lda #$26
        sta smc_1f81                                // SMC: modifies $1f81
        lda #$20
        sta $11

loc_1f96:
        ldx #$00

loc_1f98:
        lda $06f9,x
        sta $06f8,x
        lda $0721,x
        sta $0720,x
        inx
        cpx #$27
        bne loc_1f98
        lda $11
        sta $071f
        clc
        adc #$40
        sta $0747
        inc smc_1f80
        bne loc_1fbc
        inc smc_1f81

loc_1fbc:
        rts
// Referenced by: jsr from $1cc9

sub_1fbd:
.label smc_1fbe = * + 1
        lda $0fae                                   // !SMC: modified by $1fd6, $282c, $2885
        inc smc_1fbe
        ldx #$00

loc_1fc5:
        sta $da80,x
        inx
        cpx #$50
        bne loc_1fc5
        lda smc_1fbe
        cmp #$c8
        bne loc_1fd9
        lda #$a0
        sta smc_1fbe                                // SMC: modifies $1fbe

loc_1fd9:
.label smc_1fda = * + 1
        lda $0fba                                   // !SMC: modified by $1ff2, $288a
        inc smc_1fda
        ldx #$00

loc_1fe1:
        sta $daf8,x
        inx
        cpx #$50
        bne loc_1fe1
        lda smc_1fda
        cmp #$c8
        bne loc_1ff5
        lda #$a0
        sta smc_1fda                                // SMC: modifies $1fda

loc_1ff5:
        rts

dat_1ff6:
        .byte $00                                   // .

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

// --- Region $2800-$297b ---
.pc = $2800 "sub_2800"

// Referenced by: jsr from $1c00
sub_2800: {
        lda #$00
        sta smc_1d92                                // SMC: modifies $1d92
        sta $1e4c
        sta smc_1f27                                // SMC: modifies $1f27
        sta smc_1f80                                // SMC: modifies $1f80
        sta smc_1c13                                // SMC: modifies $1c13
        sta smc_1c4a                                // SMC: modifies $1c4a
        sta smc_1ca0                                // SMC: modifies $1ca0
        sta smc_1cdb                                // SMC: modifies $1cdb
        sta smc_1d10                                // SMC: modifies $1d10
        sta smc_1d42                                // SMC: modifies $1d42
        lda #$24
        sta smc_1f28                                // SMC: modifies $1f28
        lda #$26
        sta smc_1f81                                // SMC: modifies $1f81
        lda #$a0
        sta smc_1fbe                                // SMC: modifies $1fbe
        lda #$ea
        sta smc_1c72                                // SMC: modifies $1c72
        sta smc_1c73                                // SMC: modifies $1c73
        sta smc_1c74                                // SMC: modifies $1c74
        sta smc_1c75                                // SMC: modifies $1c75
        sta smc_1c76                                // SMC: modifies $1c76
        sta smc_1c77                                // SMC: modifies $1c77
        sta smc_1c78                                // SMC: modifies $1c78
        sta smc_1c79                                // SMC: modifies $1c79
        sta smc_1c7a                                // SMC: modifies $1c7a
        sta smc_1d68                                // SMC: modifies $1d68
        sta smc_1d69                                // SMC: modifies $1d69
        sta smc_1d6a                                // SMC: modifies $1d6a
        sta smc_1cfe                                // SMC: modifies $1cfe
        sta smc_1cff                                // SMC: modifies $1cff
        sta smc_1d00                                // SMC: modifies $1d00
        sta smc_1d6c                                // SMC: modifies $1d6c
        sta smc_1d6d                                // SMC: modifies $1d6d
        sta smc_1d6e                                // SMC: modifies $1d6e
        lda #$20
        sta smc_1d65                                // SMC: modifies $1d65
        lda #$37
        sta smc_1d66                                // SMC: modifies $1d66
        lda #$1e
        sta smc_1d67                                // SMC: modifies $1d67
        ldx #$00
loop1:
        lda $0ff0,x
        sta chr_0800,x
        inx
        cpx #$08
        bne loop1
        lda #$a0
        sta smc_1fbe                                // SMC: modifies $1fbe
        lda #$ac
        sta smc_1fda                                // SMC: modifies $1fda
        lda #$ff
        sta $18
        lda #$05
        sta $1e7c
        lda #$81
        sta $1e7e
        lda #$1e
        sta $1e7f
        ldx #$00
loop2:
        lda $0fc8,x
        sta $0770,x
        clc
        adc #$40
        sta $0798,x
        inx
        cpx #$28
        bne loop2
        lda #$00
        sta $40
        lda #$00
        sta $41
        ldx #$00
        lda #$ff
loop3:
        sta $0478,x
        sta $04a0,x
        inx
        cpx #$f0
        bne loop3
        lda #$39
        sta smc_2923                                // SMC: modifies $2923
        lda #$29
        sta smc_2924                                // SMC: modifies $2924
        rts
}
// Referenced by: jsr from $1d6c

sub_28d5:
        lda $2a9a
        inc $28d6
        pha
        and #$07
        eor #$07
        sta smc_1c2d                                // SMC: modifies $1c2d
        pla
        lsr
        lsr
        lsr
        tay
        ldx #$00

loc_28ea:
        lda $0f26,y
        sta $0400,x
        clc
        adc #$40
        sta $0428,x
        inx
        iny
        cpx #$28
        bne loc_28ea
        ldx $40
        ldy #$00

loc_2900:
        lda $29a8,x
        sta $db70,y
        sta $db98,y
        inx
        iny
        cpy #$14
        bne loc_2900
        ldy #$00

loc_2911:
        ldx $2988,y
        lda $db70,x
        sta $db84,y
        sta $dbac,y
        iny
        cpy #$14
        bne loc_2911
.label smc_2923 = * + 1
.label smc_2924 = * + 2
        jsr sub_2939                                // !SMC: modified by $28cc, $28d1, $2943, $2948
        rts

loc_2926:
        dec $40
        lda $40
        cmp #$08
        bne loc_2938
        lda #$39
        sta smc_2923
        lda #$29
        sta smc_2924

loc_2938:
        rts
// Referenced by: jsr from $2922

sub_2939:
        inc $40
        lda $40
        cmp #$40
        bne loc_294b
        lda #$4c
        sta smc_2923                                // SMC: modifies $2923
        lda #$29
        sta smc_2924                                // SMC: modifies $2924

loc_294b:
        rts

loc_294c:
        inc $41
        lda $41
        cmp #$10
        bne loc_2962
        lda #$00
        sta $41
        lda #$26
        sta smc_2923
        lda #$29
        sta smc_2924

loc_2962:
        rts
// Referenced by: jsr from $1e7d

sub_2963:
        lda #$ff
        sta $049f
        sta $04c7
        sta $04ef
        sta $0517
        sta $053f
        sta $0567
        jmp loc_1eb6

dat_297a:
        .byte $00,$00                               // ..

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

// --- Region $0800-$0fff ---
.pc = $0800 "chr_0800"

chr_0800:
        // === Charset data (2048 bytes, $0800-$0fff) ===
        .byte $0f,$06,$08,$0c,$0c,$08,$0c,$08       // char 0 @+0
        .byte $00,$fa,$33,$00,$e5,$80,$40,$40       // char 1 @+1
        .byte $00,$a6,$ee,$02,$61,$33,$30,$30       // char 2 @+2
        .byte $00,$55,$99,$00,$39,$20,$10,$10       // char 3 @+3
        .byte $00,$55,$66,$00,$58,$0c,$0c,$0c       // char 4 @+4
        .byte $00,$59,$bb,$ef,$bc,$00,$00,$00       // char 5 @+5
        .byte $00,$ae,$cc,$33,$cf,$03,$00,$3a       // char 6 @+6
        .byte $00,$e9,$fb,$ee,$ba,$3c,$03,$b2       // char 7 @+7
        .byte $00,$95,$a6,$90,$0d,$e5,$9c,$70       // char 8 @+8
        .byte $00,$55,$59,$00,$55,$c0,$00,$00       // char 9 @+9
        .byte $00,$56,$ae,$00,$56,$03,$03,$03       // char 10 @+10
        .byte $00,$6b,$f3,$0c,$33,$0c,$03,$02       // char 11 @+11
        .byte $00,$ba,$3e,$f0,$0d,$e5,$9c,$70       // char 12 @+12
        .byte $00,$65,$e9,$06,$50,$eb,$03,$00       // char 13 @+13
        .byte $00,$55,$96,$59,$66,$1a,$cc,$f0       // char 14 @+14
        .byte $00,$55,$6b,$ae,$bb,$ec,$c3,$02       // char 15 @+15
        .byte $00,$9a,$bc,$c0,$0d,$e5,$9c,$70       // char 16 @+16
        .byte $00,$ee,$cf,$0e,$50,$2b,$03,$00       // char 17 @+17
        .byte $00,$99,$ba,$e9,$a6,$19,$ca,$f0       // char 18 @+18
        .byte $00,$55,$65,$00,$39,$20,$10,$10       // char 19 @+19
        .byte $00,$55,$9a,$00,$55,$00,$00,$00       // char 20 @+20
        .byte $00,$66,$ef,$00,$55,$00,$00,$00       // char 21 @+21
        .byte $00,$bb,$33,$00,$56,$03,$03,$03       // char 22 @+22
        .byte $00,$a6,$ee,$3a,$29,$24,$23,$02       // char 23 @+23
        .byte $00,$55,$99,$60,$0d,$e5,$9c,$70       // char 24 @+24
        .byte $00,$55,$66,$0a,$50,$eb,$03,$00       // char 25 @+25
        .byte $00,$59,$bb,$ef,$bc,$33,$c0,$f0       // char 26 @+26
        .byte $00,$ae,$cc,$00,$39,$20,$10,$10       // char 27 @+27
        .byte $00,$e9,$fb,$00,$55,$00,$00,$00       // char 28 @+28
        .byte $00,$95,$a6,$00,$5a,$02,$00,$00       // char 29 @+29
        .byte $00,$55,$59,$26,$1a,$cb,$f2,$3c       // char 30 @+30
        .byte $00,$50,$b0,$80,$f0,$80,$c0,$c0       // char 31 @+31
        .byte $08,$04,$08,$04,$05,$06,$05,$05       // char 32 ' '
        .byte $40,$40,$40,$70,$30,$30,$3c,$8c       // char 33 '!'

txt_0910:
        .byte $3a,$30,$30,$32,$30,$3c,$0e,$02       // char 34 '"'
        .byte $10,$10,$10,$90,$10,$50,$40,$00       // char 35 '#'
        .byte $0c,$0c,$0c,$3c,$30,$30,$f0,$c0       // char 36 '$'
        .byte $aa,$00,$00,$ac,$00,$3a,$00,$03       // char 37 '%'
        .byte $c0,$00,$ea,$00,$00,$ab,$00,$c0       // char 38 '&'
        .byte $0d,$09,$c7,$34,$24,$1c,$10,$10       // char 39 '''
        .byte $c0,$00,$03,$0f,$0c,$0c,$0c,$09       // char 40 '('
        .byte $00,$00,$ff,$00,$3a,$00,$00,$56       // char 41 ')'
        .byte $03,$03,$f9,$00,$b0,$00,$00,$2a       // char 42 '*'
        .byte $0d,$09,$07,$34,$24,$1c,$10,$10       // char 43 '+'
        .byte $c0,$00,$03,$0f,$0c,$0c,$0c,$09       // char 44 ','
        .byte $00,$00,$f0,$28,$04,$04,$04,$54       // char 45 '-'
        .byte $30,$3c,$0c,$0c,$0f,$03,$03,$03       // char 46 '.'
        .byte $0d,$09,$07,$34,$24,$1c,$10,$10       // char 47 '/'
        .byte $c0,$00,$03,$0f,$0c,$0c,$0c,$0c       // char 48 '0'
        .byte $00,$00,$f0,$14,$04,$04,$84,$04       // char 49 '1'
        .byte $30,$3c,$0c,$0c,$0f,$03,$03,$03       // char 50 '2'
        .byte $10,$10,$2f,$00,$00,$2a,$00,$00       // char 51 '3'
        .byte $00,$00,$e0,$10,$10,$10,$10,$10       // char 52 '4'
        .byte $00,$00,$03,$03,$03,$03,$03,$03       // char 53 '5'
        .byte $03,$03,$f9,$00,$00,$0e,$00,$2a       // char 54 '6'
        .byte $0d,$09,$07,$34,$24,$1c,$10,$10       // char 55 '7'
        .byte $c0,$00,$03,$0f,$0c,$0c,$0c,$0c       // char 56 '8'
        .byte $00,$00,$f0,$28,$04,$04,$04,$84       // char 57 '9'
        .byte $30,$3c,$0c,$0c,$0f,$03,$03,$03       // char 58 ':'
        .byte $10,$10,$10,$10,$10,$10,$10,$10       // char 59 ';'
        .byte $00,$00,$0f,$0c,$0c,$0c,$0c,$09       // char 60 '<'
        .byte $00,$00,$e0,$24,$84,$04,$14,$50       // char 61 '='
        .byte $0c,$0f,$03,$03,$03,$03,$0f,$0c       // char 62 '>'
        .byte $00,$00,$00,$00,$30,$00,$30,$b0       // char 63 '?'
        .byte $06,$05,$06,$06,$07,$0a,$07,$0b       // char 64 '@'
        .byte $4f,$b3,$80,$ce,$89,$34,$27,$1f       // char 65 'A'
        .byte $00,$c0,$a0,$40,$00,$02,$0e,$fc       // char 66 'B'
        .byte $03,$0f,$28,$0e,$01,$00               // char 67 (partial)

txt_0a1e:
        .byte $40,$5c                               // char 67 (partial)
        .byte $c0,$00,$2b,$c0,$80,$70,$60,$d0       // char 68 'D'
        .byte $0c                                   // char 69 (partial)

txt_0a29:
        .byte $33,$3d,$cb,$c0,$c0,$c0,$c0           // char 69 (partial)
        .byte $30,$8c,$cc,$03,$0f,$0b,$37,$e7       // char 70 'F'
        .byte $10,$10,$10,$13,$10,$13,$13,$12       // char 71 'G'
        .byte $00,$00,$00,$00,$00,$0f,$cc,$0c       // char 72 'H'
        .byte $03,$03,$03,$03,$03,$f9,$00,$00       // char 73 'I'
        .byte $00,$00,$00,$3a,$00,$00,$2b,$00       // char 74 'J'
        .byte $10,$10,$10,$10,$10,$10,$10,$10       // char 75 'K'
        .byte $00,$00,$03,$30,$03,$3f,$fc,$2c       // char 76 'L'
        .byte $00,$00,$00,$c0,$30,$f8,$04,$04       // char 77 'M'
        .byte $03,$03,$03,$c3,$03,$f3,$c3,$b3       // char 78 'N'
        .byte $10,$10,$10,$10,$10,$10,$10,$10       // char 79 'O'
        .byte $0c,$0c,$0c,$3c,$0c,$fc,$3c,$ec       // char 80 'P'
        .byte $04,$84,$04,$0b,$00,$00,$0e,$00       // char 81 'Q'
        .byte $03,$03,$03,$f9,$00,$03,$ac,$0e       // char 82 'R'
        .byte $2b,$00,$3b,$00,$00,$aa,$00,$ab       // char 83 'S'
        .byte $10,$10,$10,$10,$10,$13,$10,$13       // char 84 'T'
        .byte $03,$03,$03,$c3,$03,$c3,$c3,$b3       // char 85 'U'
        .byte $00,$00,$2a,$00,$00,$3a,$00,$00       // char 86 'V'
        .byte $10,$10,$10,$10,$10,$10,$10,$13       // char 87 'W'
        .byte $0c,$0c,$0c,$0c,$cc,$0c,$fc,$cc       // char 88 'X'
        .byte $04,$04,$84,$04,$04,$04,$04,$84       // char 89 'Y'
        .byte $03,$03,$03,$03,$c3,$03,$f3,$c3       // char 90 'Z'
        .byte $10,$10,$10,$10,$10,$10,$10,$10       // char 91 '['
        .byte $00,$00,$00,$30,$00,$3f,$fc,$2c       // char 92 '\'
        .byte $00,$00,$03,$00,$00,$e0,$24,$04       // char 93 ']'
        .byte $3c,$f2,$c9,$f2,$31,$3c,$ff,$23       // char 94 '^'
        .byte $a0,$70,$a0,$60,$70,$a0,$30,$30       // char 95 '_'
        .byte $08,$0c,$08,$0c,$08,$08,$04,$08       // char 96 '`'
        .byte $d2,$9f,$4e,$4a,$4d,$4a,$49,$75       // char 97 'a'
        .byte $30,$f0,$f2,$b0,$f0,$b2,$b0,$72       // char 98 'b'
        .byte $10,$1f,$1c,$1b,$1f,$1a,$1b,$1a       // char 99 'c'
        .byte $dc,$98,$fc,$bc,$ac,$7c,$ac,$6c       // char 100 'd'
        .byte $33,$3a,$0d,$03,$ac,$00,$3a,$00       // char 101 'e'
        .byte $9c,$5c,$70,$c0,$00,$00,$ab,$00       // char 102 'f'
        .byte $13,$12,$12,$11,$1e,$11,$1d,$1d       // char 103 'g'
        .byte $cc,$cc,$bc,$cc,$bc,$bc,$6c,$bc       // char 104 'h'
        .byte $ea,$00,$0e,$00,$00,$ea,$00,$00       // char 105 'i'
        .byte $c0,$00,$ab,$00,$00,$b0,$00,$3a       // char 106 'j'
        .byte $1f,$10,$1f,$1f,$1a,$1f,$1a,$1a       // char 107 'k'
        .byte $fc,$ec,$ac,$dc,$ac,$9c,$5c,$9c       // char 108 'l'
        .byte $84,$04,$84,$04,$07,$84,$07,$07       // char 109 'm'
        .byte $f3,$af,$b3,$6f,$af,$5b,$6f,$5b       // char 110 'n'
        .byte $13,$10,$1f,$13,$1e,$1f,$1a,$1e       // char 111 'o'
        .byte $fc,$ac,$ec,$9c,$ac,$5c,$9c,$5c       // char 112 'p'
        .byte $00,$ea,$00,$00,$00,$05,$87,$06       // char 113 'q'
        .byte $00,$ac,$00,$ea,$00,$56,$eb,$bb       // char 114 'r'
        .byte $00,$3a,$00,$c0,$00,$3a,$00,$00       // char 115 's'
        .byte $13,$12,$13,$12,$1e,$11,$1e,$1d       // char 116 't'
        .byte $c3,$b3,$bf,$63,$bf,$6f,$6b,$5f       // char 117 'u'
        .byte $2a,$00,$00,$00,$2b,$00,$00,$0e       // char 118 'v'
        .byte $10,$13,$13,$12,$13,$1e,$12,$1d       // char 119 'w'
        .byte $bc,$fc,$ac,$bc,$6c,$ac,$5c,$6c       // char 120 'x'
        .byte $07,$04,$87,$07,$06,$07,$06,$86       // char 121 'y'
        .byte $b3,$f3,$af,$b3,$6f,$af,$5b,$6f       // char 122 'z'
        .byte $13,$10,$13,$13,$12,$1f,$12,$1e       // char 123 '{'
        .byte $fc,$ec,$ac,$dc,$ac,$9c,$5c,$9c       // char 124 '|'
        .byte $04,$84,$04,$04,$07,$84,$07,$07       // char 125 '}'
        .byte $ff,$e3,$af,$df,$ab,$9f,$5b,$9b       // char 126 '~'
        .byte $00,$30,$00,$00,$00,$00,$00,$00       // char 127
        .byte $04,$04,$04,$04,$04,$04,$04,$04       // char 128
        .byte $49,$75,$75,$65,$75,$65,$65,$65       // char 129
        .byte $b0,$70,$72,$70,$72,$70,$70,$72       // char 130
        .byte $1a,$19,$1a,$19,$19,$19,$19,$19       // char 131
        .byte $5c,$6c                               // char 132 (partial)

txt_0c22:
        .byte $5c,$5c,$5c,$5c,$5c,$5c               // char 132 (partial)
        .byte $00,$aa,$00,$00,$ea,$00,$0e,$00       // char 133
        .byte $3a,$c0,$00,$00,$aa,$00,$ac,$00       // char 134
        .byte $19,$1d,$19,$19,$19,$19,$19,$19       // char 135
        .byte $6c,$6c,$5c,$6c,$5c,$5c,$5c,$5c       // char 136
        .byte $00,$3a,$00,$03,$00,$0e,$00,$00       // char 137
        .byte $00,$ab,$00,$ac,$00,$ab,$00,$00       // char 138
        .byte $19,$1a,$19,$19,$19,$19,$19,$19       // char 139

txt_0c60:
        .byte $5c,$5c,$5c,$5c,$5c,$5c,$5c,$5c       // char 140
        .byte $86,$07,$06,$86,$06,$06,$06,$86       // char 141
        .byte $5b,$57,$5b,$57,$57,$57,$57,$57       // char 142
        .byte $19,$1a,$19,$19,$26,$36,$06,$09       // char 143

txt_0c80:
        .byte $5c,$5c,$5c,$5c,$5c,$5a,$55,$96       // char 144
        .byte $07,$06,$86,$06,$06,$16,$59,$a5       // char 145
        .byte $e7,$ab,$97,$67,$9f,$5c,$5c,$7c       // char 146
        .byte $2b,$00,$2a,$00,$00,$00,$ea,$00       // char 147
        .byte $19,$1d,$19,$19,$19,$19,$19,$19       // char 148
        .byte $6b,$5b,$57,$5b                       // char 149 (partial)

txt_0cac:
        .byte $57,$57,$57,$57                       // char 149 (partial)
        .byte $00,$00,$2b,$00,$00,$00,$3a,$00       // char 150
        .byte $1e,$19,$1d,$19,$26,$36,$06,$09       // char 151

txt_0cc0:
        .byte $5c,$5c,$5c,$5c,$5c,$5a,$55,$96       // char 152
        .byte $06,$06,$86,$06,$06,$16,$59,$a5       // char 153
        .byte $5b,$5b,$57,$5b,$5f,$5c,$5c,$7c       // char 154
        .byte $1d,$1a,$1d,$19,$19,$19,$19,$19       // char 155

txt_0ce0:
        .byte $5c,$5c,$5c,$5c,$5c,$5c,$5c,$5c       // char 156
        .byte $06,$87,$06,$06,$86,$06,$06,$06       // char 157
        .byte $57,$5b                               // char 158 (partial)

txt_0cf2:
        .byte $57,$57,$57,$57,$57,$57               // char 158 (partial)
        .byte $00,$30,$00                           // char 159 (partial)

txt_0cfb:
        .byte $30,$30,$20,$30,$20                   // char 159 (partial)
        .byte $04,$04,$08,$04,$08,$08,$0f,$08       // char 160
        .byte $65,$65,$65,$6a,$bf,$00,$3e,$0c       // char 161
        .byte $70,$70,$71,$b3,$f2,$02,$e9,$fb       // char 162
        .byte $19,$19,$19,$1a,$2f,$00,$96,$ae       // char 163

txt_0d20:
        .byte $5c,$5c,$5c,$ac,$fc,$00,$6b,$f3       // char 164
        .byte $00,$00,$56,$ae,$bb,$ef,$bc,$00       // char 165
        .byte $00,$00,$6b,$f3,$cc,$33,$cf,$03       // char 166
        .byte $19,$19,$19,$1a,$2f,$00,$ba           // char 167 (partial)

txt_0d3f:
        .byte $3e                                   // char 167 (partial)
        .byte $5c,$5c,$5c,$ac,$fc,$00,$65,$eb       // char 168
        .byte $3a,$00,$55,$96,$59,$66,$9a,$bc       // char 169
        .byte $c0,$00,$55,$6b,$ae,$bb,$ef,$c0       // char 170
        .byte $19,$19,$19,$1a,$2f,$00,$33,$00       // char 171

txt_0d60:
        .byte $5c,$5c,$5c,$ac,$fc,$00,$ee,$cf       // char 172
        .byte $06,$06,$86,$86,$cb,$80,$99,$ba       // char 173

txt_0d70:
        .byte $57,$57,$57,$ab,$ff,$00,$66,$ef       // char 174
        .byte $0d,$02,$13,$18                       // char 175 (partial)

txt_0d7c:
        .byte $2b,$2e,$bb,$30                       // char 175 (partial)
        .byte $95,$65,$99,$e6,$0f,$c0,$cc,$00       // char 176

txt_0d88:
        .byte $55,$55,$57,$bf,$f0,$0e,$fb,$33       // char 177
        .byte $70,$f0,$c6,$2e,$ba,$e9,$a6,$ee       // char 178
        .byte $ac,$00,$55,$99,$65,$96,$59,$bb       // char 179
        .byte $19,$19,$19,$1a,$2f,$00,$ae,$cc       // char 180

txt_0da8:
        .byte $57,$57,$57,$ab,$ff,$00,$f3,$00       // char 181
        .byte $2b,$00,$2e,$0c,$33,$0f,$3e,$0c       // char 182
        .byte $0d,$02,$e3,$f8,$ee,$ba,$e9,$fb       // char 183
        .byte $95,$65,$99,$e6,$0f,$60,$96,$ae       // char 184

txt_0dc8:
        .byte $55,$55,$57,$bf,$f0,$0a,$6b,$f3       // char 185
        .byte $70,$f0,$c6,$2e,$bb,$ef,$bc,$00       // char 186
        .byte $19,$19,$19,$1a,$2f,$00,$cf,$03       // char 187

txt_0de0:
        .byte $5c,$5c,$5c,$ac,$fc,$00,$ba,$3e       // char 188
        .byte $06,$06,$46,$c6,$8b,$80,$65,$eb       // char 189

txt_0df0:
        .byte $57,$57,$57,$ab,$ff,$00,$9a,$bc       // char 190

txt_0df8:
        .byte $20,$30,$20,$30,$30,$00,$f0,$c0       // char 191
        .byte $09,$0b,$08,$0c,$0a,$0f,$07,$01       // char 192
        .byte $07,$0f,$0a,$08,$02,$09,$00,$00       // char 193
        .byte $0d,$01,$01,$0d,$0d,$07,$07,$03       // char 194
        .byte $03,$05,$05,$0e,$0e,$04,$04,$06       // char 195
        .byte $06,$00,$00,$06,$06,$04,$04,$0e       // char 196
        .byte $0e,$05,$05,$03,$03,$07,$07,$0d       // char 197
        .byte $0d,$01,$01,$0d,$0d,$07,$07,$03       // char 198
        .byte $03,$05,$05,$0e,$0e,$04,$04,$06       // char 199
        .byte $06,$00,$00,$06,$06,$04,$04,$0e       // char 200
        .byte $0e,$05,$05,$03,$03,$07,$07,$0d       // char 201
        .byte $0d,$00,$00,$00,$00,$00,$00,$00       // char 202
        .byte $00,$06,$06,$04,$04,$0e,$0e,$05       // char 203
        .byte $05,$03,$03,$07,$07,$0d,$0d,$01       // char 204
        .byte $01,$0d,$0d,$07,$07,$03,$03,$05       // char 205
        .byte $05,$0e,$0e,$04,$04,$06,$06,$00       // char 206
        .byte $00,$07,$07,$07,$0d,$0d,$01,$01       // char 207
        .byte $0d,$0d,$07,$07,$0f,$0f,$0a,$0a       // char 208
        .byte $08,$08,$02,$02,$09,$09,$00,$00       // char 209
        .byte $09,$09,$02,$02,$08,$08,$0a,$0a       // char 210
        .byte $0f,$0f,$07,$07,$0d,$0d,$01,$01       // char 211
        .byte $0d,$0d,$07,$07,$0f,$0f,$0a,$0a       // char 212
        .byte $08,$08,$02,$02,$09,$09,$00,$00       // char 213
        .byte $09,$02,$02,$08,$08,$0a,$0a,$0f       // char 214
        .byte $0f,$07,$00,$00,$00,$00,$00,$00       // char 215
        .byte $00,$09,$09,$02,$02,$08,$08,$0a       // char 216
        .byte $0a,$0f,$0f,$07,$07,$0d,$0d,$01       // char 217
        .byte $01,$0d,$0d,$07,$07,$0f,$0f,$0a       // char 218
        .byte $0a,$08,$08,$02,$02,$09,$09,$00       // char 219
        .byte $0a,$0f,$07,$01,$01,$07,$0f,$0a       // char 220
        .byte $04,$02,$06,$00,$06,$02,$04,$04       // char 221
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 222
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 223
        .byte $00,$01,$02,$03,$04,$05,$06,$07       // char 224
        .byte $08,$09,$0a,$0b,$0c,$0d,$0e,$0f       // char 225
        .byte $10,$11,$12,$13,$14,$15,$16,$17       // char 226
        .byte $18,$19,$1a,$1b,$1c,$1d,$1e,$1f       // char 227
        .byte $00,$00,$00,$00,$00                   // char 228 (partial)

txt_0f25:
        .byte $20,$20,$20                           // char 228 (partial)
        .byte $20,$20,$20,$20,$20,$20,$20,$20       // char 229
        .byte $20,$14,$08,$05,$20,$0e,$0f,$14       // char 230
        .byte $0f,$12,$09,$0f,$15,$13,$20,$04       // char 231
        .byte $15,$04,$05,$13,$20,$06,$12,$0f       // char 232
        .byte $0d                                   // char 233 (partial)

txt_0f49:
        .byte $20,$20,$20,$20,$20,$20,$20           // char 233 (partial)
        .byte $20,$20,$20,$20,$20,$20,$20,$20       // char 234
        .byte $20,$01,$12,$05,$20,$10,$12,$0f       // char 235
        .byte $15,$04,$0c,$19,$20,$10,$12,$05       // char 236
        .byte $13,$05,$0e,$14,$09,$0e,$07           // char 237 (partial)

txt_0f6f:
        .byte $20                                   // char 237 (partial)
        .byte $20,$20,$20,$20,$20,$20,$20,$20       // char 238
        .byte $20,$20,$20,$20,$20,$20,$20,$20       // char 239
        .byte $20,$20,$20,$01,$0d,$05,$12,$09       // char 240
        .byte $03,$01,$0e,$20,$33,$04,$20,$10       // char 241
        .byte $0f,$0f,$0c                           // char 242 (partial)

txt_0f93:
        .byte $20,$20,$20,$20,$20                   // char 242 (partial)
        .byte $20,$20,$20,$20,$20,$20,$20,$20       // char 243
        .byte $0b,$0b,$0b,$0b,$0c,$0c,$0c,$0c       // char 244
        .byte $0f,$0f,$0f,$0f,$07,$07,$07,$07       // char 245
        .byte $01,$01,$01,$01,$07,$07,$07,$07       // char 246
        .byte $0f,$0f,$0f,$0f,$0c,$0c,$0c,$0c       // char 247
        .byte $0b,$0b,$0b,$0b,$00,$00,$00,$00       // char 248
        .byte $20,$20,$06,$15,$14,$15,$12,$05       // char 249
        .byte $20,$0f,$06,$20,$14,$0f,$04,$01       // char 250
        .byte $19,$20,$2d,$20,$0c,$05,$07,$05       // char 251
        .byte $0e,$04,$20,$0f,$06,$20,$14,$0f       // char 252
        .byte $0d,$0f,$12,$12,$0f,$17,$20,$20       // char 253
        .byte $00,$06,$08,$0c,$0c,$08,$0c,$08       // char 254
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 255

// --- Region $1007-$103f ---
.pc = $1007 "Segment $1007"
        .byte $02,$04,$0f,$f1,$00,$13,$6f,$ed,$03,$10,$15,$fc,$3e,$06,$23,$28 // ......o.....>.#(
        .byte $18,$18,$18,$ff,$fe,$ff,$30,$00       // ......0.

txt_101f:
        .byte $40                                   // @ character
        .text "-STRIKE FORCE INTRO REMIX...JCH-"

// --- Region $134f-$136a ---
.pc = $134f "Segment $134f"
        .byte $10,$b9,$27,$18,$8d,$4d,$17,$a8,$b9,$db,$17,$29,$80,$c9,$80,$d0 // ..'..M.....)....
        .byte $06,$b9,$dc,$17,$8d,$4f,$17,$a9,$00,$8d,$4e,$17 // .....O....N.

// --- Region $1629-$1a7e ---
.pc = $1629 "Segment $1629"
        .byte $01,$27,$01,$38,$01,$4b,$01,$5f,$01,$73,$01,$8a,$01,$a1,$01,$ba // .'.8.K._.s......
        .byte $01,$d4,$01,$f0,$01,$0e,$02,$2d,$02,$4e,$02,$71,$02,$96,$02,$bd // .......-.N.q....
        .byte $02,$e7,$02,$13,$03,$42,$03,$74,$03,$a9,$03,$e0,$03,$1b,$04,$5a // .....B.t.......Z
        .byte $04,$9b,$04,$e2,$04,$2c,$05,$7b,$05,$ce,$05,$27,$06,$85,$06,$e8 // .....,.{...'....
        .byte $06,$51,$07,$c1,$07,$37,$08,$b4,$08,$37,$09,$c4,$09,$57,$0a,$f5 // .Q...7...7...W..
        .byte $0a,$9c,$0b,$4e,$0c,$09,$0d,$d0,$0d,$a3,$0e,$82,$0f,$6e,$10,$68 // ...N.........n.h
        .byte $11,$6e,$12,$88,$13,$af,$14,$eb,$15,$39,$17,$9c,$18,$13,$1a,$a1 // .n.......9......
        .byte $1b,$46,$1d,$04,$1f,$dc,$20,$d0,$22,$dc,$24,$10,$27,$5e,$29,$d6 // .F.... .".$.'^).
        .byte $2b,$72                               // +r

txt_16ab:
        .text ".81&4B7"
        .byte $8c,$3a,$08,$3e,$b8,$41,$a0,$45,$b8   // .:.>.A.E.

txt_16bb:
        .text "I N"
        .byte $bc                                   // '<' | $80 (end-of-string marker)
        .byte $52,$ac,$57,$e4,$5c,$70,$62,$4c,$68,$84,$6e,$18,$75,$10,$7c,$70 // R.W.\pbLh.n.u.|p
        .byte $83,$40,$8b,$70,$93,$40,$9c,$78,$a5,$58,$af,$c8,$b9,$e0,$c4,$98 // .@.p.@.x.X......
        .byte $d0,$08,$dd,$30,$ea,$20,$f8,$2e,$fd,$5d,$91,$bf,$df,$18,$18,$18 // ...0. ...]......
        .byte $83,$b5,$d8,$18,$18,$18,$01,$02,$04,$fe,$fd,$fb,$00,$07,$0e,$00 // ................
        .byte $01,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$41,$41,$41,$17,$1f // ...........AAA..
        .byte $0b,$00,$00,$00,$05,$08,$0b,$01,$07,$01,$00,$00,$02,$00,$00,$03 // ................
        .byte $00,$00,$02,$00,$00,$30,$00,$00,$00,$5a,$00,$00,$04,$00,$00,$00 // .....0...Z......
        .byte $00,$07,$06,$02,$01,$0a,$0e,$0f,$40,$80,$20,$00,$01,$00,$10,$04 // ........@. .....
        .byte $18,$01,$05,$0f,$00,$b0,$80,$07,$05,$03,$30,$40,$08,$01,$1c,$03 // ..........0@....
        .byte $40,$26,$01,$1d,$00,$00,$40,$00,$00,$00,$00,$00,$20,$00,$00,$80 // @&....@..... ...
        .byte $00,$00,$fe,$00,$01,$02,$02,$05,$08,$0b,$0e,$11,$14,$17,$1a,$1d // ................

txt_176f:
        .text " #&),/"
        .byte $00                                   // string terminator
        .byte $00,$00,$fc,$3c,$01,$83,$18,$b5,$18,$d8,$18,$02,$07,$83,$18,$b5 // ...<............
        .byte $18,$d8,$18,$ff,$ff,$00,$03,$07,$7f,$00,$02,$07,$7f,$00,$03,$08 // ................
        .byte $7f,$00,$05,$08,$7f,$ca,$0a,$08,$06,$02,$00,$7f,$c8,$0c,$0c,$c8 // ................
        .byte $7f,$00,$7f,$00,$7f,$da,$00,$00,$7f,$c5,$00,$7f,$41,$41,$41,$00 // ............AAA.
        .byte $41,$41,$41,$04,$41,$41,$41,$08,$41,$41,$41,$0c,$81,$41,$41,$40 // AAA.AAA.AAA..AA@
        .byte $40,$00,$15,$81,$41,$41,$80,$1a,$41,$1c,$00,$1e,$81,$41,$40,$22 // @...AA..A....A@"
        .byte $81,$41,$25,$00,$00,$00,$00,$00,$00,$ff,$80,$35,$08,$86,$50,$35 // .A%........5..P5
        .byte $00,$4f,$50,$00,$00,$ff,$60,$00,$00,$80,$e0,$34,$08,$85,$48,$34 // .OP...`....4..H4
        .byte $00,$4f,$00,$00,$00,$00,$2e,$80,$08,$0a,$2e,$80,$4f,$00,$00,$00 // .O..........O...
        .byte $ff,$08,$6a,$40,$84,$06,$6a,$40,$4f,$00,$3f,$60,$88,$00,$1f,$20 // ..j@..j@O.?`... 
        .byte $4f,$00,$1a,$40,$88,$01,$1a,$40,$4f,$00,$00,$00,$00,$02,$6a,$00 // O..@...@O.....j.
        .byte $00,$00,$00,$00,$00,$02,$6a,$00,$00,$00,$00,$04,$04,$02,$6a,$00 // ......j.......j.
        .byte $00,$00,$00,$08,$08,$02,$6a,$00,$00,$00,$00,$0c,$0c,$00,$c7,$ff // ......j.........
        .byte $f1,$10,$08,$10,$10,$00,$c7,$ff,$f1,$04,$08,$17,$17,$60,$c8,$00 // .............`..
        .byte $f1,$14,$0c,$24,$24,$00,$00,$00,$00,$00,$00,$1e,$1e,$04,$58,$00 // ...$$.........X.
        .byte $00,$00,$14,$1c,$1c,$00,$69,$00,$00,$00,$1c,$20,$20,$00,$00,$00 // ......i....  ...
        .byte $00,$00,$00,$00,$00,$82,$00,$62,$37,$30,$40,$00,$00,$8c,$05,$8c // .......b70@.....
        .byte $05,$87,$05,$05,$88,$05,$05,$85,$05,$06,$8c,$05,$05,$87,$05,$05 // ................
        .byte $88,$05,$05,$85,$05,$06,$8c,$05,$05,$87,$05,$05,$88,$05,$05,$85 // ................
        .byte $05,$06,$8c,$05,$05,$87,$05,$05,$88,$05,$05,$85,$05,$06,$ff,$8c // ................
        .byte $01,$8c,$01,$02,$02,$03,$03,$04,$04,$01,$01,$02,$02,$03,$03,$04 // ................
        .byte $04,$01,$01,$02,$02,$03,$03,$04,$04,$01,$01,$02,$02,$03,$03,$04 // ................
        .byte $04,$ff,$80,$07,$80,$07,$07,$07,$8c,$08,$09,$0a,$0b,$0c,$0c,$0d // ................
        .byte $0d,$0e,$0e,$0f,$0f,$08,$09,$0a,$0b,$ff,$10,$13,$36,$59,$7c,$9f // ............6Y|.
        .byte $b9,$d4,$db,$f5,$0d                   // .....

txt_18fb:
        .text " 2EX"
        .byte $6b,$19,$19,$19,$19,$19,$19,$19,$19,$19,$19,$1a,$1a,$1a,$1a,$1a // k...............
        .byte $1a,$80,$00,$7f,$a0,$80,$23,$82,$00,$80,$23,$00,$23,$82,$00,$80 // ......#...#.#...
        .byte $23,$00,$23,$82,$00,$80,$23,$00,$23,$00,$23,$82,$00,$80,$23,$00 // #.#...#.#.#...#.
        .byte $23,$82,$00,$80,$23,$00,$7f,$a1,$80,$23,$82,$00,$80,$23,$00,$23 // #...#....#...#.#
        .byte $82,$00,$80,$23,$00,$23,$82,$00,$80,$23,$00,$23,$00,$23,$82,$00 // ...#.#...#.#.#..
        .byte $80,$23,$00,$23,$82,$00,$80,$23,$00,$7f,$a2,$80,$23,$82,$00,$80 // .#.#...#....#...
        .byte $23,$00,$23,$82,$00,$80,$23,$00,$23,$82,$00,$80,$23,$00,$23,$00 // #.#...#.#...#.#.
        .byte $23,$82,$00,$80,$23,$00,$23,$82,$00,$80,$23,$00,$7f,$a3,$80,$23 // #...#.#...#....#
        .byte $82,$00,$80,$23,$00,$23,$82,$00,$80,$23,$00,$23,$82,$00,$80,$23 // ...#.#...#.#...#
        .byte $00,$23,$00,$23,$82,$00,$80,$23,$00,$23,$82,$00,$80,$23,$00,$7f // .#.#...#.#...#..
        .byte $a4,$81,$18,$a6,$0b,$0b,$17,$a5,$18,$a6,$09,$15,$09,$a4,$18,$a6 // ................
        .byte $0b,$0b,$17,$a5,$18,$a6,$06,$09,$0b,$7f,$a4,$81,$18,$a6,$0b,$0b // ................
        .byte $17,$a5,$18,$a6,$09,$15,$09,$a4,$18,$a6,$0b,$0b,$17,$a5,$18,$a6 // ................
        .byte $06,$09,$a5,$18,$7f,$a7,$8f,$01,$7e,$7e,$7e,$7f,$a8,$83 // ........~~~...

txt_19dd:
        .text "/-*-"
        .byte $c1                                   // 'A' | $80 (end-of-string marker)
        .byte $87,$7e,$83                           // .~.

txt_19e5:
        .text "(*"
        .byte $c1                                   // 'A' | $80 (end-of-string marker)
        .byte $87,$7e,$83                           // .~.

txt_19eb:
        .text "&("
        .byte $c1                                   // 'A' | $80 (end-of-string marker)
        .byte $87,$7e,$83,$26,$c1,$7e,$7f,$a8,$83,$2a,$c1,$87,$7e,$83,$28,$c1 // .~.&.~...*..~.(.
        .byte $87,$7e,$83                           // .~.

txt_1a01:
        .text "&*"
        .byte $c1                                   // 'A' | $80 (end-of-string marker)
        .byte $8f,$7e,$83,$7e,$87,$23,$83,$25,$7f,$a8,$83 // .~.~.#.%...

txt_1a0f:
        .text "&(&#"
        .byte $c1                                   // 'A' | $80 (end-of-string marker)
        .byte $8b,$7e,$26,$83                       // .~&.

txt_1a18:
        .text "%("
        .byte $c1                                   // 'A' | $80 (end-of-string marker)
        .byte $7e,$25,$87,$26,$7f,$a8,$85,$28,$c2,$81,$7e,$87,$26,$83 // ~%.&...(..~.&.

txt_1a29:
        .text "%&%#"
        .byte $c1                                   // 'A' | $80 (end-of-string marker)
        .byte $8f,$7e,$7e,$7f,$a9,$81               // .~~...

txt_1a34:
        .text "*#&*#&*#&*&#*&##"
        .byte $7f,$a9,$81                           // ...

txt_1a47:
        .text "*#%*#%*#%*%#*%##"
        .byte $7f,$a9,$81                           // ...

txt_1a5a:
        .text "+#&+#&+#&+&#+&##"
        .byte $7f,$a9,$81                           // ...

txt_1a6d:
        .text "+#(+#(+#(+(#+(##"
        .byte $7f                                   // .

dat_1a7e:
        // === Fill data (1 bytes, $1a7e-$1a7e) ===
        .byte $00                                   // .

// --- Region $1b1c-$1b3f ---
.pc = $1b1c "Segment $1b1c"
        .byte $a9,$34,$85,$01,$a2,$00,$bd,$00,$2b,$9d,$01,$08,$e8,$d0,$f7,$ee // .4......+.......
        .byte $45,$03,$ee,$48,$03,$ad,$48,$03,$c9,$d4,$d0,$ea,$a9,$37,$85,$01 // E..H..H......7..
        .byte $58,$4c,$e2,$fc                       // XL..

// --- Region $1e81-$1e9d ---
.pc = $1e81 "dat_1e81"

dat_1e81:
        .byte $8d,$9f,$04,$18,$69,$20,$8d,$c7,$04,$18,$69,$20,$8d,$ef,$04,$18 // ....i ....i ....
        .byte $69,$20,$8d,$17,$05,$18,$69,$20,$8d,$3f,$05,$18,$69 // i ....i .?..i

// --- Region $1ff7-$20ef ---
.pc = $1ff7 "Segment $1ff7"
        .fill 9, $00

spr_2000:
        // === Charset data (240 bytes, $2000-$20ef) ===
        .byte $e7,$ff,$ff,$18,$ff,$ff,$e7,$00       // char 0 @+0
        .byte $00,$00,$00,$00,$7c,$ee,$0e,$7e       // char 1 @+1
        .byte $c0,$e0,$e0,$e0,$fc,$ee,$ee,$ee       // char 2 @+2
        .byte $00,$00,$00,$00,$7c,$ee,$ec,$e0       // char 3 @+3
        .byte $06,$0e,$0e,$0e,$7e,$ee,$ee,$ee       // char 4 @+4
        .byte $00,$00,$00,$00,$7c,$ee,$ee,$fe       // char 5 @+5
        .byte $1e,$38,$38,$38,$38,$fe,$38,$38       // char 6 @+6
        .byte $00,$00,$00,$00,$76,$ee,$ee,$ee       // char 7 @+7
        .byte $c0,$e0,$e0,$e0,$fc,$ee,$ee,$ee       // char 8 @+8
        .byte $18,$38,$30,$00,$18,$38,$38,$38       // char 9 @+9
        .byte $18,$38,$30,$00,$18                   // char 10 (partial)

txt_2055:
        .byte $38,$38,$38                           // char 10 (partial)
        .byte $c0,$e0,$e0,$e0,$ec,$ee,$ec,$f8       // char 11 @+11

txt_2060:
        .byte $30,$38,$38,$38,$38,$38,$38,$38       // char 12 @+12
        .byte $00,$00,$00,$00,$c6,$ee,$fe,$ee       // char 13 @+13
        .byte $00,$00,$00,$00,$dc,$ee,$ee,$ee       // char 14 @+14
        .byte $00,$00,$00,$00,$7c,$ee,$ee,$ee       // char 15 @+15
        .byte $00,$00,$00,$00,$dc,$ee,$ee,$ee       // char 16 @+16
        .byte $00,$00,$00,$00,$76,$ee,$ee,$ee       // char 17 @+17
        .byte $00,$00,$00,$00,$dc,$ee,$ee,$e0       // char 18 @+18
        .byte $00,$00,$00,$00,$7c,$ee,$e0,$7c       // char 19 @+19
        .byte $18,$38,$38,$fe                       // char 20 (partial)

txt_20a4:
        .byte $38,$38,$38,$38                       // char 20 (partial)
        .byte $00,$00,$00,$00,$cc,$ee,$ee,$ee       // char 21 @+21
        .byte $00,$00,$00,$00,$cc,$ee,$ee,$ee       // char 22 @+22
        .byte $00,$00,$00,$00,$cc,$ee,$ee,$ee       // char 23 @+23
        .byte $00,$00,$00,$00,$cc,$ee,$6c,$38       // char 24 @+24
        .byte $00,$00,$00,$00,$cc,$ee,$ee,$ee       // char 25 @+25
        .byte $00,$00,$00,$00,$fc,$0e,$1c,$38       // char 26 @+26
        .byte $07,$1f,$3f,$79,$71,$f3,$ff,$df       // char 27 @+27
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 28 @+28
        .byte $c0,$f0,$f8,$9c,$1c,$3e,$fe,$f6       // char 29 @+29

// --- Region $2108-$22ef ---
.pc = $2108 "dat_2108"

dat_2108:
        .byte $18                                   // char 33 (partial)

txt_2109:
        .byte $38,$38,$38,$38,$38,$38,$30           // char 33 (partial)
        .byte $66,$ee,$cc,$00,$00,$00,$00,$00       // char 34 '"'
        .byte $00,$00,$00,$00,$00,$6c,$fe,$6c       // char 35 '#'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 36 '$'
        .byte $00,$00,$00,$00,$62,$e6,$cc,$18       // char 37 '%'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 38 '&'
        .byte $18,$38,$30,$00,$00,$00,$00,$00       // char 39 '''
        .byte $00,$00,$00,$0e,$1c,$18,$38,$38       // char 40 '('
        .byte $00,$00,$00,$70,$38,$18,$1c,$1c       // char 41 ')'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 42 '*'
        .byte $00,$00,$00,$00,$30,$30,$30,$fc       // char 43 '+'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 44 ','
        .byte $00,$00,$00,$00,$00,$00,$00,$fc       // char 45 '-'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 46 '.'
        .byte $00,$00,$00,$00,$02,$06,$0e,$1c       // char 47 '/'
        .byte $00,$00,$00,$00,$7c,$ee,$ee,$fe       // char 48 '0'
        .byte $00,$00,$00,$00,$18,$38,$78,$38       // char 49 '1'
        .byte $00,$00,$00,$00,$7c,$ee,$0e,$7c       // char 50 '2'
        .byte $00,$00,$00,$00,$7c,$ee,$0e,$3c       // char 51 '3'
        .byte $00,$00,$00,$00,$cc,$ee,$ee,$7e       // char 52 '4'
        .byte $00,$00,$00,$00,$fe,$ee,$e0,$fc       // char 53 '5'
        .byte $00,$00,$00,$00,$7c,$ee,$e0,$fc       // char 54 '6'
        .byte $00,$00,$00,$00,$fe,$ee,$0e,$1c       // char 55 '7'
        .byte $00,$00,$00,$00,$7c,$ee,$ee,$7c       // char 56 '8'
        .byte $00,$00,$00,$00,$7c,$ee,$ee,$7e       // char 57 '9'
        .byte $00,$00,$00,$00,$00,$00,$18,$00       // char 58 ':'
        .byte $00,$00,$00,$00,$00,$00,$18,$00       // char 59 ';'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 60 '<'
        .byte $00,$00,$00,$00,$00,$00,$7c,$00       // char 61 '='
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 62 '>'
        .byte $00,$00,$7c,$ee,$0e,$1c,$38,$38       // char 63 '?'
        .byte $fe,$ff,$ff,$1b,$1b,$1b,$03,$00       // char 64 '@'
        .byte $ee,$ee,$ee,$76,$00,$00,$00,$00       // char 65 'A'
        .byte $ee,$ee,$ee,$dc,$00,$00,$00,$00       // char 66 'B'
        .byte $e0,$ec,$ee,$7c,$00,$00,$00,$00       // char 67 'C'
        .byte $ee,$ee,$ee,$76,$00,$00,$00,$00       // char 68 'D'
        .byte $e0,$ec,$ee,$7c,$00,$00,$00,$00       // char 69 'E'

txt_2230:
        .byte $38,$38,$38,$38,$38,$38,$38,$f0       // char 70 'F'
        .byte $ee,$ee,$ee,$7e,$0e,$6e,$ee,$7c       // char 71 'G'
        .byte $ee,$ee,$ee,$66,$00,$00,$00,$00       // char 72 'H'

txt_2248:
        .byte $38,$38,$38,$30,$00,$00,$00,$00       // char 73 'I'

txt_2250:
        .byte $38,$38,$38,$38,$38,$38,$38,$f0       // char 74 'J'
        .byte $ec,$ee,$ee,$66,$00,$00,$00,$00       // char 75 'K'
        .byte $38,$38,$38,$1e,$00,$00,$00,$00       // char 76 'L'
        .byte $ee,$ee,$ee,$66,$00,$00,$00,$00       // char 77 'M'
        .byte $ee,$ee,$ee,$66,$00,$00,$00,$00       // char 78 'N'
        .byte $ee,$ee,$ee,$7c,$00,$00,$00,$00       // char 79 'O'
        .byte $ee,$ee,$ee,$fc,$e0,$e0,$e0,$60       // char 80 'P'
        .byte $ee,$ee,$ee,$7e,$0e,$3e,$0e,$0c       // char 81 'Q'
        .byte $e0,$e0,$e0,$60,$00,$00,$00,$00       // char 82 'R'
        .byte $0e,$6e,$ee,$7c,$00,$00,$00,$00       // char 83 'S'
        .byte $38,$38,$38,$1e,$00,$00,$00,$00       // char 84 'T'
        .byte $ee,$ee,$ee,$76,$00,$00,$00,$00       // char 85 'U'
        .byte $ee,$ee,$6c,$38,$00,$00,$00,$00       // char 86 'V'
        .byte $ee,$fe,$ee,$c6,$00,$00,$00,$00       // char 87 'W'
        .byte $6c,$ee,$ee,$66,$00,$00,$00,$00       // char 88 'X'
        .byte $ee,$ee,$ee,$7e,$0e,$6e,$ee,$7c       // char 89 'Y'
        .byte $70,$e0,$e0,$7e,$00,$00,$00,$00       // char 90 'Z'
        .byte $df,$df,$ef,$6f,$77,$38,$1f,$07       // char 91 '['
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 92 '\'
        .byte $f6,$f6,$ee,$ec,$dc,$38,$f0,$c0       // char 93 ']'

// --- Region $2309-$238c ---
.pc = $2309 "dat_2309"

dat_2309:
        .byte $18,$38,$30,$00,$00,$00,$00           // char 97 (partial)
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 98 'b'
        .byte $6c,$fe,$6c,$00,$00,$00,$00,$00       // char 99 'c'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 100 'd'
        .byte $30,$66,$ce,$8c,$00,$00,$00,$00       // char 101 'e'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 102 'f'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 103 'g'
        .byte $38,$38,$18,$1c,$0e,$00,$00,$00       // char 104 'h'
        .byte $1c,$1c,$18,$38,$70,$00,$00,$00       // char 105 'i'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 106 'j'
        .byte $30,$30,$30,$00,$00,$00,$00,$00       // char 107 'k'
        .byte $00,$00,$18,$38,$70,$00,$00,$00       // char 108 'l'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 109 'm'
        .byte $00,$00,$38,$38,$00,$00,$00,$00       // char 110 'n'
        .byte $38,$70,$e0,$c0,$00,$00,$00,$00       // char 111 'o'
        .byte $ee,$ee,$ee,$7c,$00,$00,$00,$00       // char 112 'p'
        .byte $38,$38,$38,$fe,$00                   // char 113 (partial)

// --- Region $238e-$24a0 ---
.pc = $238e "chr_238e"

chr_238e:
        // === Charset data (275 bytes, $238e-$24a0) ===
        .byte $00,$00,$e0,$ee,$ee,$fe,$00,$00       // char 0 @+0
        .byte $00,$00,$0e,$ee,$ee,$7c,$00,$00       // char 1 @+1
        .byte $00,$00,$0e,$0e,$0e,$06,$00,$00       // char 2 @+2
        .byte $00,$00,$0e,$6e,$ee,$7c,$00,$00       // char 3 @+3
        .byte $00,$00,$ee,$ee,$ee,$7c,$00,$00       // char 4 @+4
        .byte $00,$00,$38,$38,$38,$18,$00,$00       // char 5 @+5
        .byte $00,$00,$ee,$ee,$ee,$7c,$00,$00       // char 6 @+6
        .byte $00,$00,$0e,$6e,$ee,$7c,$00,$00       // char 7 @+7
        .byte $00,$00,$00,$18,$00,$00,$00,$00       // char 8 @+8
        .byte $00,$00,$00,$18,$30,$00,$00,$00       // char 9 @+9
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 10 @+10
        .byte $00,$00,$00,$7c,$00,$00,$00,$00       // char 11 @+11
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 12 @+12
        .byte $00,$00,$20,$18,$38,$30,$00,$00       // char 13 @+13
        .byte $00,$00                               // char 14 (partial)

txt_2400:
        .byte $20,$20,$20,$20,$20,$20               // char 14 (partial)
        .byte $20,$20,$20,$20,$20,$20,$20,$20       // char 15 @+15
        .byte $20,$20,$20,$20,$20,$20,$20,$20       // char 16 @+16
        .byte $20,$14,$08,$09,$13,$20,$14,$09       // char 17 @+17
        .byte $0d,$05,$20,$17,$05,$20,$01,$12       // char 18 @+18
        .byte $05,$20,$10,$12,$0f,$15,$04,$20       // char 19 @+19
        .byte $14,$0f,$20,$10,$12,$05,$13,$05       // char 20 @+20
        .byte $0e,$14,$20,$01,$0d,$05,$12,$09       // char 21 @+21
        .byte $03,$01,$0e,$20,$33,$04,$20,$10       // char 22 @+22
        .byte $0f,$0f,$0c                           // char 23 (partial)

txt_2449:
        .byte $20,$20,$20,$20,$09                   // char 23 (partial)
        .byte $14,$20,$17,$01,$13,$20,$03,$12       // char 24 @+24
        .byte $01,$03,$0b,$05,$04,$20,$09,$0e       // char 25 @+25
        .byte $20,$01,$20,$08,$15,$12,$12,$19       // char 26 @+26
        .byte $20,$02,$19,$20,$14,$08,$05,$20       // char 27 @+27
        .byte $03,$0f,$0d,$10,$01,$0e,$19           // char 28 (partial)

txt_2475:
        .byte $2e                                   // char 28 (partial)
        .byte $2e,$2e,$2e,$2e,$2e,$2e,$2e,$20       // char 29 @+29
        .byte $20,$20,$20,$20,$20,$20,$20,$20       // char 30 @+30
        .byte $17,$05,$20,$17,$09,$0c,$0c,$20       // char 31 @+31
        .byte $10,$09,$13,$13,$20,$0f,$0e,$20       // char 32 ' '
        .byte $19,$0f,$15                           // char 33 (partial)

txt_2499:
        .byte $20,$20,$20,$20,$20                   // char 33 (partial)
        .byte $20,$20                               // char 34 (partial)

dat_24a0:
        // === Fill data (1 bytes, $24a0-$24a0) ===
        .byte $00                                   // .

// --- Region $2600-$2739 ---
.pc = $2600 "txt_2600"

txt_2600:
        .byte $20,$20,$20,$20,$20,$20               // char 78 (partial)
        .byte $20,$20,$20,$20,$20,$20,$20,$20       // char 79 'O'
        .byte $20,$20,$20,$20,$20,$20,$20,$20       // char 80 'P'
        .byte $20,$20,$20,$20,$20,$2e,$2e,$2e       // char 81 'Q'
        .byte $2e,$20,$07,$0f,$0c,$04,$05,$0e       // char 82 'R'
        .byte $20,$12,$05,$07,$01,$12,$04,$13       // char 83 'S'
        .byte $20,$14,$0f,$20,$0f,$15,$12,$20       // char 84 'T'
        .byte $10,$01,$12,$14,$0e,$05,$12,$13       // char 85 'U'
        .byte $20,$09,$0e,$20,$03,$12,$09,$0d       // char 86 'V'
        .byte $05,$20,$3a,$20,$01,$03,$14,$09       // char 87 'W'
        .byte $0f,$0e,$20,$2d,$20,$02,$0c,$01       // char 88 'X'
        .byte $13,$14,$05,$12,$13,$20,$09,$0e       // char 89 'Y'
        .byte $03,$2b,$14,$08,$05,$20,$12,$15       // char 90 'Z'
        .byte $0c,$09,$0e,$07,$20,$03,$0f,$0d       // char 91 '['
        .byte $10,$01,$0e,$19,$20,$2d,$20,$03       // char 92 '\'
        .byte $01,$0d,$05,$0c,$0f,$14,$28,$07       // char 93 ']'
        .byte $0c,$01,$13,$0e,$0f,$13,$14,$2c       // char 94 '^'
        .byte $14,$12,$09,$18                       // char 95 (partial)

txt_268a:
        .byte $29,$20,$2d,$20                       // char 95 (partial)
        .byte $03,$05,$0e,$13,$0f,$12,$20,$2d       // char 96 '`'
        .byte $20,$04,$0f,$0d,$09,$0e,$01,$14       // char 97 'a'
        .byte $0f,$12,$13,$20,$2d,$20,$05,$0e       // char 98 'b'
        .byte $09,$07,$0d,$01,$20,$2d,$20,$06       // char 99 'c'
        .byte $01,$09,$12,$0c,$09,$07,$08,$14       // char 100 'd'
        .byte $20,$2d,$20,$06,$0c,$01,$13,$08       // char 101 'e'
        .byte $20,$09,$0e,$03,$28,$0d,$0f,$12       // char 102 'f'
        .byte $10,$08,$05,$15,$13,$2c,$20,$14       // char 103 'g'
        .byte $08,$05,$20,$13,$10,$19               // char 104 (partial)

txt_26d4:
        .byte $29,$20                               // char 104 (partial)
        .byte $2d,$20,$06,$34,$03,$07,$20,$2d       // char 105 'i'
        .byte $20,$07,$10,$20,$2d,$20,$09,$0b       // char 106 'j'
        .byte $01,$12,$09,$2b,$14,$01,$0c,$05       // char 107 'k'
        .byte $0e,$14,$20,$2d,$20,$0c,$05,$07       // char 108 'l'
        .byte $05,$0e,$04,$20,$2d,$20,$0c,$09       // char 109 'm'
        .byte $07,$08,$14,$20,$2d,$20,$14,$12       // char 110 'n'
        .byte $09,$01,$04,$20,$2d,$20,$14,$12       // char 111 'o'
        .byte $09,$01,$0e,$07,$0c,$05               // char 112 (partial)

txt_2714:
        .byte $20,$33                               // char 112 (partial)
        .byte $35,$33,$32,$20,$2d,$20,$16,$09       // char 113 'q'
        .byte $03,$14,$09,$0d,$13,$20,$2d,$20       // char 114 'r'
        .byte $18,$2d,$12,$01,$19                   // char 115 (partial)

txt_272b:
        .byte $20,$20,$20                           // char 115 (partial)
        .byte $20,$20,$20,$20,$20,$20,$20,$20       // char 116 't'
        .byte $20,$20,$20                           // char 117 (partial)

dat_2739:
        // === Fill data (1 bytes, $2739-$2739) ===
        .byte $00                                   // .

// --- Region $297c-$299b ---
.pc = $297c "Segment $297c"
        .fill 12, $00
        .byte $13,$12,$11,$10,$0f,$0e,$0d,$0c,$0b,$0a,$09,$08,$07,$06,$05,$04 // ................
        .byte $03,$02,$01                           // ...

dat_299b:
        // === Fill data (1 bytes, $299b-$299b) ===
        .byte $00                                   // .

// --- Region $29d0-$2aff ---
.pc = $29d0 "dat_29d0"

dat_29d0:
        .byte $09,$09,$0b,$0b,$08,$08,$0a,$0a,$0f,$0f,$07,$07 // ............

dat_29dc:
        // === Fill data (36 bytes, $29dc-$29ff) ===
        .fill 36, $01
        // === Sine/lookup table (256 bytes, range $00-$3f) ===
        .byte $1f                                   // .

txt_2a01:
        .text "#'*-0368:<=>??>>=;9752/,)&"
        .byte $22                                   // double quote character
        .byte $1f,$1b,$18,$15,$12,$0f,$0c,$0a,$08,$07,$05,$04,$04,$03,$03,$04 // ................
        .byte $05,$06,$07,$09,$0b,$0e,$10,$13,$15,$18,$1b,$1e // ............

txt_2a38:
        .text "!$&)+-/124455554320/-+)'%#!"
        .byte $1e,$1c,$1a,$19,$17,$16,$14,$13,$13,$12,$12,$11,$12,$12,$12,$13 // ................
        .byte $14,$15,$16,$17,$19,$1a,$1b,$1d,$1e   // .........

txt_2a6c:
        .text " !"
        .byte $22                                   // double quote character
        .text "#$%&&''''&&%$$#"
        .byte $22                                   // double quote character
        .text " "
        .byte $1f,$1e,$1d,$1c,$1b,$1a,$1a,$19,$18,$18,$18,$18,$18,$18,$19,$1a // ................
        .byte $1a,$1b,$1c,$1e,$1f                   // .....

txt_2a95:
        .text " "
        .byte $22                                   // double quote character
        .text "#%&')*+,,-----,+*)(&$"
        .byte $22                                   // double quote character
        .text " "
        .byte $1e,$1c,$1a,$18,$16,$14,$12,$10,$0e,$0d,$0c,$0b,$0a,$0a,$0a,$0a // ................
        .byte $0a,$0b,$0c,$0e,$0f,$11,$13,$16,$18,$1b,$1e // ...........

txt_2ac9:
        .text "!#&),/13579:;;;;;:87520-*'$ "
        .byte $1d,$19,$16,$13,$10,$0d,$0a,$08,$05,$04,$02,$01,$00,$00,$00,$01 // ................
        .byte $01,$03,$04,$06,$09,$0b,$0e,$11,$15,$18,$1c // ...........
