// ============================================
// output - Disassembled Source
// ============================================
// KickAssembler syntax
// Generated by Restore 64 v0.2.1 alpha build 298, 2026-04-01 10:59:29
// https://restore64.dev by datucker / Rabenauge
//
// Load address: $0800  End: $ffff  (63488 bytes)
// Crunched with Exomizer v2/v3 (with relocation) — depacked by emulation
// Packer entry: $0810 (via BASIC SYS 2064)
// Entry point:  $1e00 (7680)
// IRQ handler:  $20ab (irq_20ab)
// IRQ handler:  $20e9 (irq_20e9)
// IRQ handler:  $2118 (irq_2118)
// IRQ handler:  $2148 (irq_2148)
// IRQ handler:  $2181 (irq_2181)
// IRQ handler:  $1026 (sub_1026)
//
// Code: 4336 bytes, Data: 59152 bytes
// Labels: 360, Subroutines: 20
//
// Cross-references: all OK
// ============================================


// --- Region $1026-$15be ---
.pc = $1026 "sub_1026"
// Referenced by: jsr from $21bf, $fac8

sub_1026:
        lda #$01
        sta $d019
        lda #$0b
        nop
        nop
        nop
        jsr sub_1ab8
        lda #$00
        nop
        nop
        nop
        rts

scr_1039:
        // === Screen RAM (5 bytes, $1039-$103d) ===
        .encoding "screencode_mixed"
        .text "1"
        .byte $ea,$4c                               // scrcode: ..
        .text "c"
        .byte $1b                                   // scrcode: .
        .encoding "petscii_upper"

loc_103e:
        ldx #$02
        dec $1b84
        bpl loc_104b
        lda chr_1b2e
        sta $1b84

loc_104b:
        nop
        nop
        nop
        stx $ff
        lda $1b2f,x
        sta $1b67
        tay
        lda $1b84
        cmp chr_1b2e
        bne loc_1071
        lda $1755,x
        sta $fb
        lda $1758,x
        sta $fc
        dec $1b38,x
        bmi loc_1074
        jmp loc_11a2

loc_1071:
        jmp loc_11b2

loc_1074:
        ldy $1b32,x
        lda ($fb),y
        cmp #$fe
        beq loc_1092
        cmp #$ff
        bne loc_109a
        lda #$00
        sta $1b38,x
        sta $1b32,x
        sta $1b35,x
        sta $1b83
        jmp loc_1074

loc_1092:
        lda #$02
        sta $1b85
        jmp loc_1b22

loc_109a:
        sta $1b78
        and #$80
        beq loc_10af
        lda $1b78
        and #$1f
        sta $1b60,x
        inc $1b32,x
        jmp loc_1074

loc_10af:
        lda $1b78
        and #$40
        beq loc_10c4
        lda $1b78
        and #$3f
        sta $1b87,x
        inc $1b32,x
        jmp loc_1074

loc_10c4:
        lda $1b78
        asl
        tay
        lda $175b,y
        sta $fd
        lda $175c,y
        sta $fe
        lda #$00
        sta $1b50,x
        ldy $1b35,x
        sta $1b53,x
        lda #$03
        sta $1b72,x
        lda ($fd),y
        sta $1b3b,x
        sta $1b77
        and #$7f
        sta $1b38,x
        inc $1b35,x
        lda $1b77
        bpl loc_1109
        iny
        lda ($fd),y
        bpl loc_1103
        sta $1b50,x
        jmp loc_1106

loc_1103:
        sta $1b44,x

loc_1106:
        inc $1b35,x

loc_1109:
        iny
        lda ($fd),y
        clc
        adc $1b60,x
        sta $1b41,x
        tay
        lda scr_15bf,y
        pha
        lda $161f,y
        ldy $1b67
        sta $d401,y
        sta $1b47,x
        sta $1b4a,x
        pla
        sta $d400,y
        sta $1b4d,x
        lda $1b44,x
        asl
        asl
        asl
        tax
        stx $1b63
        lda $1706,x
        ldx $ff
        sta $1b3e,x
        sta $d404,y
        lda #$00
        sta $d402,y
        ldx $ff
        sta $1b56,x
        ldx $1b63
        lda $1705,x
        ldx $ff
        sta $1b5c,x
        and #$0f
        sta $d403,y
        sta $1b59,x
        lda #$01
        sta $1b80,x
        ldx $1b63
        lda $1709,x
        ldx $ff
        sta $1b7d,x
        ldx $1b63
        lda $1707,x
        sta $d405,y
        lda $1708,x
        sta $d406,y
        ldx $ff
        inc $1b35,x
        ldy $1b35,x
        lda ($fd),y
        cmp #$ff
        bne loc_119f
        lda #$00
        sta $1b35,x
        lda $1b87,x
        beq loc_119c
        dec $1b87,x
        bpl loc_119f

loc_119c:
        inc $1b32,x

loc_119f:
        jmp loc_15b6

loc_11a2:
        ldy $1b67
        lda $1b53,x
        beq loc_11b2
        lda $1b3e,x
        and #$fe
        sta $d404,y

loc_11b2:
        lda $1b44,x
        asl
        asl
        asl
        tay
        lda $170a,y
        sta $1b64
        lda $170b,y
        sta $1b65
        lda $170c,y
        sta $1b66
        and #$04
        bne loc_11db
        lda $1b66
        and #$10
        bne loc_11db
        lda $1b64
        bne loc_11de

loc_11db:
        jmp loc_1280

loc_11de:
        pha
        and #$78
        lsr
        lsr
        lsr
        sta $1b69,x
        pla
        and #$07
        sta $1b68
        lda $1b6c,x
        beq loc_11fc
        dec $1b6f,x
        bne loc_1210
        inc $1b6c,x
        bpl loc_1210

loc_11fc:
        inc $1b6f,x
        lda $1b69,x
        cmp $1b6f,x
        bcs loc_1210
// Referenced by: jsr from $ff25

sub_1207:
        sta $1b6f,x
        dec $1b6c,x
        dec $1b6f,x

loc_1210:
        lda $1b41,x
        tay
        lda $15c0,y
        sec
        sbc scr_15bf,y
        sta $f8
        lda $1620,y
        sbc $161f,y
        adc $1b53,x
        lsr

loc_1227:
        dec $1b68
        bmi loc_1232
        lsr
        ror $f8
        jmp loc_1227

loc_1232:
        sta $f7
        lda scr_15bf,y
        sta $f5
        lda $161f,y
        sta $f6
        lda $1b69,x
        lsr
        tay

loc_1243:
        dey
        bmi loc_1256
        sec
        lda $f5
        sbc $f8
        sta $f5
        lda $f6
        sbc $f7
        sta $f6
        jmp loc_1243

loc_1256:
        lda $1b53,x
        cmp #$02
        bcc loc_1280
        ldy $1b6f,x

loc_1260:
        dey
        bmi loc_1273
        clc
        lda $f5
        adc $f8
        sta $f5
        lda $f6
        adc $f7
        sta $f6
        jmp loc_1260

loc_1273:
        ldy $1b67
        lda $f5
        sta $d400,y
        lda $f6
        sta $d401,y

loc_1280:
        ldx $ff
        ldy $1b67
        lda $1b50,x
        beq loc_12cf
        and #$7c
        sta $1b75
        lda $1b50,x
        and #$03
        beq loc_12b4
        lda $1b75
        sec
        lda $1b4d,x
        sbc $1b75
        sta $1b4d,x
        sta $d400,y
        lda $1b47,x
        sbc #$00
        sta $1b47,x
        sta $d401,y
        jmp loc_12cf

loc_12b4:
        lda $1b75
        clc
        lda $1b4d,x
        adc $1b75
        sta $1b4d,x
        sta $d400,y
        lda $1b47,x
        adc #$00
        sta $1b47,x
        sta $d401,y

loc_12cf:
        lda $1b65
        beq loc_1340
        and #$03
        tay
        dey
        tya
        asl
        asl
        tay
        lda $16f9,y
        cmp $1b53,x
        bcc loc_12e7
        jmp loc_12f1

loc_12e7:
        iny
        iny
        lda $16f9,y
        cmp $1b53,x
        bcc loc_12fb

loc_12f1:
        iny
        lda $16f9,y
        sta $1b5f
        jmp loc_1303

loc_12fb:
        lda $1b65
        and #$fc
        sta $1b5f

loc_1303:
        lda $1b80,x
        bne loc_1325
        lda $1b56,x
        sec
        sbc $1b5f
        sta $1b56,x
        lda $1b59,x
        sbc #$00
        sta $1b59,x
        cmp #$01
        bcs loc_1340
        lda #$01
        sta $1b80,x
        bne loc_1340

loc_1325:
        lda $1b56,x
        clc
        adc $1b5f
        sta $1b56,x
        lda $1b59,x
        adc #$00
        sta $1b59,x
        cmp #$0f
        bcc loc_1340
        lda #$00
        sta $1b80,x

loc_1340:
        lda #$00
        sta smc_1362                                // SMC: modifies $1362
        lda $1b5c,x
        and #$80
        beq loc_1358
        lda $1b53,x
        and #$01
        beq loc_1358
        lda #$b0
        sta smc_1362                                // SMC: modifies $1362

loc_1358:
        ldx $ff
        ldy $1b67
        lda $1b56,x
        clc
.label smc_1362 = * + 1
        adc #$00                                    // !SMC: modified by $1342, $1355
        sta $d402,y
        lda $1b59,x
        adc #$00
        sta $d403,y
        lda $1b66
        and #$40
        beq loc_138a
        ldx $ff
        lda $1b53,x
        cmp #$02
        bcc loc_138a
        and #$03
        tax
        lda $168d,x
        ldy $1b67
        sta $d404,y

loc_138a:
        lda $1b66
        and #$08
        beq loc_13a9
        ldx $ff
        lda $1b53,x
        cmp #$00
        bcc loc_13a9
        lda $1b53,x
        and #$07
        tax
        lda $1691,x
        ldy $1b67
        sta $d403,y

loc_13a9:
        lda $1b66
        and #$20
        beq loc_13c8
        ldx $ff
        lda $1b38,x
        cmp #$02
        bcs loc_13c8
        ldy $1b67
        lda $1b47,x
        clc
        adc #$01
        sta $1b47,x
        sta $d401,y

loc_13c8:
        sty $1b78
        lda $1b66
        and #$01
        beq loc_140f
        ldx $ff
        stx $1b86
        lda $1b7d,x
        and #$03
        asl
        tax
        lda $16eb,x
        sta smc_13eb                                // SMC: modifies $13eb
        lda $16ec,x
        sta smc_13ef                                // SMC: modifies $13ef
.label smc_13eb = * + 1
        lda #$ed                                    // !SMC: modified by $13e1
        sta $f9
.label smc_13ef = * + 1
        lda #$16                                    // !SMC: modified by $13e7
        sta $fa
        ldx $ff
        lda $1b53,x
        ldy #$0b
        cmp ($f9),y
        bcs loc_1430
        ldy #$0a

loc_13ff:
        cmp ($f9),y
        bcs loc_143b
        dey
        cpy #$06
        bne loc_13ff
        cmp ($f9),y
        bcs loc_1412
        jmp loc_145b

loc_140f:
        jmp loc_144a

loc_1412:
        lda $ff
        asl
        bne loc_141a
        clc
        adc #$01

loc_141a:
        sta $1b79
        ldx $1b83
        txa
        and $1b79
        bne loc_142e
        txa
        clc
        adc $1b79
        sta $d417

loc_142e:
        ldy #$06

loc_1430:
        dey
        dey
        dey
        dey
        dey
        dey
        lda ($f9),y
        jmp loc_1453

loc_143b:
        dey
        dey
        dey
        dey
        dey
        dey
        lda $1b7a,x
        clc
        adc ($f9),y
        jmp loc_1453

loc_144a:
        lda $ff
        cmp $1b86
        bne loc_145b
        lda #$ff

loc_1453:
        ldx $ff
        sta $1b7a,x
        sta $d416

loc_145b:
        ldy $1b78
        lda $1b66
        and #$02
        beq loc_148b
        ldx $ff
        lda $1b53,x
        cmp #$07
        bcs loc_148b
        ldy $1b67
        lda $1b53,x
        tax
        dex
        lda txt_167f,x
        sta $d404,y
        lda $1686,x
        ldx $ff
        clc
        adc $1b41,x
        clc
        adc $41
        jmp loc_15a6

loc_148b:
        ldx $ff
        ldy $1b67
        lda $1b7d,x
        and #$08
        beq loc_14a8
        lda $1b4d,x
        clc
        adc #$60
        sta $d400,y
        lda $1b47,x
        adc #$00
        sta $d401,y

loc_14a8:
        ldx $ff
        lda $1b7d,x
        and #$04
        beq loc_14d3
        lda $1b3b,x
        and #$7f
        cmp #$00
        bcc loc_14d3
        lda $1b38,x
        cmp #$10
        bcs loc_14d3
        lda $1b53,x
        and #$01
        beq loc_14d3
        lda $1b4a,x
        beq loc_14d3
        dec $1b4a,x
        sta $d401,y

loc_14d3:
        lda $1b66
        and #$10
        beq loc_153a
        lda $1b64
        and #$0f
        tax
        lda $1699,x
        sta smc_1504                                // SMC: modifies $1504
        lda $169b,x
        sta smc_1505                                // SMC: modifies $1505
        lda $169d,x
        sta smc_1511                                // SMC: modifies $1511
        lda $169f,x
        sta smc_1512                                // SMC: modifies $1512
        ldx $ff
        lda $1b53,x
        cmp #$0f
        bcs loc_1537
        tax
        dex
.label smc_1504 = * + 1
.label smc_1505 = * + 2
        lda $16d1,x                                 // !SMC: modified by $14e3, $14e9
        cmp #$ff
        beq loc_1537
        ldy $1b67
        sta $d404,y
.label smc_1511 = * + 1
.label smc_1512 = * + 2
        lda $16c1,x                                 // !SMC: modified by $14ef, $14f5
        sta $1b79
        lda $1b64
        and #$10
        beq loc_1529
        ldx $ff
        lda $1b41,x
        clc
        adc $1b79
        jmp loc_15a6

loc_1529:
        lda $1b79
        clc
        adc #$0d
        sta $d401,y
        lda #$00
        sta $d400,y

loc_1537:
        jmp loc_15b6

loc_153a:
        lda $1b66
        and #$80
        beq loc_1573
        ldx $ff
        ldy $1b67
        lda $1b53,x
        cmp #$02
        bcs loc_155f
        lda #$48
        sta $d401,y
        lda #$00
        sta $d400,y
        lda #$81
        sta $d404,y
        jmp loc_15b6

loc_155f:
        lda $1b4d,x
        sta $d400,y
        lda $1b47,x
        sta $d401,y
        lda $1b3e,x
        and #$fe
        sta $d404,y

loc_1573:
        lda $1b66
        and #$04
        beq loc_15b6
        dec $1b72,x
        bpl loc_1584
        lda #$02
        sta $1b72,x

loc_1584:
        ldx $1b64
        lda $16e1,x
        sta smc_159a                                // SMC: modifies $159a
        lda $16e3,x
        sta smc_159b                                // SMC: modifies $159b
        ldx $ff
        lda $1b72,x
        tax
.label smc_159a = * + 1
.label smc_159b = * + 2
        lda $16e5,x                                 // !SMC: modified by $158a, $1590
        sta $41
        ldx $ff
        lda $1b41,x
        clc
        adc $41

loc_15a6:
        tax
        ldy $1b67
        lda scr_15bf,x
        sta $d400,y
        lda $161f,x
        sta $d401,y

loc_15b6:
        ldx $ff
        dex
        bmi loc_15be
        jmp loc_104b

loc_15be:
        rts

// --- Region $1ab8-$1b2d ---
.pc = $1ab8 "sub_1ab8"
// Referenced by: jsr from $1030

sub_1ab8:
        lda $1b85
        cmp #$02
        beq loc_1b02
        cmp #$01
        beq loc_1ae3
        inc $1b53
        inc $1b54
        inc $1b55
        lda #$5f
        sta $d418
        jmp loc_103e
// Referenced by: jsr from $1b1f, $f834

sub_1ad4:
        lda #$00
        ldx #$58

loc_1ad8:
        sta $1b32,x
        dex
        bpl loc_1ad8
        lda #$b0
        sta $1b83

loc_1ae3:
        lda #$00
        sta $1b53
        sta $1b54
        sta $1b55
        ldx #$02

loc_1af0:
        sta $1b32,x
        sta $1b35,x
        sta $1b38,x
        sta $1b41,x
        dex
        bpl loc_1af0
        sta $1b85

loc_1b02:
        rts
// Referenced by: jsr from $1e02, $ee0b, $f8ce

sub_1b03:
        pha
        lda #$01
        sta $1b85
        pla
        tax
        lda $1745,x
        sta $fb
        lda $1747,x
        sta $fc
        ldy #$05

loc_1b17:
        lda ($fb),y
        sta $1755,y
        dey
        bpl loc_1b17
        jsr sub_1ad4

loc_1b22:
        ldx #$00
        txa

loc_1b25:
        sta $d400,x
        inx
        cpx #$18
        bne loc_1b25
        rts

// --- Region $1e00-$1e13 ---
.pc = $1e00 "main_1e00"

main_1e00:
        lda #$00
        jsr sub_1b03
        lda #$01
        sta $d025
        lda #$06
        sta $d026
        jmp loc_2000

chr_1e12:
        // === Charset data (2 bytes, $1e12-$1e13) ===
        .byte $ff,$00                               // char 0 (partial)

// --- Region $2000-$237d ---
.pc = $2000 "loc_2000"

loc_2000:
        sei
        lda #$01
        sta $0286
        jsr $e544
