// ============================================
// output - Disassembled Source
// ============================================
// KickAssembler syntax
// Generated by Restore 64 v0.2.1 alpha build 298, 2026-04-11 21:35:54
// https://restore64.dev by datucker / Rabenauge
//
// Load address: $0800  End: $444a  (15435 bytes)
// Crunched with Cruncher AB — depacked by emulation
// Packer entry: $080d (via BASIC SYS 2061)
// Entry point:  $1700 (5888)
// IRQ handler:  $1900 (irq_1900)
//
// Code: 2516 bytes, Data: 12919 bytes
// Labels: 351, Subroutines: 28
//
// Verification: 5 line(s) auto-corrected to .byte for exact byte matching
//
// Cross-references: all OK
// ============================================


// --- Region $0820-$0823 ---
.pc = $0820 "sub_0820"
// Referenced by: jsr from $37af

sub_0820:
        jmp loc_122f

smc_0823:
        rts                                         // !SMC: modified by $1770, $1a9c

// --- Region $0838-$0849 ---
.pc = $0838 "loc_0838"

loc_0838:
        bpl loc_083f
        lda #$06
        sta $0d1e

loc_083f:
        bne loc_0846

dat_0841:
        .byte $de,$57,$0d,$30,$03                   // .W.0.

loc_0846:
        jmp loc_0a2f

dat_0849:
        .byte $bd                                   // .

// --- Region $0863-$0c03 ---
.pc = $0863 "loc_0863"

loc_0863:
.label loc_0864 = * + 1
        ora $fcb1
        bpl loc_089c
        cmp #$ff
        bne loc_087a
        ldy #$00
        sty $0d2b
        sty $0d2c
        sty $0d2d
        jmp loc_0864

loc_087a:
        cmp #$fe
        bne loc_088d
        lda #$00
        sta $082f
        sta $d404
        sta $d40b
        sta $d412
        rts

loc_088d:
        and #$7f
        sec
        sbc #$40
        sta $0d22,x
        iny
        inc $0d2b,x
        jmp loc_0864

loc_089c:
        tay
        lda dat_141f,y
        sta $fc
        lda $144f,y
        sta $fd
        ldy $0d2e,x

loc_08aa:
        lda ($fc),y
        bmi loc_08b1
        jmp loc_0949

loc_08b1:
        cmp #$fd
        bne loc_08bf
        iny
        lda ($fc),y
        sta $0d81,x
        iny
        jmp loc_08aa

loc_08bf:
        cmp #$fc
        bne loc_08cc
        sta $0d25,x
        dec $0d48,x
        jmp loc_0946

loc_08cc:
        cmp #$af
        bne loc_08e8
        stx $0d37
        iny
        lda ($fc),y
        clc
        adc $0d3c,x
        tax
        iny
        lda ($fc),y
        sta $10ee,x
        ldx $0d37
        iny
        jmp loc_08aa

loc_08e8:
        cmp #$e0
        bcc loc_0907
        and #$1f
        sta $0d57,x
        iny
        tya
        sta $0d2e,x
        lda ($fc),y
        cmp #$ff
        bne loc_0904
        inc $0d2b,x
        lda #$00
        sta $0d2e,x

loc_0904:
        jmp loc_0a2f

loc_0907:
        cmp #$c0
        bcc loc_0914
        and #$1f
        sta $0d1f,x
        iny
        jmp loc_08aa

loc_0914:
        cmp #$a0
        bcc loc_092b
        and #$1f
        sta $0d31,x
        iny
        lda ($fc),y
        clc
        adc $0d22,x
        sta $0d39,x
        iny
        jmp loc_08aa

loc_092b:
        and #$1f
        asl
        asl
        asl
        sta $0d3c,x
        sty $0d37
        tay
        lda $10f2,y
        and #$0f
        sta $0d81,x
        ldy $0d37
        iny
        jmp loc_08aa

loc_0946:
        iny
        lda ($fc),y

loc_0949:
        clc
        adc $0d22,x
        sta $0d69,x
        iny
        tya
        sta $0d2e,x
        lda ($fc),y
        cmp #$ff
        bne loc_0963
        lda #$00
        sta $0d2e,x
        inc $0d2b,x

loc_0963:
        lda $10f0,y
        and #$0f
        lsr
        sta $0d4e,x
        lda #$ff
        sta $0d54,x
        lda $0d1f,x
        sta $0d57,x
        lda #$00
        sta $0d63,x
        sta $0d66,x
        lda $0d28,x
        beq loc_098a
        dec $0d48,x
        jmp loc_0a2f

loc_098a:
        stx $0d37
        lda $0d34,x
        ldy $0d3c,x
        tax
        lda #$00
        sta $d404,x
        sta $d405,x
        sta $d406,x
        lda $10ee,y
        sta $d405,x
        lda $10ef,y
        sta $d406,x
        ldx $0d37
        lda #$01
        sta $0d3f,x
        sta $0d42,x
        sta $0d45,x
        sta $0d48,x
        lda #$02
        sta $0d4b,x
        lda #$03
        sta $0d42,x
        lda #$00
        sta $0d72,x
        sta $0d78,x
        ldy $0d3c,x
        lda $10f1,y
        and #$0f
        tay
        lda $14bf,y
        sta $09e6
        lda $14cf,y
        sta $09e7
        ldy #$01
        lda $1216,y
        sta $0d6c,x
        and #$0f
        sta $0d6f,x
        ldy $0d3c,x
        lda $10f3,y
        and #$0f
        tay
        lda tbl_lo_14df,y
        sta $fc
        lda tbl_hi_14ef,y
        sta $fd
        ldy #$01
        lda ($fc),y
        beq loc_0a1e
        sta $0d7e
        iny
        lda ($fc),y
        sta $0d7f
        lda $0d80
        ora $0d90,x
        sta $0d80
        jmp loc_0a27

loc_0a1e:
        lda $0d80
        and $0d93,x
        sta $0d80

loc_0a27:
        lda #$01
        sta $0d51,x
        jmp loc_0cd5

loc_0a2f:
        ldy $0d3c,x
        lda $10f4,y
        and #$0f
        tay
        lda $147f,y
        sta $fc
        lda $148f,y
        sta $fd
        ldy $0d45,x

loc_0a45:
        lda ($fc),y
        cmp #$fe
        bcc loc_0a55
        beq loc_0a5d
        ldy #$00
        lda ($fc),y
        tay
        jmp loc_0a45

loc_0a55:
        sta $0d51,x
        iny
        tya
        sta $0d45,x

loc_0a5d:
        ldy $0d81,x
        lda $149f,y
        sta $fc
        lda $14af,y
        sta $fd
        ldy $0d48,x

loc_0a6d:
        lda ($fc),y
        cmp #$fe
        bcc loc_0a7d
        beq loc_0aa4
        ldy #$00
        lda ($fc),y
        tay
        jmp loc_0a6d

loc_0a7d:
        cmp #$80
        and #$7f
        bcs loc_0a87
        clc
        adc $0d69,x

loc_0a87:
        iny
        sty $0d37
        sta $0d60,x
        tay
        lda $14ff,y
        sta $0d5a,x
        lda $155e,y
        sta $0d5d,x
        lda $0d37
        sta $0d48,x
        jmp loc_0b4b

loc_0aa4:
        lda $0d31,x
        bne loc_0ab9
        ldy $0d3c,x
        lda $10f0,y
        and #$f0
        lsr
        lsr
        lsr
        cmp $0d3f,x
        bcc loc_0abc

loc_0ab9:
        jmp loc_0b4b

loc_0abc:
        ldy $0d60,x
        lda $14ff,y
        sec
        sbc $14fe,y
        lda $155e,y
        sbc $155d,y
        clc
        adc #$01
        sta $fc
        ldy $0d3c,x
        lda $10f5,y
        and #$0f
        tay
        lda $fc

loc_0adc:
        dey
        bmi loc_0ae3
        asl
        jmp loc_0adc

loc_0ae3:
        sta $fc
        ldy $0d3c,x
        lda $10f0,y
        and #$0f
        lsr
        cmp $0d4e,x
        bcs loc_0b09
        lda $0d5a,x
        clc
        adc $0d63,x
        sta $0d5a,x
        lda $0d5d,x
        adc $0d66,x
        sta $0d5d,x
        jmp loc_0b1c

loc_0b09:
        lda $0d5a,x
        sec
        sbc $0d63,x
        sta $0d5a,x
        lda $0d5d,x
        sbc $0d66,x
        sta $0d5d,x

loc_0b1c:
        lda $10f3,y
        and #$f0
        lsr
        lsr
        cmp $0d3f,x
        bcc loc_0b39
        lda $fc
        clc
        adc $0d63,x
        sta $0d63,x
        lda $0d66,x
        adc #$00
        sta $0d66,x

loc_0b39:
        inc $0d4e,x
        lda $10f0,y
        and #$0f
        cmp $0d4e,x
        bcs loc_0b4b
        lda #$00
        sta $0d4e,x

loc_0b4b:
        lda $0d72,x
        bne loc_0b76
        ldy $0d3c,x
        lda $10f1,y
        and #$0f
        tay
        lda $14bf,y
        sta $fc
        lda $14cf,y
        sta $fd
        ldy $0d4b,x

loc_0b66:
        lda ($fc),y
        cmp #$fe
        bcc loc_0b79
        beq loc_0bc1
        ldy #$00
        lda ($fc),y
        tay
        jmp loc_0b66

loc_0b76:
        lda $0d75,x

loc_0b79:
        sta $0d75,x
        cmp #$80
        and #$7f
        bcs loc_0bab
        asl
        sta $0d37
        lda $0d6c,x
        sec
        sbc $0d37
        sta $0d6c,x
        lda $0d6f,x
        sbc #$00
        sta $0d6f,x

loc_0b98:
        lda $0d72,x
        bne loc_0bbe
        iny
        lda ($fc),y
        sta $0d72,x
        iny
        tya
        sta $0d4b,x
        jmp loc_0bc1

loc_0bab:
        asl
        clc
        adc $0d6c,x
        sta $0d6c,x
        lda $0d6f,x
        adc #$00
        sta $0d6f,x
        jmp loc_0b98

loc_0bbe:
        dec $0d72,x

loc_0bc1:
        lda $0d78,x
        bne loc_0bef
        ldy $0d3c,x
        lda $10f3,y
        and #$0f
        tay
        lda tbl_lo_14df,y
        sta $fc
        lda tbl_hi_14ef,y
        sta $fd
        ldy $0d42,x

loc_0bdc:
        lda ($fc),y
        cmp #$fe
        beq loc_0c12
        bcc loc_0bf2
        ldy #$00
        lda ($fc),y
        sta $0d42,x
        tay
        jmp loc_0bdc

loc_0bef:
        lda $0d7b,x

loc_0bf2:
        sta $0d7b,x
        lda $0d7e
        clc
        adc $0d7b,x
        sta $0d7e
.label scr_0c00 = * + 1
        lda $0d78,x

dat_0c02:
        .encoding "screencode_mixed"
        .byte $d0                                   // scrcode: .
        .text "k"
        .encoding "petscii_upper"

// --- Region $1201-$1210 ---
.pc = $1201 "loc_1201"

loc_1201:
        bpl loc_1206
        .byte $02                                   // jam // ILLEGAL

dat_1204:
        .byte $c8,$ff                               // ..

loc_1206:
        asl $ff
        jsr sub_1005
        ora $08
        ora $ff
        brk

dat_1210:
        .byte $ff                                   // .

// --- Region $122f-$125b ---
.pc = $122f "loc_122f"

loc_122f:
        asl
        asl
        asl
        tax
        lda dat_125c,x
        sta $0834
        lda $125d,x
        sta $083b
        ldy #$00

loc_1241:
        lda $125e,x
        sta $0d8a,y
        inx
        lda #$00
        sta $0d54,y
        sta $0d22,y
        sta $0d2b,y
        iny
        cpy #$06
        bne loc_1241
        sty $082f
        rts

// --- Region $12a0-$12f1 ---
.pc = $12a0 "sub_12a0"
// Referenced by: jsr from $173c

sub_12a0:
        jsr sub_1620
        lda #$26
        sta smc_1727                                // SMC: modifies $1727
        lda #$17
        sta smc_1728                                // SMC: modifies $1728
        lda #$04
        jmp loc_12ea

dat_12b2:
        .byte $60                                   // `

loc_12b3:
        jsr sub_12dc
        jmp $ea81

loc_12b9:
        lda $dc00
        and #$08
        beq loc_12c8
        lda $dc00
        and #$04
        beq loc_12d1
        rts

loc_12c8:
        lda $1cce
        beq loc_12d0
        dec $1cce

loc_12d0:
        rts

loc_12d1:
        lda $1cce
        cmp #$08
        beq loc_12db
        inc $1cce

loc_12db:
        rts
// Referenced by: jsr from $12b3

sub_12dc:
        lda $80
        beq loc_12e3
        dec $80
        rts

loc_12e3:
        lda #$03
        sta $80
        jmp loc_12b9

loc_12ea:
        sta $1cce
        lda #$03
        sta $80
        rts

// --- Region $1620-$1635 ---
.pc = $1620 "sub_1620"
// Referenced by: jsr from $12a0

sub_1620:
        sta $0d0d
        lda #$03
        sta $14
        sta $15
        sta $16
        sta $17
        rts
// Referenced by: jsr from $18c5

sub_162e:
        sta $1ca2
        sta loc_1dc6
        rts

dat_1635:
        .byte $00                                   // .

// --- Region $1700-$188a ---
.pc = $1700 "main_1700"

main_1700:
        jsr sub_1729
        sei
        lda #$00
        sta $dc0e
        lda #$01
        sta $d019
        sta $d01a
        lda #$00
        sta $d012
        lda #$1b
        sta $d011
        lda #$00
        sta $0314
        lda #$19
        sta $0315

smc_1725:
        cli                                         // !SMC: modified by $1de3

loc_1726:
.label smc_1727 = * + 1
.label smc_1728 = * + 2
        jmp loc_1726                                // !SMC: modified by $12a5, $12aa, $1de8, $1ded
// Referenced by: jsr from $1700

sub_1729:
        lda #$00
        sta $d011
        sta $d020
        sta $d021
        sta $0286
        jsr sub_1df1
        lda #$10
        jsr sub_12a0
        ldx #$00

loc_1741:
        lda $1f40,x
        sta $0590,x
        lda $1fb8,x
        sta $0568,x
        inx
        cpx #$28
        bne loc_1741
        lda #$03
        sta $02
        lda #$20
        sta $03
        lda #$56
        sta smc_1a0c                                // SMC: modifies $1a0c
        lda #$40
        sta smc_1a4b                                // SMC: modifies $1a4b
        lda #$a5
        sta smc_1a00                                // SMC: modifies $1a00
        lda #$03
        sta smc_1a23                                // SMC: modifies $1a23
        lda #$60
        sta smc_0823                                // SMC: modifies $0823
        lda #$18
        sta $04
        lda #$00
        jsr sub_37af
        lda #$ad
        sta smc_1a7b                                // SMC: modifies $1a7b
        ldx #$00

loc_1783:
        lda #$08
        sta $d800,x
        lda $1e00,x
        sta $0400,x
        inx
        bne loc_1783

loc_1791:
        lda $1f00,x
        sta $0500,x
        lda #$08
        sta $d900,x
        inx
        cpx #$40
        bne loc_1791
        ldx #$00
        stx $05
        stx $06
        stx $07
        stx $08
        stx $09
        stx $0a
        inx
        stx $1ab0
        lda #$04
        sta $0b
        jsr sub_1af1
        lda #$ff
        sta $d015
        sta $d01d
        ldx #$00
        ldy #$00

loc_17c6:
        lda #$d0
        sta $07f8,x
        lda #$00
        sta $d027,x
        lda $1c19,x
        sta $d000,y
        lda #$78
        sta $d001,y
        inx
        iny
        iny
        cpx #$08
        bne loc_17c6
        lda #$e0
        sta $d010
        lda #$00
        sta smc_1951                                // SMC: modifies $1951
        lda #$e6
        sta smc_1af6                                // SMC: modifies $1af6
        jsr sub_1c5a
        lda #$4f
        sta smc_1aa9                                // SMC: modifies $1aa9
        lda #$00
        sta smc_1c74                                // SMC: modifies $1c74
        sta smc_1977                                // SMC: modifies $1977
        sta $0c
        lda #$00
        sta $0d
        nop
        jsr sub_1d06
        lda #$60
        sta smc_1cca                                // SMC: modifies $1cca
        sta smc_1c9f                                // SMC: modifies $1c9f
        lda #$03
        sta $0e
        lda #$a5
        sta smc_1d19                                // SMC: modifies $1d19
        lda #$e0
        sta smc_1d25                                // SMC: modifies $1d25
        ldx #$00

loc_1823:
        lda txt_244d,x
        sta $0608,x
        lda txt_2600,x
        sta $0720,x
        clc
        adc #$40
        sta $0748,x
        inx
        cpx #$28
        bne loc_1823
        lda #$55
        sta txt_1ca0
        ldx #$00
        txa

loc_1842:
        sta dat_2520,x
        inx
        cpx #$20
        bne loc_1842
        sta $0f
        lda #$04
        sta $10
        lda #$40
        sta smc_1d62                                // SMC: modifies $1d62
        lda #$20
        sta smc_1d69                                // SMC: modifies $1d69
        sta smc_1d7c                                // SMC: modifies $1d7c
        lda #$00
        sta smc_24d4                                // SMC: modifies $24d4
        ldy #$26
        sty smc_24d5                                // SMC: modifies $24d5
        sta $11
        lda #$40
        sta $12
        rts

loc_186e:
        lda $dc01
        cmp #$ef
        beq loc_1879
        cli
        jmp loc_186e

loc_1879:
        lda #$20
        sta $19f6
        lda #$8b
        sta $19f7
        lda #$18
        sta $19f8

loc_1888:
        jmp loc_1888

// --- Region $18b3-$1a55 ---
.pc = $18b3 "loc_18b3"

loc_18b3:
        lda #$37
        bne loc_18bc

loc_18b7:
        lda #$60
        sta $1d61

loc_18bc:
        lda txt_1ca0
        cmp #$55
        bne loc_18c8
        lda #$60
        jsr sub_162e

loc_18c8:
        lda $13
        beq loc_18cf
        dec $13
        rts