// Referenced by: jsr from $ff20

sub_2009:
        ldx #$00

loc_200b:
        lda dat_25ca,x
        sta $0400,x
        lda $26ca,x
        sta $0500,x
        lda $27ca,x
        sta $0600,x
        lda $28ca,x
        sta $0700,x
        dex
        bne loc_200b
        lda #$c6
        sta $02
        lda #$29
        sta $03
        lda #$32
        sta $d012
        lda #$00
        sta $dc0e
        ldx #$00

loc_203a:
        lda tbl_244b,x
        sta $d000,x
        inx
        cpx #$11
        bne loc_203a
        lda #$13
        sta $d018
        lda #$00
        sta $d015
        lda #$01
        sta $d01a
        sta $dc0d
        lda #$ab
        sta $0314
        lda #$20
        sta $0315
        lda #$1b
        sta $d011
        lda #$ff
        sta $d01c
        cli

loc_206c:
        jmp loc_206c

loc_206f:
        sei
        lda #$00
        sta $dc0d
        sta $d01a
        lda #$01
        sta $dc0e
        jsr $ff84
        jsr $ff8a
        jsr $e544
        lda #$00
        sta $d418
        lda #$00
        sta $d015
        lda #$15
        sta $d018
        lda #$c8
        sta $d016
        cli
        ldx #$00

loc_209d:
        lda $24cb,x
        sta $0495,x
        inx
        cpx #$37
        bne loc_209d
        jmp $0495
irq_20ab: {
        ldx #$00
        jsr sub_2362
        ldy #$18
loop1:
        dey
        bne loop1
        ldx #$00
loop2:
        lda $2465,x
        sta $d000,x
        inx
        cpx #$11
        bne loop2
        ldx #$00
loop3:
        lda txt_2476,x
        sta $07f8,x
        inx
        cpx #$08
        bne loop3
        lda #$3f
        sta $d015
        dec $d019
        lda #$e9
        sta $0314
        lda #$20
        sta $0315
        lda #$59
        sta $d012
        jmp loc_ea81
}

irq_20e9:
        ldx #$00

loc_20eb:
        lda tbl_244b,x
        sta $d000,x
        inx
        cpx #$10
        bne loc_20eb
        ldx #$00

loc_20f8:
        lda txt_245c,x
        sta $07f8,x
        inx
        cpx #$07
        bne loc_20f8
        lda #$6a
        sta $d012
        lda #$18
        sta $0314
        lda #$21
        sta $0315
        dec $d019
        jmp loc_ea7e
irq_2118: {
        ldy #$09
loop1:
        dey
        bne loop1
        ldx #$00
loop2:
        lda dat_247e,x
        sta $d020
        sta $d021
        ldy $23ea,x
loop3:
        dey
        bne loop3
        inx
        cpx #$2a
        bne loop2
        lda #$aa
        sta $d012
        lda #$48
        sta $0314
        lda #$21
        sta $0315
        dec $d019
        jmp loc_ea81
}
irq_2148: {
        lda $24ca
        sta $d016
        ldy #$02
loop1:
        dey
        bne loop1
        ldx #$00
loop2:
        lda $24a8,x
        sta $d020
        sta $d021
        ldy $242d,x
loop3:
        dey
        bne loop3
        inx
        cpx #$19
        bne loop2
        lda #$d2
        sta $d012
        lda #$81
        sta $0314
        lda #$21
        sta $0315
        dec $d019
        jsr sub_2370
        jmp loc_ea81
}

irq_2181:
        lda #$c8
        sta $d016
        dec $24ca
        dec $24ca
        lda $24ca
        cmp #$7f
        bne loc_2196
        jsr sub_2335

loc_2196:
        dec dat_24c1
        bne loc_219e
        jsr sub_21d1

loc_219e:
        dec $24c2
        bne loc_21a6
        jsr sub_21f8

loc_21a6:
        lda $dc01
        cmp #$ef
        beq loc_21ce
        dec $d019
        lda #$ab
        sta $0314
        lda #$20
        sta $0315
        lda #$32
        sta $d012
        jsr sub_1026
        pla
        tay
        pla
        tax
        lda $dd0d
        lda $dc0d
        pla
        rti

loc_21ce:
        jmp loc_206f
// Referenced by: jsr from $219b, $faa4

sub_21d1:
        ldx #$00

loc_21d3:
        lda dat_237e,x
        sta dat_247e,x
        inx
        cpx #$28
        bne loc_21d3
        lda $24c3
        bne loc_21ec
        jsr sub_226d
        jsr sub_22d1
        jmp loc_21f2

loc_21ec:
        jsr sub_22d1
        jsr sub_226d

loc_21f2:
        lda #$03
        sta dat_24c1
        rts

// Referenced by: jsr from $21a3, $faac
sub_21f8: {
        ldx #$00
        lda #$00
loop1:
        sta $24a8,x
        inx
        cpx #$18
        bne loop1
        lda #$05
        sta $24c2
        ldx #$00
        ldy $24c8
loop2:
        lda $23e2,x
        sta $24a8,y
        inx
        iny
        cpx #$07
        bne loop2
        lda $24c9
        beq skip
        jsr sub_2245
        lda $24c8
        cmp #$0f
        bne done1
        lda #$00
        sta $24c9
done1:
        inc $24c8
        rts
skip:
        jsr sub_2259
        lda $24c8
        cmp #$01
        bne done2
        lda #$01
        sta $24c9
done2:
        dec $24c8
        rts
}

// Referenced by: jsr from $221f
sub_2245: {
        ldx #$06
        ldy $23e9
loop:
        lda $23e2,x
        sta $23e3,x
        dex
        cpx #$ff
        bne loop
        sty $23e2
        rts
}

// Referenced by: jsr from $2232
sub_2259: {
        ldx #$00
        ldy $23e2
loop:
        lda $23e3,x
        sta $23e2,x
        inx
        cpx #$07
        bne loop
        sty $23e9
        rts
}

// Referenced by: jsr from $21e3, $21ef, $faec, $faf8
sub_226d: {
        ldx #$00
        ldy $24c6
loop:
        lda dat_23b9,x
        sta dat_247e,y
        inx
        iny
        cpx #$0f
        bne loop
        lda $24c3
        beq skip
        lda $24c6
        cmp #$01
        bne done1
        lda #$00
        sta $24c3
done1:
        dec $24c6
        jsr sub_22a9
        rts
skip:
        lda $24c6
        cmp #$18
        bne done2
        lda #$01
        sta $24c3
done2:
        inc $24c6
        jsr sub_22bd
        rts
}

// Referenced by: jsr from $2292, $fb9b
sub_22a9: {
        ldx #$00
        ldy dat_23b9
loop:
        lda $23ba,x
        sta dat_23b9,x
        inx
        cpx #$0e
        bne loop
        sty $23c7
        rts
}

// Referenced by: jsr from $22a5, $fbae
sub_22bd: {
        ldx #$0e
        ldy $23c7
loop:
        lda dat_23b9,x
        sta $23ba,x
        dex
        cpx #$ff
        bne loop
        sty dat_23b9
        rts
}

// Referenced by: jsr from $21e6, $21ec, $faef, $faf5
sub_22d1: {
        ldx #$00
        ldy $24c7
loop:
        lda $23c9,x
        sta dat_247e,y
        inx
        iny
        cpx #$0f
        bne loop
        lda $24c4
        beq skip
        lda $24c7
        cmp #$01
        bne done1
        lda #$00
        sta $24c4
done1:
        dec $24c7
        jsr sub_230d
        rts
skip:
        lda $24c7
        cmp #$18
        bne done2
        lda #$01
        sta $24c4
done2:
        inc $24c7
        jsr sub_2321
        rts
}

// Referenced by: jsr from $22f6, $fbff
sub_230d: {
        ldx #$00
        ldy $23c9
loop:
        lda $23ca,x
        sta $23c9,x
        inx
        cpx #$0e
        bne loop
        sty $23d7
        rts
}

// Referenced by: jsr from $2309, $fc12
sub_2321: {
        ldx #$0e
        ldy $23d7
loop:
        lda $23c9,x
        sta $23ca,x
        dex
        cpx #$ff
        bne loop
        sty $23c9
        rts
}
// Referenced by: jsr from $2193, $fa9c

sub_2335:
        lda #$87
        sta $24ca
        ldx #$00

loc_233c:
        lda $0681,x
        sta $0680,x
        inx
        cpx #$27
        bne loc_233c
        ldy #$00
        lda ($02),y
        beq loc_2357
        sta $06a7
        inc $02
        bne loc_2356
        inc $03

loc_2356:
        rts

loc_2357:
        lda #$c6
        sta $02
        lda #$29
        sta $03
        jmp loc_2356

// Referenced by: jsr from $20ad, $f9b6
sub_2362: {
        ldx #$00
        lda $23e2
loop:
        sta $da08,x
        inx
        cpx #$28
        bne loop
        rts
}
// Referenced by: jsr from $217b, $fa84

sub_2370:
        ldx #$70
        lda $23e2

loc_2375:
        sta $db00,x
        inx
        cpx #$e8
        bne loc_2375
        rts

// --- Region $53ee-$53ee ---
.pc = $53ee "Segment $53ee"
        brk

// --- Region $8d42-$8d42 ---
.pc = $8d42 "loc_8d42"

loc_8d42:
        brk

// --- Region $8dd0-$8dd0 ---
.pc = $8dd0 "Segment $8dd0"
        brk

// --- Region $a978-$a978 ---
.pc = $a978 "Segment $a978"
        brk

// --- Region $e544-$e544 ---
.pc = $e544 "Segment $e544"
        brk

// --- Region $ea7e-$eabd ---
.pc = $ea7e "loc_ea7e"

loc_ea7e:
        lda spr_0800,x

loc_ea81:
        sta $05c2
        lda $0801,x
        sta $05c5
        lda $0802,x
        sta $05c8
        lda $0803,x
        sta $05cb
        lda $0804,x
        sta $05ce
        lda $0805,x
        sta $05d1
        lda $0806,x
        sta $05d4
        lda $0807,x
        sta $05d7
        inc $fc
        bne loc_eab4
        inc $fd

loc_eab4:
        lda #$01
        sta $d019
        jmp loc_febc

dat_eabc:
        .byte $00,$a2                               // ..

// --- Region $edea-$ee0f ---
.pc = $edea "loc_edea"

loc_edea:
        sei
        lda #$26
        sta $0314
        lda #$10
        sta $0315
        lda #$00
        sta $dc0e
        lda #$01
        sta $d01a
        lda #$1b
        sta $d011
        lda #$42
        sta $d012
        lda #$00
        jsr sub_1b03
        cli
        rts

// --- Region $ee58-$ef1e ---
.pc = $ee58 "loc_ee58"

loc_ee58:
        asl $4c
        ldx #$11
        jmp loc_11b2

loc_ee5f:
        ldy $1b32,x
        lda ($fb),y
        cmp #$fe
        beq loc_ee7d
        cmp #$ff
        bne loc_ee85
        lda #$00
        sta $1b38,x
        sta $1b32,x
        sta $1b35,x
        sta $1b83
        jmp loc_1074

loc_ee7d:
        lda #$02
        sta $1b85
        jmp loc_1b22

loc_ee85:
        sta $1b78
        and #$80
        beq loc_ee9a
        lda $1b78
        and #$1f
        sta $1b60,x
        inc $1b32,x
        jmp loc_1074

loc_ee9a:
        lda $1b78
        and #$40
        beq loc_eeaf
        lda $1b78
        and #$3f
        sta $1b87,x
        inc $1b32,x
        jmp loc_1074

loc_eeaf:
        lda $1b78
        asl
        tay
        lda $175b,y
        sta $fd
        lda $175c,y
        sta $fe
        lda #$00
        sta $1b50,x
        ldy $1b35,x
        sta $1b53,x
        lda #$03
        sta $1b72,x
        lda ($fd),y
        sta $1b3b,x
        sta $1b77
        and #$7f
        sta $1b38,x
        inc $1b35,x
        lda $1b77
        bpl loc_eef4
        iny
        lda ($fd),y
        bpl loc_eeee
        sta $1b50,x
        jmp loc_1106

loc_eeee:
        sta $1b44,x
        inc $1b35,x

loc_eef4:
        iny
        lda ($fd),y
        clc
        adc $1b60,x
        sta $1b41,x
        tay
        lda scr_15bf,y
        pha
        lda $161f,y
        ldy $1b67
        sta $d401,y
        sta $1b47,x
        sta $1b4a,x
        pla
        sta $d400,y
        sta $1b4d,x
        lda $1b44,x
        .byte $e3,$0a                               // isc ($0a,x) // ILLEGAL
        rts

// --- Region $ef74-$ef8e ---
.pc = $ef74 "loc_ef74"

loc_ef74:
        sbc $ffc9,x
        bne loc_ef8b
        lda #$00
        sta $1b35,x
        lda $1b87,x
        beq loc_ef88
        dec $1b87,x
        bpl loc_ef8b

loc_ef88:
        inc $1b32,x

loc_ef8b:
        jmp loc_15b6

dat_ef8e:
        .byte $ac                                   // .

// --- Region $efb5-$efd0 ---
.pc = $efb5 "loc_efb5"

loc_efb5:
        sta $1b66
        and #$04
        bne loc_efc8
        lda $1b66
        and #$10
        bne loc_efc8
        lda $1b64
        bne loc_efcb

loc_efc8:
        jmp loc_1280

loc_efcb:
        pha
        and #$78
        .byte $e3,$4a                               // isc ($4a,x) // ILLEGAL
        .byte $62                                   // jam // ILLEGAL

// --- Region $f018-$f237 ---
.pc = $f018 "loc_f018"

loc_f018:
        bmi loc_f020
        lsr
        ror $f8
        jmp loc_1227

loc_f020:
        sta $f7
        lda scr_15bf,y
        sta $f5
        lda $161f,y
        sta $f6
        lda $1b69,x
        lsr
        tay
        dey
        bmi loc_f044
        sec
        lda $f5
        sbc $f8
        sta $f5
        lda $f6
        sbc $f7
        sta $f6
        jmp loc_1243

loc_f044:
        lda $1b53,x
        cmp #$02
        bcc loc_f06e
        ldy $1b6f,x
        dey
        bmi loc_f061
        clc
        lda $f5
        adc $f8
        sta $f5
        lda $f6
        adc $f7
        sta $f6
        jmp loc_1260

loc_f061:
        ldy $1b67
        lda $f5
        sta $d400,y
        lda $f6
        sta $d401,y

loc_f06e:
        ldx $ff
        ldy $1b67
        lda $1b50,x
        beq loc_f0bd
        and #$7c
        sta $1b75
        lda $1b50,x
        and #$03
        beq loc_f0a2
        lda $1b75
        sec
        lda $1b4d,x
        sbc $1b75
        sta $1b4d,x
        sta $d400,y
        lda $1b47,x
        sbc #$00
        sta $1b47,x
        sta $d401,y
        jmp loc_12cf

loc_f0a2:
        lda $1b75
        clc
        lda $1b4d,x
        adc $1b75
        sta $1b4d,x
        sta $d400,y
        lda $1b47,x
        adc #$00
        sta $1b47,x
        sta $d401,y

loc_f0bd:
        lda $1b65
        beq loc_f12e
        and #$03
        tay
        dey
        tya
        asl
        asl
        tay
        lda $16f9,y
        cmp $1b53,x
        bcc loc_f0d5
        jmp loc_12f1

loc_f0d5:
        iny
        iny
        lda $16f9,y
        cmp $1b53,x
        bcc loc_f0e9
        iny
        lda $16f9,y
        sta $1b5f
        jmp loc_1303

loc_f0e9:
        lda $1b65
        and #$fc
        sta $1b5f
        lda $1b80,x
        bne loc_f113
        lda $1b56,x
        sec
        sbc $1b5f
        sta $1b56,x
        lda $1b59,x
        sbc #$00
        sta $1b59,x
        cmp #$01
        bcs loc_f12e
        lda #$01
        sta $1b80,x
        bne loc_f12e

loc_f113:
        lda $1b56,x
        clc
        adc $1b5f
        sta $1b56,x
        lda $1b59,x
        adc #$00
        sta $1b59,x
        cmp #$0f
        bcc loc_f12e
        lda #$00
        sta $1b80,x

loc_f12e:
        lda #$00
        sta smc_1362
        lda $1b5c,x
        and #$80
        beq loc_f146
        lda $1b53,x
        and #$01
        beq loc_f146
        lda #$b0
        sta smc_1362

loc_f146:
        ldx $ff
        ldy $1b67
        lda $1b56,x
        clc
        adc #$00
        sta $d402,y
        lda $1b59,x
        adc #$00
        sta $d403,y
        lda $1b66
        and #$40
        beq loc_f178
        ldx $ff
        lda $1b53,x
        cmp #$02
        bcc loc_f178
        and #$03
        tax
        lda $168d,x
        ldy $1b67
        sta $d404,y

loc_f178:
        lda $1b66
        and #$08
        beq loc_f197
        ldx $ff
        lda $1b53,x
        cmp #$00
        bcc loc_f197
        lda $1b53,x
        and #$07
        tax
        lda $1691,x
        ldy $1b67
        sta $d403,y

loc_f197:
        lda $1b66
        and #$20
        beq loc_f1b6
        ldx $ff
        lda $1b38,x
        cmp #$02
        bcs loc_f1b6
        ldy $1b67
        lda $1b47,x
        clc
        adc #$01
        sta $1b47,x
        sta $d401,y

loc_f1b6:
        sty $1b78
        lda $1b66
        and #$01
        beq loc_f1fd
        ldx $ff
        stx $1b86
        lda $1b7d,x
        and #$03
        asl
        tax
        lda $16eb,x
        sta smc_13eb
        lda $16ec,x
        sta smc_13ef
        lda #$ed
        sta $f9
        lda #$16
        sta $fa
        ldx $ff
        lda $1b53,x
        ldy #$0b
        cmp ($f9),y
        bcs loc_f21e
        ldy #$0a

loc_f1ed:
        cmp ($f9),y
        bcs loc_f229
        dey
        cpy #$06
        bne loc_f1ed
        cmp ($f9),y
        bcs loc_f200
        jmp loc_145b

loc_f1fd:
        jmp loc_144a

loc_f200:
        lda $ff
        asl
        bne loc_f208
        clc
        adc #$01

loc_f208:
        sta $1b79
        ldx $1b83
        txa
        and $1b79
        bne loc_f21c
        txa
        clc
        adc $1b79
        sta $d417

loc_f21c:
        ldy #$06

loc_f21e:
        inc $88
        and $b1
        sbc $534c,y
        .byte $14,$e6                               // nop $e6,x // ILLEGAL
        dey
.label loc_f229 = * + 1
        adc ($de,x)
        lda $1b7a,x
        clc
        adc ($f9),y
        jmp loc_1453
        lda $ff
        cmp $1b86

// --- Region $f26c-$f274 ---
.pc = $f26c "loc_f26c"

loc_f26c:
        eor ($1b,x)
        clc
        adc $41
        jmp loc_15a6

dat_f274:
        .byte $a6                                   // .

// --- Region $f315-$f323 ---
.pc = $f315 "loc_f315"

loc_f315:
        clc
        adc #$0d
        sta $d401,y
        lda #$00
        sta $d400,y
        jmp loc_15b6

dat_f323:
        .byte $ad                                   // .

// --- Region $f332-$f3a7 ---
.pc = $f332 "loc_f332"

loc_f332:
        cmp #$02
        bcs loc_f348
        lda #$48
        sta $d401,y
        lda #$00
        sta $d400,y
        lda #$81
        sta $d404,y
        jmp loc_15b6

loc_f348:
        lda $1b4d,x
        sta $d400,y
        lda $1b47,x
        sta $d401,y
        lda $1b3e,x
        and #$fe
        sta $d404,y
        lda $1b66
        and #$04
        beq loc_f39f
        dec $1b72,x
        bpl loc_f36d
        lda #$02
        sta $1b72,x

loc_f36d:
        ldx $1b64
        lda $16e1,x
        sta smc_159a
        lda $16e3,x
        sta smc_159b
        ldx $ff
        lda $1b72,x
        tax
        lda $16e5,x
        sta $41
        ldx $ff
        lda $1b41,x
        clc
        adc $41
        tax
        ldy $1b67
        lda scr_15bf,x
        sta $d400,y
        lda $161f,x
        sta $d401,y

loc_f39f:
        ldx $ff
        dex
        bmi loc_f3a7
        jmp loc_104b

loc_f3a7:
        rts

// --- Region $f7df-$f818 ---
.pc = $f7df "loc_f7df"

loc_f7df:
        eor $1b,x
        lda #$5f
        sta $d418
        jmp loc_103e

loc_f7e9:
        lda #$00
        ldx #$58

loc_f7ed:
        sta $1b32,x
        dex
        bpl loc_f7ed
        lda #$b0
        sta $1b83
        lda #$00
        sta $1b53
        sta $1b54
        sta $1b55
        ldx #$02

loc_f805:
        sta $1b32,x
        sta $1b35,x
        sta $1b38,x
        sta $1b41,x
        dex
        bpl loc_f805
        sta $1b85
        rts

dat_f818:
        .byte $48                                   // H

// --- Region $f821-$f842 ---
.pc = $f821 "loc_f821"

loc_f821:
        eor $17
        sta $fb
        lda $1747,x
        sta $fc
        ldy #$05

loc_f82c:
        lda ($fb),y
        sta $1755,y
        dey
        bpl loc_f82c
        jsr sub_1ad4
        ldx #$00
        txa

loc_f83a:
        sta $d400,x
        inx
        cpx #$18
        bne loc_f83a
        rts

// --- Region $f866-$f86a ---
.pc = $f866 "loc_f866"

loc_f866:
        .byte $34,$01                               // nop $01,x // ILLEGAL
        .byte $07,$07                               // slo $07 // ILLEGAL
        rts

// --- Region $f8cb-$f8df ---
.pc = $f8cb "loc_f8cb"

loc_f8cb:
        eor.abs $00a9,x
        jsr sub_1b03
        lda #$01
        sta $d025
        lda #$06
        sta $d026
        jmp loc_2000

dat_f8de:
        .byte $1b,$ff                               // ..

// --- Region $f914-$fa89 ---
.pc = $f914 "loc_f914"

loc_f914:
        lda dat_25ca,x
        sta $0400,x
        lda $26ca,x
        sta $0500,x
        lda $27ca,x
.label loc_f925 = * + 2
        sta $0600,x
        lda $28ca,x
        sta $0700,x
        dex
        bne loc_f914
        lda #$c6
        sta $02
        lda #$29
        sta $03
        lda #$32
        sta $d012
        lda #$00
        sta $dc0e
        ldx #$00

loc_f943:
        lda tbl_244b,x
        sta $d000,x
        inx
        cpx #$11
        bne loc_f943
        lda #$13
        sta $d018
        lda #$00
        sta $d015
        lda #$01
        sta $d01a
        sta $dc0d
        lda #$ab
        sta $0314
        lda #$20
        sta $0315
        lda #$1b
        sta $d011
        lda #$ff
        sta $d01c
        cli
        jmp loc_206c

loc_f978:
        sei
        lda #$00
        sta $dc0d
        sta $d01a
        lda #$01
        sta $dc0e
        jsr $ff84
        jsr $ff8a
        jsr $e544
        lda #$00
        sta $d418
        lda #$00
        sta $d015
        lda #$15
        sta $d018
        lda #$c8
        sta $d016
        cli
        ldx #$00

loc_f9a6:
        lda $24cb,x
        sta $0495,x
        inx
        cpx #$37
        bne loc_f9a6
        jmp $0495

loc_f9b4:
        ldx #$00
        jsr sub_2362
        ldy #$18

loc_f9bb:
        dey
        bne loc_f9bb
        ldx #$00

loc_f9c0:
        lda $2465,x
        sta $d000,x
        inx
        cpx #$11
        bne loc_f9c0
        ldx #$00

loc_f9cd:
        lda txt_2476,x
        sta $07f8,x
        inx
        cpx #$08
        bne loc_f9cd
        lda #$3f
        sta $d015
        dec $d019
        lda #$e9
        sta $0314
        lda #$20
        sta $0315
        lda #$59
        sta $d012
        jmp loc_ea81

loc_f9f2:
        ldx #$00

loc_f9f4:
        lda tbl_244b,x
        sta $d000,x
        inx
        cpx #$10
        bne loc_f9f4
        ldx #$00

loc_fa01:
        lda txt_245c,x
        sta $07f8,x
        inx
        cpx #$07
        bne loc_fa01
        lda #$6a
        sta $d012
        lda #$18
        sta $0314
        lda #$21
        sta $0315
        dec $d019
        jmp loc_ea7e

loc_fa21:
        ldy #$09

loc_fa23:
        dey
        bne loc_fa23
        ldx #$00

loc_fa28:
        lda dat_247e,x
        sta $d020
        sta $d021
        ldy $23ea,x

loc_fa34:
        dey
        bne loc_fa34
        inx
        cpx #$2a
        bne loc_fa28
        lda #$aa
        sta $d012
        lda #$48
        sta $0314
        lda #$21
        sta $0315
        dec $d019
        jmp loc_ea81

loc_fa51:
        lda $24ca
        sta $d016
        ldy #$02

loc_fa59:
        dey
        bne loc_fa59
        ldx #$00

loc_fa5e:
        lda $24a8,x
        sta $d020
        sta $d021
        ldy $242d,x

loc_fa6a:
        dey
        bne loc_fa6a
        inx
        cpx #$19
        bne loc_fa5e
        lda #$d2
        sta $d012
        lda #$81
        sta $0314
        lda #$21
        sta $0315
        dec $d019
        jsr sub_2370
        jmp loc_ea81

// --- Region $fa92-$fb00 ---
.pc = $fa92 "loc_fa92"

loc_fa92:
        dec $24ca
        lda $24ca
        cmp #$7f
        bne loc_fa9f
        jsr sub_2335

loc_fa9f:
        dec dat_24c1
        bne loc_faa7
        jsr sub_21d1

loc_faa7:
        dec $24c2
        bne loc_faaf
        jsr sub_21f8

loc_faaf:
        lda $dc01
        cmp #$ef
        beq loc_fad7
        dec $d019
        lda #$ab
        sta $0314
        lda #$20
        sta $0315
        lda #$32
        sta $d012
        jsr sub_1026
        pla
        tay
        pla
        tax
        lda $dd0d
        lda $dc0d
        pla
        rti

loc_fad7:
        jmp loc_206f

loc_fada:
        ldx #$00

loc_fadc:
        lda dat_237e,x
        sta dat_247e,x
        inx
        cpx #$28
        bne loc_fadc
        lda $24c3
        bne loc_faf5
        jsr sub_226d
        jsr sub_22d1
        jmp loc_21f2

loc_faf5:
        jsr sub_22d1
        jsr sub_226d
        lda #$03
        sta dat_24c1
        rts

// --- Region $fb8d-$fbb1 ---
.pc = $fb8d "loc_fb8d"

loc_fb8d:
        dec $24
        cmp #$01
        bne loc_fb98
        lda #$00
        sta $24c3

loc_fb98:
        dec $24c6
        jsr sub_22a9
        rts

dat_fb9f:
        .byte $ad                                   // .

loc_fba0:
        dec $24
        cmp #$18
        bne loc_fbab
        lda #$01
        sta $24c3

loc_fbab:
        inc $24c6
        jsr sub_22bd
        rts

// --- Region $fbf3-$fc15 ---
.pc = $fbf3 "loc_fbf3"

loc_fbf3:
        cmp #$01
        bne loc_fbfc
        lda #$00
        sta $24c4

loc_fbfc:
        dec $24c7
        jsr sub_230d
        rts

dat_fc03:
        .byte $ad,$c7                               // ..

loc_fc05:
        bit $c9
        clc
        bne loc_fc0f
        lda #$01
        sta $24c4

loc_fc0f:
        inc $24c7
        jsr sub_2321
        rts

// --- Region $fc45-$fc6b ---
.pc = $fc45 "loc_fc45"

loc_fc45:
        lda $0681,x
.label loc_fc4a = * + 2
        sta $0680,x
        inx
        cpx #$27
        bne loc_fc45
        ldy #$00
        lda ($02),y
        beq loc_fc60
        sta $06a7
        inc $02
        bne loc_fc5f
        inc $03

loc_fc5f:
        rts

loc_fc60:
        lda #$c6
        sta $02
        lda #$29
        sta $03
        jmp loc_2356

dat_fc6b:
        .byte $a2                                   // .

// --- Region $fce2-$fcf4 ---
.pc = $fce2 "loc_fce2"

loc_fce2:
        ora #$08
        ora ($09,x)
        ora #$08
        ora #$08
        ora #$08
        ora ($08,x)
        ora #$09
        nop
        php
        .byte $37,$66                               // rla $66,x // ILLEGAL
        .byte $32                                   // jam // ILLEGAL

// --- Region $fd35-$fd69 ---
.pc = $fd35 "loc_fd35"

loc_fd35:
        sei
        lda #$35
        sta $01
        lda #$30
        ldx #$08
        ldy #$00
        sty $fb
        iny
        sty $fd
        sta $fc
        stx $fe

loc_fd49:
        ldy #$00

loc_fd4b:
        lda ($fb),y
        sta ($fd),y
        iny
        bne loc_fd4b
        inc $fc
        inc $fe
        lda $fc
        cmp #$d0
        bne loc_fd49
        lda #$37
        sta $01
        ldx #$00
        stx spr_0800
        jmp loc_fce2

dat_fd68:
        .byte $4c,$ae                               // L.

// --- Region $febc-$fec7 ---
.pc = $febc "loc_febc"

loc_febc:
        ora ($0d,x)
        ora $21
        and ($20,x)
        .byte $0f,$0b,$20                           // slo loc_200b // ILLEGAL
        .byte $17,$05                               // slo $05,x // ILLEGAL

txt_fec7:
        .encoding "screencode_mixed"
        .text "l"
        .encoding "petscii_upper"

// --- Region $ff1b-$ff3b ---
.pc = $ff1b "Segment $ff1b"
        ora $14,x
        jsr sub_3402
        jsr sub_2009
        .byte $07,$0f                               // slo $0f // ILLEGAL
        jsr sub_1207
        ora $05
        .byte $14,$13                               // nop $13,x // ILLEGAL
        .byte $3a                                   // nop // ILLEGAL
        ora $13
        ora #$2c
        asl $0906
        bit $1401
        .byte $03,$2c                               // slo ($2c,x) // ILLEGAL
        asl $02
        .byte $12                                   // jam // ILLEGAL

// --- Region $ff84-$ff93 ---
.pc = $ff84 "Segment $ff84"
        php
        ora ($12,x)
        .byte $0b,$13                               // anc #$13 // ILLEGAL
        bit $0814
        ora $20
        .byte $17,$01                               // slo $01,x // ILLEGAL
        asl $0504
        .byte $12                                   // jam // ILLEGAL

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

// --- Region $0800-$0913 ---
.pc = $0800 "spr_0800"

spr_0800:
        // === Charset data (276 bytes, $0800-$0913) ===
        .byte $00,$00,$00,$a1,$a1,$99,$42,$3c       // char 0 @+0
        .byte $38,$7c,$6c,$c6,$fe,$ee,$ee,$00       // char 1 @+1
        .byte $fc,$46,$7c,$46,$fe,$fe,$fc,$00       // char 2 @+2
        .byte $3c,$66,$e0,$f2,$fe,$fe,$7c,$00       // char 3 @+3
        .byte $78,$2c,$26,$66,$fe,$fe,$fc,$00       // char 4 @+4
        .byte $7e,$30,$38,$72,$fe,$fe,$fe,$00       // char 5 @+5
        .byte $7e,$32,$38,$60,$f0,$f0,$f0,$00       // char 6 @+6
        .byte $3c,$66,$e0,$f6,$fe,$fe,$76,$00       // char 7 @+7
        .byte $ee,$ee,$44,$7c,$44,$ee,$ee,$00       // char 8 @+8
        .byte $3c,$18,$18,$18,$3c,$3c,$3c,$00       // char 9 @+9
        .byte $7c,$18,$0c,$4e,$fe,$fe,$7c,$00       // char 10 @+10
        .byte $f6,$6e,$78,$7c,$ee,$ee,$ee,$00       // char 11 @+11
        .byte $78,$30,$30,$76,$fe,$fe,$fe,$00       // char 12 @+12
        .byte $ee,$ee,$7c,$54,$44,$ee,$ee,$00       // char 13 @+13
        .byte $ee,$74,$5c,$44,$ee,$ee,$ee,$00       // char 14 @+14
        .byte $38,$6c,$44,$ee,$fe,$fe,$7c,$00       // char 15 @+15
        .byte $7c,$32,$26,$7c,$60,$f0,$f0,$00       // char 16 @+16
        .byte $3c,$66,$42,$c8,$ce,$ee,$76,$00       // char 17 @+17
        .byte $7c,$32,$26,$7c,$6e,$ee,$ee,$00       // char 18 @+18
        .byte $3c,$6e,$30,$8c,$fe,$fe,$fc,$00       // char 19 @+19
        .byte $ff,$db,$18,$18,$3c,$3c,$3c,$00       // char 20 @+20
        .byte $76,$36,$64,$e4,$fe,$fe,$76,$00       // char 21 @+21
        .byte $ee,$ee,$44,$6c,$28,$38,$38,$00       // char 22 @+22
        .byte $ee,$ee,$44,$d6,$fe,$fe,$6c,$00       // char 23 @+23
        .byte $ee,$ee,$38,$7c,$ee,$ee,$ee,$00       // char 24 @+24
        .byte $e6,$e6,$6e,$be,$dc,$fc,$f8,$00       // char 25 @+25
        .byte $7e,$6e,$18,$72,$fe,$fe,$fe,$00       // char 26 @+26

txt_08d8:
        .byte $3c,$30,$30,$38,$3c,$3c,$3c,$00       // char 27 @+27
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 28 @+28
        .byte $3c,$0c,$0c,$1c,$3c,$3c,$3c,$00       // char 29 @+29
        .byte $00,$08,$0c,$fe,$fe,$0c,$08,$00       // char 30 @+30
        .byte $00,$20,$60,$fe,$fe,$60,$20,$00       // char 31 @+31
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 32 ' '
        .byte $3e,$3c,$38,$38,$00,$30,$30,$00       // char 33 '!'
        .byte $6c,$6c,$24                           // char 34 (partial)

dat_0913:
        // === Fill data (1 bytes, $0913-$0913) ===
        .byte $00                                   // .

// --- Region $0938-$1025 ---
.pc = $0938 "dat_0938"