loc_18cf:
        lda #$03
        sta $13
        ldy $2fc0
        cpy #$ff
        beq loc_18ee
        ldx #$00

loc_18dc:
        lda $da09,x
        sta $da08,x
        inx
        cpx #$27
        bne loc_18dc
        sty $da2f
        inc $18d4
        rts

loc_18ee:
        lda $14
        beq loc_18f5
        dec $14
        rts

loc_18f5:
        lda #$03
        sta $14
        jmp loc_242f

dat_18fc:
        .byte $00,$00,$00,$00                       // ....

irq_1900:
        inc $d019
        lda #$32

loc_1905:
        cmp $d012
        bne loc_1905
        lda #$1a
        sta $d018
        lda #$d8
        sta $d016
        lda $05
        sta $d023
        lda $06
        sta $d021
        lda $07
        sta $d022
        lda #$75

loc_1925:
        cmp $d012
        bne loc_1925
        lda #$00
        jmp loc_37f1

loc_192f:
        sta $d022
        sta $d023
        lda #$18
        sta $d018
        lda #$08
        sta $d016
        jmp loc_1944

dat_1942:
        .byte $ea,$ea                               // ..

loc_1944:
        lda #$91

loc_1946:
        cmp $d012
        bne loc_1946
        ldx #$0c

loc_194d:
        dex
        bne loc_194d
.label smc_1951 = * + 1
        lda #$00                                    // !SMC: modified by $17e9, $1c92
        sta $d020
        sta $d021
        ldx #$09

loc_195a:
        dex
        bne loc_195a
        lda #$00
        sta $d020
        sta $d021
        lda $0c
        sta $d016
        lda #$a9

loc_196c:
        cmp $d012
        bne loc_196c
        ldx #$0c

loc_1973:
        dex
        bne loc_1973
.label smc_1977 = * + 1
        lda #$00                                    // !SMC: modified by $17fe, $1c95
        sta $d020
        sta $d021
        ldx #$09

loc_1980:
        dex
        bne loc_1980
        lda #$00
        sta $d020
        sta $d021
        lda $0d
        sta $d016
        lda #$1c
        sta $d018
        ldx #$00

loc_1997:
        ldy $2483,x

loc_199a:
        dey
        bne loc_199a
        lda tbl_249a,x
        sta $d021
        sta $d021
        inx
        cpx #$17
        bne loc_1997
        lda #$1c
        sta $d018
        sta $d018
        lda #$08
        sta $d016
        lda #$cc

loc_19ba:
        cmp $d012
        bne loc_19ba
        ldx #$00

loc_19c1:
        ldy $2500,x

loc_19c4:
        dey
        bne loc_19c4
        lda dat_2520,x
        sta $d021
        sta $d021
        inx
        cpx #$16
        bne loc_19c1
        jsr sub_1dbf
        jsr smc_1a00
        jsr smc_1a7b
        jsr sub_1aa3
        jsr sub_1c3a
        jsr smc_1c9f
        jsr smc_1cca
        jsr sub_1d11
        jsr sub_1d48
        jsr sub_24c6
        jsr smc_0823
        nop
        nop
        nop
        nop
        nop
        nop
        jmp loc_12b3

dat_19ff:
        .byte $00                                   // .

smc_1a00:
        lda $02                                     // !SMC: modified by $1766
        beq loc_1a07
        dec $02
        rts

loc_1a07:
        lda #$03
        sta $02
.label smc_1a0c = * + 1
        lda $1a5c                                   // !SMC: modified by $175c, $1a38
        cmp #$ff
        beq loc_1a20
        ldx #$00

loc_1a14:
        sta $d990,x
        inx
        cpx #$28
        bne loc_1a14
        inc smc_1a0c
        rts

loc_1a20:
        lda $03
.label smc_1a23 = * + 1
        beq loc_1a27                                // !SMC: modified by $176b, $1a71
        dec $03
        rts

loc_1a27:
        inc smc_1a0c
        lda #$20
        sta $03
        lda smc_1a0c
        cmp #$64
        beq loc_1a36
        rts

loc_1a36:
        lda #$56
        sta smc_1a0c                                // SMC: modifies $1a0c
        lda smc_1a4b
        clc
        adc #$28
        sta smc_1a4b                                // SMC: modifies $1a4b
        jsr sub_1a64
        rts
// Referenced by: jsr from $1a64

sub_1a48:
        ldx #$00

loc_1a4a:
.label smc_1a4b = * + 1
        lda $1f40,x                                 // !SMC: modified by $1761, $1a41
        sta $0590,x
        inx
        cpx #$28
        bne loc_1a4a
        rts

// --- Region $1a64-$1afd ---
.pc = $1a64 "sub_1a64"
// Referenced by: jsr from $1a44

sub_1a64:
        jsr sub_1a48
        lda smc_1a4b
        cmp #$90
        beq loc_1a6f
        rts

loc_1a6f:
        lda #$51
        sta smc_1a23                                // SMC: modifies $1a23
        rts

dat_1a75:
        .byte $a9,$60,$8d,$00,$1a,$60               // .`...`

smc_1a7b:
        lda smc_1a00                                // !SMC: modified by $177e, $1a97
        cmp #$60
        beq loc_1a83
        rts

loc_1a83:
        lda $04
        beq loc_1a8a
        dec $04
        rts

loc_1a8a:
        lda #$18
        sta $04
        lda $0d0d
        cmp #$1e
        bne loc_1a9a
        lda #$60
        sta smc_1a7b                                // SMC: modifies $1a7b

loc_1a9a:
        lda #$4c
        sta smc_0823                                // SMC: modifies $0823
        inc $0d0d
        rts
// Referenced by: jsr from $19de

sub_1aa3:
        lda smc_1a7b
        cmp #$60
.label smc_1aa9 = * + 1
        beq loc_1af9                                // !SMC: modified by $17f6, $1c8e
        rts

loc_1aab:
        inc $08
        lda $08
        cmp #$01
        bne loc_1ad8
        lda #$00
        sta $08
        inc $09
        ldx $09
        cpx #$34
        bne loc_1ac3
        ldx #$00
        stx $09

loc_1ac3:
        lda $1b00,x
        sta $1ab0
        lda $1bc0,x
        sta $06
        lda $1b40,x
        sta $05
        lda $1b80,x
        sta $07

loc_1ad8:
        lda $0b
        beq loc_1adf
        dec $0b
        rts

loc_1adf:
        lda #$04
        sta $0b
        lda $1c00
        cmp #$ff
        beq sub_1af1
        jsr sub_1c21
        inc $1ae4
        rts
// Referenced by: jsr from $17b7; branch from $1ae8

sub_1af1:
        lda #$00
        sta $1ae4

smc_1af6:
        inc $0a                                     // !SMC: modified by $17ee, $1c62
        rts

loc_1af9:
        jmp loc_1c68

dat_1afc:
        .byte $00,$00                               // ..

// --- Region $1c21-$1c9f ---
.pc = $1c21 "sub_1c21"
// Referenced by: jsr from $1aea

sub_1c21:
        sta $07f8
        sta $07f9
        sta $07fa
        sta $07fb
        sta $07fc
        sta $07fd
        sta $07fe
        sta $07ff
        rts
// Referenced by: jsr from $19e1

sub_1c3a:
        lda $0a
        cmp #$02
        beq loc_1c60
        rts

loc_1c41:
        lda $02
        beq loc_1c48
        dec $02
        rts

loc_1c48:
        lda #$01
        sta $02
.label smc_1c4d = * + 1
        lda $24b0                                   // !SMC: modified by $1c5c
        cmp #$ff
        beq sub_1c5a
        jsr sub_1c92
        inc smc_1c4d
        rts
// Referenced by: jsr from $17f1; branch from $1c51

sub_1c5a:
        lda #$b0
        sta smc_1c4d                                // SMC: modifies $1c4d
        rts

loc_1c60:
        lda #$24
        sta smc_1af6                                // SMC: modifies $1af6
        jmp loc_1c41

loc_1c68:
        lda $02
        beq loc_1c6f
        dec $02
        rts

loc_1c6f:
        lda #$03
        sta $02
.label smc_1c74 = * + 1
        ldy $2400                                   // !SMC: modified by $17fb
        cpy #$ff
        beq loc_1c8c
        ldx #$26

loc_1c7c:
        lda $d968,x
        sta $d969,x
        dex
        bpl loc_1c7c
        sty $d968
        inc smc_1c74
        rts

loc_1c8c:
        lda #$01
        sta smc_1aa9                                // SMC: modifies $1aa9
        rts
// Referenced by: jsr from $1c53

sub_1c92:
        sta smc_1951                                // SMC: modifies $1951
        sta smc_1977                                // SMC: modifies $1977
        sta $ffff
        sta $ffff
        rts

smc_1c9f:
        rts                                         // !SMC: modified by $1810, $1dde

// --- Region $1cca-$1cca ---
.pc = $1cca "smc_1cca"

smc_1cca:
        rts                                         // !SMC: modified by $180d, $1d3f

// --- Region $1d06-$1dfd ---
.pc = $1d06 "sub_1d06"
// Referenced by: jsr from $1808

sub_1d06:
        lda #$00
        sta $1ce7
        lda #$38
        sta $1ce8
        rts
// Referenced by: jsr from $19ea

sub_1d11:
        lda smc_1aa9
        cmp #$01
        beq smc_1d19
        rts

smc_1d19:
        lda $0e                                     // !SMC: modified by $1819, $1d44
        beq loc_1d20
        dec $0e
        rts

loc_1d20:
        lda #$03
        sta $0e
.label smc_1d25 = * + 1
        lda $1fe0                                   // !SMC: modified by $181e
        cmp #$ff
        beq loc_1d39
        ldx #$00

loc_1d2d:
        sta $da08,x
        inx
        cpx #$28
        bne loc_1d2d
        inc smc_1d25
        rts

loc_1d39:
        lda #$20
        sta $0e
        lda #$a5
        sta smc_1cca                                // SMC: modifies $1cca
        lda #$60
        sta smc_1d19                                // SMC: modifies $1d19
        rts
// Referenced by: jsr from $19ed

sub_1d48:
        lda smc_1d19
        cmp #$60
        beq loc_1d50
        rts

loc_1d50:
        lda #$01
        sta $11
        nop
        rts

loc_1d56:
        lda $10
        beq loc_1d5d
        dec $10
        rts

loc_1d5d:
        lda #$04
        sta $10
.label smc_1d62 = * + 1
        lda $2540                                   // !SMC: modified by $1852, $1dbb
        cmp #$ff
        beq loc_1d72
.label smc_1d69 = * + 1
        sta dat_2520                                // !SMC: modified by $1857, $1d99
        inc smc_1d62
        inc smc_1d69
        rts

loc_1d72:
        lda $0e
        beq loc_1d79
        dec $0e
        rts

loc_1d79:
        lda #$00
.label smc_1d7c = * + 1
        sta dat_2520                                // !SMC: modified by $185a, $1d8b
        lda smc_1d7c
        cmp #$3f
        beq loc_1d89
        inc smc_1d7c
        rts

loc_1d89:
        lda #$20
        sta smc_1d7c                                // SMC: modifies $1d7c
        lda #$20
        sta $0e
        nop
        nop
        nop
        nop
        nop
        lda #$20
        sta smc_1d69                                // SMC: modifies $1d69
        lda smc_24d4
        clc
        adc #$28
        sta smc_24d4                                // SMC: modifies $24d4
        lda smc_24d5
        adc #$00
        sta smc_24d5                                // SMC: modifies $24d5
        jsr sub_24d1
        inc smc_1d62
        lda smc_1d62
        beq loc_1db9
        rts

loc_1db9:
        lda #$40
        sta smc_1d62                                // SMC: modifies $1d62
        rts
// Referenced by: jsr from $19d5

sub_1dbf:
        lda $11
        cmp #$01
        beq loc_1dc6
        rts

loc_1dc6:
        ldx #$00

loc_1dc8:
        lda $2f80,x
        sta $da08,x
        inx
        cpx #$28
        bne loc_1dc8
        lda $12
        beq loc_1dda
        dec $12
        rts

loc_1dda:
        inc $11
        lda #$ad
        sta smc_1c9f                                // SMC: modifies $1c9f
        lda #$58
        sta smc_1725                                // SMC: modifies $1725
        lda #$6e
        sta smc_1727                                // SMC: modifies $1727
        lda #$18
        sta smc_1728                                // SMC: modifies $1728
        rts
// Referenced by: jsr from $1737

sub_1df1:
        jsr $e544
        lda #$03
        sta $13
        lda #$40
        sta $20
        rts

dat_1dfd:
        .byte $4c                                   // L

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

// --- Region $24c6-$24f4 ---
.pc = $24c6 "sub_24c6"
// Referenced by: jsr from $19f0

sub_24c6:
        lda smc_1cca
        cmp #$a5
        beq loc_24ce
        rts

loc_24ce:
        jmp loc_1d56
// Referenced by: jsr from $1dad

sub_24d1:
        ldx #$00

loc_24d3:
.label smc_24d4 = * + 1
.label smc_24d5 = * + 2
        lda txt_2600,x                              // !SMC: modified by $185f, $1864, $1da2, $1daa, $24e9, $24ee
        beq loc_24e7
        sta $0720,x
        clc
        adc #$40
        sta $0748,x
        inx
        cpx #$28
        bne loc_24d3
        rts

loc_24e7:
        ldy #$00
        sty smc_24d4                                // SMC: modifies $24d4
        ldy #$26
        sty smc_24d5                                // SMC: modifies $24d5
        jmp loc_24d3

chr_24f4:
        // === Charset data (1 bytes, $24f4-$24f4) ===
        .byte $f0                                   // char 0 (partial)

// --- Region $37af-$37bf ---
.pc = $37af "sub_37af"
// Referenced by: jsr from $1779

sub_37af:
        jsr sub_0820
        ldx #$00

loc_37b4:
        lda $37c0,x
        sta $0540,x
        lda #$08
        jmp loc_37e8

chr_37bf:
        // === Charset data (1 bytes, $37bf-$37bf) ===
        .byte $00                                   // char 0 (partial)

// --- Region $37e8-$37fd ---
.pc = $37e8 "loc_37e8"

loc_37e8:
        sta $d940,x
        inx
        cpx #$28
        bne loc_37b4
        rts

loc_37f1:
        ldx #$3b

loc_37f3:
        dex
        bne loc_37f3
        sta $d021
        jmp loc_192f

chr_37fc:
        // === Charset data (2 bytes, $37fc-$37fd) ===
        .byte $00,$00                               // char 0 (partial)

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

// --- Region $0801-$081f ---
.pc = $0801 "dat_0801"

dat_0801:
        // === BASIC loader stub ===
        .byte $0c,$08                                                     // [corrected] was: .byte $0b,$08                               // next line pointer ($080b)
        .byte $d0,$07                                                     // [corrected] was: .byte $00,$00                               // line number 0
        .byte $9e                                   // SYS token
        .byte $32,$30,$35,$31
        .byte $21                                                         // [corrected] was: .byte $00                                   // end of line
        .byte $00,$4c                                                     // [corrected] was: .byte $00,$00                               // end of BASIC program
        .byte $00,$cf,$00,$c1,$93,$93,$81,$93,$93,$89,$8e,$af,$cc,$85,$87,$85 // ................
        .byte $8e,$84,$a1                           // ...

// --- Region $0824-$0837 ---
.pc = $0824 "dat_0824"

dat_0824:
        .byte $2e,$08,$4c,$7e,$08,$ea,$ea,$ea,$ea,$ea,$a9,$06,$d0,$01,$60,$a2 // ..L~..........`.
        .byte $02,$ce,$1e,$0d                       // ....

// --- Region $084a-$0862 ---
.pc = $084a "Program $084a"
        .byte $25,$0d,$9d,$28,$0d,$a9,$00,$9d,$25,$0d,$8a,$0a,$a8,$b9,$8a,$0d // %..(....%.......
        .byte $85,$fc,$b9,$8b,$0d,$85,$fd,$bc,$2b   // ........+

// --- Region $0c04-$0fc6 ---
.pc = $0c04 "Program $0c04"
        .encoding "screencode_mixed"
        .byte $c8,$b1,$fc,$9d,$78                   // scrcode: .....
        .text "m"
        .byte $c8,$98,$9d,$42                       // scrcode: ....
        .text "m"
        .byte $de,$78                               // scrcode: ..
        .text "m"
        .encoding "petscii_upper"