dat_0938:
        .byte $18,$18,$08,$00,$00,$00,$00,$00       // char 39 '''
        .byte $0c,$18,$38,$38,$3c,$1c,$0c,$00       // char 40 '('
        .byte $30,$18,$1c,$1c,$3c,$38,$30,$00       // char 41 ')'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 42 '*'
        .byte $00,$18,$18,$7e,$78,$18,$00,$00       // char 43 '+'
        .byte $00,$00,$00,$00,$00,$18,$18,$08       // char 44 ','
        .byte $00,$00,$00,$7e,$70,$00,$00,$00       // char 45 '-'
        .byte $00,$00,$00,$00,$00,$18,$18,$00       // char 46 '.'
        .byte $00,$03,$06,$0c,$18,$30,$60,$00       // char 47 '/'
        .byte $3e,$77,$77,$7f,$7f,$7f,$3e,$00       // char 48 '0'
        .byte $18,$38,$18,$18,$3c,$7e,$7e,$00       // char 49 '1'
        .byte $3e,$63,$67,$0e,$3e,$7f,$7f,$00       // char 50 '2'
        .byte $7f,$67,$0e,$1e,$0f,$6f,$3e,$00       // char 51 '3'
        .byte $0e,$1e,$3e,$6e,$7f,$0e,$1f,$00       // char 52 '4'
        .byte $7f,$60,$7e,$6f,$0f,$6f,$3e,$00       // char 53 '5'
        .byte $3e,$7b,$78,$7e,$7b,$7b,$3e,$00       // char 54 '6'
        .byte $7f,$67,$0e,$1e,$3c,$3c,$3c,$00       // char 55 '7'
        .byte $3e,$7b,$7b,$3e,$7b,$7b,$3e,$00       // char 56 '8'
        .byte $3e,$6f,$6f,$3f,$0f,$6f,$3e,$00       // char 57 '9'
        .byte $00,$18,$18,$00,$18,$18,$00,$00       // char 58 ':'
        .byte $00,$18,$18,$00,$18,$18,$08,$00       // char 59 ';'
        .byte $0e,$18,$38,$78,$3c,$1e,$0e,$00       // char 60 '<'
        .byte $00,$00,$7e,$00,$7e,$00,$00,$00       // char 61 '='
        .byte $70,$18,$1c,$1e,$3c,$78,$70,$00       // char 62 '>'
        .byte $7c,$de,$de,$1c,$38,$00,$38,$00       // char 63 '?'
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$aa,$aa       // char 64 '@'
        .byte $15                                   // char 65 (partial)

txt_0a09:
        .byte $55,$56,$5a,$5a,$5a,$5a,$5a           // char 65 (partial)
        .byte $55,$55,$aa,$aa,$aa,$aa,$aa,$aa       // char 66 'B'
        .byte $54,$55,$95,$a5,$a5,$a5,$a5,$a5       // char 67 'C'

txt_0a20:
        .byte $5a,$5a,$5a,$5a,$5a,$56,$55,$15       // char 68 'D'
        .byte $aa,$aa,$aa,$aa,$aa,$aa               // char 69 (partial)

txt_0a2e:
        .byte $55,$55                               // char 69 (partial)
        .byte $a5,$a5,$a5,$a5,$a5,$95               // char 70 (partial)

txt_0a36:
        .byte $55,$54                               // char 70 (partial)
        .byte $5a,$5a,$5a,$5a,$5a,$5a,$5a,$5a       // char 71 'G'
        .byte $a5,$a5,$a5,$a5,$a5,$a5,$a5,$a5       // char 72 'H'
        .byte $a0,$00,$b1,$fc,$d0,$09,$84,$fc       // char 73 'I'
        .byte $a9,$13,$85,$fd,$4c,$48,$0a,$18       // char 74 'J'
        .byte $0a,$0a,$0a,$aa,$90,$32,$bd,$00       // char 75 'K'
        .byte $09,$8d,$c2,$05,$bd,$01,$09,$8d       // char 76 'L'
        .byte $c5,$05,$bd,$02,$09,$8d,$c8,$05       // char 77 'M'
        .byte $bd,$03,$09,$8d,$cb,$05,$bd,$04       // char 78 'N'
        .byte $09,$8d,$ce,$05,$bd,$05,$09,$8d       // char 79 'O'
        .byte $d1,$05,$bd,$06,$09,$8d,$d4,$05       // char 80 'P'
        .byte $bd,$07,$09,$8d,$d7,$05,$b0,$31       // char 81 'Q'
        .byte $ea,$bd,$00,$08,$8d,$c2,$05,$bd       // char 82 'R'
        .byte $01,$08,$8d,$c5,$05,$bd,$02,$08       // char 83 'S'
        .byte $8d,$c8,$05,$bd,$03,$08,$8d,$cb       // char 84 'T'
        .byte $05,$bd,$04,$08,$8d,$ce,$05,$bd       // char 85 'U'
        .byte $05,$08,$8d,$d1,$05,$bd,$06,$08       // char 86 'V'
        .byte $8d,$d4,$05,$bd,$07,$08,$8d,$d7       // char 87 'W'
        .byte $05,$e6,$fc,$d0,$02,$e6,$fd,$a9       // char 88 'X'
        .byte $01,$8d,$19,$d0,$4c,$bc,$fe,$00       // char 89 'Y'
        .byte $a2,$00,$3e,$c2,$05,$3e,$c1,$05       // char 90 'Z'
        .byte $3e,$c0,$05,$3e,$82,$05,$3e,$81       // char 91 '['
        .byte $05,$3e,$80,$05,$3e,$42,$05,$3e       // char 92 '\'
        .byte $41,$05,$3e,$40,$05,$3e,$02,$05       // char 93 ']'
        .byte $3e,$01,$05,$3e,$00,$05,$3e,$c2       // char 94 '^'
        .byte $04,$3e,$c1,$04,$3e,$c0,$04,$3e       // char 95 '_'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 96 '`'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 97 'a'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 98 'b'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 99 'c'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 100 'd'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 101 'e'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 102 'f'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 103 'g'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 104 'h'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 105 'i'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 106 'j'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 107 'k'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 108 'l'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 109 'm'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 110 'n'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$22       // char 111 'o'
        .byte $01,$ef,$00,$ff,$00,$ff,$00,$ff       // char 112 'p'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 113 'q'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 114 'r'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 115 's'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 116 't'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 117 'u'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 118 'v'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 119 'w'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 120 'x'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 121 'y'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 122 'z'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 123 '{'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 124 '|'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 125 '}'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 126 '~'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$7d       // char 127

scr_0c00:
        // === Screen RAM (1024 bytes, $0c00-$0fff) ===
        .encoding "screencode_mixed"
        .byte $ff,$40,$ff                           // scrcode: ...
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "d"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff,$a0                               // scrcode: ..
        .text "a"
        .byte $bf                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .encoding "petscii_upper"

spr_0cc0:
        .encoding "screencode_mixed"
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $5d,$ff                               // scrcode: ..
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "d"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@@"
        .byte $55                                   // scrcode: .
        .text "@a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff                                   // scrcode: .
        .byte $40                                   // scrcode: .
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "@"
        .byte $55                                   // scrcode: .
        .text "@@@@@"
        .byte $55                                   // scrcode: .
        .text "@a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "@"
        .byte $55                                   // scrcode: .
        .text "@"
        .byte $ff,$55,$41,$55,$7f,$41,$fd,$7f,$41   // scrcode: .........
        .byte $fd,$7f,$41,$fd,$7f,$41,$fd,$7f,$41,$fd,$7f,$41,$fd,$7f,$d7,$fd // scrcode: ................
        .byte $5f,$ff,$f5,$1f,$ff,$f4               // scrcode: ......
        .text "w"
        .byte $ff,$d4                               // scrcode: ..
        .text "g"
        .byte $ff,$d0                               // scrcode: ..
        .text "e"
        .byte $ff,$50                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .encoding "petscii_upper"

txt_0dbd:
        .text "U"
        .byte $40                                   // @ character
        .byte $b6                                   // '6' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .byte $55,$41,$55,$7f,$41,$fd,$7f,$41,$fd,$7f,$55,$fd,$7f,$d7,$fd,$7f // scrcode: ................
        .byte $d7,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff // scrcode: ................
        .byte $fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f       // scrcode: ........
        .byte $7d,$fd,$7f,$7d,$fd,$7f,$55,$fd,$7f,$41,$fd,$7f,$41,$fd,$7f,$41 // scrcode: ................
        .byte $fd,$7f,$41,$fd,$55,$41,$55,$ea,$55   // scrcode: .........
        .text "a"
        .byte $55,$7f,$41,$fd,$7f,$41,$fd,$7f,$51,$fd,$7f,$d1,$fd,$7f // scrcode: ..............
        .byte $d5,$fd,$7f,$f5,$fd,$7f,$f5,$fd,$7f,$fd,$fd,$7f,$ff,$fd,$7f,$ff // scrcode: ................
        .byte $fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$7f,$fd,$7f,$5f,$fd,$7f,$5f,$fd // scrcode: ................
        .byte $7f,$57,$fd,$7f,$47,$fd,$7f,$45       // scrcode: ........
        .byte $fd,$7f,$41,$fd,$55,$41,$55           // scrcode: .......
        .text "@"
        .byte $55,$55,$55,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f // scrcode: ................
        .byte $55,$55,$7f,$40                       // scrcode: ....
        .text "@"
        .byte $7f,$55,$55,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff // scrcode: ...........
        .byte $fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$55,$55,$7f,$40 // scrcode: ............
        .text "@"
        .byte $7f,$55,$55,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$55 // scrcode: ................
        .byte $55,$55                               // scrcode: ..
        .text "@e"
        .byte $55,$50,$1f,$ff,$f4,$7f,$ff           // scrcode: .......
        .byte $fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$d7,$fd,$7f,$41,$fd,$7f,$41,$fd // scrcode: ................
        .byte $7f,$40,$54,$7f,$40                   // scrcode: .....
        .text "@"
        .byte $7f,$40                               // scrcode: ..
        .text "@"
        .byte $7f,$40                               // scrcode: ..
        .text "@"
        .byte $7f,$40,$54,$7f,$41,$fd,$7f,$41,$fd,$7f,$d7,$fd // scrcode: ............
        .byte $7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$1f,$ff,$f4 // scrcode: ............
        .text "e"
        .byte $55,$50,$ff,$55,$55,$55,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f // scrcode: ................
        .byte $ff,$fd,$55,$ff,$55                   // scrcode: .....
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40                               // scrcode: ..
        .text "a"
        .byte $ff,$40,$55,$ff,$55,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff // scrcode: ................
        .byte $fd,$55,$55,$55,$69                   // scrcode: .....
        .byte $55,$50                               // scrcode: ..
        .text "@"
        .byte $7f,$d0                               // scrcode: ..
        .text "@"
        .byte $7f,$d0                               // scrcode: ..
        .text "@"
        .byte $7f,$d0                               // scrcode: ..
        .text "@"
        .byte $7f,$d0                               // scrcode: ..
        .text "@"
        .byte $7f,$d0                               // scrcode: ..
        .text "@"
        .byte $7f,$d0                               // scrcode: ..
        .text "@"
        .byte $7f,$d0                               // scrcode: ..
        .text "@"
        .byte $7f,$d0                               // scrcode: ..
        .text "@"
        .byte $7f,$d0                               // scrcode: ..
        .text "@"
        .byte $7f,$d0                               // scrcode: ..
        .text "@"
        .byte $7f,$d0                               // scrcode: ..
        .text "@"
        .byte $7f,$d0                               // scrcode: ..
        .text "@"
        .byte $7f                                   // scrcode: .
        .byte $d0                                   // scrcode: .
        .text "@"
        .byte $7f,$d0                               // scrcode: ..
        .text "@"
        .byte $7f,$d5,$55,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$55 // scrcode: ................
        .byte $55,$55                               // scrcode: ..
        .text "@"
        .byte $55,$55,$50,$7f,$ff,$f4,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$55 // scrcode: ................
        .byte $57,$fd                               // scrcode: ..
        .text "@a"
        .byte $fd                                   // scrcode: .
        .text "@a"
        .byte $fd,$55,$57,$fd,$7f,$ff,$fd,$7f,$ff,$d4,$7f,$ff,$fd,$55,$57,$fd // scrcode: ................
        .text "@a"
        .byte $fd                                   // scrcode: .
        .text "@a"
        .byte $fd,$55,$57,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff // scrcode: ............
        .byte $fd,$7f,$ff,$f4,$55,$55,$50           // scrcode: .......
        .text "@"
        .byte $55,$41,$55,$7f,$41,$fd,$7f,$41,$fd,$7f,$41,$fd,$7f,$41,$fd,$7f // scrcode: ................
        .byte $41,$fd,$7f,$41,$fd,$7f,$41,$fd,$7f,$41,$fd,$7f,$41,$fd,$7f,$41 // scrcode: ................
        .byte $fd,$7f,$41,$fd,$7f,$41,$fd,$7f,$41,$fd,$7f,$d7,$fd,$7f,$ff,$fd // scrcode: ................
        .byte $7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$1f,$ff,$f4 // scrcode: ............
        .text "e"
        .byte $55,$50,$ff,$55,$55,$50,$7f,$ff,$f4,$7f,$ff // scrcode: ...........
        .byte $fd,$7f,$ff,$fd,$7f,$ff,$fd,$55,$57,$fd // scrcode: ..........
        .text "@a"
        .byte $fd                                   // scrcode: .
        .text "@a"
        .byte $fd                                   // scrcode: .
        .text "@a"
        .byte $fd,$55,$57,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$f4 // scrcode: ................
        .byte $7f,$d5,$50,$7f,$d0                   // scrcode: .....
        .text "@"
        .byte $7f,$d0                               // scrcode: ..
        .text "@"
        .byte $7f,$d0                               // scrcode: ..
        .text "@"
        .byte $7f,$d0                               // scrcode: ..
        .text "@"
        .byte $7f,$d0                               // scrcode: ..
        .text "@"
        .byte $55,$50                               // scrcode: ..
        .text "@"
        .byte $ff                                   // scrcode: .
        .encoding "petscii_upper"

scr_1000:
        // === Screen RAM (38 bytes, $1000-$1025) ===
        .encoding "screencode_mixed"
        .byte $78,$a9                               // scrcode: ..
        .text "&"
        .byte $8d                                   // scrcode: .
        .text "tc"
        .byte $a9                                   // scrcode: .
        .text "p"
        .byte $8d                                   // scrcode: .
        .text "uc"
        .byte $a9                                   // scrcode: .
        .text "@"
        .byte $8d                                   // scrcode: .
        .text "n"
        .byte $dc,$a9                               // scrcode: ..
        .text "a"
        .byte $8d                                   // scrcode: .
        .text "z"
        .byte $d0,$a9,$1b,$8d                       // scrcode: ....
        .text "q"
        .byte $d0,$a9,$42,$8d                       // scrcode: ....
        .text "r"
        .byte $d0,$a9                               // scrcode: ..
        .text "@ c"
        .byte $1b,$58,$60                           // scrcode: ...
        .encoding "petscii_upper"

// --- Region $15bf-$1ab7 ---
.pc = $15bf "scr_15bf"

scr_15bf:
        // === Screen RAM (577 bytes, $15bf-$17ff) ===
        .encoding "screencode_mixed"
        .text "l"
        .byte $1c                                   // scrcode: .
        .text "->"
        .byte $51,$66,$7b,$91,$a9,$c3,$dd,$fa       // scrcode: ........
        .text "x8"
        .byte $5a,$7d,$a3,$cc,$f6                   // scrcode: .....
        .text "#"
        .byte $53,$86,$bb,$e0                       // scrcode: ....
        .text "0"
        .byte $70,$b4,$fb,$47,$98,$ed,$47,$a7       // scrcode: ........
        .text "l"
        .byte $77,$e9,$61,$e1,$68,$f7               // scrcode: ......
        .byte $8f                                   // scrcode: .
        .text "0"
        .byte $da,$8f,$4e                           // scrcode: ...
        .text "x"
        .byte $ef,$d2,$c3,$c3,$d1,$ef,$1f,$60,$b5,$1e,$9c // scrcode: ...........
        .text "1"
        .byte $df,$a5,$87,$86,$a2,$df               // scrcode: ......
        .text ">"
        .byte $c1,$6b                               // scrcode: ..
        .text "<9"
        .byte $63,$be,$4b                           // scrcode: ...
        .text "ol"
        .byte $45,$bf,$7d,$83,$d6,$79               // scrcode: ......
        .byte $73,$c7,$7c,$97,$1e                   // scrcode: .....
        .text "x"
        .byte $8b,$7e,$fa                           // scrcode: ...
        .text "f"
        .byte $ac,$f3,$e6,$8f,$f8                   // scrcode: .....
        .text ".aaaaaaaaaaaabbbbbbbccccc"
        .text "ddddeeeffggghhiijkklmnnopqrsuvwyz"
        .byte $1c,$1d,$1f                           // scrcode: ...
        .encoding "petscii_upper"

txt_165b:
        .text "!#%'*,/258;?CGKOTY"
        .byte $5e,$64,$6a,$70,$77,$7e,$86,$8e,$96,$9f,$a8,$b3,$bd,$c8,$d4,$e1 // scrcode: ................
        .byte $ee,$fd                               // scrcode: ..

txt_167f:
        .text "A"
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $00                                   // string terminator
        .encoding "screencode_mixed"
        .text "abc@@@@@@@dfhjljhf"
        .byte $b1,$d1                               // scrcode: ..
        .text "vv"
        .byte $a1,$c1                               // scrcode: ..
        .text "vv#"
        .byte $fd,$fb,$f9,$f8,$f7,$f6,$f6,$f6,$f6,$f5,$f5,$f5,$f5 // scrcode: .............
        .byte $f5,$f5,$81                           // scrcode: ...
        .encoding "petscii_upper"

txt_16b2:
        .text "A"
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .text "#"
        .encoding "screencode_mixed"
        .text "a"
        .byte $ff                                   // scrcode: .
        .text "#s#p#@@@@@@@@"
        .byte $81,$41,$40,$80,$80,$80,$80,$80       // scrcode: ........
        .encoding "petscii_upper"

txt_16d9:
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .encoding "screencode_mixed"
        .byte $e5,$e8                               // scrcode: ..
        .text "vv@xl@@@"
        .byte $ed                                   // scrcode: .
        .text "v"
        .byte $c0,$f4,$f5,$f6,$f7                   // scrcode: .....
        .text "@abhjl d"
        .byte $60                                   // scrcode: .
        .text "h"
        .byte $40                                   // scrcode: .
        .text "f"
        .byte $ff                                   // scrcode: .
        .text "@@f"
        .byte $ff                                   // scrcode: .
        .text "l"
        .byte $80                                   // scrcode: .
        .text "@@@@"
        .text "@@@@d"
        .byte $41                                   // scrcode: .
        .text "@"
        .byte $ed                                   // scrcode: .
        .text "@@"
        .byte $51,$81                               // scrcode: ..
        .text "hq@"
        .byte $e8                                   // scrcode: .
        .text "@@@phq@"
        .byte $e9                                   // scrcode: .
        .text "@a@p@@@@@@@@h"
        .byte $41                                   // scrcode: .
        .text "@"
        .byte $98                                   // scrcode: .
        .text "@@"
        .byte $41                                   // scrcode: .
        .text "d@"
        .byte $41                                   // scrcode: .
        .text "@"
        .byte $ad                                   // scrcode: .
        .text "@%"
        .byte $61                                   // scrcode: .
        .text "hb"
        .byte $41                                   // scrcode: .
        .text "@"
        .encoding "petscii_upper"

spr_1740:
        .encoding "screencode_mixed"
        .byte $ad                                   // scrcode: .
        .text "@%b@"
        .byte $49,$4f                               // scrcode: ..
        .text "ww"
        .byte $83,$e8,$95                           // scrcode: ...
        .text "www"
        .byte $83,$83,$83                           // scrcode: ...
        .text "www"
        .byte $83,$e8,$95                           // scrcode: ...
        .text "www"
        .byte $b2                                   // scrcode: .
        .text "zax"
        .byte $83                                   // scrcode: .
        .text "x"
        .byte $c9                                   // scrcode: .
        .text "x"
        .byte $e0                                   // scrcode: .
        .text "x"
        .byte $f2                                   // scrcode: .
        .text "x"
        .byte $f6                                   // scrcode: .
        .text "x"
        .byte $f5                                   // scrcode: .
        .text "y'z"
        .byte $6b                                   // scrcode: .
        .text "z"
        .byte $84                                   // scrcode: .
        .text "z"
        .byte $b2                                   // scrcode: .
        .text "z"
        .byte $b2                                   // scrcode: .
        .text "z"
        .byte $b2                                   // scrcode: .
        .text "z"
        .byte $b2                                   // scrcode: .
        .text "z"
        .byte $b2                                   // scrcode: .
        .text "z"
        .byte $b2                                   // scrcode: .
        .text "z"
        .byte $b2                                   // scrcode: .
        .text "z"
        .byte $b2                                   // scrcode: .
        .text "z"
        .byte $b2                                   // scrcode: .
        .text "z"
        .byte $8a                                   // scrcode: .
        .text "a"
        .byte $8a                                   // scrcode: .
        .text "ef"
        .byte $8a                                   // scrcode: .
        .text "ef"
        .byte $8a                                   // scrcode: .
        .text "ef"
        .byte $8a                                   // scrcode: .
        .text "e"
        .text "f"
        .byte $8a                                   // scrcode: .
        .text "ef"
        .byte $ff,$96                               // scrcode: ..
        .text "b"
        .byte $96                                   // scrcode: .
        .text "c"
        .byte $8f                                   // scrcode: .
        .text "c"
        .byte $94                                   // scrcode: .
        .text "c"
        .byte $8d                                   // scrcode: .
        .text "c"
        .byte $92                                   // scrcode: .
        .text "c"
        .byte $8f                                   // scrcode: .
        .text "c"
        .byte $91                                   // scrcode: .
        .text "c"
        .byte $95                                   // scrcode: .
        .text "c"
        .byte $8a                                   // scrcode: .
        .text "c"
        .byte $83                                   // scrcode: .
        .text "c"
        .byte $88                                   // scrcode: .
        .text "c"
        .byte $81                                   // scrcode: .
        .text "c"
        .byte $86                                   // scrcode: .
        .text "c"
        .byte $83                                   // scrcode: .
        .text "c"
        .byte $85                                   // scrcode: .
        .text "c"
        .byte $89                                   // scrcode: .
        .text "c"
        .byte $8a                                   // scrcode: .
        .text "c"
        .byte $83                                   // scrcode: .
        .text "c"
        .byte $88                                   // scrcode: .
        .text "c"
        .byte $81                                   // scrcode: .
        .text "c"
        .byte $86                                   // scrcode: .
        .text "c"
        .byte $83                                   // scrcode: .
        .text "c"
        .byte $85                                   // scrcode: .
        .text "c"
        .byte $89                                   // scrcode: .
        .text "c"
        .byte $8a                                   // scrcode: .
        .text "i"
        .byte $8f                                   // scrcode: .
        .text "i"
        .byte $88                                   // scrcode: .
        .text "i"
        .byte $8d                                   // scrcode: .
        .text "i"
        .byte $86                                   // scrcode: .
        .text "i"
        .byte $8f                                   // scrcode: .
        .text "i"
        .byte $91                                   // scrcode: .
        .text "i"
        .byte $91                                   // scrcode: .
        .text "i"
        .byte $8a                                   // scrcode: .
        .text "i"
        .byte $8f                                   // scrcode: .
        .text "i"
        .byte $88                                   // scrcode: .
        .text "i"
        .byte $8d                                   // scrcode: .
        .text "i"
        .byte $86                                   // scrcode: .
        .text "i"
        .byte $8f                                   // scrcode: .
        .text "i"
        .byte $91                                   // scrcode: .
        .text "i"
        .byte $91                                   // scrcode: .
        .text "i"
        .byte $ff,$8a                               // scrcode: ..
        .text "b"
        .byte $8a                                   // scrcode: .
        .text "d"
        .byte $83                                   // scrcode: .
        .text "d"
        .byte $88                                   // scrcode: .
        .text "d"
        .byte $81                                   // scrcode: .
        .text "d"
        .byte $86                                   // scrcode: .
        .text "d"
        .byte $83                                   // scrcode: .
        .text "d"
        .byte $85                                   // scrcode: .
        .text "d"
        .byte $89                                   // scrcode: .
        .text "d"
        .byte $96                                   // scrcode: .
        .text "gh"
        .byte $96                                   // scrcode: .
        .text "jj"
        .encoding "petscii_upper"

scr_1800:
        // === Screen RAM (696 bytes, $1800-$1ab7) ===
        .encoding "screencode_mixed"
        .byte $ff,$85                               // scrcode: ..
        .text "e'e+e$e+e'e+e$e+e)e,e$e,e)e,e+e)e&e)e"
        .byte $22                                   // scrcode: "
        .text "e)e&e)e"
        .byte $22                                   // scrcode: "
        .text "e)e'e+e"
        .byte $22                                   // scrcode: "
        .text "e+e'e+e"
        .byte $22                                   // scrcode: "
        .text "e+e'e,e$e,e'e,e$"
        .text "e,e)e,e$e,e)e,e$e'e&e+e#e+e&e+e#e+e&e+e#"
        .text "e+e&e'e)e&"
        .byte $ff,$97                               // scrcode: ..
        .text "alhlhjelwehehheewjhjhheewchc"
        .text "hgecwhhghcegwehehgehhghkeghnhqenkskqkokn"
        .byte $ff,$88                               // scrcode: ..
        .text "albl"
        .byte $85                                   // scrcode: .
        .text "c@"
        .byte $8b                                   // scrcode: .
        .text "alel"
        .byte $82                                   // scrcode: .
        .text "c@"
        .byte $85                                   // scrcode: .
        .text "al"
        .byte $82                                   // scrcode: .
        .text "c@"
        .byte $ff,$88                               // scrcode: ..
        .text "alblexklelbxelb"
        .text "x"
        .byte $ff,$82                               // scrcode: ..
        .text "e'"
        .byte $ff                                   // scrcode: .
        .text "b+b$b+b'b+b$b+b'b+b$b+b'b+b$b+b)b,"
        .text "b$b,b)b,b$b,b)b$b,b$b+b$b)b$b&b)b"
        .byte $22                                   // scrcode: "
        .text "b)b&b)"
        .text "b"
        .byte $22                                   // scrcode: "
        .text "b)b&b)b"
        .byte $22                                   // scrcode: "
        .text "b)b&b)b"
        .byte $22                                   // scrcode: "
        .text "b)b'b+b"
        .byte $22                                   // scrcode: "
        .text "b+b'b+b"
        .byte $22                                   // scrcode: "
        .text "b+b'b"
        .byte $22                                   // scrcode: "
        .text "b+b"
        .byte $22                                   // scrcode: "
        .text "b)b"
        .byte $22                                   // scrcode: "
        .text "b'b"
        .byte $22                                   // scrcode: "
        .text "b'b,b$b,b'b,b$b,b'b,b$b,b'b,"
        .text "b$b,b)b,b$b,b)b,b$b,b)b$b,b$b+b$b)b$b&b+"
        .text "b#b+b&b+b#b+b&b+b#b+b&b+b#b+b&b#b+b#b,b#"
        .text "b.b#b,b#b+b#b)b#b'b&"
        .byte $ff,$97                               // scrcode: ..
        .text "f0k3e7k5k3k2k0"
        .byte $1d                                   // scrcode: .
        .text ".k:"
        .text "e5k8)7w8k7e3k7k5k3k552k0k/k0k2"
        .byte $ff,$85                               // scrcode: ..
        .text "f3e5e7k<"
        .text "k?e"
        .byte $41                                   // scrcode: .
        .text "k?e>"
        .byte $1d                                   // scrcode: .
        .text "<e>e<e:k5k:e5"
        .byte $1d                                   // scrcode: .
        .text "7e3e5e7k8k<k8e7k5"
        .text "k<k5k<e?w>w;w7k5k7"
        .byte $ff,$85                               // scrcode: ..
        .text "b@"
        .byte $85                                   // scrcode: .
        .text "al"
        .byte $85                                   // scrcode: .
        .text "c@"
        .byte $85                                   // scrcode: .
        .text "al"
        .byte $85                                   // scrcode: .
        .text "b@"
        .byte $85                                   // scrcode: .
        .text "al"
        .byte $85                                   // scrcode: .
        .text "c@"
        .byte $85                                   // scrcode: .
        .text "al"
        .byte $ff,$af                               // scrcode: ..
        .text "g0/0k2k0k.k,/+q,q0k,q)q0e)e*k+k/k0k"
        .text "2k3k2k/k2"
        .byte $ff,$af                               // scrcode: ..
        .text "@@/@"
        .byte $ff                                   // scrcode: .
        .encoding "petscii_upper"

// --- Region $1b2e-$1dff ---
.pc = $1b2e "chr_1b2e"

chr_1b2e:
        // === Screen RAM (210 bytes, $1b2e-$1bff) ===
        .encoding "screencode_mixed"
        .text "a@gndccnikbhhbk"
        .byte $8b,$41,$41,$41                       // scrcode: ....
        .text "5v"
        .byte $22                                   // scrcode: "
        .text "eaavcgvcg"
        .byte $60,$bb,$77                           // scrcode: ...
        .text "@@@agg"
        .byte $60,$40,$40                           // scrcode: ...
        .text "hffhdd"
        .byte $60                                   // scrcode: .
        .text "jjv(@"
        .byte $41                                   // scrcode: .
        .text "d@@@@@@@@@@@bcc@@b@b@"
        .byte $78,$78                               // scrcode: ..
        .text "@"
        .text "@@aaa"
        .byte $b0                                   // scrcode: .
        .text "@@a@@@@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $ff                                   // scrcode: .
        .text "@"
        .byte $dd                                   // scrcode: .
        .encoding "petscii_upper"

scr_1c00:
        .byte $ff,$10,$ff,$00,$ff,$04               // char 26 (partial)
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 27 @+27
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 28 @+28
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 29 @+29
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 30 @+30
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 31 @+31
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 32 ' '
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 33 '!'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 34 '"'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 35 '#'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 36 '$'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 37 '%'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 38 '&'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 39 '''
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 40 '('
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 41 ')'
        .byte $ff,$a2,$01,$bf,$00,$ff,$00,$ff       // char 42 '*'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 43 '+'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 44 ','
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 45 '-'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 46 '.'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 47 '/'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 48 '0'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 49 '1'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 50 '2'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 51 '3'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 52 '4'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 53 '5'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 54 '6'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 55 '7'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 56 '8'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 57 '9'
        .byte $00,$dd,$ff,$50,$ff,$00,$ff,$04       // char 58 ':'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 59 ';'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 60 '<'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 61 '='
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 62 '>'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 63 '?'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 64 '@'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 65 'A'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 66 'B'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 67 'C'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 68 'D'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 69 'E'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 70 'F'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 71 'G'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 72 'H'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 73 'I'
        .byte $ff,$80,$01,$ff,$00,$ff,$00,$ff       // char 74 'J'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 75 'K'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 76 'L'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 77 'M'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 78 'N'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 79 'O'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 80 'P'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 81 'Q'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 82 'R'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 83 'S'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 84 'T'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 85 'U'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 86 'V'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 87 'W'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 88 'X'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 89 'Y'
        .byte $00,$5d                               // char 90 (partial)

// --- Region $1e14-$1fff ---
.pc = $1e14 "Segment $1e14"
        .byte $ff,$00,$ff,$00,$ff,$00               // char 0 (partial)
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 1 @+1
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 2 @+2
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 3 @+3
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 4 @+4
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 5 @+5
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 6 @+6
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 7 @+7
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 8 @+8
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 9 @+9
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 10 @+10
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 11 @+11
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 12 @+12
        .byte $ff,$00,$ff,$00,$ff,$00,$01,$af       // char 13 @+13
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 14 @+14
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 15 @+15
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 16 @+16
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 17 @+17
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 18 @+18
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 19 @+19
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 20 @+20
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 21 @+21
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 22 @+22
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 23 @+23
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 24 @+24
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 25 @+25
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 26 @+26
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 27 @+27
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 28 @+28
        .byte $00,$ff,$00,$ff,$00,$df,$ff,$00       // char 29 @+29
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 30 @+30
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 31 @+31
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 32 ' '
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 33 '!'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 34 '"'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 35 '#'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 36 '$'
        .byte $ff,$00,$ff,$00,$ff,$00               // char 37 (partial)

spr_1f40:
        .byte $ff,$00                               // char 37 (partial)
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 38 '&'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 39 '''
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 40 '('
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 41 ')'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 42 '*'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 43 '+'
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00       // char 44 ','
        .byte $ff,$00,$ff,$00,$ff,$a2,$01,$af       // char 45 '-'
        .byte $00,$ff,$00,$fb,$00,$ff,$00,$ff       // char 46 '.'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 47 '/'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 48 '0'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 49 '1'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 50 '2'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 51 '3'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 52 '4'
        .byte $00,$ff,$00,$ff,$00,$ff               // char 53 (partial)

spr_1fc0:
        .byte $00,$ff                               // char 53 (partial)
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 54 '6'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 55 '7'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 56 '8'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 57 '9'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 58 ':'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 59 ';'
        .byte $00,$ff,$00,$ff,$00,$ff,$00,$ff       // char 60 '<'
        .byte $00,$ff,$00,$ff,$00,$5d               // char 61 (partial)

// --- Region $237e-$237e ---
.pc = $237e "dat_237e"

dat_237e:
        // === Fill data (1 bytes, $237e-$237e) ===
        .byte $00                                   // .

// --- Region $23b9-$247e ---
.pc = $23b9 "dat_23b9"

dat_23b9:
        .encoding "screencode_mixed"
        .text "ffnnccaaccnnff@@iibbjjggjjbbii@@@@@@@@@@"
        .text "@aolkkloagiihhihbihhhhiibhihifi"
        .encoding "petscii_upper"

scr_2400:
        // === Screen RAM (127 bytes, $2400-$247e) ===
        .encoding "screencode_mixed"
        .text "hbhihghihagihhihhbhaaaaaaaaaaaaaaaaaaaaa"
        .text "aaaaaahhhihihaiihihihahiihhhhhhhhhh"
        .encoding "petscii_upper"

tbl_244b:
        // === VIC register table (52 bytes, $244b-$247e) ===
        .byte $66,$32,$82,$32,$9e,$32,$ba,$32,$d6,$32,$f2,$32,$18,$32,$1a,$32 // f2.2.2.2.2.2.2.2
        .byte $80                                   // .

txt_245c:
        .text "?>=<;:"
        .byte $0d                                   // string terminator
        .byte $0d,$0d,$66,$4a,$82,$4a,$9e,$4a,$ba,$4a,$d6,$4a,$f2,$4a,$18,$4a // ..fJ.J.J.J.J.J.J
        .byte $1a,$4a,$80                           // .J.

txt_2476:
        .text "989765"
        .byte $0d                                   // string terminator
        .byte $0d                                   // .

dat_247e:
        .byte $00                                   // .

// --- Region $24c1-$2563 ---
.pc = $24c1 "dat_24c1"