loc_0c12:
        .encoding "screencode_mixed"
        .byte $bd                                   // scrcode: .
        .text "1m"
        .byte $d0                                   // scrcode: .
        .text "c"
        .byte $4c,$9b                               // scrcode: ..
        .text "l"
        .byte $bc                                   // scrcode: .
        .text "9m"
        .byte $b9,$ff                               // scrcode: ..
        .text "t"
        .byte $85,$fc,$b9,$5e                       // scrcode: ....
        .text "u"
        .byte $85,$fd,$a9                           // scrcode: ...
        .text "@"
        .byte $8d                                   // scrcode: .
        .text "8m"
        .byte $a9                                   // scrcode: .
        .text "o"
        .byte $bc                                   // scrcode: .
        .text "1m"
        .byte $88                                   // scrcode: .
        .text "0gj.8m"
        .byte $4c                                   // scrcode: .
        .text "1"
        .text "l"
        .byte $8d                                   // scrcode: .
        .text "7m"
        .byte $bd                                   // scrcode: .
        .text "9m"
        .byte $dd,$60                               // scrcode: ..
        .text "m"
        .byte $b0                                   // scrcode: .
        .text "2"
        .byte $bd,$5a                               // scrcode: ..
        .text "m8"
        .byte $ed                                   // scrcode: .
        .text "7m"
        .byte $9d,$5a                               // scrcode: ..
        .text "m"
        .byte $bd,$5d                               // scrcode: ..
        .text "m"
        .byte $ed                                   // scrcode: .
        .text "8m"
        .byte $9d,$5d                               // scrcode: ..
        .text "m"
        .byte $bd,$5a                               // scrcode: ..
        .text "m8"
        .byte $e5,$fc,$bd,$5d                       // scrcode: ....
        .text "m"
        .byte $e5,$fd,$b0                           // scrcode: ...
        .text "5"
        .byte $a9                                   // scrcode: .
        .text "@"
        .byte $9d                                   // scrcode: .
        .text "1m"
        .byte $a5,$fc,$9d,$5a                       // scrcode: ....
        .text "m"
        .byte $a5,$fd,$9d,$5d                       // scrcode: ....
        .text "m"
        .byte $4c,$9b                               // scrcode: ..
        .text "l"
        .byte $bd,$5a                               // scrcode: ..
        .text "mx"
        .byte $6d                                   // scrcode: .
        .text "7m"
        .byte $9d,$5a                               // scrcode: ..
        .text "m"
        .byte $bd,$5d                               // scrcode: ..
        .text "m"
        .byte $6d                                   // scrcode: .
        .text "8m"
        .byte $9d,$5d                               // scrcode: ..
        .text "m"
        .byte $a5,$fc                               // scrcode: ..
        .text "8"
        .byte $fd,$5a                               // scrcode: ..
        .text "m"
        .byte $a5,$fd,$fd,$5d                       // scrcode: ....
        .text "m"
        .byte $b0                                   // scrcode: .
        .text "c"
        .byte $4c,$66                               // scrcode: ..
        .text "l"
        .byte $bc                                   // scrcode: .
        .text "<m"
        .byte $b9,$f2                               // scrcode: ..
        .text "pph"
        .byte $bc,$60                               // scrcode: ..
        .text "m"
        .byte $b9,$5e                               // scrcode: ..
        .text "u"
        .byte $d0                                   // scrcode: .
        .text "b"
        .byte $a9                                   // scrcode: .
        .text "@j"
        .byte $9d,$84                               // scrcode: ..
        .text "m*"
        .text ")a"
        .byte $9d,$87                               // scrcode: ..
        .text "m"
        .byte $ad,$1e                               // scrcode: ..
        .text "m"
        .byte $d0                                   // scrcode: .
        .text "q"
        .byte $bd,$57                               // scrcode: ..
        .text "m"
        .byte $d0                                   // scrcode: .
        .text "l"
        .byte $bd                                   // scrcode: .
        .text "%m"
        .byte $c9,$fc,$f0                           // scrcode: ...
        .text "e"
        .byte $a9,$fe,$9d,$54                       // scrcode: ....
        .text "m"
        .byte $bd                                   // scrcode: .
        .text "?m0c"
        .byte $fe                                   // scrcode: .
        .text "?m"
        .encoding "petscii_upper"

loc_0cd5:
        .encoding "screencode_mixed"
        .byte $bc                                   // scrcode: .
        .text "4m"
        .byte $bd,$51                               // scrcode: ..
        .text "m="
        .byte $54                                   // scrcode: .
        .text "m"
        .byte $99                                   // scrcode: .
        .text "d"
        .byte $d4,$bd,$5a                           // scrcode: ...
        .text "mx"
        .byte $7d,$84                               // scrcode: ..
        .text "m"
        .byte $99                                   // scrcode: .
        .text "@"
        .byte $d4,$bd,$5d                           // scrcode: ...
        .text "m"
        .byte $7d,$87                               // scrcode: ..
        .text "m"
        .byte $99                                   // scrcode: .
        .text "a"
        .byte $d4,$bd,$6c                           // scrcode: ...
        .text "m"
        .byte $99                                   // scrcode: .
        .text "b"
        .byte $d4,$bd,$6f                           // scrcode: ...
        .text "m"
        .byte $99                                   // scrcode: .
        .text "c"
        .byte $d4,$ca                               // scrcode: ..
        .text "0f"
        .byte $ad,$1e                               // scrcode: ..
        .text "m"
        .byte $4c                                   // scrcode: .
        .text "?h"
        .byte $ea,$ea,$ea,$a9                       // scrcode: ....
        .text "p"
        .byte $8d                                   // scrcode: .
        .text "x"
        .byte $d4,$ad,$80                           // scrcode: ...
        .text "m"
        .byte $8d                                   // scrcode: .
        .text "w"
        .byte $d4,$ad,$7e                           // scrcode: ...
        .text "m"
        .byte $8d                                   // scrcode: .
        .text "v"
        .byte $d4,$60                               // scrcode: ..
        .text "egca@@@"
        .fill 16, $00                               // scrcode: @@@@@@@@@@@@@@@@
        .text "gnc@@@@(p"
        .byte $40                                   // scrcode: .
        .text "qqjeeecdeccbbfddfb!"
        .byte $41,$40                               // scrcode: ..
        .text "@@@@@@"
        .byte $c3,$45,$d3                           // scrcode: ...
        .text "pcq/s0@ll@@@+s0h"
        .byte $db,$7a                               // scrcode: ..
        .text "hji@"
        .byte $bd                                   // scrcode: .
        .text "@"
        .byte $70                                   // scrcode: .
        .text "b"
        .byte $40,$c0                               // scrcode: ..
        .text "@"
        .byte $c7                                   // scrcode: .
        .text "@"
        .byte $ea                                   // scrcode: .
        .text "@60bgde@"
        .text "@@@@@"
        .byte $b6                                   // scrcode: .
        .text "ovp"
        .byte $76                                   // scrcode: .
        .text "pabd"
        .byte $fe,$fd,$fb,$80,$ef,$ef,$80,$ef,$ef,$ff,$c0,$80 // scrcode: ............
        .text "&"
        .byte $81                                   // scrcode: .
        .text "9"
        .byte $c1                                   // scrcode: .
        .encoding "petscii_upper"

txt_0da3:
        .byte $40                                   // @ character
        .text ">"
        .byte $c0                                   // '@' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .byte $40                                   // scrcode: .
        .text "9"
        .byte $80                                   // scrcode: .
        .text "&"
        .byte $81                                   // scrcode: .
        .text "9"
        .byte $c1                                   // scrcode: .
        .encoding "petscii_upper"

txt_0dad:
        .byte $40                                   // @ character
        .text "E"
        .byte $40                                   // @ character
        .byte $c0                                   // '@' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .byte $80                                   // scrcode: .
        .text "&"
        .byte $81                                   // scrcode: .
        .text "9"
        .byte $c1                                   // scrcode: .
        .encoding "petscii_upper"

txt_0db6:
        .byte $40                                   // @ character
        .text ">"
        .byte $c0                                   // '@' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .byte $40                                   // scrcode: .
        .text "9"
        .byte $80                                   // scrcode: .
        .text "&"
        .byte $81                                   // scrcode: .
        .text "9"
        .byte $c1,$40                               // scrcode: ..
        .text ";<"
        .byte $ff,$c0,$82                           // scrcode: ...
        .text "u"
        .byte $c1                                   // scrcode: .
        .text "u"
        .byte $c0                                   // scrcode: .
        .text "u"
        .byte $c1,$83                               // scrcode: ..
        .text "-"
        .byte $82                                   // scrcode: .
        .text "p"
        .byte $c3                                   // scrcode: .
        .text "q"
        .byte $c1,$83                               // scrcode: ..
        .text "-"
        .byte $c0,$82                               // scrcode: ..
        .text "qqs"
        .byte $c1                                   // scrcode: .
        .text "s"
        .byte $c0                                   // scrcode: .
        .text "s"
        .byte $c1,$83                               // scrcode: ..
        .text "-"
        .byte $82                                   // scrcode: .
        .text "s"
        .byte $c3                                   // scrcode: .
        .text "u"
        .byte $c1,$83                               // scrcode: ..
        .text "-"
        .byte $82,$c0                               // scrcode: ..
        .text "ps"
        .byte $ff,$e1,$84,$c1                       // scrcode: ....
        .text "("
        .byte $c0                                   // scrcode: .
        .text "0"
        .byte $c1                                   // scrcode: .
        .text "0"
        .byte $c4                                   // scrcode: .
        .text "/"
        .byte $e5,$c1                               // scrcode: ..
        .text "-"
        .byte $c0                                   // scrcode: .
        .text "-"
        .byte $c1                                   // scrcode: .
        .text ")"
        .byte $c4                                   // scrcode: .
        .text "+"
        .byte $e7,$c0                               // scrcode: ..
        .text "0"
        .byte $c1                                   // scrcode: .
        .text "0/0/"
        .byte $e4                                   // scrcode: .
        .byte $c0                                   // scrcode: .
        .text "-"
        .byte $c1                                   // scrcode: .
        .encoding "petscii_upper"

txt_0e0c:
        .text "-)"
        .byte $c4                                   // 'D' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .text "+"
        .byte $e3,$ff,$85,$c7,$fd                   // scrcode: .....
        .text "f--"
        .byte $fd                                   // scrcode: .
        .text "g+"
        .byte $fd                                   // scrcode: .
        .text "f---"
        .byte $fd                                   // scrcode: .
        .text "g+"
        .byte $fd                                   // scrcode: .
        .text "f-"
        .byte $86,$fd                               // scrcode: ..
        .text "g577"
        .byte $fd                                   // scrcode: .
        .text "f9"
        .byte $fd                                   // scrcode: .
        .text "g577"
        .byte $fd                                   // scrcode: .
        .text "f9"
        .byte $ff,$c0,$82                           // scrcode: ...
        .text "n"
        .byte $c1                                   // scrcode: .
        .text "n"
        .byte $c0                                   // scrcode: .
        .text "n"
        .byte $c1,$83                               // scrcode: ..
        .text "-"
        .byte $82                                   // scrcode: .
        .text "n"
        .byte $c3                                   // scrcode: .
        .text "s"
        .byte $c1,$83                               // scrcode: ..
        .text "-"
        .byte $c0,$82                               // scrcode: ..
        .text "ss"
        .byte $c1,$82                               // scrcode: ..
        .text "pp"
        .byte $83                                   // scrcode: .
        .text "-"
        .byte $c0,$82,$c0                           // scrcode: ...
        .text "p"
        .byte $c1                                   // scrcode: .
        .text "u"
        .byte $c0                                   // scrcode: .
        .text "u"
        .byte $c1                                   // scrcode: .
        .text "u"
        .byte $83,$c1                               // scrcode: ..
        .text "-"
        .byte $82,$c0                               // scrcode: ..
        .text "su"
        .byte $ff,$84,$e3,$c0                       // scrcode: ....
        .text "4"
        .byte $c1                                   // scrcode: .
        .text "44004"
        .byte $e4                                   // scrcode: .
        .text "4"
        .byte $c0                                   // scrcode: .
        .text "2"
        .byte $c4                                   // scrcode: .
        .text "4"
        .byte $e3,$e2,$c0                           // scrcode: ...
        .encoding "petscii_upper"

txt_0e78:
        .text "(4"
        .byte $c1                                   // 'A' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .text "44004"
        .byte $e4                                   // scrcode: .
        .text "4"
        .byte $c1                                   // scrcode: .
        .text "2"
        .byte $c4                                   // scrcode: .
        .text "4"
        .byte $e2,$ff,$89,$c0,$45,$e0,$87,$fd       // scrcode: ........
        .text "f"
        .byte $c1                                   // scrcode: .
        .text "9"
        .byte $fd                                   // scrcode: .
        .text "g"
        .byte $c0                                   // scrcode: .
        .text "7"
        .byte $c1,$fd                               // scrcode: ..
        .text "f9"
        .byte $c4,$fd                               // scrcode: ..
        .text "g7"
        .byte $e3,$84,$c0                           // scrcode: ...
        .text "7"
        .byte $e2,$c1                               // scrcode: ..
        .text "4"
        .byte $c3                                   // scrcode: .
        .encoding "petscii_upper"

txt_0ea5:
        .text "0-"
        .byte $c1                                   // 'A' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .text "0"
        .byte $c0,$89,$45,$e0,$87,$fd               // scrcode: ......
        .text "f"
        .byte $c1                                   // scrcode: .
        .text "9"
        .byte $fd                                   // scrcode: .
        .text "g"
        .byte $c0                                   // scrcode: .
        .text "7"
        .byte $c1,$fd                               // scrcode: ..
        .text "f9"
        .byte $c4,$fd                               // scrcode: ..
        .text "g7"
        .byte $e3,$c1,$84                           // scrcode: ...
        .encoding "petscii_upper"

txt_0ec1:
        .text "774"
        .byte $c3                                   // 'C' | $80 (end-of-string marker)

txt_0ec5:
        .text "0-"
        .byte $c0                                   // '@' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .byte $89,$40,$e0,$ff,$c0,$82               // scrcode: ......
        .text "q"
        .byte $c1                                   // scrcode: .
        .text "q"
        .byte $c0                                   // scrcode: .
        .text "q"
        .byte $c1                                   // scrcode: .
        .encoding "petscii_upper"

loc_0ed4:
        .encoding "screencode_mixed"
        .byte $83                                   // scrcode: .
        .text "-"
        .byte $82                                   // scrcode: .
        .text "q"
        .byte $c3                                   // scrcode: .
        .text "s"
        .byte $c1,$83                               // scrcode: ..
        .text "-"
        .byte $c0,$82                               // scrcode: ..
        .text "ssp"
        .byte $c1                                   // scrcode: .
        .text "p"
        .byte $c0                                   // scrcode: .
        .text "p"
        .byte $c1,$83                               // scrcode: ..
        .text "-"
        .byte $82                                   // scrcode: .
        .text "p"
        .byte $c3                                   // scrcode: .
        .text "u"
        .byte $c1,$83                               // scrcode: ..
        .text "-"
        .byte $82,$c0                               // scrcode: ..
        .text "su"
        .byte $ff,$e1,$88,$c1                       // scrcode: ....
        .text "4"
        .byte $c0                                   // scrcode: .
        .text "4"
        .byte $c1                                   // scrcode: .
        .encoding "petscii_upper"

txt_0efc:
        .text "4400"
        .byte $c4                                   // 'D' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .text "4"
        .byte $c1                                   // scrcode: .
        .text "4"
        .byte $c0                                   // scrcode: .
        .text "4"
        .byte $c1                                   // scrcode: .
        .text "2"
        .byte $c8                                   // scrcode: .
        .text "4"
        .byte $ff,$85,$fd                           // scrcode: ...
        .text "g"
        .byte $c7                                   // scrcode: .
        .text ")++"
        .byte $fd                                   // scrcode: .
        .text "f-"
        .byte $fd                                   // scrcode: .
        .text "g)++"
        .byte $fd                                   // scrcode: .
        .text "f-"
        .byte $ff,$82,$c0                           // scrcode: ...
        .text "x"
        .byte $c1                                   // scrcode: .
        .text "x"
        .byte $c0                                   // scrcode: .
        .text "x"
        .byte $83,$c1                               // scrcode: ..
        .text "-"
        .byte $82                                   // scrcode: .
        .byte $c1                                   // scrcode: .
        .text "s"
        .byte $c3                                   // scrcode: .
        .text "x"
        .byte $c1,$83                               // scrcode: ..
        .text "-"
        .byte $82,$c0                               // scrcode: ..
        .text "xwu"
        .byte $c1                                   // scrcode: .
        .text "u"
        .byte $c0                                   // scrcode: .
        .text "u"
        .byte $83,$c1                               // scrcode: ..
        .text "-"
        .byte $c1,$82                               // scrcode: ..
        .text "p"
        .byte $c3                                   // scrcode: .
        .text "u"
        .byte $c1,$83                               // scrcode: ..
        .text "-"
        .byte $c0,$82                               // scrcode: ..
        .text "uw"
        .byte $ff,$82,$c0                           // scrcode: ...
        .text "q"
        .byte $c1                                   // scrcode: .
        .text "q"
        .byte $c0                                   // scrcode: .
        .text "q"
        .byte $83                                   // scrcode: .
        .byte $c1                                   // scrcode: .
        .text "-"
        .byte $82,$c1                               // scrcode: ..
        .text "p"
        .byte $c3                                   // scrcode: .
        .text "q"
        .byte $c1,$83                               // scrcode: ..
        .text "-"
        .byte $82,$c0                               // scrcode: ..
        .text "qqs"
        .byte $c1                                   // scrcode: .
        .text "s"
        .byte $c0                                   // scrcode: .
        .text "s"
        .byte $83,$c1                               // scrcode: ..
        .text "-"
        .byte $c1,$82                               // scrcode: ..
        .text "n"
        .byte $c3                                   // scrcode: .
        .text "s"
        .byte $c1,$83                               // scrcode: ..
        .text "-"
        .byte $c0,$82                               // scrcode: ..
        .text "su"
        .byte $ff,$cf,$85,$fd                       // scrcode: ....
        .text "i7"
        .byte $fd                                   // scrcode: .
        .text "j4"
        .byte $fd                                   // scrcode: .
        .text "i7"
        .byte $fd                                   // scrcode: .
        .text "j4"
        .byte $fd                                   // scrcode: .
        .text "g5757"
        .byte $ff,$e1,$c1,$8a                       // scrcode: ....
        .encoding "petscii_upper"

txt_0f8c:
        .text "4679;<>"
        .byte $40                                   // @ character
        .text "BCEGHJL679;<>"
        .byte $40                                   // @ character
        .text "BCEGHJLNO"
        .byte $ff,$c3                               // scrcode: ..

txt_0fad:
        .text "HEAL"
        .byte $cb                                   // 'K' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .byte $4a,$c3,$47,$ff,$c0                   // scrcode: .....
        .text "aadaaaajdaaaam"
        .byte $ff                                   // scrcode: .
        .encoding "petscii_upper"

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

// --- Region $1005-$1030 ---
.pc = $1005 "sub_1005"
// Referenced by: jsr from $1208

sub_1005:
        .fill 17, $00
        .byte $c0,$02,$02,$02,$02,$05,$05,$08,$08,$08,$08,$05,$05,$02,$02,$05 // ................
        .byte $05,$08,$08,$08,$08,$0b,$0b,$0c,$0c,$ff // ..........

dat_1030:
        // === Fill data (1 bytes, $1030-$1030) ===
        .byte $00                                   // .

// --- Region $1076-$1086 ---
.pc = $1076 "dat_1076"

dat_1076:
        .byte $c0,$00,$03,$06,$07,$07,$09,$09,$03,$06,$07,$07,$0e,$0f,$0f,$ff // ................

dat_1086:
        // === Fill data (1 bytes, $1086-$1086) ===
        .byte $00                                   // .

// --- Region $10d6-$1146 ---
.pc = $10d6 "dat_10d6"