dat_24c1:
        .byte $ff,$04,$00,$01,$00,$02,$17,$01,$03,$87,$78,$a9,$35,$85,$01,$a9 // ..........x.5...
        .byte $30,$a2,$08,$a0,$00,$84,$fb,$c8,$84,$fd,$85,$fc,$86,$fe,$a0,$00 // 0...............
        .byte $b1,$fb,$91,$fd,$c8,$d0,$f9,$e6,$fc,$e6,$fe,$a5,$fc,$c9,$d0,$d0 // ................
        .byte $ed,$a9,$37,$85,$01,$a2,$00,$8e,$00,$08,$4c,$e2,$fc,$4c,$ae,$a7 // ..7.......L..L..
        .byte $06,$e6,$01,$bd,$15,$05,$9d,$24,$d9,$8d,$20,$d0,$c6,$01,$e8,$e0 // .......$.. .....
        .byte $08,$f0,$1d,$88,$d0,$d3,$e6,$fc,$e6,$fe,$a5,$fe,$c9,$f7,$d0,$0b // ................
        .byte $a9,$37,$85,$01                       // .7..

txt_2525:
        .text "X Y"
        .byte $a6                                   // '&' | $80 (end-of-string marker)
        .byte $4c,$ae,$a7,$a0,$00,$4c,$b4,$04,$ad,$15,$05,$48,$a2,$00,$bd,$16 // L....L.....H....
        .byte $05,$9d,$15,$05,$e8,$e0,$08,$d0,$f5,$68,$8d,$1d,$05,$a2,$00,$4c // .........h.....L
        .byte $de,$04,$09,$08,$0a,$02,$01,$07,$01,$02 // ..........

txt_2553:
        .text "      "
        .byte $1b,$0d,$01,$0e,$04,$12,$01,$0b,$05,$1d // ..........

dat_2563:
        .byte $00                                   // .

// --- Region $2580-$2580 ---
.pc = $2580 "spr_2580"

spr_2580:
        .byte $00                                   // .

// --- Region $25ca-$2d00 ---
.pc = $25ca "dat_25ca"

dat_25ca:
        .text "                                                                                                                                                                                                                                                                                                                                          "
        .encoding "screencode_mixed"
        .text "imported on"
        .encoding "petscii_upper"

txt_271f:
        .text " 06/09/88                     '"
        .byte $0d                                   // string terminator
        .encoding "screencode_mixed"
        .text "ighty arrowhead"
        .encoding "petscii_upper"

txt_274e:
        .text "'"

dat_274f:
        // === Fill data (142 bytes, $274f-$27dc) ===
        .fill 142, $20
        .encoding "screencode_mixed"
        .text "intro by mandrake"
        .encoding "petscii_upper"

txt_27ee:
        .text "!"

dat_27ef:
        // === Fill data (340 bytes, $27ef-$2942) ===
        .fill 17, $20

scr_2800:
        .fill 323, $20
        .byte $0d,$05,$0d,$02,$05,$12,$13,$20,$0f,$06,$20,$10,$15,$02,$0c,$09 // ....... .. .....
        .byte $03,$20,$05,$0e,$05,$0d,$19           // . .....

txt_295a:
        .fill 9, $20
        .byte $10,$05,$12,$10,$0c,$05,$18,$05,$12,$20,$20,$19,$0f,$15,$0e,$07 // .........  .....
        .byte $0b,$09,$0e,$07,$20,$20,$13,$09,$0e,$02,$01,$04,$20,$20,$09,$0e // ....  ......  ..
        .byte $13,$14,$09,$0e,$03,$14,$20,$20,$17,$01,$13,$14,$05,$0c,$01,$0e // ......  ........
        .byte $04,$20,$20,$08,$01,$17,$0b,$20,$20,$03,$0f,$04,$05,$02,$12,$05 // .  ....  .......
        .byte $01,$0b,$05,$12,$20,$20,$0d,$01,$0e,$04,$12,$01,$0b,$05,$20,$00 // ....  ........ .
        .byte $ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00 // ................
        .byte $ff,$00,$20,$20,$14,$08,$05,$20,$05,$0e,$05,$0d,$19,$20,$10,$15 // ..  ... ..... ..
        .byte $02,$0c,$09,$03,$20,$12,$0f,$03,$0b,$09,$0e,$07,$20,$19,$0f,$15 // .... ....... ...
        .byte $20,$01,$07,$01,$09,$0e,$20,$14,$08,$09,$13,$20,$09,$13,$20,$17 //  ..... .... .. .
        .byte $05,$09,$12,$04,$20,$07,$01,$0d,$05,$21,$21,$20,$0f,$0b,$20,$17 // .... ....!! .. .
        .byte $05,$0c,$0c,$20,$09,$0d,$20,$09,$0e,$20,$01,$20,$08,$15,$12,$12 // ... .. .. . ....
        .byte $19,$20,$09,$0d,$20,$0f,$15,$14,$20,$06,$0f,$12,$20,$14,$08,$05 // . .. ... ... ...
        .byte $20,$0e,$09,$07,$08,$14,$20,$07,$0f,$14,$14,$01,$20,$03,$12,$01 //  ..... ..... ...
        .byte $17,$0c,$20,$06,$12,$0f,$0d,$20,$02,$05,$08,$09,$0e,$04,$20,$14 // .. .... ...... .
        .byte $08,$09,$13,$20,$0d,$0f,$0e,$09,$14,$0f,$12,$20,$09,$0d,$20,$07 // ... ....... .. .
        .byte $0f,$0e,$05,$20,$02,$15,$14,$20,$02,$34,$20,$09,$20,$07,$0f,$20 // ... ... .4 . .. 
        .byte $07,$12,$05,$05,$14,$13,$3a,$05,$13,$09,$2c,$0e,$06,$09,$2c,$01 // ......:...,...,.
        .byte $14,$03,$2c,$06,$02,$12,$2c,$01,$02,$19,$13,$13,$2c,$14,$13,$2c // ..,...,.....,..,
        .byte $0e,$05,$17
        .byte $20,$01,$07,$05
        .text "...."
        .byte $0f,$16,$05,$12,$14
        .byte $08,$05,$12,$05,$20,$07,$12,$05,$05,$14,$13,$3a,$08,$0f,$14,$0c // .... ......:....
        .byte $09,$0e,$05,$2c,$1a,$05,$0e,$09,$14,$08,$2c,$0c,$05,$07,$05,$0e // ...,......,.....
        .byte $04,$13,$2c,$09,$0b,$01,$12,$09,$2c,$14,$08,$05,$20,$13,$08,$01 // ..,.....,... ...
        .byte $12,$0b,$13,$2c,$14,$08,$05,$20,$17,$01,$0e,$04,$05,$12,$05,$12 // ...,... ........
        .byte $20,$07,$12,$0f,$15,$10,$2e,$2e,$2e,$01,$0e,$04,$20,$01,$0c,$0c //  ........... ...
        .byte $20,$17,$08,$0f,$20,$13,$10,$05,$01,$0b,$20,$05,$0e,$07,$0c,$09 //  ... ..... .....
        .byte $13,$08                               // ..

txt_2af5:
        .text "!    "
        .byte $09,$0d
        .byte $20,$07,$0f,$0e,$05
        .byte $21,$20,$02,$15
        .byte $14,$20,$0e,$0f,$14,$20,$06,$0f,$12,$20,$07,$0f,$0f,$04,$21,$08 // . ... ... ....!.
        .byte $01,$08,$01,$08,$01,$08,$01           // .......

txt_2b1c:
        .text "!     "
        .byte $14,$08,$05
        .byte $20,$05,$0e,$05,$0d,$19
        .byte $20
        .byte $10,$15,$02,$0c,$09,$03,$09,$1a,$05,$04 // ..........

txt_2b36:
        .text "!           "
        .byte $00

dat_2b43:
        .text "                                                                                                                                                                                             "

scr_2c00:
        .fill 256, $20

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

// --- Region $3000-$3000 ---
.pc = $3000 "scr_3000"

scr_3000:
        .byte $00                                   // .

// --- Region $3400-$3402 ---
.pc = $3400 "spr_3400"

spr_3400:
        .byte $00,$00                               // ..
// Referenced by: jsr from $ff1d

sub_3402:
        .byte $00                                   // .

// --- Region $3440-$3440 ---
.pc = $3440 "spr_3440"

spr_3440:
        .byte $00                                   // .

// --- Region $3740-$3740 ---
.pc = $3740 "spr_3740"

spr_3740:
        .byte $00                                   // .

// --- Region $3800-$3800 ---
.pc = $3800 "scr_3800"

scr_3800:
        .byte $00                                   // .

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

scr_3c00:
        .byte $00                                   // .

// --- Region $3e40-$3e40 ---
.pc = $3e40 "spr_3e40"

spr_3e40:
        .byte $00                                   // .

// --- Region $3fc0-$3fc0 ---
.pc = $3fc0 "spr_3fc0"

spr_3fc0:
        .byte $00                                   // .

// --- Region $53ef-$53ef ---
.pc = $53ef "dat_53ef"

dat_53ef:
        // === Fill data (1 bytes, $53ef-$53ef) ===
        .byte $00                                   // .

// --- Region $8d43-$8d43 ---
.pc = $8d43 "dat_8d43"

dat_8d43:
        // === Fill data (1 bytes, $8d43-$8d43) ===
        .byte $00                                   // .

// --- Region $8dd1-$8dd1 ---
.pc = $8dd1 "dat_8dd1"

dat_8dd1:
        // === Fill data (1 bytes, $8dd1-$8dd1) ===
        .byte $00                                   // .

// --- Region $a979-$a979 ---
.pc = $a979 "dat_a979"

dat_a979:
        // === Fill data (1 bytes, $a979-$a979) ===
        .byte $00                                   // .

// --- Region $e545-$e545 ---
.pc = $e545 "dat_e545"

dat_e545:
        // === Fill data (1 bytes, $e545-$e545) ===
        .byte $00                                   // .

// --- Region $e800-$ea7d ---
.pc = $e800 "dat_e800"

dat_e800:
        .byte $01,$58,$20,$00,$1e,$4c,$ae,$a7,$e0,$00,$f0,$ee,$a9,$04,$2c,$a9 // .X ..L........,.
        .byte $08,$85,$ff,$b1,$2f,$91,$2d,$c8,$c4,$ff,$d0,$f7,$18,$a5,$2d,$65 // ..../.-.......-e
        .byte $ff,$85,$2d,$a5,$2e,$69,$00,$85,$2e,$a0,$00,$ca,$d0,$e5,$18,$a5 // ..-..i..........
        .byte $2f,$65,$ff,$85,$2f,$a5,$30,$69,$00,$85,$30,$4c,$00,$01,$b9,$00 // /e../.0i..0L....
        .byte $ef,$99,$00,$ff,$c8,$d0,$f7,$ce,$dc,$01,$ce,$df,$01,$ad,$df,$01 // ................
        .byte $c9,$df,$d0,$ea,$60,$a3,$60,$29,$a1,$a1,$99,$42,$3c,$38,$7c,$6c // ....`.`)...B<8|l
        .byte $c6,$fe,$ee,$ee,$00,$fc,$46,$7c,$46,$fe,$fe,$fc,$00,$3c,$66,$e0 // ......F|F....<f.
        .byte $f2,$fe,$fe,$7c,$00,$78,$2c,$26,$66,$fe,$fe,$fc,$00,$7e,$30,$38 // ...|.x,&f....~08
        .byte $72,$e3,$fe,$25,$00,$7e,$32,$38,$60,$e3,$f0,$32,$00,$3c,$66,$e0 // r..%.~28`..2.<f.
        .byte $f6,$fe,$fe,$76,$00,$ee,$ee,$44,$7c,$44,$ee,$ee,$00,$3c,$e3,$18 // ...v...D|D...<..
        .byte $e3,$3c,$2d,$00,$7c,$18,$0c,$4e,$fe,$fe,$7c,$00,$f6,$6e,$78,$7c // .<-.|..N..|..nx|
        .byte $e3,$ee,$25,$00,$78,$30,$30,$76,$e3,$fe,$2d,$00,$ee,$ee,$7c,$54 // ..%.x00v..-...|T
        .byte $44,$ee,$ee,$00,$ee,$74,$5c,$44,$e3,$ee,$60,$2d,$00,$38,$6c,$44 // D....t\D..`-.8lD
        .byte $ee,$fe,$fe,$7c,$00,$7c,$32,$26,$7c,$60,$f0,$f0,$00,$3c,$66,$42 // ...|.|2&|`...<fB
        .byte $c8,$ce,$ee,$76,$00,$7c,$32,$26,$7c,$6e,$ee,$ee,$00,$3c,$6e,$30 // ...v.|2&|n...<n0
        .byte $8c,$fe,$fe,$fc,$00,$ff,$db,$18,$18,$e3,$3c,$3d,$00,$76,$36,$64 // ..........<=.v6d
        .byte $e4,$fe,$fe,$76,$00,$ee,$ee,$44,$6c,$28,$38,$38,$00,$ee,$ee,$44 // ...v...Dl(88...D
        .byte $d6,$fe,$fe,$6c,$00,$ee,$ee,$38,$7c,$e3,$ee,$2d,$00,$e6,$e6,$6e // ...l...8|..-...n
        .byte $be,$dc,$fc,$f8,$00,$7e,$6e,$18,$72,$e3,$fe,$25,$00,$3c,$30,$30 // .....~n.r..%.<00
        .byte $38,$e3,$3c,$a9,$24,$3c,$0c,$0c,$1c,$e3,$3c,$a2,$26,$08,$0c,$fe // 8.<.$<....<.&...
        .byte $fe,$0c,$08,$a2
        .byte $26,$20,$60,$fe,$fe,$60
        .byte $20,$a9
        .text "+><8"
        .byte $38,$00,$30,$30,$00,$6c,$6c,$24,$80,$25,$00,$23,$18,$18,$08,$a5 // 8.00.ll$.%.#....
        .byte $2f,$0c,$18,$38,$38,$3c,$1c,$0c,$00,$30,$18,$1c,$1c // /..88<...0...

txt_e96d:
        .text "<80"
        .byte $aa                                   // '*' | $80 (end-of-string marker)
        .byte $25,$18,$18,$7e,$78,$18,$a7,$23,$18,$18,$08,$a3,$22,$7e,$70,$a8 // %..~x..#...."~p.
        .byte $22,$18,$18,$a2,$2a,$03,$06,$0c,$18,$30,$60,$00,$3e,$77,$77,$e3 // "...*....0`.>ww.
        .byte $7f,$60,$36,$3e,$00,$18,$38,$18,$18,$3c,$7e,$7e,$00,$3e,$63,$67 // .`6>..8..<~~.>cg
        .byte $0e,$3e,$7f,$7f,$00,$7f,$67,$0e,$1e,$0f,$6f,$3e,$00,$0e,$1e,$3e // .>....g...o>...>
        .byte $6e,$7f,$0e,$1f,$00,$7f,$60,$7e,$6f,$0f,$6f,$3e,$00,$3e,$7b,$78 // n.....`~o.o>.>{x
        .byte $7e,$7b,$7b,$3e,$00,$7f,$67,$0e,$1e,$e3,$3c,$30,$00,$3e,$7b,$7b // ~{{>..g...<0.>{{
        .byte $3e,$7b,$7b,$3e,$00,$3e,$6f,$6f,$3f,$0f,$6f,$3e,$a2,$25,$18,$18 // >{{>.>oo?.o>.%..
        .byte $00,$18,$18,$a3,$2e,$18,$18,$00,$18,$18,$08,$00,$0e,$18,$38,$78 // ..............8x
        .byte $3c,$1e,$0e,$a3,$23,$7e,$00,$7e,$a3,$30,$70,$18,$1c,$1e,$3c,$78 // <...#~.~.0p...<x
        .byte $70,$00,$7c,$de,$de,$1c,$38,$00,$38,$00,$e8,$aa,$23,$15,$55,$56 // p.|...8.8...#.UV
        .byte $e5
        .text "Z"
        .byte $22                                   // double quote
        .text "UU"
        .byte $e6,$aa
        .byte $23,$54,$55,$95,$e5,$a5,$e5
        .byte $5a,$23
        .byte $56,$55,$15,$e6,$aa,$22,$55,$55,$e5,$a5,$23,$95,$55,$54,$e8,$5a // VU..."UU..#.UT.Z
        .byte $e8,$a5,$30,$a0,$00,$b1,$fc,$d0,$09,$84,$fc,$a9,$13,$85,$fd,$4c // ..0............L
        .byte $48,$0a,$18,$e3,$0a,$60,$a5,$aa,$90,$32,$bd,$00,$09,$8d,$c2,$05 // H....`...2......
        .byte $bd,$01,$09,$8d,$c5,$05,$bd,$02,$09,$8d,$c8,$05,$bd,$03,$09,$8d // ................
        .byte $cb,$05,$bd,$04,$09,$8d,$ce,$05,$bd,$05,$09,$8d,$d1,$05,$bd,$06 // ................
        .byte $09,$8d,$d4,$05,$bd,$07,$09,$8d,$d7,$05,$b0,$31,$ea // ...........1.

// --- Region $eabe-$ede9 ---
.pc = $eabe "Segment $eabe"
        .byte $00,$3e,$c2,$05,$3e,$c1,$05,$3e,$c0,$05,$3e,$82,$05,$3e,$81,$05 // .>..>..>..>..>..
        .byte $3e,$80,$05,$3e,$42,$05,$3e,$41,$05,$3e,$40,$05,$3e,$02,$05,$3e // >..>B.>A.>@.>..>
        .byte $01,$05,$3e,$00,$05,$3e,$c2,$04,$3e,$c1,$04,$3e,$c0,$04,$3e,$1f // ..>..>..>..>..>.
        .byte $ff,$00,$ff,$00,$26,$ff,$00,$ff,$22,$01,$ef,$1f,$00,$ff,$00,$ff // ....&...".......
        .byte $28,$00,$7d,$ff,$40,$ff,$00,$ff,$04,$1e,$ff,$00,$ff,$00,$24,$ff // (.}.@.........$.
        .byte $a0,$01,$bf,$1f,$00,$ff,$00,$ff,$28,$00,$5d,$ff,$00,$ff,$00,$ff // ........(.].....
        .byte $04,$0e,$ff,$00,$ff,$00,$c1,$a2,$60,$2b,$55,$00,$01,$ff,$40,$01 // ........`+U...@.
        .byte $ff,$40,$01,$ff,$40,$01,$ff,$40,$01,$ff,$40,$01,$ff,$40,$01,$ff // .@..@..@..@..@..
        .byte $40,$01,$ff,$40,$01,$ff,$40,$01,$ff,$40,$01,$ff,$40,$01,$ff,$40 // @..@..@..@..@..@
        .byte $01,$ff,$40,$00,$55,$a5,$60,$cf,$55,$00,$01,$ff,$40,$01,$ff,$40 // ..@.U.`.U...@..@
        .byte $01,$ff,$40,$00,$55,$00,$ff,$55,$41,$55,$7f,$41,$fd,$7f,$41,$fd // ..@.U..UAU.A..A.
        .byte $7f,$41,$fd,$7f,$41,$fd,$7f,$41,$fd,$7f,$41,$fd,$7f,$d7,$fd,$5f // .A..A..A..A...._
        .byte $ff,$f5,$1f,$ff,$f4,$17,$ff,$d4,$07,$ff,$d0,$05,$ff,$50,$01,$ff // .............P..
        .byte $40,$01,$ff,$40,$01,$ff,$40,$01,$ff,$40,$01,$ff,$40,$01,$ff,$40 // @..@..@..@..@..@
        .byte $01,$ff,$40,$01                       // ..@.

txt_eba2:
        .text "U"
        .byte $40                                   // @ character
        .byte $b6                                   // '6' | $80 (end-of-string marker)
        .byte $55,$41,$55,$7f,$41,$fd,$7f,$41,$fd,$7f,$55,$fd,$7f,$d7,$fd,$7f // UAU.A..A..U.....
        .byte $d7,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff // ................
        .byte $fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$7d,$fd,$7f,$7d,$fd,$7f,$55,$fd // ........}..}..U.
        .byte $7f,$41,$fd,$7f,$41,$fd,$7f,$41,$fd,$7f,$41,$fd,$55,$41,$55,$ea // .A..A..A..A.UAU.
        .byte $55,$01,$55,$7f,$41,$fd,$7f,$41,$fd,$7f,$51,$fd,$7f,$d1,$fd,$7f // U.U.A..A..Q.....
        .byte $d5,$fd,$7f,$f5,$fd,$7f,$f5,$fd,$7f,$fd,$fd,$7f,$ff,$fd,$7f,$ff // ................
        .byte $fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$7f,$fd,$7f,$5f,$fd,$7f,$5f,$fd // ..........._.._.
        .byte $7f,$57,$fd,$7f,$47,$fd,$7f,$45,$fd,$7f,$41,$fd,$55,$41,$55,$00 // .W..G..E..A.UAU.
        .byte $e3,$55,$60,$39,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd // .U`9............
        .byte $7f,$55,$55,$7f,$40,$00,$7f,$55,$55,$7f,$ff,$fd,$7f,$ff,$fd,$7f // .UU.@..UU.......
        .byte $ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$55,$55,$7f,$40,$00,$7f,$55 // .........UU.@..U
        .byte $55,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$e3,$55,$60 // U.............U`
        .byte $41,$00,$05,$55,$50,$1f,$ff,$f4,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff // A..UP...........
        .byte $fd,$7f,$d7,$fd,$7f,$41,$fd,$7f,$41,$fd,$7f,$40,$54,$7f,$40,$00 // .....A..A..@T.@.
        .byte $7f,$40,$00,$7f,$40,$00,$7f,$40,$54,$7f,$41,$fd,$7f,$41,$fd,$7f // .@..@..@T.A..A..
        .byte $d7,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$1f,$ff,$f4,$05,$55 // ...............U
        .byte $50,$ff,$e3,$55,$60,$39,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f // P..U`9..........
        .byte $ff,$fd,$55,$ff,$55,$01,$ff,$40,$01,$ff,$40,$01,$ff,$40,$01,$ff // ..U.U..@..@..@..
        .byte $40,$01,$ff,$40,$01,$ff,$40,$01,$ff,$40,$01,$ff,$40,$01,$ff,$40 // @..@..@..@..@..@
        .byte $55,$ff,$55,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$e3 // U.U.............
        .byte $55,$60,$3d,$69,$55,$50,$00,$7f,$d0,$00,$7f,$d0,$00,$7f,$d0,$00 // U`=iUP..........
        .byte $7f,$d0,$00,$7f,$d0,$00,$7f,$d0,$00,$7f,$d0,$00,$7f,$d0,$00,$7f // ................
        .byte $d0,$00,$7f,$d0,$00,$7f,$d0,$00,$7f,$d0,$00,$7f,$d0,$00,$7f,$d0 // ................
        .byte $00,$7f,$d5,$55,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd // ...U............
        .byte $e3,$55,$60,$ee,$00,$55,$55,$50,$7f,$ff,$f4,$7f,$ff,$fd,$7f,$ff // .U`..UUP........
        .byte $fd,$7f,$ff,$fd,$55,$57,$fd,$00,$01,$fd,$00,$01,$fd,$55,$57,$fd // ....UW.......UW.
        .byte $7f,$ff,$fd,$7f,$ff,$d4,$7f,$ff,$fd,$55,$57,$fd,$00,$01,$fd,$00 // .........UW.....
        .byte $01,$fd,$55,$57,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff // ..UW............
        .byte $f4,$55,$55,$50,$00,$55,$41,$55,$7f,$41,$fd,$7f,$41,$fd,$7f,$41 // .UUP.UAU.A..A..A
        .byte $fd,$7f,$41,$fd,$7f,$41,$fd,$7f,$41,$fd,$7f,$41,$fd,$7f,$41,$fd // ..A..A..A..A..A.
        .byte $7f,$41,$fd,$7f,$41,$fd,$7f,$41,$fd,$7f,$41,$fd,$7f,$41,$fd,$7f // .A..A..A..A..A..
        .byte $d7,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$1f,$ff // ................
        .byte $f4,$05,$55,$50,$ff,$55,$55,$50,$7f,$ff,$f4,$7f,$ff,$fd,$7f,$ff // ..UP.UUP........
        .byte $fd,$7f,$ff,$fd,$55,$57,$fd,$00,$01,$fd,$00,$01,$fd,$00,$01,$fd // ....UW..........
        .byte $55,$57,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$fd,$7f,$ff,$f4,$7f // UW..............
        .byte $d5,$50,$7f,$d0,$00,$7f,$d0,$00,$7f,$d0,$00,$7f,$d0,$00,$7f,$d0 // .P..............
        .byte $00,$55,$50,$00,$ff                   // .UP..

// --- Region $ee10-$ee57 ---
.pc = $ee10 "dat_ee10"

dat_ee10:
        .byte $a9,$01,$8d,$19,$d0,$a9,$0b,$e3,$ea   // .........

txt_ee19:
        .text "% "
        .byte $b8                                   // '8' | $80 (end-of-string marker)
        .byte $1a,$a9,$00,$e3,$ea,$33,$60,$31,$ea,$4c,$03,$1b,$a2,$02,$ce,$84 // .....3`1.L......
        .byte $1b,$10,$06,$ad,$2e,$1b,$8d,$84,$1b,$e3,$ea,$60,$e3,$86,$ff,$bd // ...........`....
        .byte $2f,$1b,$8d,$67,$1b,$a8,$ad,$84,$1b,$cd,$2e,$1b,$d0,$12,$bd,$55 // /..g...........U
        .byte $17,$85,$fb,$bd,$58,$17,$85,$fc,$de,$38,$1b,$30 // ....X....8.0

// --- Region $ef1f-$ef73 ---
.pc = $ef1f "dat_ef1f"

dat_ef1f:
        .byte $81,$aa,$8e,$63,$1b,$bd,$06,$17,$a6,$ff,$9d,$3e,$1b,$99,$04,$d4 // ...c.......>....
        .byte $a9,$00,$99,$02,$d4,$a6,$ff,$9d,$56,$1b,$ae,$63,$1b,$bd,$05,$17 // ........V..c....
        .byte $a6,$ff,$9d,$5c,$1b,$29,$0f,$99,$03,$d4,$9d,$59,$1b,$a9,$01,$9d // ...\.).....Y....
        .byte $80,$1b,$ae,$63,$1b,$bd,$09,$17,$a6,$ff,$9d,$7d,$1b,$ae,$63,$1b // ...c.......}..c.
        .byte $bd,$07,$17,$99,$05,$d4,$bd,$08,$17,$99,$06,$d4,$a6,$ff,$fe,$35 // ...............5
        .byte $1b,$bc,$35,$1b,$b1                   // ..5..

// --- Region $ef8f-$efb4 ---
.pc = $ef8f "Segment $ef8f"
        .byte $67,$1b,$bd,$53,$1b,$f0,$08,$bd,$3e,$1b,$29,$fe,$99,$04,$d4,$bd // g..S....>.).....
        .byte $44,$1b,$e3,$0a,$60,$29,$a8,$b9,$0a,$17,$8d,$64,$1b,$b9,$0b,$17 // D...`).....d....
        .byte $8d,$65,$1b,$b9,$0c,$17               // .e....

// --- Region $efd1-$f017 ---
.pc = $efd1 "dat_efd1"

dat_efd1:
        .byte $4c,$9d,$69,$1b,$68,$29,$07,$8d,$68,$1b,$bd,$6c,$1b,$f0,$0a,$de // L.i.h)..h..l....
        .byte $6f,$1b,$d0,$19,$fe,$6c,$1b,$10,$14,$fe,$6f,$1b,$bd,$69,$1b,$dd // o....l....o..i..
        .byte $6f,$1b,$b0,$09,$9d,$6f,$1b,$de,$6c,$1b,$de,$6f,$1b,$bd,$41,$1b // o....o..l..o..A.
        .byte $a8,$b9,$c0,$15,$38,$f9,$bf,$15,$85,$f8,$b9,$20,$16,$f9,$1f,$16 // ....8...... ....
        .byte $7d,$53,$1b,$4a,$ce,$68,$1b           // }S.J.h.

// --- Region $f238-$f26b ---
.pc = $f238 "dat_f238"

dat_f238:
        .byte $d0,$0a,$a9,$ff,$a6,$ff,$9d,$7a,$1b,$8d,$16,$d4,$ac,$78,$1b,$ad // .......z.....x..
        .byte $66,$1b,$29,$02,$f0,$26,$a6,$ff,$bd,$53,$1b,$c9,$07,$b0,$1d,$ac // f.)..&...S......
        .byte $67,$1b,$bd,$53,$1b,$aa,$ca,$bd,$7f,$16,$99,$04,$d4,$bd,$86,$16 // g..S............
        .byte $a6,$ff,$18,$7d                       // ...}

// --- Region $f275-$f314 ---
.pc = $f275 "Segment $f275"
        .byte $ff,$ac,$67,$1b,$bd,$7d,$1b,$29,$08,$f0,$11,$bd,$4d,$1b,$18,$69 // ..g..}.)....M..i
        .byte $60,$99,$00,$d4,$bd,$47,$1b,$69,$00,$99,$01,$d4,$a6,$ff,$bd,$7d // `....G.i.......}
        .byte $1b,$29,$04,$f0,$22,$bd,$3b,$1b,$29,$7f,$c9,$00,$90,$19,$bd,$38 // .)..".;.)......8
        .byte $1b,$c9,$10,$b0,$12,$bd,$53,$1b,$29,$01,$f0,$0b,$bd,$4a,$1b,$f0 // ......S.)....J..
        .byte $06,$de,$4a,$1b,$99,$01,$d4,$ad,$66,$1b,$29,$10,$f0,$60,$ad,$64 // ..J.....f.)..`.d
        .byte $1b,$29,$0f,$aa,$bd,$99,$16,$8d,$04,$15,$bd,$9b,$16,$8d,$05,$15 // .)..............
        .byte $bd,$9d,$16,$8d,$11,$15,$bd,$9f,$16,$8d,$12,$15,$a6,$ff,$bd,$53 // ...............S
        .byte $1b,$c9,$0f,$b0,$36,$aa,$ca,$bd,$d1,$16,$c9,$ff,$f0,$2d,$ac,$67 // ....6........-.g
        .byte $1b,$99,$04,$d4,$bd,$c1,$16,$8d,$79,$1b,$ad,$64,$1b,$29,$10,$f0 // ........y..d.)..
        .byte $0c,$a6,$ff,$bd,$41,$1b,$18,$6d,$79,$1b,$4c,$a6,$15,$ad,$79,$1b // ....A..my.L...y.

// --- Region $f324-$f331 ---
.pc = $f324 "Segment $f324"
        .byte $66,$1b,$29,$80,$f0,$32,$a6,$ff,$ac,$67,$1b,$bd,$53,$1b // f.)..2...g..S.

// --- Region $f3a8-$f7de ---
.pc = $f3a8 "dat_f3a8"

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