dat_10d6:
        .byte $0d,$ff,$ff,$00,$00,$00,$00,$00,$0b,$0b,$0c,$0c,$00,$00,$00,$00 // ................
        .byte $0e,$0f,$0f,$ff,$00,$00,$00,$00,$04,$66,$00,$00,$00,$00,$00,$00 // .........f......
        .byte $00,$39,$07,$01,$04,$20,$01,$01,$09,$36,$29,$02,$04,$61,$03,$00 // .9... ...6)..a..
        .byte $03,$a9,$00,$00,$03,$02,$02,$00,$04,$59,$27,$03,$05,$80,$04,$01 // .........Y'.....
        .byte $00,$39,$00,$00,$06,$00,$05,$00,$00,$39,$00,$04,$06,$00,$06,$00 // .9.......9......
        .byte $06,$39,$27,$04,$05,$80,$09,$81,$01,$49,$07,$05,$05,$10,$07,$01 // .9'......I......
        .byte $01,$68,$03,$06,$08,$20,$08,$05,$00,$39,$37,$00,$01,$a0,$0a,$01 // .h... ...97.....

dat_1146:
        // === Fill data (1 bytes, $1146-$1146) ===
        .byte $00                                   // .

// --- Region $116f-$1200 ---
.pc = $116f "dat_116f"

dat_116f:
        .byte $81,$41,$40,$fe,$00,$81,$41,$40,$fe,$03,$81,$11,$80,$80,$ff,$00 // .A@...A@........
        .byte $81,$41,$41,$fe,$00,$21,$21,$41,$fe,$01,$81 // .AA..!!A...

txt_118a:
        .text "!!!!!!"
        .byte $ff,$04,$81,$11,$11
        .text "AAAA"
        .byte $81
        .byte $41,$41,$ff,$00
        .byte $41,$41
        .byte $41,$40,$fe,$00,$11,$21,$41,$40,$fe,$01,$81 // A@...!A@...

txt_11ab:
        .text "AAAAAA"
        .byte $ff,$00,$21,$21,$21,$11,$fe,$00,$d5,$9d,$94,$93,$92,$fe,$00,$00 // ..!!!...........
        .byte $fe,$00,$d5,$00,$fe,$03,$d5,$b3,$bf,$dd,$ff,$00,$d1,$00,$fe,$01 // ................
        .byte $00,$fe,$01,$ca,$03,$07,$03,$0c,$07,$0c,$ff,$01,$ca,$04,$07,$04 // ................
        .byte $0c,$07,$0c,$ff,$00,$0d,$0c,$00,$fe,$01,$00,$04,$05,$09,$ff,$01 // ................
        .byte $02,$05,$0a,$ff,$00,$08,$fe,$02,$88,$70,$04,$f0,$04,$ff,$04,$8b // .........p......

// --- Region $1211-$122e ---
.pc = $1211 "Segment $1211"
        .byte $48,$08,$08,$28,$fe,$02,$fa,$40,$02,$c0,$02,$ff,$00,$ff,$40,$08 // H..(...@......@.
        .byte $fe,$00,$00,$fe,$00,$d0,$30,$ea,$07,$fe,$00,$ff,$30,$fe // ......0.....0.

// --- Region $125c-$129f ---
.pc = $125c "dat_125c"

dat_125c:
        .byte $02,$06,$b6,$0f,$16,$10,$76,$10,$02,$06,$d6,$10,$de,$10,$e6,$10 // ......v.........
        .byte $78,$a9,$01,$8d,$ea,$ea,$ea,$ea,$ea,$ea,$ea,$ea,$ea,$ea,$ea,$ea // x...............
        .byte $ea,$ea,$ea,$ea                       // ....

txt_1280:
        .text "'DOMINO DANCING' ("
        .byte $03                                   // .

txt_1293:
        .text ") JOZZ / MON!"

// --- Region $12f2-$12f2 ---
.pc = $12f2 "dat_12f2"

dat_12f2:
        // === Fill data (1 bytes, $12f2-$12f2) ===
        .byte $00                                   // .

// --- Region $141f-$1606 ---
.pc = $141f "dat_141f"

dat_141f:
        .byte $96,$9d,$c4,$ed,$12,$38,$65,$88,$cc,$f5,$0b,$1e,$49,$74,$89,$ac // .....8e.....It..

dat_142f:
        // === Fill data (32 bytes, $142f-$144e) ===
        .fill 32, $b6
        .byte $0d,$0d,$0d,$0d,$0e,$0e,$0e,$0e,$0e,$0e // ..........

dat_1459:
        // === Fill data (38 bytes, $1459-$147e) ===
        .fill 38, $0f
        .byte $6e,$73,$78,$7e,$83,$88,$91,$9d,$a3,$a9,$b2,$b8,$b8,$b8,$b8,$b8 // nsx~............
        .fill 16, $11
        .byte $b8,$bf,$c2,$c6,$cc,$d0,$d3,$dc,$e5,$ea,$f0,$f5,$f5,$f5,$f5,$f5 // ................
        .fill 16, $11
        .byte $f5,$f8,$ff,$06,$0f,$16,$1d           // .......

txt_14c6:
        .byte $22                                   // double quote character
        .byte $22                                   // double quote character
        .byte $22                                   // double quote character
        .byte $22                                   // double quote character
        .byte $22                                   // double quote character
        .byte $22                                   // double quote character
        .byte $22                                   // double quote character
        .byte $22                                   // double quote character
        .byte $22                                   // double quote character
        .byte $11,$11,$11,$12,$12,$12,$12,$12,$12,$12,$12,$12,$12,$12,$12,$12 // ................

tbl_lo_14df:
        .byte $22                                   // double quote character
        .text "%+/////////////"

tbl_hi_14ef:
        .byte $12,$12,$12,$12,$12,$12,$12,$12,$12,$12,$12,$12,$12,$12,$12,$12 // RTS dispatch table high bytes (addr-1)
        .byte $1c,$ff,$3e,$51,$66,$7b,$91,$a9,$c3,$dd,$fa,$18,$38,$5a,$7d,$a3 // ..>Qf{......8Z}.
        .byte $cc,$f6,$23,$53,$86,$bb,$f4,$30,$70,$b4,$fb,$47,$98,$ed,$47,$a7 // ..#S...0p..G..G.
        .byte $0c,$77,$e9,$61,$e1,$68,$f7,$8f,$30,$da,$8f,$4e,$18,$ef,$d2,$c3 // .w.a.h..0..N....
        .byte $c3,$d1,$ef,$1f,$60,$b5,$1e,$9c,$31,$df,$a5,$87,$86,$a2,$df,$3e // ....`...1......>
        .byte $c1,$6b,$3c,$39,$63,$be,$4b,$0f,$0c,$45,$bf,$7d,$83,$d6,$79,$73 // .k<9c.K..E.}..ys
        .byte $c7,$7c,$97,$1e,$18,$8b,$7e,$fa,$06,$ac,$f3,$e6,$8f,$f8,$2e,$01 // .|....~.........
        .fill 10, $01
        .byte $02,$02,$02,$02,$02,$02,$02,$03,$03,$03,$03,$03,$04,$04,$04,$04 // ................
        .byte $05,$05,$05,$06,$06,$07,$07,$07,$08,$08,$09,$09,$0a,$0b,$0b,$0c // ................
        .byte $0d,$0e,$0e,$0f,$10,$11,$12,$13,$15,$16,$17,$19,$1a,$1c,$1d,$1f // ................

txt_1599:
        .text "!#%'*,/258;?CGKOTY"
        .byte $5e,$64,$6a,$70,$77,$7e,$86,$8e,$96,$9f,$a8,$b3,$bd,$c8,$d4,$e1 // ^djpw~..........
        .byte $ee,$fd,$05,$05,$05,$06,$06,$07,$07,$07,$08,$08,$09,$09,$0a,$0b // ................
        .byte $0b,$0c,$0d,$0e,$0e,$0f,$10,$11,$12,$13,$15,$16,$17,$19,$1a,$1c // ................
        .byte $1d,$1f                               // ..

txt_15dd:
        .text "!#%'*,/258;?CGKOTY"
        .byte $5e,$64,$6a,$70,$77,$7e,$86,$8e,$96,$9f,$a8,$b3,$bd,$c8,$d4,$e1 // ^djpw~..........
        .byte $ee,$fd,$24,$ff,$00,$ff,$00,$fe       // ..$.....

// --- Region $1636-$16ff ---
.pc = $1636 "Segment $1636"
        .byte $00,$00,$00,$00,$a0,$fa,$8c,$fa,$19,$a0,$24,$8c,$fb,$19,$a0,$20 // ..........$.... 
        .byte $8c,$f9,$19,$a5,$15,$4c,$6f,$37,$00,$00,$00,$00,$00,$00,$00,$00 // .....Lo7........
        .byte $00,$00                               // ..

txt_1658:
        .text "        "

txt_1660:
        .encoding "screencode_mixed"
        .text "legend - the will of god"
        .encoding "petscii_upper"

txt_1678:
        .text "        "
        .byte $78,$20,$15,$fd,$20,$81,$ff,$a2,$1f,$bd,$b9,$ec,$9d,$00,$d0,$ca // x .. ...........
        .byte $10,$f7,$8d,$20,$d0,$8d,$21,$d0,$20,$a3,$fd,$58,$a9,$00,$ea,$ea // ... ..!. ..X....
        .byte $ea,$aa,$78,$a9,$1b,$8d,$11,$d0,$bd,$b6,$16,$9d,$34,$03,$e8,$e0 // ..x.........4...
        .byte $40,$d0,$f5,$4c,$ef,$16,$a9,$34,$85,$01,$a2,$00,$bd,$00,$3e,$9d // @..L...4......>.
        .byte $01,$08,$e8,$d0,$f7,$ee,$3c,$03,$ee,$3f,$03,$ac,$3c,$03,$c0,$ff // ......<..?..<...
        .byte $d0,$ea,$a9,$37,$85,$01,$a9,$00,$8d,$00,$08,$a9,$00,$85,$c6,$58 // ...7...........X
        .byte $85,$c6,$8d,$00,$08,$a9,$37,$85,$01,$4c,$33,$0e,$4c,$33,$0e,$a2 // ......7..L3.L3..
        .byte $00,$bd,$58,$16,$9d,$00,$04,$e8,$e0,$28,$d0,$f5,$4c,$b1,$2f,$00 // ..X......(..L./.

// --- Region $188b-$18b2 ---
.pc = $188b "dat_188b"

dat_188b:
        .byte $a5,$05,$d0,$0d,$a5,$06,$d0,$09,$a5,$07,$d0,$05,$a9,$60,$8d,$c3 // .............`..
        .byte $1a,$ad,$f8,$07,$c9,$db,$d0,$05,$a9,$60,$8d,$21,$1c,$ad,$51,$19 // .........`.!..Q.
        .byte $d0,$05,$a9,$60,$8d,$92,$1c,$20       // ...`... 

// --- Region $1a56-$1a63 ---
.pc = $1a56 "dat_1a56"

dat_1a56:
        .byte $00,$0b,$0c,$0f,$07,$01,$ff,$01,$07,$0f,$0c,$0b,$00,$ff // ..............

// --- Region $1afe-$1c20 ---
.pc = $1afe "Segment $1afe"
        .byte $00,$00,$05,$05,$10,$10,$05,$05,$00,$00,$05,$05,$10,$10,$05,$05 // ................
        .byte $00,$00,$05,$05,$10,$10,$05,$05,$00,$00,$05,$05,$10,$10,$05,$05 // ................
        .byte $00,$00,$05,$05,$10,$10,$05,$05,$00,$00,$05,$05,$10,$10,$05,$05 // ................
        .byte $00,$00,$05,$05,$10,$10,$05,$05,$00,$00,$05,$05,$10,$10,$05,$05 // ................
        .fill 8, $00
        .byte $02,$02,$00,$00,$00,$00,$00,$00,$09,$09,$00,$00,$00,$00,$00,$00 // ................
        .byte $06,$06,$00,$00,$00,$00,$00,$00,$0b,$0b,$00,$00,$00,$00,$00,$00 // ................
        .byte $09,$09,$00,$00,$00,$00,$00,$00,$09,$09,$00,$00,$00,$00,$00,$00 // ................
        .fill 15, $00
        .byte $02,$0a,$0a,$02,$00,$00,$00,$00,$09,$08,$08,$09,$00,$00,$00,$00 // ................
        .byte $06,$0e,$0e,$06,$00,$00,$00,$00,$0b,$0c,$0c,$0b,$00,$00,$00,$00 // ................
        .byte $09,$08,$08,$09,$00,$00,$00,$00,$09,$05,$05,$09,$00,$00,$00,$00 // ................
        .fill 15, $00
        .byte $02,$0a,$0f,$0f,$0a,$02,$00,$00,$09,$08,$0f,$0f,$08,$09,$00,$00 // ................
        .byte $06,$0e,$0f,$0f,$0e,$06,$00,$00,$0b,$0c,$0f,$0f,$0c,$0b,$00,$00 // ................
        .byte $09,$08,$0f,$0f,$08,$09,$00,$00,$09,$05,$0d,$0d,$05,$09,$00,$00 // ................
        .fill 12, $00
        .byte $d0,$d1,$d2,$d3,$d4,$d5,$d6,$d7,$d8,$d9,$da,$db,$db,$da,$d9,$d8 // ................
        .byte $d7,$d6,$d5,$d4,$d3,$d2,$d1,$d0,$ff,$18,$48,$78,$a8,$d8,$08,$38 // ..........Hx...8
        .byte $68                                   // h

// --- Region $1ca0-$1cc9 ---
.pc = $1ca0 "txt_1ca0"

txt_1ca0:
        .text "U7"
        .byte $c9                                   // 'I' | $80 (end-of-string marker)
        .byte $ff,$f0,$1e,$48,$29,$07,$49,$c7,$85,$0c,$68 // ...H).I...h

txt_1cae:
        .text "JJJ"
        .byte $a8                                   // '(' | $80 (end-of-string marker)
        .byte $a2,$00,$b9,$40,$24,$9d,$08,$06,$c8,$e8,$e0,$28,$d0,$f4,$ee,$a0 // ...@$......(....
        .byte $1c,$60,$a9,$00,$8d,$a0,$1c,$60       // .`.....`

// --- Region $1ccb-$1d05 ---
.pc = $1ccb "dat_1ccb"

dat_1ccb:
        .byte $0d,$38,$e9,$04,$85,$0d,$30,$01,$60,$18,$69,$08,$85,$0d,$a2,$00 // .8....0.`.i.....
        .byte $bd,$81,$06,$9d,$80,$06,$e8,$e0,$4f,$d0,$f5,$ad,$00,$38,$f0,$1b // ........O....8..
        .byte $8d,$a7,$06,$18,$69,$40,$8d,$cf,$06,$ad,$e7,$1c,$18,$69,$01,$8d // ....i@.......i..
        .byte $e7,$1c,$ad,$e8,$1c,$69,$00,$8d,$e8,$1c,$60 // .....i....`

// --- Region $1dfe-$20ec ---
.pc = $1dfe "Segment $1dfe"
        .byte $86,$37,$01,$02,$03,$03,$04,$05,$00,$00,$06,$07,$08,$08,$09,$0a // .7..............
        .byte $00,$0b,$08,$08,$0c,$0d,$0e,$0f,$10,$11,$12,$03,$13,$14,$15,$16 // ................
        .byte $17,$18,$19,$1a,$1b,$08,$1c,$1d,$1e,$00,$00,$1f,$20,$21,$22,$00 // ............ !".
        .byte $00,$00                               // ..

txt_1e30:
        .text "#$%&'()*+,-./012345/6789:;<=>?"
        .byte $40                                   // @ character
        .text "A"
        .byte $00                                   // string terminator

txt_1e51:
        .text "(BCD"
        .byte $00                                   // string terminator
        .byte $00,$00                               // ..

txt_1e58:
        .text "/EFGHIJKLMNOPQRSNTU/VWXYZ;"
        .byte $5b,$5c,$5d,$5e,$5f,$60,$00,$28,$61,$62,$44,$00,$00,$00,$2f,$63 // [\]^_`.(abD.../c
        .byte $64,$65,$66,$67,$68,$69,$6a,$6b,$18,$66,$6c,$6d,$6e,$6f,$03,$19 // defghijk.flmno..
        .byte $70,$2f,$71,$72,$73,$74,$00,$3b,$75,$76,$44,$77,$00,$78,$00,$28 // p/qrst.;uvDw.x.(
        .byte $79,$7a,$44,$00,$00,$00,$2f,$7b,$7c,$7d,$7e,$6d,$35,$7f,$80,$4a // yzD.../{|}~m5..J
        .byte $81,$82,$2f,$83,$84,$85,$86,$87,$44,$2f,$00,$35,$88,$89,$8a,$3b // ../.....D/.5...;
        .text "D(D5"
        .byte $00
        .byte $35,$00
        .byte $28,$8b,$8c
        .byte $44,$00,$00,$8d
        .byte $2f,$8e
        .byte $8f,$90,$91,$92,$93,$94,$95,$96,$97,$98,$2f,$99,$9a,$9b,$9c,$9d // ........../.....
        .byte $9e,$2f,$9f,$a0,$1f,$a1,$a2,$3b,$a3,$a4,$44,$a5,$a6,$a7,$00,$28 // ./.....;..D....(
        .byte $a8,$a9,$aa,$ab,$ac,$ad,$2f,$ae,$af,$b0,$b1,$b2,$4a,$94,$b3,$b4 // ....../.....J...
        .byte $b5,$ae,$2f,$b6,$ae,$b7,$ab,$b8,$b9,$2f,$ae,$ba,$28,$a8,$bb,$3b // ../....../..(..;
        .byte $a8,$bc,$bd,$be,$bf,$c0,$00,$c1,$c2,$c3,$c4,$c4,$c5,$c6,$c7,$c8 // ................
        .byte $c4,$c4,$c4,$c9,$ca,$cb,$cc,$c4,$c4,$cd,$2f,$ce,$cf,$c4,$c4,$c5 // ........../.....
        .byte $c6,$2f,$d0,$d1,$28,$d2,$d3,$3b,$d4,$c4,$c5,$d5,$d6,$d7,$60,$60 // ./..(..;......``
        .fill 11, $60
        .byte $6d,$6d,$7e,$60                       // mm~`

txt_1f51:
        .text "LEGEND"
        .byte $60,$7c,$6d,$6d,$60,$60,$60,$60,$60,$60,$60,$60,$60,$60,$60,$60 // `|mm````````````
        .fill 11, $60
        .byte $62,$60
        .byte $54,$48,$45,$60
        .text "WILL"
        .byte $60
        .byte $4f,$46,$60
        .byte $47,$4f
        .byte $44,$61,$60,$62,$60,$60,$60,$60,$60,$60,$60,$60,$60,$60 // Da`b``````````

txt_1f90:
        .text "            "
        .byte $10,$12,$0f,$15,$04,$0c,$19,$20,$10,$12,$05,$13,$05,$0e,$14,$13 // ....... ........

txt_1fac:
        .text "                    "

txt_1fc0:
        .encoding "screencode_mixed"
        .text "legend - the will of god"
        .encoding "petscii_upper"

txt_1fd8:
        .text "        "
        .byte $0b,$0c,$0f,$07,$01,$07,$0f,$0c,$0b,$00,$0b,$0c,$0f,$07,$01,$07 // ................
        .byte $0f,$0c,$0b,$00,$0b,$0c,$0f,$ff,$00,$00,$00,$00,$00,$00,$00,$00 // ................

spr_2000:
        // === Charset data (237 bytes, $2000-$20ec) ===
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 0 @+0
        .byte $00,$3c,$66,$7e,$66,$66,$06,$00       // char 1 @+1
        .byte $00,$7c,$66,$7c,$66,$7c,$00,$00       // char 2 @+2
        .byte $00,$3e,$60,$60,$60,$3e,$00,$00       // char 3 @+3
        .byte $00,$7c,$66,$66,$66,$7c,$00,$00       // char 4 @+4
        .byte $00,$3e,$60,$6c,$60,$3e,$00,$00       // char 5 @+5
        .byte $00,$3e,$60,$6c,$60,$60,$00,$00       // char 6 @+6
        .byte $00,$3e,$60,$66,$66,$3e,$00,$00       // char 7 @+7
        .byte $00,$66,$66,$7e,$66,$66,$06,$00       // char 8 @+8
        .byte $00,$3c,$18,$18,$18,$3c,$00,$00       // char 9 @+9
        .byte $00,$7e,$06,$06,$46,$3c,$00,$00       // char 10 @+10
        .byte $00,$66,$66,$7c,$66,$66,$00,$00       // char 11 @+11
        .byte $00,$60,$60,$60,$60,$3e,$00,$00       // char 12 @+12
        .byte $00,$c6,$ee,$fe,$d6,$c6,$06,$00       // char 13 @+13
        .byte $00,$66,$76,$7e,$6e,$66,$06,$00       // char 14 @+14
        .byte $00,$3c,$66,$66,$66,$3c,$00,$00       // char 15 @+15
        .byte $00,$7c,$66,$7c,$60,$60,$00,$00       // char 16 @+16
        .byte $00,$3c,$66,$66,$6c,$36,$00,$00       // char 17 @+17
        .byte $00,$7c,$66,$7c,$66,$66,$06,$00       // char 18 @+18
        .byte $00,$3e,$60,$3c,$06,$7c,$00,$00       // char 19 @+19
        .byte $00,$7c,$06,$06,$06,$06,$06,$00       // char 20 @+20
        .byte $00,$66,$66,$66,$66,$3c,$00,$00       // char 21 @+21
        .byte $00,$66,$66,$66,$3c,$18,$00,$00       // char 22 @+22
        .byte $00,$c6,$d6,$fe,$ee,$c6,$00,$00       // char 23 @+23
        .byte $00,$66,$66,$3c,$66,$66,$06,$00       // char 24 @+24
        .byte $00,$66,$66,$3e,$06,$7c,$00,$00       // char 25 @+25
        .byte $00,$7e,$0c,$18,$30,$7e,$00,$00       // char 26 @+26
        .byte $00,$00,$00,$3c,$00,$00,$00,$00       // char 27 @+27
        .byte $00,$00,$00,$ff,$ff,$00,$00,$00       // char 28 @+28
        .byte $00,$00,$ff,$ff,$ff                   // char 29 (partial)

// --- Region $2109-$238c ---
.pc = $2109 "dat_2109"

dat_2109:
        .byte $18,$18,$18,$00,$18,$00,$00           // char 33 (partial)
        .byte $00,$66,$66,$00,$00,$00,$00,$00       // char 34 '"'
        .byte $00,$24,$7e,$24,$7e,$24,$00,$00       // char 35 '#'
        .byte $00,$3e,$68,$3c,$16,$7c,$00,$00       // char 36 '$'
        .byte $00,$66,$6c,$18,$36,$66,$00,$00       // char 37 '%'
        .byte $00,$38,$6c,$38,$6e,$3c,$00,$00       // char 38 '&'
        .byte $00,$18,$18,$00,$00,$00,$00,$00       // char 39 '''
        .byte $00,$1c,$30,$30,$30,$1c,$00,$00       // char 40 '('
        .byte $00,$38,$0c,$0c,$0c,$38,$00,$00       // char 41 ')'
        .byte $00,$66,$18,$7e,$18,$66,$00,$00       // char 42 '*'
        .byte $00,$00,$18,$3c,$18,$00,$00,$00       // char 43 '+'
        .byte $00,$00,$00,$00,$00,$18,$30,$00       // char 44 ','
        .byte $00,$00,$00,$3c,$00,$00,$00,$00       // char 45 '-'
        .byte $00,$00,$00,$00,$18,$18,$00,$00       // char 46 '.'
        .byte $00,$03,$06,$0c,$18,$30,$00,$00       // char 47 '/'
        .byte $00,$3c,$66,$66,$66,$3c,$00,$00       // char 48 '0'
        .byte $00,$08,$18,$38,$18,$3c,$00,$00       // char 49 '1'
        .byte $00,$3c,$66,$0c,$38,$7e,$00,$00       // char 50 '2'
        .byte $00,$7e,$06,$0c,$66,$3c,$00,$00       // char 51 '3'
        .byte $00,$60,$6c,$3e,$0c,$0c,$0c,$00       // char 52 '4'
        .byte $00,$7e,$60,$7c,$06,$7c,$00,$00       // char 53 '5'
        .byte $00,$3e,$60,$7c,$66,$3c,$00,$00       // char 54 '6'
        .byte $00,$7e,$0c,$18,$18,$18,$18,$00       // char 55 '7'
        .byte $00,$3c,$66,$3c,$66,$3c,$00,$00       // char 56 '8'
        .byte $00,$3c,$66,$3e,$06,$7c,$00,$00       // char 57 '9'
        .byte $00,$00,$18,$00,$18,$00,$00,$00       // char 58 ':'
        .byte $00,$00,$18,$00,$00,$18,$30,$00       // char 59 ';'
        .byte $00,$0c,$18,$30,$18,$0c,$00,$00       // char 60 '<'
        .byte $00,$00,$3c,$00,$3c,$00,$00,$00       // char 61 '='
        .byte $00,$30,$18,$0c,$18,$30,$00,$00       // char 62 '>'
        .byte $00,$7c,$06,$1c,$00,$18,$00,$00       // char 63 '?'
        .byte $7c,$82,$ba,$a2,$ba,$82,$7c,$00       // char 64 '@'
        .byte $30,$18,$18,$6c,$6c,$c6,$fe,$00       // char 65 'A'
        .byte $fc,$06,$06,$fc,$06,$06,$fc,$00       // char 66 'B'
        .byte $3e,$60,$c0,$c0,$c0,$60,$3e,$00       // char 67 'C'
        .byte $f8,$0c,$06,$c6,$c6,$cc,$f8,$00       // char 68 'D'
        .byte $fe,$00,$00,$f8,$c0,$c0,$fe,$00       // char 69 'E'
        .byte $fe,$00,$00,$fe,$c0,$c0,$c0,$00       // char 70 'F'
        .byte $3e,$60,$c0,$c6,$c0,$66,$3c,$00       // char 71 'G'
        .byte $c6,$c6,$c0,$f6,$c6,$c6,$c6,$00       // char 72 'H'
        .byte $18,$18,$18,$18,$18,$18,$18,$00       // char 73 'I'
        .byte $0c,$00,$00,$0c,$0c,$0c,$78,$00       // char 74 'J'
        .byte $c6,$cc,$d8,$d0,$d8,$cc,$c6,$00       // char 75 'K'
        .byte $c0,$c0,$c0,$c0,$c0,$c0,$fe,$00       // char 76 'L'
        .byte $fe,$c3,$db,$db,$db,$db,$db,$00       // char 77 'M'
        .byte $fc,$c6,$c6,$c6,$c6,$c6,$c6,$00       // char 78 'N'
        .byte $38,$6c,$c6,$c6,$c6,$6c,$38,$00       // char 79 'O'
        .byte $fc,$06,$06,$fc,$c0,$c0,$c0,$00       // char 80 'P'
        .byte $38,$6c,$c6,$c6,$c6,$6c,$30,$18       // char 81 'Q'
        .byte $fc,$06,$06,$fc,$0c,$06,$06,$00       // char 82 'R'
        .byte $c0,$c0,$70,$1c,$06,$06,$fc,$00       // char 83 'S'
        .byte $fe,$00,$00,$c0,$c0,$c0,$78,$00       // char 84 'T'
        .byte $c6,$c6,$c6,$c6,$c6,$c6,$7e,$00       // char 85 'U'
        .byte $c6,$c6,$6c,$6c,$6c,$38,$38,$00       // char 86 'V'
        .byte $c3,$db,$db,$6e,$6e,$36,$36,$00       // char 87 'W'
        .byte $c6,$6c,$38,$38,$38,$6c,$c6,$00       // char 88 'X'
        .byte $c6,$c6,$c6,$7c,$00,$38,$38,$00       // char 89 'Y'
        .byte $fe,$00,$00,$18,$30,$60,$fe,$00       // char 90 'Z'
        .byte $7c,$60,$60,$60,$60,$60,$7c,$00       // char 91 '['
        .byte $1e,$12,$20,$7c,$20,$c0,$fe,$00       // char 92 '\'
        .byte $3e,$06,$06,$06,$06,$06,$3e,$00       // char 93 ']'
        .byte $18,$18,$0c,$2c,$66,$66,$ff,$ff       // char 94 '^'
        .byte $ff,$ff,$00,$ff,$ff,$c0,$c0,$c0       // char 95 '_'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 96 '`'

txt_2308:
        .byte $38,$38,$38,$38,$00,$00,$38,$00       // char 97 'a'
        .byte $ee,$ee,$ee,$00,$00,$00,$00,$00       // char 98 'b'
        .byte $66,$ff,$ff,$66,$ff,$ff,$66,$00       // char 99 'c'
        .byte $7e,$a8,$a8,$7c,$2a,$2a,$fc,$00       // char 100 'd'
        .byte $e2,$e6,$0c,$18,$30,$6e,$ce,$00       // char 101 'e'
        .byte $3c,$66,$3c,$38,$67,$66,$3f,$00       // char 102 'f'
        .byte $0e,$1c,$38,$00,$00,$00,$00,$00       // char 103 'g'
        .byte $1c,$38,$70,$70,$70,$38,$1c,$00       // char 104 'h'
        .byte $38,$1c,$0e,$0e,$0e,$1c,$38,$00       // char 105 'i'
        .byte $c0,$c0,$c0,$c0,$c0,$c0,$ff,$ff       // char 106 'j'
        .byte $00,$38,$38,$fe,$38,$38,$00,$00       // char 107 'k'
        .byte $00,$00,$00,$00,$00,$38,$38,$70       // char 108 'l'
        .byte $00,$00,$00,$7e,$7e,$00,$00,$00       // char 109 'm'
        .byte $00,$00,$00,$00,$00,$38,$38,$00       // char 110 'n'
        .byte $03,$07,$0e,$1c,$38,$70,$e0,$00       // char 111 'o'
        .byte $38,$6c,$c6,$c6,$c6,$6c,$38,$00       // char 112 'p'
        .byte $18,$38,$78,$18,$18                   // char 113 (partial)

// --- Region $2390-$24c5 ---
.pc = $2390 "chr_2390"

chr_2390:
        // === Charset data (310 bytes, $2390-$24c5) ===
        .byte $fc,$06,$06,$7c,$c0,$00,$fe,$00       // char 0 @+0
        .byte $fe,$00,$00,$7c,$06,$06,$fc,$00       // char 1 @+1
        .byte $18,$30,$60,$c0,$fe,$00,$1c,$00       // char 2 @+2
        .byte $fe,$00,$00,$fc,$06,$06,$fc,$00       // char 3 @+3
        .byte $18,$30,$60,$cc,$c6,$c6,$7c,$00       // char 4 @+4
        .byte $fe,$00,$00,$18,$18,$30,$30,$00       // char 5 @+5
        .byte $7c,$c6,$c6,$6c,$c6,$c6,$7c,$00       // char 6 @+6
        .byte $7c,$c6,$c6,$6c,$0c,$18,$30,$00       // char 7 @+7
        .byte $00,$38,$38,$00,$38,$38,$00,$00       // char 8 @+8
        .byte $00,$00,$38,$38,$00,$38,$38,$70       // char 9 @+9
        .byte $1e,$38,$70,$e0,$70,$38,$1e,$00       // char 10 @+10
        .byte $00,$7e,$7e,$00,$7e,$7e,$00,$00       // char 11 @+11
        .byte $f0,$38,$1c,$0e,$1c,$38,$f0,$00       // char 12 @+12
        .byte $7c,$06,$06,$1c,$30,$00,$30,$00       // char 13 @+13
        .byte $09,$0b,$08,$0c,$0f,$07               // char 14 (partial)

dat_2406:
        // === Fill data (40 bytes, $2406-$242d) ===
        .fill 40, $01
        .byte $ff                                   // char 19 (partial)

loc_242f:
        .byte $a9                                   // char 19 (partial)
        .byte $00,$8d,$a0,$24,$ea,$ea,$ea,$ad       // char 20 @+20

txt_2438:
        .byte $32,$24,$c9,$c0,$4c,$f4,$24,$00       // char 21 @+21
        .byte $60,$60,$60,$60,$60,$60,$60,$60       // char 22 @+22
        .byte $60,$60,$60,$60,$60                   // char 23 (partial)

txt_244d:
        .byte $20,$20,$20                           // char 23 (partial)
        .byte $20,$20,$20,$20,$20,$43,$41,$4c       // char 24 @+24
        .byte $49,$46,$4f,$52,$4e,$49,$41,$20       // char 25 @+25
        .byte $44,$52,$49,$56,$45,$52,$20,$2b       // char 26 @+26
        .byte $2b,$31,$30,$31,$25,$20,$20,$20       // char 27 @+27
        .byte $60,$60,$60,$60,$60,$60,$60,$60       // char 28 @+28
        .byte $60,$60,$60,$60,$60,$60,$60,$20       // char 29 @+29
        .byte $60,$60,$60,$0c,$08,$08,$08,$08       // char 30 @+30
        .byte $08,$08,$01,$08,$08,$08,$08,$08       // char 31 @+31
        .byte $08,$08,$01,$08,$08,$08,$08,$08       // char 32 ' '
        .byte $08,$08                               // char 33 (partial)

tbl_249a:
        // === VIC register table (44 bytes, $249a-$24c5) ===
        .byte $00,$00,$00,$00,$00,$00,$06,$04,$0e,$05,$03,$0d,$07,$01,$01,$07 // ................
        .byte $0d,$03,$0a,$08,$02,$09,$06,$04,$0e,$03,$0d,$07,$01,$07,$0d,$03 // ................
        .byte $0e,$04,$06,$00,$00,$00,$00,$00,$00,$00,$00,$ff // ............

// --- Region $24f5-$2520 ---
.pc = $24f5 "Segment $24f5"
        .byte $04,$ee,$32,$24,$60,$a5,$15           // char 0 (partial)
        .byte $4c,$3a,$16,$00,$0a,$08,$08,$08       // char 1 @+1
        .byte $08,$08,$08,$01,$08,$08,$08,$08       // char 2 @+2
        .byte $08,$08,$08,$01,$08,$08,$08,$08       // char 3 @+3
        .byte $08,$08,$08,$01,$08,$08,$08,$08       // char 4 @+4
        .byte $08,$08,$08,$01                       // char 5 (partial)

dat_2520:
        // === Fill data (1 bytes, $2520-$2520) ===
        .byte $00                                   // .

// --- Region $2546-$27b8 ---
.pc = $2546 "dat_2546"

dat_2546:
        .byte $09,$0b,$08,$0c,$0f,$07               // char 10 (partial)
        .byte $0d,$01,$0d,$07,$0f,$0c,$08,$0b       // char 11 @+11
        .byte $09,$00,$00,$00,$00,$00,$00,$00       // char 12 @+12
        .byte $00,$00,$00,$ff,$00,$00,$00,$00       // char 13 @+13
        .byte $00,$00,$06,$04,$0e,$03,$0d,$07       // char 14 @+14
        .byte $01,$01,$01,$07,$0d,$03,$0e,$04       // char 15 @+15
        .byte $06,$00,$00,$00,$00,$00,$00,$00       // char 16 @+16
        .byte $00,$00,$00,$ff,$00,$00,$00,$00       // char 17 @+17
        .byte $00,$00,$09,$02,$08,$0a,$0f,$07       // char 18 @+18
        .byte $0d,$01,$0d,$07,$0f,$0a,$08,$02       // char 19 @+19
        .byte $09,$00,$00,$00,$00,$00,$00,$00       // char 20 @+20
        .byte $00,$00,$00,$ff,$00,$00,$00,$00       // char 21 @+21
        .byte $00,$00,$0b,$0c,$0f,$0d,$07,$01       // char 22 @+22
        .byte $01,$01,$01,$01,$07,$0d,$0f,$0c       // char 23 @+23
        .byte $0b,$00,$00,$00,$00,$00,$00,$00       // char 24 @+24
        .byte $00,$00,$00,$ff,$00,$00,$00,$00       // char 25 @+25
        .byte $00,$00,$0b,$02,$0c,$0a,$0f,$07       // char 26 @+26
        .byte $01,$01,$01,$07,$0f,$0a,$0c,$02       // char 27 @+27
        .byte $0b,$00,$00,$00,$00,$00,$00,$00       // char 28 @+28
        .byte $00,$00,$00,$ff,$00,$00,$00,$00       // char 29 @+29
        .byte $00,$00,$0b,$06,$05,$0e,$0d,$03       // char 30 @+30
        .byte $01,$01,$01,$03,$0d,$0e,$05,$06       // char 31 @+31
        .byte $0b,$00,$00,$00,$00,$00,$00,$00       // char 32 ' '
        .byte $00,$00,$00,$ff                       // char 33 (partial)