txt_f431:
        .text "!#%'*,/258;?CGKOTY"
        .byte $5e,$64,$6a,$70,$77,$7e,$86,$8e,$96,$9f,$a8,$b3,$bd,$c8,$d4,$e1 // ^djpw~..........
        .byte $ee,$fd,$41,$e6,$40,$24,$00,$01,$02,$03,$a7,$36,$04,$06,$08,$0a // ..A.@$.....6....
        .byte $0c,$0a,$08,$06,$b1,$d1,$16,$16,$a1,$c1,$16,$16,$23,$fd,$fb,$f9 // ............#...
        .byte $f8,$f7,$e4,$f6,$e6,$f5,$22,$81,$41,$ee,$40,$28,$23,$01,$ff,$23 // ......".A.@(#..#
        .byte $13,$23,$10,$23,$a8,$23,$81,$41,$40,$e5,$80,$e8,$40,$27,$e5,$e8 // .#.#.#.A@...@'..
        .byte $16,$16,$00,$18,$0c,$a3,$34,$ed,$16,$c0,$f4,$f5,$f6,$f7,$00,$01 // ......4.........
        .byte $02,$08,$0a,$0c,$20,$04,$60,$08,$40,$06,$ff,$a2,$24,$06,$ff,$0c // .... .`.@...$...
        .byte $80,$a8,$24,$04,$41,$00,$ed,$a2,$26,$51,$81,$08,$11,$00,$e8,$a3 // ..$.A...&Q......
        .byte $29,$10,$08,$11,$00,$e9,$00,$01,$00,$10,$a8,$24,$08,$41,$00,$98 // )..........$.A..
        .byte $a2,$39,$41,$04,$00,$41,$00,$ad,$00,$25,$61,$08,$02,$41,$00,$ad // .9A..A...%a..A..
        .byte $00,$25,$02,$00,$49,$4f,$17,$17,$83,$e8,$95,$e3,$17,$e3,$83,$e3 // .%..IO..........
        .byte $17,$23,$83,$e8,$95,$e3,$17,$35,$b2,$1a,$01,$18,$83,$18,$c9,$18 // .#.....5........
        .byte $e0,$18,$f2,$18,$f6,$18,$f5,$19,$27,$1a,$6b,$1a,$84,$04,$1a,$b2 // ........'.k.....
        .byte $1a,$b2,$60,$82,$1a,$b2,$1a,$8a,$01,$8a,$05,$06,$8a,$05,$06,$8a // ..`.............
        .byte $05,$06,$8a,$05,$06,$8a,$05,$06,$ff,$96,$02,$96,$03,$8f,$03,$94 // ................
        .byte $03,$8d,$03,$92,$03,$8f,$03,$91,$03,$95,$03,$8a,$03,$83,$03,$88 // ................
        .byte $03,$81,$03,$86,$03,$83,$03,$85,$03,$89,$03,$8a,$03,$83,$03,$88 // ................
        .byte $03,$81,$03,$86,$03,$83,$03,$85,$03,$89,$03,$8a,$09,$8f,$09,$88 // ................
        .byte $09,$8d,$09,$86,$09,$8f,$09,$91,$09,$91,$09,$8a,$09,$8f,$09,$88 // ................
        .byte $09,$8d,$09,$86,$09,$8f,$09,$91,$09,$91,$09,$ff,$8a,$02,$8a,$04 // ................
        .byte $83,$04,$88,$04,$81,$04,$86,$04,$83,$04,$85,$04,$89,$04,$96,$07 // ................
        .byte $08,$96,$0a,$0a,$ff,$85,$42,$05,$27,$05,$2b,$05,$24,$05,$2b,$2e // ......B.'.+.$.+.
        .byte $05,$29,$05,$2c,$05,$24,$05,$2c,$05,$29,$05,$2c,$05,$2b,$42,$05 // .).,.$.,.).,.+B.
        .byte $29,$05,$26,$05,$29,$05,$22,$22,$05,$29,$42,$05,$27,$05,$2b,$05 // ).&.)."".)B.'.+.
        .byte $22,$05,$2b,$21,$05,$42,$27,$05,$2c,$05,$24,$05,$2c,$05,$2f,$29 // ".+!.B'.,.$.,./)
        .byte $05,$2c,$05,$24,$05,$2c,$05,$29,$05,$2c,$05,$24,$05,$27,$43,$05 // .,.$.,.).,.$.'C.
        .byte $26,$05,$2b,$05,$23,$05,$2b,$60,$6f,$05,$26,$05,$27,$05,$29,$05 // &.+.#.+`o.&.'.).
        .byte $26,$ff,$97,$01,$0c,$08,$0c,$08,$0a,$05,$0c,$17,$05,$08,$05,$08 // &...............
        .byte $08,$05,$05,$17,$0a,$08,$0a,$08,$08,$05,$05,$17,$03,$08,$03,$08 // ................
        .byte $07,$05,$03,$17,$08,$08,$07,$08,$03,$05,$07,$17,$05,$08,$05,$08 // ................
        .byte $07,$05,$08,$08,$07,$08,$0b,$05,$07,$08,$0e,$08,$11,$05,$0e,$0b // ................
        .byte $13,$0b,$11,$0b,$0f,$0b,$0e,$ff,$88,$01,$0c,$02,$0c,$85,$03,$00 // ................
        .byte $8b,$01,$0c,$05,$0c,$82,$03,$00,$85,$01,$0c,$82,$03,$00,$ff,$88 // ................
        .byte $01,$0c,$02,$0c,$05,$18,$0b,$0c,$02,$05,$0c,$02,$18,$25,$ff,$82 // .............%..
        .byte $05,$27,$ff,$43,$02,$2b,$02,$24,$02,$2b,$02,$27,$26,$02,$2b,$02 // .'.C.+.$.+.'&.+.
        .byte $24,$02,$2b,$42,$02,$29,$02,$2c,$02,$24,$02,$2c,$30,$02,$29,$02 // $.+B.).,.$.,0.).
        .byte $24,$02,$2c,$02,$24,$02,$2b,$02,$24,$02,$29,$02,$24,$44,$02,$26 // $.,.$.+.$.).$D.&
        .byte $02,$29,$02,$22,$02,$29,$21,$02,$42,$27,$02,$2b,$02,$22,$02,$2b // .).".)!.B'.+.".+
        .byte $02,$29,$27,$02,$22,$02,$2b,$02,$22,$02,$29,$02,$02,$22,$02,$27 // .)'.".+.".)..".'
        .byte $21,$02,$43,$2c,$02,$24,$02,$2c,$02,$27,$02,$21,$2c,$42,$02,$24 // !.C,.$.,.'.!,B.$
        .byte $02,$2c,$02,$29,$02,$2c,$34,$02,$24,$02,$2c,$02,$29,$02,$24,$02 // .,.).,4.$.,.).$.
        .byte $2c,$02,$24,$02,$2b,$02,$24,$02,$29,$02,$24,$44,$02,$26,$02,$2b // ,.$.+.$.).$D.&.+
        .byte $02,$23,$02,$2b,$60,$82,$02,$26,$02,$23,$02,$2b,$02,$23,$02,$2c // .#.+`..&.#.+.#.,
        .byte $02,$23,$02,$2e,$02,$23,$02,$2c,$02,$23,$02,$2b,$02,$23,$02,$29 // .#...#.,.#.+.#.)
        .byte $02,$23,$02,$27,$02,$26,$ff,$97,$06,$30,$0b,$33,$05,$37,$0b,$35 // .#.'.&...0.3.7.5
        .byte $0b,$33,$0b,$32,$0b,$30,$1d,$2e,$0b,$3a,$05,$35,$0b,$38,$29,$37 // .3.2.0...:.5.8)7
        .byte $17,$38,$0b,$37,$05,$33,$0b,$37,$0b,$35,$0b,$33,$0b,$35,$35,$32 // .8.7.3.7.5.3.552
        .byte $0b,$30,$0b,$2f,$0b,$30,$0b,$32,$ff,$85,$06,$33,$05,$35,$05,$37 // .0./.0.2...3.5.7
        .byte $0b,$3c,$0b,$3f,$05,$41,$0b,$3f,$05,$3e,$1d,$3c,$05,$3e,$05,$3c // .<.?.A.?.>.<.>.<
        .byte $05,$3a,$0b,$35,$0b,$3a,$05,$35,$1d,$37,$05,$33,$05,$35,$05,$37 // .:.5.:.5.7.3.5.7
        .byte $0b,$38,$0b,$3c,$0b,$38,$05,$37,$02,$0b,$35,$0b,$3c,$60,$55,$05 // .8.<.8.7..5.<`U.
        .byte $3f,$17,$3e,$17,$3b,$17,$37,$0b,$35,$0b,$37,$ff,$85,$02,$00,$85 // ?.>.;.7.5.7.....
        .byte $01,$0c,$85,$03,$00,$85,$01,$0c,$85,$02,$00,$85,$01,$0c,$85,$03 // ................
        .byte $00,$85,$01,$0c,$ff,$af,$07,$30,$2f,$30,$0b,$32,$0b,$30,$0b,$2e // .......0/0.2.0..
        .byte $0b,$2c,$2f,$2b,$11,$2c,$11,$30,$0b,$2c,$11,$29,$11,$30,$05,$29 // .,/+.,.0.,.).0.)
        .byte $05,$2a,$0b,$2b,$0b,$2f,$0b,$30,$0b,$32,$0b,$33,$0b,$32,$0b,$2f // .*.+./.0.2.3.2./
        .byte $0b,$32,$ff,$af,$a2,$60,$89,$2f,$00,$ff,$ad,$85,$1b,$c9,$02,$f0 // .2...`./........
        .byte $43,$c9,$01,$f0,$20,$ee,$53,$1b,$ee,$54,$1b,$ee // C... .S..T..

// --- Region $f819-$f820 ---
.pc = $f819 "Segment $f819"
        .byte $a9,$01,$8d,$85,$1b,$68,$aa,$bd       // .....h..

// --- Region $f843-$f865 ---
.pc = $f843 "dat_f843"

dat_f843:
        .byte $01,$00,$07,$0e,$04,$03,$03,$0e,$09,$0b,$02,$08,$08,$02,$0b,$8b // ................
        .byte $e3,$41,$2f,$35,$16,$22,$05,$01,$01,$16,$03,$07,$16,$03,$07,$60 // .A/5.".........`
        .byte $bb,$77,$a3                           // .w.

// --- Region $f86b-$f8ca ---
.pc = $f86b "dat_f86b"

dat_f86b:
        .byte $40,$40,$08,$06,$06,$08,$04,$04,$60,$0a,$0a,$16,$28,$00,$41,$04 // @@......`...(.A.
        .byte $ab,$23,$02,$03,$03,$a2,$26,$02,$00,$02,$00,$78,$78,$a3,$e3,$01 // .#....&....xx...
        .byte $21,$b0,$a2,$21,$01,$a4,$c1,$1c,$00,$ff,$00,$ff,$2a,$00,$ff,$00 // !..!........*...
        .byte $dd,$ff,$10,$ff,$00,$ff,$04,$1e,$ff,$00,$ff,$00,$24,$ff,$a2,$01 // ............$...
        .byte $bf,$1f,$00,$ff,$00,$ff,$28,$00,$dd,$ff,$50,$ff,$00,$ff,$04,$1e // ......(...P.....
        .byte $ff,$00,$ff,$00,$23,$ff,$80,$01,$1f,$ff,$00,$ff,$00,$35,$ff,$00 // ....#........5..

// --- Region $f8e0-$f913 ---
.pc = $f8e0 "Segment $f8e0"
        .byte $00,$ff,$00,$24,$ff,$00,$01,$af,$1f,$00,$ff,$00,$ff,$22,$00,$df // ...$........."..
        .byte $1f,$ff,$00,$ff,$00,$2a,$ff,$00,$ff,$a2,$01,$af,$00,$ff,$00,$fb // .....*..........
        .byte $1e,$00,$ff,$00,$ff,$63,$80,$00,$5d,$78,$a9,$01,$8d,$86,$02,$20 // .....c..]x..... 
        .byte $44,$e5,$a2,$00                       // D...

// --- Region $fa8a-$fa91 ---
.pc = $fa8a "dat_fa8a"

dat_fa8a:
        .byte $a9,$c8,$8d,$16,$d0,$ce,$ca,$24       // .......$

// --- Region $fb01-$fb8c ---
.pc = $fb01 "dat_fb01"

dat_fb01:
        .byte $a2,$00,$a9,$00,$9d,$a8,$24,$e8,$e0,$18,$d0,$f8,$a9,$05,$8d,$c2 // ......$.........
        .byte $24,$a2,$00,$ac,$c8,$24,$bd,$e2,$23,$99,$a8,$24,$e8,$c8,$e0,$07 // $....$..#..$....
        .byte $d0,$f4,$ad,$c9,$24,$f0,$13           // ....$..

txt_fb28:
        .text " E"
        .byte $22                                   // double quote character
        .byte $ad                                   // '-' | $80 (end-of-string marker)
        .byte $c8,$24,$c9,$0f,$d0,$05,$a9,$00,$8d,$c9,$24,$ee,$c8,$24,$60 // .$........$..$`

txt_fb3b:
        .text " Y"
        .byte $22                                   // double quote character
        .byte $ad                                   // '-' | $80 (end-of-string marker)
        .byte $c8,$24,$c9,$01,$d0,$05,$a9,$01,$8d,$c9,$24,$ce,$c8,$24,$60,$a2 // .$........$..$`.
        .byte $06,$ac,$e9,$23,$bd,$e2,$23,$9d,$e3,$23,$ca,$e0,$ff,$d0,$f5,$8c // ...#..#..#......
        .byte $e2,$23,$60,$a2,$00,$ac,$e2,$23,$bd,$e3,$23,$9d,$e2,$23,$e8,$e0 // .#`....#..#..#..
        .byte $07,$d0,$f5,$8c,$e9,$23,$60,$a2,$00,$ac,$c6,$24,$bd,$b9,$23,$99 // .....#`....$..#.
        .byte $7e,$24,$e8,$c8,$e0,$0f,$d0,$f4,$ad,$c3,$24,$f0,$13,$ad // ~$........$...

// --- Region $fbb2-$fbf2 ---
.pc = $fbb2 "dat_fbb2"

dat_fbb2:
        .byte $a2,$00,$ac,$b9,$23,$bd,$ba,$23,$9d,$b9,$23,$e8,$e0,$0e,$d0,$f5 // ....#..#..#.....
        .byte $8c,$c7,$23,$60,$a2,$0e,$ac,$c7,$23,$bd,$b9,$23,$9d,$ba,$23,$ca // ..#`....#..#..#.
        .byte $e0,$ff,$d0,$f5,$8c,$b9,$23,$60,$a2,$00,$ac,$c7,$24,$bd,$c9,$23 // ......#`....$..#
        .byte $99,$7e,$24,$e8,$c8,$e0,$0f,$d0,$f4,$ad,$c4,$24,$f0,$13,$ad,$c7 // .~$........$....
        .byte $24                                   // $

// --- Region $fc16-$fc44 ---
.pc = $fc16 "dat_fc16"

dat_fc16:
        .byte $a2,$00,$ac,$c9,$23,$bd,$ca,$23,$9d,$c9,$23,$e8,$e0,$0e,$d0,$f5 // ....#..#..#.....
        .byte $8c,$d7,$23,$60,$a2,$0e,$ac,$d7,$23,$bd,$c9,$23,$9d,$ca,$23,$ca // ..#`....#..#..#.
        .byte $e0,$ff,$d0,$f5,$8c,$c9,$23,$60,$a9,$87,$8d,$ca,$24,$a2,$00 // ......#`....$..

// --- Region $fc6c-$fce1 ---
.pc = $fc6c "Segment $fc6c"
        .byte $00,$ad,$e2,$23,$9d,$08,$da,$e8,$e0,$28,$d0,$f8,$60,$a2,$70,$ad // ...#.....(..`.p.
        .byte $e2,$23,$9d,$00,$db,$e8,$e0,$e8,$d0,$f8,$60,$80,$3b,$00,$2e,$06 // .#........`.;...
        .byte $06,$0e,$0e,$03,$03,$01,$01,$03,$03,$0e,$0e,$06,$06,$a2,$2e,$09 // ................
        .byte $09,$02,$02,$0a,$0a,$07,$07,$0a,$0a,$02,$02,$09,$09,$ab,$31,$01 // ..............1.
        .byte $0f,$0c,$0b,$0b,$0c,$0f,$01,$07,$09,$09,$08,$08,$09,$08,$02,$09 // ................
        .byte $e4,$08,$3c,$09,$09,$02,$08,$09,$08,$09,$06,$09,$08,$02,$08,$09 // ..<.............
        .byte $08,$07,$08,$09,$08,$01,$07,$09,$08,$08,$09,$08,$08,$02,$08,$fb // ................
        .byte $01,$e3,$08,$30,$09,$08               // ...0..

// --- Region $fcf5-$fd34 ---
.pc = $fcf5 "dat_fcf5"

dat_fcf5:
        .byte $82,$32,$9e,$32,$ba,$32,$d6,$32,$f2,$32,$18,$32,$1a,$32,$80 // .2.2.2.2.2.2.2.

txt_fd04:
        .text "?>=<;:"
        .byte $e3,$0d,$39,$66,$4a,$82,$4a,$9e,$4a,$ba,$4a,$d6,$4a,$f2,$4a,$18 // ..9fJ.J.J.J.J.J.
        .byte $4a,$1a,$4a,$80                       // J.J.

txt_fd1e:
        .text "989765"
        .byte $0d                                   // string terminator
        .byte $0d,$80,$43,$00,$60,$92,$ff,$04,$00,$01,$00,$02,$17,$01,$03,$87 // ..C.`...........

// --- Region $fd6a-$febb ---
.pc = $fd6a "Segment $fd6a"
        .byte $a7,$06,$e6,$01,$bd,$15,$05,$9d,$24,$d9,$8d,$20,$d0,$c6,$01,$e8 // ........$.. ....
        .byte $e0,$08,$f0,$1d,$88,$d0,$d3,$e6,$fc,$e6,$fe,$a5,$fe,$c9,$f7,$d0 // ................
        .byte $0b,$a9,$37,$85,$01                   // ..7..

txt_fd8f:
        .text "X Y"
        .byte $a6                                   // '&' | $80 (end-of-string marker)
        .byte $4c,$ae,$a7,$a0,$00,$4c,$b4,$04,$ad,$15,$05,$48,$a2,$00,$bd,$16 // L....L.....H....
        .byte $05,$9d,$15,$05,$e8,$e0,$08,$d0,$f5,$68,$8d,$1d,$05,$a2,$00,$4c // .........h.....L
        .byte $de,$04,$09,$08,$0a,$02,$01,$07,$01,$02,$e6,$20,$2a,$1b,$0d,$01 // ........... *...
        .byte $0e,$04,$12,$01,$0b,$05,$1d,$80,$67,$00,$81,$4a,$20,$34,$09,$0d // ........g..J 4..
        .byte $10,$0f,$12,$14,$05,$04,$20,$0f,$0e   // ...... ..

txt_fddc:
        .text " 06/09/88"
        .byte $f5,$20,$32,$27,$0d,$09,$07,$08,$14,$19,$20,$01,$12,$12,$0f,$17 // . 2'...... .....
        .byte $08,$05,$01,$04,$27,$80,$8e           // ....'..

txt_fdfc:
        .encoding "screencode_mixed"
        .text " 2intro by mandrake!"
        .encoding "petscii_upper"
        .byte $81,$54                               // .T

txt_fe12:
        .encoding "screencode_mixed"
        .text " 7members of public enemy"
        .encoding "petscii_upper"
        .byte $e9,$20,$60,$4f                       // . `O

txt_fe2f:
        .encoding "screencode_mixed"
        .text "perplexer  youngking  sinbad  instinct  wasteland  hawk  codebreaker  mandrake d"
        .text "@"
        .encoding "petscii_upper"
        .byte $ff,$00,$ff,$60,$c8,$00,$ff,$00       // ...`....

txt_fe88:
        .encoding "screencode_mixed"
        .text "  the enemy public rocking you again this is weird g"
        .encoding "petscii_upper"

// --- Region $fec8-$ff1a ---
.pc = $fec8 "Segment $fec8"
        .byte $0c,$20,$09,$0d,$20,$09,$0e,$20,$01,$20,$08,$15,$12,$12,$19,$20 // . .. .. . ..... 
        .byte $09,$0d,$20,$0f,$15,$14,$20,$06,$0f,$12,$20,$14,$08,$05,$20,$0e // .. ... ... ... .
        .byte $09,$07,$08,$14,$20,$07,$0f,$14,$14,$01,$20,$03,$12,$01,$17,$0c // .... ..... .....
        .byte $20,$06,$12,$0f,$0d,$20,$02,$05,$08,$09,$0e,$04,$20,$14,$08,$09 //  .... ...... ...
        .byte $13,$20,$0d,$0f,$0e,$09,$14,$0f,$12,$20,$09,$0d,$20,$07,$0f,$0e // . ....... .. ...
        .byte $05,$20,$02                           // . .

// --- Region $ff3c-$ff83 ---
.pc = $ff3c "dat_ff3c"

dat_ff3c:
        .byte $2c,$01,$02,$19,$13,$13,$2c,$14,$13,$2c,$0e,$05,$17,$20,$01,$07 // ,.....,..,... ..
        .byte $05,$e4,$2e,$60,$4b                   // ...`K

txt_ff51:
        .encoding "screencode_mixed"
        .text "overthere greets:hotline,zenith,legends,ikari,the s"
        .encoding "petscii_upper"

// --- Region $ff94-$ffff ---
.pc = $ff94 "dat_ff94"

dat_ff94:
        .byte $05,$12,$20,$07,$12,$0f,$15,$10,$e3   // .. ......

txt_ff9d:
        .encoding "screencode_mixed"
        .text ".:and all who speak english!"
        .encoding "petscii_upper"
        .byte $e4                                   // .

txt_ffba:
        .encoding "screencode_mixed"
        .text " :im gone! but not for good!bhaha!!"
        .encoding "petscii_upper"
        .byte $e5                                   // .

txt_ffde:
        .encoding "screencode_mixed"
        .text " 5the enemy publicized!"
        .encoding "petscii_upper"
        .byte $eb,$20,$a1,$81,$bd,$20,$82,$00,$00,$00,$8d // . ... .....