txt_2600:
        .byte $20,$20,$20,$20                       // char 33 (partial)
        .byte $20,$20,$20,$20,$0c,$05,$07,$05       // char 34 '"'
        .byte $0e,$04,$20,$2d,$20,$14,$08,$05       // char 35 '#'
        .byte $20,$17,$09,$0c,$0c,$20,$0f,$06       // char 36 '$'
        .byte $20,$07,$0f,$04                       // char 37 (partial)

txt_2620:
        .byte $20,$20,$20,$20                       // char 37 (partial)
        .byte $20,$20,$20,$20,$20,$03,$01,$0c       // char 38 '&'
        .byte $0c,$20,$0f,$0e,$05,$20,$0f,$06       // char 39 '''
        .byte $20,$0f,$15,$12,$20,$05,$18,$03       // char 40 '('
        .byte $01,$0c,$09,$02,$15,$12,$2f,$0c       // char 41 ')'
        .byte $05,$07,$05,$0e,$04,$20,$08,$11       // char 42 '*'
        .byte $27,$13                               // char 43 (partial)

txt_264e:
        .byte $3a,$20,$20,$20,$20,$20               // char 43 (partial)
        .byte $20,$20,$08,$09,$07,$08,$17,$01       // char 44 ','
        .byte $19,$20,$13,$14,$01,$12               // char 45 (partial)

txt_2662:
        .byte $20,$3a                               // char 45 (partial)
        .byte $20,$32,$31,$35,$20,$38,$36,$35       // char 46 '.'
        .byte $20,$39,$39,$32,$36,$21,$20,$20       // char 47 '/'
        .byte $20,$20,$20,$20,$20,$20,$17,$01       // char 48 '0'
        .byte $03,$0b,$19,$20,$17,$0f,$12,$0c       // char 49 '1'
        .byte $04,$20,$0f,$06,$20,$17,$01,$12       // char 50 '2'
        .byte $05,$13                               // char 51 (partial)

txt_268e:
        .byte $20,$3a,$20,$32,$30,$31               // char 51 (partial)
        .byte $20,$36,$31,$36,$20,$39,$34,$32       // char 52 '4'
        .byte $30,$21,$20,$20,$20,$20,$20,$0f       // char 53 '5'
        .byte $12,$20,$03,$0f,$0e,$14,$01,$03       // char 54 '6'
        .byte $14,$20,$15,$13,$20,$06,$0f,$12       // char 55 '7'
        .byte $20,$0d,$01,$09,$0c,$14,$12,$01       // char 56 '8'
        .byte $03,$05,$20,$15,$0e,$04,$05,$12       // char 57 '9'

txt_26c4:
        .byte $3a,$20,$20,$20,$20,$10,$2e,$0f       // char 58 ':'
        .byte $2e,$02,$0f,$18                       // char 59 (partial)

txt_26d0:
        .byte $20,$35,$37,$20                       // char 59 (partial)
        .byte $2d,$20,$32,$30,$30,$30,$20,$01       // char 60 '<'
        .byte $0e,$14,$17,$05,$12,$10               // char 61 (partial)

txt_26e2:
        .byte $20,$32                               // char 61 (partial)
        .byte $30,$20,$2d,$20,$02,$05,$0c,$07       // char 62 '>'
        .byte $09,$15,$0d                           // char 63 (partial)

txt_26ef:
        .byte $20,$20,$20,$20,$20                   // char 63 (partial)
        .byte $20,$20,$20,$20,$20,$20,$20,$0c       // char 64 '@'
        .byte $05,$07,$05,$0e,$04,$05,$12,$13       // char 65 'A'
        .byte $20,$01,$12,$05,$20,$0f,$0e,$0c       // char 66 'B'
        .byte $19                                   // char 67 (partial)

txt_270d:
        .byte $20,$20,$20,$20,$20,$20,$20           // char 67 (partial)
        .byte $20,$20,$20,$20,$10,$0f,$17,$05       // char 68 'D'
        .byte $12,$10,$0c,$01,$0e,$14,$2c,$20       // char 69 'E'
        .byte $07,$0f,$0c,$04,$06,$09,$13,$08       // char 70 'F'
        .byte $2c,$20,$0d,$09,$04,$01,$13,$2c       // char 71 'G'
        .byte $20,$1a,$09,$07,$07,$19,$2c,$20       // char 72 'H'
        .byte $0c,$19,$0f,$0e,$20,$20,$04,$01       // char 73 'I'
        .byte $12,$19,$0c,$2c,$20,$17,$01,$16       // char 74 'J'
        .byte $05,$2c,$20,$01,$13,$13,$01,$13       // char 75 'K'
        .byte $13,$09,$0e,$2c,$20,$01,$0e,$14       // char 76 'L'
        .byte $08,$12,$01,$18,$2c,$20,$0e,$01       // char 77 'M'
        .byte $12,$03                               // char 78 (partial)

txt_2766:
        .byte $20,$20,$20,$20,$20,$20               // char 78 (partial)
        .byte $20,$20,$09,$0e,$14,$12,$0f,$20       // char 79 'O'
        .byte $02,$19,$20,$01,$13,$13,$01,$13       // char 80 'P'
        .byte $13,$09,$0e,$20,$0f,$06,$20,$0c       // char 81 'Q'
        .byte $05,$07,$05,$0e,$04                   // char 82 (partial)

txt_2789:
        .byte $21,$20,$20                           // char 82 (partial)
        .byte $20,$20,$20,$20,$20,$20,$20,$20       // char 83 'S'
        .byte $20,$20,$20,$20,$10,$12,$05,$13       // char 84 'T'
        .byte $13,$20,$13,$10,$01,$03,$05,$20       // char 85 'U'
        .byte $14,$0f,$20,$03,$0f,$0e,$14,$09       // char 86 'V'
        .byte $0e,$15,$05                           // char 87 (partial)

txt_27af:
        .byte $21,$20,$20,$20,$20                   // char 87 (partial)
        .byte $20,$20,$20,$20                       // char 88 (partial)

dat_27b8:
        // === Fill data (1 bytes, $27b8-$27b8) ===
        .byte $00                                   // .

// --- Region $2800-$2fbc ---
.pc = $2800 "chr_2800"

chr_2800:
        // === Charset data (1981 bytes, $2800-$2fbc) ===
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff       // char 0 @+0
        .byte $ff,$ff,$ff,$ff,$aa,$fa,$ff,$ff       // char 1 @+1
        .byte $ff,$ff,$ff,$ff,$aa,$aa,$af,$eb       // char 2 @+2
        .byte $ff,$ff,$ff,$ff,$aa,$aa,$ff,$ff       // char 3 @+3
        .byte $ff,$ff,$ff,$ff,$aa,$aa,$fa,$eb       // char 4 @+4
        .byte $ff,$ff,$ff,$ff,$aa,$af,$ff,$ff       // char 5 @+5
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe       // char 6 @+6
        .byte $ff,$ff,$ff,$ff,$fe,$ea,$ab,$af       // char 7 @+7
        .byte $ff,$ff,$ff,$ff,$aa,$aa,$ff,$aa       // char 8 @+8
        .byte $ff,$ff,$ff,$ff,$aa,$aa,$ff,$a7       // char 9 @+9
        .byte $ff,$ff,$ff,$ff,$af,$ab,$fa,$fa       // char 10 @+10
        .byte $ff,$ff,$ff,$ff,$ff,$fa,$ea,$ab       // char 11 @+11
        .byte $ff,$ff,$ff,$ff,$aa,$aa,$ff,$a6       // char 12 @+12
        .byte $ff,$ff,$ff,$ff,$aa,$aa,$fe,$ab       // char 13 @+13
        .byte $ff,$ff,$ff,$ff,$ff,$bf,$af,$af       // char 14 @+14
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$fe,$fa       // char 15 @+15
        .byte $ff,$ff,$ff,$ff,$fa,$aa,$af,$bf       // char 16 @+16
        .byte $ff,$ff,$ff,$ff,$aa,$aa,$ff,$fd       // char 17 @+17
        .byte $ff,$ff,$ff,$ff,$aa,$aa,$ff,$ef       // char 18 @+18
        .byte $ff,$ff,$ff,$ff,$bf,$af,$eb,$eb       // char 19 @+19
        .byte $ff,$ff,$ff,$ff,$ff,$fe,$fa,$fa       // char 20 @+20
        .byte $ff,$ff,$ff,$ff,$aa,$aa,$bf,$ea       // char 21 @+21
        .byte $ff,$ff,$ff,$ff,$aa,$aa,$fa,$ba       // char 22 @+22
        .byte $ff,$ff,$ff,$ff,$fe,$fe,$fe,$fe       // char 23 @+23
        .byte $ff,$ff,$ff,$ff,$aa,$aa,$bf,$bf       // char 24 @+24
        .byte $ff,$ff,$ff,$ff,$ab,$aa,$fa,$fe       // char 25 @+25
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$bf,$bf       // char 26 @+26
        .byte $ff,$ff,$ff,$ff,$fa,$ea,$ab,$af       // char 27 @+27
        .byte $ff,$ff,$ff,$ff,$aa,$aa,$ff,$27       // char 28 @+28
        .byte $ff,$ff,$ff,$ff,$bf,$aa,$aa,$fe       // char 29 @+29
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$bf,$af       // char 30 @+30
        .byte $eb,$fa,$fa,$fa,$fe,$fe,$fe,$fe       // char 31 @+31
        .byte $ff,$ff,$ff,$f9,$bf,$bf,$bf,$bf       // char 32 ' '
        .byte $bf,$7f,$7f,$1b,$7e,$7e,$be,$fe       // char 33 '!'
        .byte $eb,$af,$af,$af,$bf,$bf,$bf,$bf       // char 34 '"'
        .byte $fe,$fa,$fa,$fa,$eb,$eb,$eb,$eb       // char 35 '#'
        .byte $be,$fa,$eb,$ea,$f6,$f8,$fe,$ff       // char 36 '$'
        .byte $a6,$6a,$a2,$ab,$9a,$a9,$6a,$a6       // char 37 '%'
        .byte $ba,$66,$ab,$9a,$a9,$ba,$a6,$6b       // char 38 '&'
        .byte $6b,$9f,$af,$9f,$bf,$7f,$ff,$ff       // char 39 '''
        .byte $fe,$fe,$fe,$fe,$fe,$fe,$fe,$fe       // char 40 '('
        .byte $bf,$be,$be,$be,$ba,$ba,$ba,$ba       // char 41 ')'
        .byte $af,$bf,$bf,$bf,$ff,$ff,$fd,$ff       // char 42 '*'
        .byte $ab,$da,$ea,$f9,$fe,$ff,$ff,$ef       // char 43 '+'
        .byte $a6,$2a,$aa,$b2,$ab,$9a,$f9,$ff       // char 44 ','
        .byte $aa,$68,$ae,$89,$aa,$9b,$bf,$ff       // char 45 '-'
        .byte $ab,$9f,$bf,$bf,$ff,$ff,$ff,$ff       // char 46 '.'
        .byte $eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb       // char 47 '/'
        .byte $fa,$eb,$eb,$eb,$af,$af,$af,$af       // char 48 '0'
        .byte $ff,$ff,$ff,$fb,$f7,$f7,$91,$f7       // char 49 '1'
        .byte $df,$ff,$de,$ff,$ff,$ff,$bf,$ff       // char 50 '2'
        .byte $df,$df,$46,$df,$df,$ef,$ff,$fd       // char 51 '3'
        .byte $ff,$ff,$ff,$ff,$ff,$df,$ff,$ff       // char 52 '4'
        .byte $fa,$fa,$fa,$fa,$fa,$fa,$fa,$fa       // char 53 '5'
        .byte $a2,$aa,$99,$ee,$fa,$ff,$ff,$ff       // char 54 '6'
        .byte $ee,$ae,$8e,$ab,$6b,$a7,$ff,$ff       // char 55 '7'
        .byte $be,$be,$be,$ae,$ae,$ae,$ea,$ea       // char 56 '8'
        .byte $bf,$bf,$bf,$bf,$bf,$bf,$bf,$b9       // char 57 '9'
        .byte $ff,$ff,$ff,$ff,$bf,$7f,$7f,$1b       // char 58 ':'
        .byte $ae,$ae,$ae,$ae,$ae,$ae,$ae,$ae       // char 59 ';'
        .byte $ad,$be,$b9,$ba,$b8,$ba,$b7,$ba       // char 60 '<'
        .byte $ba,$a9,$8e,$aa,$a6,$7a,$a9,$9b       // char 61 '='
        .byte $ab,$9f,$af,$af,$7f,$bf,$ff,$ff       // char 62 '>'
        .byte $ff,$ff,$ff,$ff,$fb,$f7,$f7,$91       // char 63 '?'
        .byte $eb,$eb,$fa,$fa,$fa,$fe,$fe,$be       // char 64 '@'
        .byte $ff,$ff,$ff,$ff,$ff,$bf,$bf,$bf       // char 65 'A'
        .byte $bd,$bf,$bf,$bf,$bf,$be,$bd,$bd       // char 66 'B'
        .byte $fe,$de,$fe,$fe,$fe,$fe,$fe,$fe       // char 67 'C'
        .byte $bf,$bf,$bf,$bf,$bf,$bf,$bf,$bf       // char 68 'D'
        .byte $ff,$ff,$fb,$f7,$f7,$91,$f7,$f7       // char 69 'E'
        .byte $f8,$ff,$ff,$fe,$fe,$ba,$fa,$fa       // char 70 'F'
        .byte $bf,$ff,$aa,$aa,$bf,$ff,$ff,$ff       // char 71 'G'
        .byte $ff,$ff,$aa,$aa,$fe,$ff,$ff,$ff       // char 72 'H'
        .byte $fe,$fe,$fe,$ae,$ae,$ea,$fa,$fa       // char 73 'I'
        .byte $ba,$ba,$ba,$ba,$ba,$ba,$ba,$ba       // char 74 'J'
        .byte $df,$ff,$fe,$ff,$ff,$fe,$fd,$fd       // char 75 'K'
        .byte $df,$df,$46,$df,$df,$ef,$fe,$fe       // char 76 'L'
        .byte $ff,$ff,$fa,$ea,$ab,$af,$af,$bf       // char 77 'M'
        .byte $ff,$ff,$aa,$aa,$ff,$ff,$ff,$ff       // char 78 'N'
        .byte $ff,$ff,$af,$aa,$ea,$fe,$ff,$ff       // char 79 'O'
        .byte $eb,$eb,$eb,$eb,$eb,$ab,$ab,$ab       // char 80 'P'
        .byte $af,$ad,$af,$af,$af,$af,$af,$af       // char 81 'Q'
        .byte $f7,$fb,$ff,$7f,$ff,$f7,$ff,$ff       // char 82 'R'
        .byte $ff,$ff,$fe,$fa,$fa,$eb,$eb,$eb       // char 83 'S'
        .byte $ff,$ff,$ab,$aa,$fa,$ff,$ff,$ff       // char 84 'T'
        .byte $fa,$fa,$fa,$ba,$ba,$aa,$ea,$ea       // char 85 'U'
        .byte $ff,$ff,$df,$fe,$fd,$fd,$e4,$fd       // char 86 'V'
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$6f,$ff       // char 87 'W'
        .byte $ea,$fa,$fa,$fa,$fa,$fe,$fe,$ff       // char 88 'X'
        .byte $bf,$bf,$bf,$bf,$bf,$b7,$bf,$ff       // char 89 'Y'
        .byte $7f,$7f,$bf,$ff,$f7,$ff,$ff,$7f       // char 90 'Z'
        .byte $b9,$bf,$bf,$bf,$bf,$bf,$b9,$bf       // char 91 '['
        .byte $bf,$ff,$fe,$be,$7e,$7e,$1a,$7e       // char 92 '\'
        .byte $ff,$ff,$af,$ab,$ba,$be,$be,$bf       // char 93 ']'
        .byte $f7,$f7,$fb,$ff,$ff,$bf,$bf,$af       // char 94 '^'
        .byte $fe,$ff,$ff,$f7,$ff,$7f,$ff,$ff       // char 95 '_'
        .byte $bf,$af,$af,$af,$af,$af,$eb,$eb       // char 96 '`'
        .byte $a4,$bd,$bd,$be,$bf,$bf,$bf,$bf       // char 97 'a'
        .byte $6e,$fe,$fe,$de,$fe,$7e,$fe,$fe       // char 98 'b'
        .byte $fb,$ff,$ff,$fd,$df,$ff,$ff,$ff       // char 99 'c'
        .byte $fa,$7a,$fa,$fa,$fe,$ff,$ff,$ff       // char 100 'd'
        .byte $ff,$ff,$ff,$bf,$aa,$aa,$ff,$ff       // char 101 'e'
        .byte $ff,$ff,$ff,$ff,$aa,$aa,$fe,$ff       // char 102 'f'
        .byte $fe,$fe,$fe,$ff,$ff,$bf,$bf,$af       // char 103 'g'
        .byte $ba,$ba,$ba,$ba,$ba,$ba,$fa,$fa       // char 104 'h'
        .byte $e4,$fd,$fd,$fe,$ff,$ff,$ff,$ff       // char 105 'i'
        .byte $6e,$fe,$fe,$fe,$de,$fe,$7e,$fe       // char 106 'j'
        .byte $bf,$bf,$bf,$bf,$bf,$be,$be,$ba       // char 107 'k'
        .byte $eb,$eb,$eb,$fb,$fb,$bb,$af,$af       // char 108 'l'
        .byte $af,$af,$af,$af,$af,$af,$af,$af       // char 109 'm'
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$fd,$ef       // char 110 'n'
        .byte $eb,$eb,$eb,$ea,$fa,$de,$bf,$fb       // char 111 'o'
        .byte $fa,$fa,$fa,$fe,$fe,$fe,$ff,$bf       // char 112 'p'
        .byte $fd,$fe,$ff,$ff,$ff,$ff,$ff,$ff       // char 113 'q'
        .byte $ff,$ff,$f7,$ff,$ff,$fa,$fa,$fa       // char 114 'r'
        .byte $7f,$ff,$ff,$ff,$ff,$ff,$ff,$fd       // char 115 's'
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$7f,$9f       // char 116 't'
        .byte $bf,$bf,$b7,$bf,$bf,$bd,$bf,$bf       // char 117 'u'
        .byte $7e,$be,$fe,$de,$fe,$fe,$fe,$fe       // char 118 'v'
        .byte $af,$af,$eb,$eb,$eb,$eb,$fa,$fa       // char 119 'w'
        .byte $eb,$eb,$eb,$eb,$fa,$fa,$fa,$fa       // char 120 'x'
        .byte $bf,$b9,$b6,$b9,$bf,$bf,$bf,$bf       // char 121 'y'
        .byte $fe,$fe,$fe,$fe,$fe,$7e,$fe,$7e       // char 122 'z'
        .byte $db,$e7,$db,$ff,$ff,$ff,$fb,$ea       // char 123 '{'
        .byte $ff,$7f,$f7,$ff,$fe,$fa,$e9,$a5       // char 124 '|'
        .byte $ff,$ff,$fe,$aa,$a9,$55,$54,$00       // char 125 '}'
        .byte $ff,$bf,$ab,$6b,$57,$17,$03,$03       // char 126 '~'
        .byte $ff,$ff,$ef,$ea,$da,$d5,$c1,$c0       // char 127
        .byte $fe,$fe,$fe,$fe,$be,$ae,$6e,$5e       // char 128
        .byte $ff,$ff,$ff,$ff,$fb,$ea,$e6,$d5       // char 129
        .byte $9f,$67,$9f,$fd,$ff,$fd,$bb,$aa       // char 130
        .byte $af,$af,$af,$af,$af,$af,$af,$ae       // char 131
        .byte $6f,$9f,$6f,$ff,$ff,$ff,$ff,$ff       // char 132
        .byte $ff,$fd,$ff,$fe,$ff,$fe,$fa,$a9       // char 133
        .byte $ff,$f7,$ff,$df,$ff,$bf,$af,$6a       // char 134
        .byte $6e,$9e,$6e,$fe,$fe,$fe,$ae,$ae       // char 135
        .byte $be,$bd,$bf,$af,$af,$af,$eb,$eb       // char 136
        .byte $6f,$9d,$6f,$ff,$f7,$ff,$ff,$ff       // char 137
        .byte $ff,$ff,$df,$ff,$77,$ff,$f7,$ff       // char 138
        .byte $bf,$bf,$ba,$ba,$b5,$b5,$b0,$b0       // char 139
        .byte $fe,$ae,$ae,$5e,$5e,$0e,$0e,$0e       // char 140
        .byte $ff,$ff,$ff,$fe,$fe,$fe,$fa,$fa       // char 141
        .byte $a6,$95,$51,$40,$00,$00,$00,$00       // char 142
        .byte $94,$50,$43,$0f                       // char 143 (partial)

txt_2c7c:
        .byte $3e,$3a,$3a,$3a                       // char 143 (partial)
        .byte $00,$00,$ff,$aa,$aa,$bf,$ff,$ff       // char 144
        .byte $03,$0f,$fe,$aa,$aa,$ff,$ff,$ff       // char 145
        .byte $af,$af,$bf,$bf,$ff,$ff,$fe,$fe       // char 146
        .byte $fa,$fa,$fa,$ba,$ba,$ba,$ba,$ba       // char 147
        .byte $c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0       // char 148
        .byte $1e,$0e,$0e,$0e,$0e,$0e,$0e,$0e       // char 149
        .byte $ba,$ba,$be,$be,$bf,$bf,$bf,$bf       // char 150
        .byte $f1,$b0,$bc,$ac,$ac,$ac,$ac,$ac       // char 151
        .byte $66,$55,$11,$00,$00,$00,$00,$00       // char 152
        .byte $ae,$ad,$ad,$ac,$ac,$ac,$ac,$ac       // char 153
        .byte $be,$aa,$65,$55,$10,$00,$00,$00       // char 154
        .byte $a5,$54,$5f,$3e,$fa,$ea,$eb,$eb       // char 155
        .byte $5a,$15,$ff,$aa,$aa,$ff,$ff,$ff       // char 156
        .byte $5e,$7e,$fa,$aa,$ab,$ff,$ff,$ff       // char 157
        .byte $bf,$bf,$ff,$fe,$fe,$fe,$fa,$fa       // char 158
        .byte $eb,$aa,$96,$55,$41,$00,$00,$00       // char 159
        .byte $fa,$fa,$ba,$ba,$7a,$7a,$3a,$3a       // char 160
        .byte $ff,$ff,$fa,$fa,$b5,$b5,$b0,$b0       // char 161
        .byte $f7,$bf,$af,$6b,$5b,$17,$07,$03       // char 162
        .byte $bf,$bf,$bf,$bf,$ba,$ba,$b5,$b5       // char 163
        .byte $fe,$fe,$fe,$ee,$ae,$9e,$5e,$4e       // char 164
        .byte $fa,$fa,$fa,$eb,$eb,$eb,$eb,$af       // char 165
        .byte $fe,$ea,$e9,$95,$54,$40,$01,$01       // char 166
        .byte $fa,$fa,$fa,$fa,$fa,$eb,$eb,$eb       // char 167
        .byte $b0,$b0,$b0,$b0,$b0,$b0,$b0,$b0       // char 168
        .byte $0e,$0e,$0f,$03,$03,$00,$00,$00       // char 169
        .byte $bf,$bf,$af,$af,$eb,$fa,$3e,$0f       // char 170
        .byte $ff,$ff,$ff,$ff,$ff,$aa,$aa,$ff       // char 171
        .byte $ff,$ff,$ff,$ff,$fa,$aa,$af,$fc       // char 172
        .byte $fa,$ea,$ea,$aa,$ba,$fa,$fa,$3a       // char 173
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 174

txt_2d78:
        .byte $3a,$3a,$3a,$3a,$3a,$3e,$0f,$03       // char 175
        .byte $ff,$ff,$ff,$ff,$bf,$aa,$aa,$ff       // char 176
        .byte $ff,$ff,$ff,$ff,$fe,$aa,$aa,$ff       // char 177
        .byte $fe,$fa,$fa,$ea,$aa,$ae,$fe,$ce       // char 178
        .byte $0e,$0e,$0e,$0e,$0e,$0e,$0f,$03       // char 179
        .byte $bf,$bf,$bf,$bf,$bf,$aa,$aa,$ff       // char 180
        .byte $ac,$ac,$ac,$ac,$ac,$ac,$bc,$f0       // char 181
        .byte $ac,$ac,$ac,$ac,$ac,$ac,$ac,$ac       // char 182
        .byte $eb,$eb,$eb,$eb,$ea,$fa,$3e,$0f       // char 183
        .byte $ff,$ff,$ff,$ff,$fa,$aa,$ab,$ff       // char 184
        .byte $fa,$ea,$ea,$aa,$aa,$ba,$fa           // char 185 (partial)

txt_2dcf:
        .byte $3a                                   // char 185 (partial)
        .byte $3a,$3a,$3a,$3a,$3a,$3a,$3a,$3a       // char 186
        .byte $03,$03,$03,$03,$03,$03,$03,$03       // char 187
        .byte $0e,$0e,$0e,$0e,$0e,$0e,$0e,$0f       // char 188
        .byte $bf,$bf,$be,$be,$ba,$ab,$af,$fc       // char 189
        .byte $ac,$ac,$bc,$b0,$f0,$c0,$00,$00       // char 190
        .byte $02,$02,$03,$07,$07,$0b,$0b,$1f       // char 191
        .byte $eb,$eb,$eb,$af,$af,$af,$af,$af       // char 192
        .byte $fe,$fe,$fe,$fe,$fe,$ff,$ff,$ff       // char 193
        .byte $b4,$b4,$b8,$b9,$bd,$ae,$ae,$af       // char 194
        .byte $00,$00,$00,$00,$00                   // char 195 (partial)

txt_2e1d:
        .byte $50,$55,$a5                           // char 195 (partial)
        .byte $00,$00,$00,$00,$00,$00,$55,$55       // char 196
        .byte $00,$00,$00,$00,$00,$01               // char 197 (partial)

txt_2e2e:
        .byte $55,$56                               // char 197 (partial)
        .byte $3a,$3a,$3a,$3a,$7a,$7a,$ba,$ba       // char 198
        .byte $eb,$eb,$eb,$eb,$eb,$fa,$fa,$fa       // char 199
        .byte $40,$40,$80,$90,$d4,$e5,$e9,$fa       // char 200
        .byte $0e,$0e,$0e,$0e,$1e,$5e,$6e,$ae       // char 201
        .byte $ba,$ba,$ba,$ba,$ba,$be,$be,$be       // char 202
        .byte $d0,$d0,$e0,$e4,$f5,$b9,$ba,$be       // char 203
        .byte $00,$00,$00,$00,$00,$40,$55,$95       // char 204
        .byte $00,$00,$00,$00,$01,$05               // char 205 (partial)

txt_2e6e:
        .byte $56,$5a                               // char 205 (partial)
        .byte $ad,$ad,$ae,$ae,$af,$eb,$eb,$eb       // char 206
        .byte $00,$00,$00,$40,$50,$94,$a5,$e9       // char 207
        .byte $00,$00,$00,$00,$40,$50,$95,$a5       // char 208

txt_2e88:
        .byte $3a,$3a,$3a,$3a,$3a,$3a,$7a,$7a       // char 209
        .byte $b0,$b0,$b0,$b0,$b0,$b0,$b5,$b5       // char 210
        .byte $03,$03,$03,$03,$07,$17,$5b,$6b       // char 211
        .byte $b0,$b0,$b0,$b0,$b4,$b5,$b9,$ba       // char 212
        .byte $00,$00,$00,$01,$05                   // char 213 (partial)

txt_2ead:
        .byte $56,$5a,$ab                           // char 213 (partial)
        .byte $1e,$2e,$6e,$7e,$ba,$ba,$fa,$eb       // char 214
        .byte $bf,$bf,$bf,$bf,$ff,$ff,$ff,$ff       // char 215
        .byte $eb,$eb,$fa,$fe,$ff,$ff,$ff,$ff       // char 216
        .byte $aa,$fa,$bf,$aa,$ea,$ff,$ff,$ff       // char 217
        .byte $aa,$aa,$ff,$aa,$aa,$ff,$ff,$ff       // char 218
        .byte $aa,$ab,$ff,$aa,$aa,$ff,$ff,$ff       // char 219
        .byte $fa,$eb,$ab,$af,$bf,$ff,$ff,$ff       // char 220
        .byte $fe,$fe,$ff,$ff,$ff,$ff,$ff,$ff       // char 221
        .byte $be,$af,$ab,$ea,$fe,$ff,$ff,$ff       // char 222
        .byte $be,$fa,$ea,$ab,$af,$ff,$ff,$ff       // char 223
        .byte $bf,$ff,$ff,$ff,$ff,$ff,$ff,$ff       // char 224
        .byte $af,$ab,$ea,$fa,$ff,$ff,$ff,$ff       // char 225
        .byte $aa,$ea,$ff,$aa,$aa,$ff,$ff,$ff       // char 226
        .byte $ab,$af,$fe,$aa,$aa,$ff,$ff,$ff       // char 227
        .byte $eb,$af,$af,$bf,$ff,$ff,$ff,$ff       // char 228
        .byte $fa,$fa,$fe,$ff,$ff,$ff,$ff,$ff       // char 229
        .byte $fa,$be,$af,$aa,$fa,$ff,$ff,$ff       // char 230
        .byte $eb,$fa,$fa,$fe,$ff,$ff,$ff,$ff       // char 231
        .byte $ea,$fa,$bf,$aa,$aa,$ff,$ff,$ff       // char 232
        .byte $ba,$ba,$fa,$aa,$aa,$ff,$ff,$ff       // char 233
        .byte $ba,$ba,$bf,$aa,$aa,$ff,$ff,$ff       // char 234
        .byte $af,$be,$fa,$aa,$ab,$ff,$ff,$ff       // char 235
        .byte $ae,$bf,$bf,$ff,$ff,$ff,$ff,$ff       // char 236
        .byte $be,$af,$ab,$ea,$fa,$ff,$ff,$ff       // char 237
        .byte $af,$fe,$aa,$aa,$bf,$ff,$ff,$ff       // char 238
        .byte $ab,$af,$bf,$ff,$ff,$ff,$ff,$ff       // char 239
        .byte $00,$06,$0e,$03                       // char 240 (partial)

dat_2f84:
        // === Fill data (32 bytes, $2f84-$2fa3) ===
        .fill 32, $0f
        .byte $03,$0e,$06,$00                       // char 244 (partial)
        .byte $f0,$04,$ce,$0d,$0d,$60,$4c,$80       // char 245
        .byte $37,$a9,$0f,$9d,$00,$d8,$ca,$10       // char 246
        .byte $f8,$4c,$34,$03                       // char 247 (partial)

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

// --- Region $2fff-$3400 ---
.pc = $2fff "dat_2fff"

dat_2fff:
        .byte $ff                                   // char 255 (partial)

chr_3000:
        // === Charset data (1025 bytes, $3000-$3400) ===
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff       // char 0 @+0
        .byte $83,$39,$39,$39,$01,$39,$39,$39       // char 1 @+1
        .byte $03,$39,$39,$33,$07,$33,$39,$39       // char 2 @+2
        .byte $83                                   // char 3 (partial)

txt_3019:
        .byte $39,$3f,$3f,$3f,$3f,$3f,$3f           // char 3 (partial)
        .byte $03                                   // char 4 (partial)

txt_3021:
        .byte $39,$39,$39,$39,$39,$39,$39           // char 4 (partial)
        .byte $01,$3f,$3f,$3f,$03,$3f,$3f,$3f       // char 5 @+5
        .byte $01,$3f,$3f,$3f,$03,$3f,$3f,$3f       // char 6 @+6
        .byte $83                                   // char 7 (partial)

txt_3039:
        .byte $39,$3f,$3f,$21,$39,$39,$39           // char 7 (partial)
        .byte $39,$39,$39,$39,$01,$39,$39,$39       // char 8 @+8
        .byte $e7,$e7,$e7,$e7,$e7,$e7,$e7,$e7       // char 9 @+9
        .byte $f9,$f9,$f9,$f9,$f9,$f9,$f9,$f9       // char 10 @+10
        .byte $39,$39,$33,$27,$0f                   // char 11 (partial)

txt_305d:
        .byte $27,$33,$33                           // char 11 (partial)
        .byte $3f,$3f,$3f,$3f,$3f,$3f,$3f,$3f       // char 12 @+12
        .byte $39,$11,$01                           // char 13 (partial)

txt_306b:
        .byte $29,$39,$39,$39,$39                   // char 13 (partial)
        .byte $39,$19,$09,$21,$31,$39,$39,$39       // char 14 @+14
        .byte $83                                   // char 15 (partial)

txt_3079:
        .byte $39,$39,$39,$39,$39,$39,$39           // char 15 (partial)
        .byte $03,$39,$39,$39,$03,$3f,$3f,$3f       // char 16 @+16
        .byte $83                                   // char 17 (partial)

txt_3089:
        .byte $39,$39,$39,$39,$39,$39,$39           // char 17 (partial)
        .byte $03,$39,$39,$33,$07,$33,$39,$39       // char 18 @+18
        .byte $83,$39,$3f,$3f,$87,$f3,$f9,$f9       // char 19 @+19
        .byte $00,$e7,$e7,$e7,$e7,$e7,$e7,$e7       // char 20 @+20

txt_30a8:
        .byte $39,$39,$39,$39,$39,$39,$39,$39       // char 21 @+21
        .byte $39,$39,$39,$39,$39,$39,$39,$39       // char 22 @+22
        .byte $39,$39,$39,$39,$39,$39,$39,$29       // char 23 @+23
        .byte $39,$39,$39,$93,$c7,$93               // char 24 (partial)

txt_30c6:
        .byte $39,$39                               // char 24 (partial)
        .byte $39,$39,$39,$39,$81,$f9,$f9,$f9       // char 25 @+25
        .byte $01,$39,$f9,$f3,$e7,$cf,$9f,$9f       // char 26 @+26

dat_30d8:
        // === Fill data (48 bytes, $30d8-$3107) ===
        .fill 48, $ff
        .byte $e7,$e7,$e7,$e7,$e7,$e7,$e7,$e7       // char 33 '!'
        .byte $99,$99,$99,$bb                       // char 34 (partial)

dat_3114:
        // === Fill data (36 bytes, $3114-$3137) ===
        .fill 36, $ff
        .byte $e7,$e7,$e7,$ef,$ff,$ff,$ff,$ff       // char 39 '''
        .byte $e1,$c7,$cf,$cf,$cf,$cf,$cf,$cf       // char 40 '('
        .byte $87,$e3,$f3,$f3,$f3,$f3,$f3,$f3       // char 41 ')'
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff       // char 42 '*'
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff       // char 43 '+'
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff       // char 44 ','
        .byte $ff,$ff,$ff,$ff,$01,$ff,$ff,$ff       // char 45 '-'
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff       // char 46 '.'
        .byte $f9,$f9,$f9,$f1,$f3,$f3,$e3,$e7       // char 47 '/'
        .byte $83,$39,$39,$31,$29,$19,$39,$39       // char 48 '0'
        .byte $e7,$e7,$c7,$c7,$87,$e7,$e7,$e7       // char 49 '1'
        .byte $83,$39,$f9,$f3,$e7,$cf,$9f,$9f       // char 50 '2'
        .byte $83,$39,$f9,$f3,$c7,$f3,$f9,$f9       // char 51 '3'
        .byte $39,$39,$39,$39,$39,$01,$f9,$f9       // char 52 '4'
        .byte $01,$3f,$3f,$3f,$03,$f1,$f9,$f9       // char 53 '5'
        .byte $81,$3f,$3f,$3f,$03,$39,$39,$39       // char 54 '6'
        .byte $01,$39,$39,$f9,$f3,$e7,$e7,$e7       // char 55 '7'
        .byte $83,$39,$39,$93,$c7,$93,$39,$39       // char 56 '8'
        .byte $83,$39,$39,$39,$81,$f9,$f9,$f9       // char 57 '9'
        .byte $ff,$ff,$e7,$e7,$ff,$ff,$ff,$ff       // char 58 ':'
        .byte $ff,$ff,$e7,$e7,$ff,$ff,$ff,$ff       // char 59 ';'
        .byte $f9,$f3,$e7,$cf,$9f,$3f,$9f,$cf       // char 60 '<'
        .byte $ff,$ff,$ff,$ff,$01,$ff,$ff,$ff       // char 61 '='
        .byte $9f,$cf,$e7,$f3,$f9,$fc,$f9,$f3       // char 62 '>'
        .byte $83,$39,$f9,$f9,$f3,$e7,$cf,$9f       // char 63 '?'
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff       // char 64 '@'

txt_3208:
        .byte $39,$39,$39,$39,$39,$39,$39,$ff       // char 65 'A'
        .byte $39,$39,$11,$01,$01,$01,$03,$ff       // char 66 'B'
        .byte $39,$39,$11,$01,$01,$01,$83,$ff       // char 67 'C'
        .byte $39,$39,$11,$01,$01,$01,$03,$ff       // char 68 'D'
        .byte $3f,$3f,$1f,$01,$01,$01,$01,$ff       // char 69 'E'

txt_3230:
        .byte $3f,$3f,$3f,$3f,$3f,$3f,$3f,$ff       // char 70 'F'
        .byte $39,$39,$11,$01,$01,$01,$83,$ff       // char 71 'G'

txt_3240:
        .byte $39,$39,$39,$39,$39,$39,$39,$ff       // char 72 'H'
        .byte $e7,$e7,$e7,$e7,$e7,$e7,$e7,$ff       // char 73 'I'
        .byte $39,$39,$11,$01,$01,$01,$83,$ff       // char 74 'J'

txt_3258:
        .byte $39,$39,$39,$39,$39,$39,$39,$ff       // char 75 'K'
        .byte $3f,$3f,$1f,$01,$01,$01,$01,$ff       // char 76 'L'

txt_3268:
        .byte $39,$39,$39,$39,$39,$39,$39,$ff       // char 77 'M'

txt_3270:
        .byte $39,$39,$39,$39,$39,$39,$39,$ff       // char 78 'N'
        .byte $39,$39,$11,$01,$01,$01,$83,$ff       // char 79 'O'

txt_3280:
        .byte $3f,$3f,$3f,$3f,$3f,$3f,$3f,$ff       // char 80 'P'
        .byte $39,$83,$e7,$e1,$e1,$e1,$f1,$ff       // char 81 'Q'

txt_3290:
        .byte $39,$39,$39,$39,$39,$39,$39,$ff       // char 82 'R'
        .byte $39,$39,$11,$01,$01,$01,$83,$ff       // char 83 'S'
        .byte $e7,$e7,$e7,$e7,$e7,$e7,$e7,$ff       // char 84 'T'
        .byte $39,$39,$11,$01,$01,$01,$83,$ff       // char 85 'U'
        .byte $39,$11,$01,$01,$83,$c7,$ef,$ff       // char 86 'V'
        .byte $29,$01,$01,$01,$01,$11,$39,$ff       // char 87 'W'

txt_32c0:
        .byte $39,$39,$39,$39,$39,$39,$39,$ff       // char 88 'X'
        .byte $39,$39,$11,$01,$01,$01,$83,$ff       // char 89 'Y'
        .byte $3f,$39,$11,$01,$01,$01,$01           // char 90 (partial)

dat_32d7:
        // === Fill data (49 bytes, $32d7-$3307) ===
        .fill 49, $ff
        .byte $e7,$e7,$ff,$e7,$e7,$e7,$e7           // char 97 (partial)

dat_330f:
        // === Fill data (49 bytes, $330f-$333f) ===
        .fill 49, $ff
        .byte $cf,$cf,$cf,$cf,$cf,$c7,$e1,$ff       // char 104 'h'
        .byte $f3,$f3,$f3,$f3,$f3,$e3,$87,$ff       // char 105 'i'
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff       // char 106 'j'
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff       // char 107 'k'
        .byte $ff,$e7,$e7,$c7,$c7,$c7,$cf,$ff       // char 108 'l'
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff       // char 109 'm'
        .byte $ff,$ff,$ff,$c7,$c7,$c7,$c7,$ff       // char 110 'n'
        .byte $e7,$c7,$cf,$cf,$8f,$9f,$9f,$ff       // char 111 'o'
        .byte $39,$39,$11,$01,$01,$01,$83,$ff       // char 112 'p'
        .byte $e7,$e7,$c3,$81,$81,$81,$81,$ff       // char 113 'q'
        .byte $3f,$3f,$1f,$01,$01,$01,$01,$ff       // char 114 'r'
        .byte $39,$39,$11,$01,$01,$01,$83,$ff       // char 115 's'
        .byte $f9,$f9,$f9,$f9,$f9,$f9,$f9,$ff       // char 116 't'
        .byte $39,$39,$11,$01,$01,$01,$83,$ff       // char 117 'u'
        .byte $39,$39,$11,$01,$01,$01,$83,$ff       // char 118 'v'
        .byte $e7,$e7,$e7,$e7,$e7,$e7,$e7,$ff       // char 119 'w'
        .byte $39,$39,$11,$01,$01,$01,$83,$ff       // char 120 'x'
        .byte $39,$39,$11,$01,$01,$01,$83,$ff       // char 121 'y'
        .byte $e7,$e7,$e7,$e7,$ff,$ff,$ff,$ff       // char 122 'z'
        .byte $e7,$e7,$c7,$c7,$cf,$ff,$ff,$ff       // char 123 '{'
        .byte $c7,$e3,$e1,$f1,$f1,$f9,$f9,$ff       // char 124 '|'
        .byte $ff,$ff,$01,$01,$01,$ff,$ff,$ff       // char 125 '}'
        .byte $e3,$c7,$87,$8f,$8f,$9f,$9f,$ff       // char 126 '~'
        .byte $93,$c7,$ff,$c7,$c7,$c7,$c7,$ff       // char 127

dat_3400:
        // === Fill data (1 bytes, $3400-$3400) ===
        .byte $00                                   // .

// --- Region $343f-$3446 ---
.pc = $343f "dat_343f"

dat_343f:
        .byte $59                                   // char 135 (partial)
        .byte $00,$00,$03,$00,$00,$01               // char 136 (partial)

dat_3446:
        // === Fill data (1 bytes, $3446-$3446) ===
        .byte $00                                   // .

// --- Region $3479-$348c ---
.pc = $3479 "dat_3479"

dat_3479:
        .byte $80,$00,$00,$c0,$00,$00,$59           // char 143 (partial)
        .byte $00,$00,$0f,$00,$00,$07,$00,$00       // char 144
        .byte $03,$00,$00,$01                       // char 145 (partial)

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

// --- Region $34b3-$34d1 ---
.pc = $34b3 "dat_34b3"

dat_34b3:
        .byte $80,$00,$00,$c0,$00                   // char 150 (partial)
        .byte $00,$e0,$00,$00,$f0,$00,$00,$59       // char 151
        .byte $00,$00,$3f,$00,$00,$1f,$00,$00       // char 152
        .byte $0f,$00,$00,$07,$00,$00,$03,$00       // char 153
        .byte $00,$01                               // char 154 (partial)

// --- Region $34ed-$37ae ---
.pc = $34ed "dat_34ed"

dat_34ed:
        .byte $80,$00,$00                           // char 157 (partial)
        .byte $c0,$00,$00,$e0,$00,$00,$f0,$00       // char 158
        .byte $00,$f8,$00,$00,$fc,$00,$00,$59       // char 159
        .byte $00,$00,$ff,$00,$00,$7f,$00,$00       // char 160
        .byte $3f,$00,$00,$1f,$00,$00,$0f,$00       // char 161
        .byte $00,$07,$00,$00,$03,$00,$00,$01       // char 162
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 163
        .byte $00,$00,$00,$00,$00,$00,$00,$80       // char 164
        .byte $00,$00,$c0,$00,$00,$e0,$00,$00       // char 165
        .byte $f0,$00,$00,$f8,$00,$00,$fc,$00       // char 166
        .byte $00,$fe,$00,$00,$ff,$00,$00,$59       // char 167
        .byte $00,$03,$ff,$00,$01,$ff,$00,$00       // char 168
        .byte $ff,$00,$00,$7f,$00,$00,$3f,$00       // char 169
        .byte $00,$1f,$00,$00,$0f,$00,$00,$07       // char 170
        .byte $00,$00,$03,$00,$00,$01,$00,$00       // char 171
        .byte $00,$80,$00,$00,$c0,$00,$00,$e0       // char 172
        .byte $00,$00,$f0,$00,$00,$f8,$00,$00       // char 173
        .byte $fc,$00,$00,$fe,$00,$00,$ff,$00       // char 174
        .byte $00,$ff,$80,$00,$ff,$c0,$00,$59       // char 175
        .byte $00,$0f,$ff,$00,$07,$ff,$00,$03       // char 176
        .byte $ff,$00,$01,$ff,$00,$00,$ff,$00       // char 177
        .byte $00,$7f,$00,$00,$3f,$00,$00,$1f       // char 178
        .byte $00,$00,$0f,$80,$00,$07,$c0,$00       // char 179
        .byte $03,$e0,$00,$01,$f0,$00,$00,$f8       // char 180
        .byte $00,$00,$fc,$00,$00,$fe,$00,$00       // char 181
        .byte $ff,$00,$00,$ff,$80,$00,$ff,$c0       // char 182
        .byte $00,$ff,$e0,$00,$ff,$f0,$00,$59       // char 183
        .byte $00,$3f,$ff,$00,$1f,$ff,$00,$0f       // char 184
        .byte $ff,$00,$07,$ff,$00,$03,$ff,$00       // char 185
        .byte $01,$ff,$00,$00,$ff,$80,$00,$7f       // char 186
        .byte $c0,$00,$3f,$e0,$00,$1f,$f0,$00       // char 187
        .byte $0f,$f8,$00,$07,$fc,$00,$03,$fe       // char 188
        .byte $00,$01,$ff,$00,$00,$ff,$80,$00       // char 189
        .byte $ff,$c0,$00,$ff,$e0,$00,$ff,$f0       // char 190
        .byte $00,$ff,$f8,$00,$ff,$fc,$00,$59       // char 191
        .byte $00,$ff,$ff,$00,$7f,$ff,$00,$3f       // char 192
        .byte $ff,$00,$1f,$ff,$00,$0f,$ff,$80       // char 193
        .byte $07,$ff,$c0,$03,$ff,$e0,$01,$ff       // char 194
        .byte $f0,$00,$ff,$f8,$00,$7f,$fc,$00       // char 195
        .byte $3f,$fe,$00,$1f,$ff,$00,$0f,$ff       // char 196
        .byte $80,$07,$ff,$c0,$03,$ff,$e0,$01       // char 197
        .byte $ff,$f0,$00,$ff,$f8,$00,$ff,$fc       // char 198
        .byte $00,$ff,$fe,$00,$ff,$ff,$00,$59       // char 199
        .byte $03,$ff,$ff,$01,$ff,$ff,$00,$ff       // char 200
        .byte $ff,$80,$7f,$ff,$c0,$3f,$ff,$e0       // char 201
        .byte $1f,$ff,$f0,$0f,$ff,$f8,$07,$ff       // char 202
        .byte $fc,$03,$ff,$fe,$01,$ff,$ff,$00       // char 203
        .byte $ff,$ff,$80,$7f,$ff,$c0,$3f,$ff       // char 204
        .byte $e0,$1f,$ff,$f0,$0f,$ff,$f8,$07       // char 205
        .byte $ff,$fc,$03,$ff,$fe,$01,$ff,$ff       // char 206
        .byte $00,$ff,$ff,$80,$ff,$ff,$c0,$59       // char 207
        .byte $0f,$ff,$ff,$87,$ff,$ff,$c3,$ff       // char 208
        .byte $ff,$e1,$ff,$ff,$f0,$ff,$ff,$f8       // char 209
        .byte $7f,$ff,$fc,$3f,$ff,$fe,$1f,$ff       // char 210
        .byte $ff,$0f,$ff,$ff,$87,$ff,$ff,$c3       // char 211
        .byte $ff,$ff,$e1,$ff,$ff,$f0,$ff,$ff       // char 212
        .byte $f8,$7f,$ff,$fc,$3f,$ff,$fe,$1f       // char 213
        .byte $ff,$ff,$0f,$ff,$ff,$87,$ff,$ff       // char 214
        .byte $c3,$ff,$ff,$e1,$ff,$ff,$f0,$59       // char 215

dat_36c0:
        // === Fill data (63 bytes, $36c0-$36fe) ===
        .fill 63, $ff
        .byte $59                                   // char 223 (partial)
        .byte $01,$02,$03,$04,$05,$06,$07,$08       // char 224
        .byte $09,$0a,$0c,$0f,$12,$16,$1a,$1f       // char 225

txt_3710:
        .byte $24,$2a,$30,$37,$3e,$46,$4e,$57       // char 226
        .byte $60,$69,$72,$7b,$84,$8d,$95,$9d       // char 227
        .byte $a5,$ac,$b3,$b9,$bf,$c4,$c9,$cd       // char 228
        .byte $d0,$d3,$d6,$d8,$da,$dc,$de,$e0       // char 229
        .byte $e2,$e4,$e5,$e6,$e7,$e8,$e9,$e8       // char 230
        .byte $e7,$e6,$e5,$e4,$e3,$e2,$e0,$de       // char 231
        .byte $dc,$da,$d8,$d6,$d3,$d0,$cd,$c9       // char 232
        .byte $c4,$bf,$b9,$b3,$ac,$a5,$9d,$95       // char 233
        .byte $8d,$84,$7b,$72,$69,$60               // char 234 (partial)

txt_3756:
        .byte $57,$4e                               // char 234 (partial)
        .byte $46,$3e,$37,$30,$2a,$24,$1f,$1a       // char 235
        .byte $16,$12,$0f,$0c,$0a,$09,$08,$07       // char 236
        .byte $06,$05,$04,$03,$02,$01,$ff,$f0       // char 237
        .byte $03,$c6,$15,$60,$a9,$03,$85,$15       // char 238
        .byte $ad,$0d,$0d,$c9,$0f,$4c,$a8,$2f       // char 239
        .byte $20,$26,$08,$4c,$97,$37,$a5,$20       // char 240
        .byte $f0,$03,$c6,$20,$60,$a9,$03,$8d       // char 241
        .byte $d6,$1d,$a9,$80,$85,$20,$60,$8d       // char 242
        .byte $0d,$0d,$8d,$18,$d4,$a4,$20,$f0       // char 243
        .byte $05,$c6,$20,$4c,$97,$37,$4c,$80       // char 244
        .byte $16,$ad,$7c,$1d,$c9,$3e,$60           // char 245 (partial)

// --- Region $37c0-$37e7 ---
.pc = $37c0 "Segment $37c0"
        .byte $00,$00,$d8,$d9,$da,$da,$db           // char 0 (partial)
        .byte $dc,$dd,$de,$da,$da,$da,$df,$e0       // char 1 @+1
        .byte $e1,$e2,$da,$da,$e3,$e4,$e5,$e6       // char 2 @+2
        .byte $da,$da,$db,$dc,$e7,$e8,$e9,$c1       // char 3 @+3
        .byte $ea,$eb,$ec,$ed,$da,$db,$ee,$ef       // char 4 @+4
        .byte $00                                   // char 5 (partial)

// --- Region $37fe-$3bd0 ---
.pc = $37fe "Segment $37fe"
        .byte $00,$00                               // char 0 (partial)

txt_3800:
        .encoding "screencode_mixed"
        .text "   the signs are getting clearer, clearer than you need. the writings on the wall for you to see. you never thought you'd ever get the taste, you never thought that it could be this good. just tell us what you want and we'll find the key. reach out and touch, it's all yours"
        .encoding "petscii_upper"

txt_3912:
        .text "...                               "

txt_3934:
        .encoding "screencode_mixed"
        .text "well, again a first release from legend"
        .encoding "petscii_upper"

txt_395b:
        .text "..   "

txt_3960:
        .encoding "screencode_mixed"
        .text "here is another fine ware for you called 'california driver' which was cracked, packed, trained and"
        .encoding "petscii_upper"

txt_39c3:
        .text " 101% "

txt_39c9:
        .encoding "screencode_mixed"
        .text "fixed by legend - the will of god"
        .encoding "petscii_upper"

txt_39ea:
        .text "!!     "

txt_39f1:
        .encoding "screencode_mixed"
        .text "after our astonishing 'x-out' release now another fab version"
        .encoding "petscii_upper"

txt_3a2e:
        .text "..    "

txt_3a34:
        .encoding "screencode_mixed"
        .text "call our excalibu/legend hq's"
        .encoding "petscii_upper"

txt_3a51:
        .text "..  "
        .byte $0e,$15,$0d,$02,$05,$12,$13,$20,$02,$05,$0c,$0f,$17 // ....... .....

txt_3a62:
        .text "..    "
        .byte $07,$12,$05,$05,$14,$09,$0e,$07,$13,$20,$14,$0f // ......... ..

txt_3a74:
        .text ":   "

txt_3a78:
        .encoding "screencode_mixed"
        .text "excalibur!, atc, nec, f4cg, action, illusion, ikari+talent, fusion, transcom, lotus+crazy, genesis, culture (gerda bringt kaese aus holland), fairlight, censor, contex, light, x-ray+success"
        .encoding "petscii_upper"

txt_3b35:
        .text "...     "

txt_3b3d:
        .encoding "screencode_mixed"
        .text "sorry, no time for a long scroll today"
        .encoding "petscii_upper"

txt_3b63:
        .text "..       "

txt_3b6c:
        .encoding "screencode_mixed"
        .text "so long narc, assassin, anthrax of legend"
        .encoding "petscii_upper"

txt_3b95:
        .text " 1990!!"

dat_3b9c:
        // === Fill data (52 bytes, $3b9c-$3bcf) ===
        .fill 52, $20

dat_3bd0:
        // === Fill data (1 bytes, $3bd0-$3bd0) ===
        .byte $00                                   // .

// --- Region $3c00-$3c00 ---
.pc = $3c00 "scr_3c00"

scr_3c00:
        .byte $00                                   // .

// --- Region $4432-$444a ---
.pc = $4432 "dat_4432"

dat_4432:
        .byte $78,$a9,$37,$85,$01,$20,$81,$ff,$20,$84,$ff,$a9,$31,$8d,$14,$03 // x.7.. .. ...1...
        .byte $a9,$ea,$8d,$15,$03,$58,$4c,$e2,$fc   // .....XL..
