// ============================================
// output - Disassembled Source
// ============================================
// KickAssembler syntax
// Generated by Restore 64 v0.2.1 alpha build 298, 2026-04-01 10:59:14
// https://restore64.dev by datucker / Rabenauge
//
// Load address: $0800  End: $2e5f  (9824 bytes)
// Crunched with Cruncher AB — depacked by emulation
// Packer entry: $080d (via BASIC SYS 2061)
// Entry point:  $1000 (4096)
// IRQ handler:  $1232 (irq_1232)
//
// Code: 2660 bytes, Data: 7164 bytes
// Labels: 299, Subroutines: 16
//
// Cross-references: all OK
// ============================================


// --- Region $1000-$1203 ---
.pc = $1000 "main_1000"

main_1000:
        jsr sub_15ff
        lda #$9a
        jsr $ffd2
        jsr $e544
        jsr sub_12ac
        jsr sub_13ed
        ldx #$00

loc_1013:
        lda #$08
        sta $d990,x
        sta $da90,x
        sta $db00,x
        lda #$00
        sta $0400,x
        sta $0500,x
        sta $0508,x
        inx
        bne loc_1013
        sei
        lda #$01
        sta $dc0d
        sta $d01a
        lda #$32
        sta $0314
        lda #$12
        sta $0315
        lda #$1b
        sta $d011
        jsr sub_2108
        cli

loc_1048:
        lda $1230
        beq loc_1048
        dec $1230
        jsr sub_1806
        dec $122e
        bne loc_106c
        ldx $122f
        stx smc_1834                                // SMC: modifies $1834
        lda $1275,x
        sta $128e
        inc $122f
        lda #$08
        sta $122e

loc_106c:
        dec $1231
        bne loc_1048
        lda #$00
        sta $1230

loc_1076:
        lda $1230
        beq loc_1076
        jsr sub_1405
        dec $1230
        jsr sub_1806
        ldx $14b7
        lda $14b8,x
        bne loc_1076
        lda #$00
        sta $1230

loc_1091:
        lda $1230
        beq loc_1091
        dec $1230
        jsr sub_1806
        dec $122e
        bne loc_1091
        lda #$02
        sta $122e
        inc $1567
        inc $15c8
        lda $1567
        cmp #$17
        bne loc_1091
        lda #$00
        sta $1230

loc_10b8:
        lda $1230
        beq loc_10b8
        dec $1230
        jsr sub_1806
        dec $122e
        bne loc_10b8
        lda #$03
        sta $122e
        lda $122d
        bne loc_1102
        lda #$01
        sta $122d
        ldx dat_1203
        txa
        asl
        tay
        lda txt_1205,x
        iny
        clc
        adc #$40
        sta $0630,y
        clc
        adc #$80
        sta $0658,y
        ldx $1204
        txa
        asl
        tay
        lda $1219,x
        sta $06d0,y
        clc
        adc #$80
        sta $06f8,y

loc_10ff:
        jmp loc_10b8

loc_1102:
        lda #$00
        sta $122d
        ldx dat_1203
        txa
        asl
        tay
        lda txt_1205,x
        sta $0630,y
        clc
        adc #$80
        sta $0658,y
        ldx $1204
        txa
        asl
        tay
        iny
        lda $1219,x
        clc
        adc #$40
        sta $06d0,y
        clc
        adc #$80
        sta $06f8,y
        dec dat_1203
        inc $1204
        lda $1204
        cmp #$14
        bne loc_10ff
        lda #$00
        sta $1230

loc_1141:
        lda $1230
        beq loc_1141
        dec $1230
        jsr sub_1679
        jsr sub_1806
        lda #$ef
        cmp $dc01
        bne loc_1141

loc_1156:
        lda $1230
        beq loc_1156
        dec $1230
        jsr sub_1806
        dec $122e
        bne loc_1156
        lda #$02
        sta $122e
        lda #$04
        sta $fb
        lda #$00
        sta $fa
        tax

loc_1174:
        ldy dat_11f3
        lda #$00
        sta ($fa),y
        inx
        cpx #$19
        beq $1190
        jsr sub_11f5
        lda #$00
        ldy $11f4
        sta ($fa),y
        jsr sub_11f5
        inx
        bne loc_1174
        lda #$00
        sta $1230
        dec dat_11f3
        inc $11f4
        lda $11f4
        pha
        lsr
        tax
        lda $1739,x
        sta smc_1834                                // SMC: modifies $1834
        pla
        cmp #$28
        bne loc_1156
        sei
        jsr sub_174e
        dex
        stx $d020
        stx $d021
        lda #$34
        sta $01

loc_11bb:
        lda loc_11c9,x
        sta $0340,x
        inx
        cpx #$40
        bne loc_11bb
        jmp $0340

loc_11c9:
        lda #$01
        sta $fa
        lda #$08
        sta $fb
        lda #$60
        sta $fc
        lda #$2e
        sta $fd
        ldy #$00

loc_11db:
        lda ($fc),y
        sta ($fa),y
        iny
        bne loc_11db
        inc $fb
        inc $fd
        bne loc_11db
        lda #$37
        sta $01
        cli
        jsr $fce2
        jmp $a7ae

dat_11f3:
        .byte $27,$00                               // '.
// Referenced by: jsr from $1180, $118a

sub_11f5:
        lda $fa
        clc
        adc #$28
        sta $fa
        lda $fb
        adc #$00
        sta $fb
        rts

dat_1203:
        .byte $13                                   // .

// --- Region $1232-$125b ---
.pc = $1232 "irq_1232"

irq_1232:
        inc $d019
.label smc_1236 = * + 1
.label smc_1237 = * + 2
        jsr sub_12e0                                // !SMC: modified by $123e, $1244
        ldx dat_125b
        lda tbl_lo_125c,x
        sta smc_1236                                // SMC: modifies $1236
        lda tbl_hi_1264,x
        sta smc_1237                                // SMC: modifies $1237
        lda $126d,x
        sta $d012
        inx
        lda tbl_hi_1264,x
        bne loc_1255
        ldx #$00

loc_1255:
        stx dat_125b
        jmp $ea7e

dat_125b:
        .byte $00                                   // .

// --- Region $1288-$136c ---
.pc = $1288 "sub_1288"
sub_1288: {
        ldx #$02
loop1:
        dex
        bne loop1
        lda #$01
        sta $d020
        sta $d021
        ldx #$0a
loop2:
        dex
        bne loop2
        stx $d020
        stx $d021
        rts
}
        lda #$13
        sta $d018
        lda #$01
        sta $d023
        rts

// Referenced by: jsr from $100b
sub_12ac: {
        lda #$0d
        sta $07f8
        ldx #$01
        stx $d027
        lda #$00
        sta $d020
        sta $d021
        ldx #$40
        lda #$00
loop1:
        sta $0340,x
        dex
        bpl loop1
        ldx #$00
        ldy #$00
loop2:
        lda #$80
        sta $0340,x
        txa
        adc #$09
        tax
        iny
        cpy #$07
        bne loop2
        lda #$00
        sta $13ea
        rts
}
// Referenced by: jsr from $1235

sub_12e0:
        lda $14b6
        sta $d016
        lda $13ea
        cmp #$00
        bne $12f2
        lda #$01
        sta $d015

loc_12f2:
        ldx $13ea
        lda $13a8,x
        sta $d000
        lda txt_138a,x
        sta $d001
        lda $d010
        and #$fe
        ora $13cb,x
        sta $d010
        lda txt_136d,x
        sta $d012
        inc $13ea
        ldx $13ea
        cpx #$1c
        beq $1321
        pla
        pla
        jmp $ea7e

loc_1321:
        ldx #$00
        inc $1230
        stx $13ea
        stx $d015
        inc $d019
        rts
        ldx #$01
        ldy #$00

loc_1334:
        stx $13ec
        lda $13ec
        clc
        adc $13a8,y
        bcc loc_134e
        sta $13eb
        lda $13cb,y
        eor #$01
        sta $13cb,y
        lda $13eb

loc_134e:
        sta $13a8,y
        inx
        cpx #$08
        bne loc_1358

dat_1356:
        .byte $a2,$01                               // ..

loc_1358:
        iny
        cpy #$1c
        bne loc_1334
        lda #$1a
        sta $d018
        lda #$0f
        sta $d022
        lda #$0e
        sta $d023
        rts

// --- Region $13ed-$14b4 ---
.pc = $13ed "sub_13ed"
// Referenced by: jsr from $100e

sub_13ed:
        lda #$00
        sta $14b5
        lda #$25
        sta dat_14b4
        lda #$d7
        sta $14b6
        lda #$00
        sta $14b7
        sta $1443
        rts
// Referenced by: jsr from $107b

sub_1405:
        ldx $14b7
        lda $14b8,x
        cmp #$32
        bcs loc_1425
        tay

loc_1410:
        dec $14b6
        lda $14b6
        cmp #$cf
        bne loc_1421
        tya
        pha
        jsr sub_1444
        pla
        tay

loc_1421:
        dey
        bne loc_1410
        rts

loc_1425:
        sec
        sbc #$32
        tay

loc_1429:
        inc $14b6
        lda $14b6
        cmp #$d8
        bne loc_143a
        tya
        pha
        jsr sub_145a
        pla
        tay

loc_143a:
        dey
        bne loc_1429
        rts

loc_143e:
        inc $14b7
        rts

dat_1442:
        .byte $60,$00                               // `.
// Referenced by: jsr from $141c

sub_1444:
        lda dat_14b4
        beq loc_144f
        dec dat_14b4
        jmp loc_1452

loc_144f:
        inc $14b5

loc_1452:
        lda #$d7
        sta $14b6
        jmp loc_1471
// Referenced by: jsr from $1435

sub_145a:
        lda $14b5
        beq loc_1465
        dec $14b5
        jmp loc_1468

loc_1465:
        inc dat_14b4

loc_1468:
        lda #$d0
        sta $14b6
        jmp loc_1471

dat_1470:
        .byte $60                                   // `

loc_1471:
        ldx dat_14b4
        ldy $14b5

loc_1477:
        lda $2331,y
        sta $0428,x
        lda $2359,y
        sta $0450,x
        lda $2381,y
        sta $0478,x
        lda $23a9,y
        sta $04a0,x
        lda $23d1,y
        sta $04c8,x
        lda $23f9,y
        sta $04f0,x
        lda $2421,y
        sta $0518,x
        lda $2449,y
        sta $0540,x
        inx
        iny
        cpy #$28
        beq loc_14b1
        cpx #$28
        bne loc_1477

loc_14b1:
        jmp loc_143e

dat_14b4:
        .byte $25                                   // %

// --- Region $1582-$158d ---
.pc = $1582 "loc_1582"

loc_1582:
        ldx #$07

loc_1584:
        dex
        bne loc_1584
        stx $d020
        stx $d021
        rts

// --- Region $15ff-$161e ---
.pc = $15ff "sub_15ff"
// Referenced by: jsr from $1000

sub_15ff:
        lda #$72
        sta $ae
        lda #$24
        sta $af
        lda #$01
        sta dat_1725
        lda #$d7
        sta $1737
        lda #$60
        sta $1736
        lda #$00
        sta $1738
        sta $d020
        rts

// --- Region $1679-$1724 ---
.pc = $1679 "sub_1679"
// Referenced by: jsr from $1149

sub_1679:
        ldy dat_1725
        beq loc_1693

loc_167e:
        dec $1737
        lda $1737
        cmp #$cf
        bne loc_168f
        tya
        pha
        jsr sub_16ab
        pla
        tay

loc_168f:
        dey
        bne loc_167e

loc_1692:
        rts

loc_1693:
        dec $1736
        bne loc_1692
        lda #$60
        sta $1736
        lda ($ae),y
        sec
        sbc #$30
        sta dat_1725
        jsr sub_1709
        jmp loc_1692
// Referenced by: jsr from $168a

sub_16ab:
        ldx #$00

loc_16ad:
        lda $0799,x
        sta $0798,x
        lda $07c1,x
        sta $07c0,x
        inx
        cpx #$27
        bne loc_16ad
        lda #$d7
        sta $1737
        lda $1738
        bne loc_1710
        ldy #$00

loc_16ca:
        lda ($ae),y
        cmp #$00
        bne loc_16db
        lda #$72
        sta $ae
        lda #$24
        sta $af
        jmp loc_16ca

loc_16db:
        cmp #$41
        bne loc_16f4
        jsr sub_1709
        lda ($ae),y
        sec
        sbc #$30
        sta dat_1725
        beq loc_16f2
        jsr sub_1709
        jmp loc_16ca

loc_16f2:
        lda #$20

loc_16f4:
        cmp #$40
        bcc loc_16fb
        sec
        sbc #$40

loc_16fb:
        sta $07bf
        clc
        adc #$80
        sta $07e7
        lda #$01
        sta $1738
// Referenced by: jsr from $16a5, $16df, $16ec

sub_1709:
        inc $ae
        bne loc_170f
        inc $af

loc_170f:
        rts

loc_1710:
        lda $07be
        clc
        adc #$40
        sta $07bf
        clc
        adc #$80
        sta $07e7
        lda #$00
        sta $1738
        rts

// --- Region $174e-$1757 ---
.pc = $174e "sub_174e"
// Referenced by: jsr from $11ad

sub_174e:
        jsr $fda3
        jsr $fd15
        jmp $ff5b

dat_1757:
        // === Fill data (1 bytes, $1757-$1757) ===
        .byte $00                                   // .

// --- Region $1806-$1815 ---
.pc = $1806 "sub_1806"
// Referenced by: jsr from $1050, $1081, $1099, $10c0, $114c, $115e

sub_1806:
        lda $2174
        cmp #$02
        beq loc_1814
        cmp #$01
        bne loc_182a
        jmp loc_20e8

loc_1814:
        rts

dat_1815:
        .byte $01                                   // .

// --- Region $182a-$1d63 ---
.pc = $182a "loc_182a"

loc_182a:
        inc $2142
        inc $2143
        inc $2144
.label smc_1834 = * + 1
        lda #$00                                    // !SMC: modified by $105b, $11a4
        sta $d418
        ldx #$02
        dec $2173
        bpl loc_1845
        lda $211d
        sta $2173

loc_1845:
        bit $d020
        stx $ff
        lda $211e,x
        sta $2156
        tay
        lda $2173
        cmp $211d
        bne loc_186b
        lda $1ea1,x
        sta $fb
        lda $1ea4,x
        sta $fc
        dec $2127,x
        bmi loc_186e
        jmp loc_19fa

loc_186b:
        jmp loc_1a0a

loc_186e:
        ldy $2121,x
        lda ($fb),y
        cmp #$fe
        beq loc_188c
        cmp #$ff
        bne loc_1894
        lda #$00
        sta $2127,x
        sta $2121,x
        sta $2124,x
        sta $2172
        jmp loc_186e

loc_188c:
        lda #$02
        sta $2174
        jmp loc_210b

loc_1894:
        sta $2167
        and #$80
        beq loc_18a9
        lda $2167
        and #$1f
        sta $214f,x
        inc $2121,x
        jmp loc_186e

loc_18a9:
        lda $2167
        and #$40
        beq loc_18be
        lda $2167
        and #$3f
        sta $2176,x
        inc $2121,x
        jmp loc_186e

loc_18be:
        lda $2167
        asl
        tay
        lda $1ea7,y
        sta $fd
        lda $1ea8,y
        sta $fe
        lda #$00
        sta $213f,x
        ldy $2124,x
        sta $2142,x
        lda #$03
        sta $2161,x

loc_18dd:
        lda ($fd),y
        sta $f8
        and #$f0
        cmp #$f0
        bne loc_18f7
        lda #$01
        sta $2180,x
        inc $2124,x
        iny
        lda ($fd),y
        sta $f8
        jmp loc_1957

loc_18f7:
        lda #$00
        sta $2180,x
        lda $f8
        and #$f0
        cmp #$e0
        bne loc_1930
        lda $f8
        and #$01
        clc
        adc #$01
        sta $213f,x
        lda $f8
        and #$0e
        lsr
        sta $2165
        inc $2124,x
        iny
        lda ($fd),y
        pha
        and #$f0
        sta $2164
        pla
        and #$0f
        sta smc_1af8                                // SMC: modifies $1af8
        inc $2124,x
        iny
        lda ($fd),y
        sta $f8

loc_1930:
        lda $f8
        and #$e0
        cmp #$c0
        bne loc_1942
        lda $f8
        and #$1f
        sta $2133,x
        jsr sub_19ed

loc_1942:
        lda $f8
        and #$c0
        cmp #$80
        bne loc_1957
        lda $f8
        and #$3f
        sta $212a,x
        jsr sub_19ed
        jmp loc_18dd

loc_1957:
        lda $212a,x
        sta $2127,x
        lda $f8
        clc
        adc $214f,x
        sta $2130,x
        tay
        lda dat_1d64,y
        pha
        lda $1dc4,y
        ldy $2156
        sta $d401,y
        sta $2136,x
        sta $2139,x
        pla
        sta $d400,y
        sta $213c,x
        lda $2180,x
        bne loc_19cc
        lda $2133,x
        asl
        asl
        asl
        tax
        stx $2152
        lda $218a,x
        sta $d405,y
        lda $218b,x
        sta $d406,y
        lda $218c,x
        pha
        lda $2188,x
        pha
        lda $2189,x
        ldx $ff
        sta $212d,x
        sta $2179,x
        lda #$00
        sta $d402,y
        sta $2145,x
        pla
        sta $214b,x
        and #$0f
        sta $d403,y
        sta $2148,x
        lda #$01
        sta $216f,x
        pla
        sta $216c,x

loc_19cc:
        inc $2124,x
        ldy $2124,x
        lda ($fd),y
        cmp #$ff
        bne loc_19ea

loc_19d8:
        lda #$00
        sta $2124,x
        lda $2176,x
        beq loc_19e7
        dec $2176,x
        bpl loc_19ea

loc_19e7:
        inc $2121,x

loc_19ea:
        jmp loc_1d52
// Referenced by: jsr from $193f, $1951

sub_19ed:
        inc $2124,x
        iny
        lda ($fd),y
        cmp #$ff
        beq loc_19d8
        sta $f8
        rts

loc_19fa:
        ldy $2156
        lda $2142,x
        beq loc_1a0a
        lda $212d,x
        and #$fe
        sta $2179,x

loc_1a0a:
        lda $2133,x
        asl
        asl
        asl
        tay
        lda $218d,y
        sta $2153
        lda $218e,y
        sta $2154
        lda $218f,y
        sta $2155
        and #$04
        bne loc_1a33
        lda $2155
        and #$10
        bne loc_1a33
        lda $2153
        bne loc_1a36

loc_1a33:
        jmp loc_2030

loc_1a36:
        pha
        and #$78
        lsr
        lsr
        lsr
        sta $2158,x
        pla
        and #$07
        sta $2157
        lda $215b,x
        beq loc_1a54
        dec $215e,x
        bne loc_1a68
        inc $215b,x
        bpl loc_1a68

loc_1a54:
        inc $215e,x
        lda $2158,x
        cmp $215e,x
        bcs loc_1a68
        sta $215e,x
        dec $215b,x
        dec $215e,x

loc_1a68:
        lda $2130,x
        tay
        lda $1d65,y
        sec
        sbc dat_1d64,y
        sta $217f
        lda $1dc5,y
        sbc $1dc4,y
        adc $2142,x
        lsr

loc_1a80:
        dec $2157
        bmi loc_1a8c
        lsr
        ror $217f
        jmp loc_1a80

loc_1a8c:
        sta $217e
        lda dat_1d64,y
        sta $217c
        lda $1dc4,y
        sta $217d
        lda $2158,x
        lsr
        tay

loc_1aa0:
        dey
        bmi loc_1ab9
        sec
        lda $217c
        sbc $217f
        sta $217c
        lda $217d
        sbc $217e
        sta $217d
        jmp loc_1aa0

loc_1ab9:
        lda $2142,x
        cmp #$04
        bcc loc_1aeb
        ldy $215e,x

loc_1ac3:
        dey
        bmi loc_1adc
        clc
        lda $217c
        adc $217f
        sta $217c
        lda $217d
        adc $217e
        sta $217d
        jmp loc_1ac3

loc_1adc:
        ldy $2156
        lda $217c
        sta $d400,y
        lda $217d
        sta $d401,y

loc_1aeb:
        ldx $ff
        ldy $2156
        lda $212a,x
        sec
        sbc $2127,x
.label smc_1af8 = * + 1
        cmp #$07                                    // !SMC: modified by $1925
        bcc loc_1b41
        lda $213f,x
        beq loc_1b41
        and #$03
        cmp #$01
        beq loc_1b25
        lda $2164
        sec
        lda $213c,x
        sbc $2164
        sta $213c,x
        sta $d400,y
        lda $2136,x
        sbc $2165
        sta $2136,x
        sta $d401,y
        jmp loc_1b41

loc_1b25:
        lda $2164
        clc
        lda $213c,x
        adc $2164
        sta $213c,x
        sta $d400,y
        lda $2136,x
        adc $2165
        sta $2136,x
        sta $d401,y

loc_1b41:
        lda $2154
        beq loc_1bb2
        and #$07
        tay
        dey
        tya
        asl
        asl
        tay
        lda $1e95,y
        cmp $2142,x
        bcc loc_1b59
        jmp loc_1b63

loc_1b59:
        iny
        iny
        lda $1e95,y
        cmp $2142,x
        bcc loc_1b6d

loc_1b63:
        iny
        lda $1e95,y
        sta $214e
        jmp loc_1b75

loc_1b6d:
        lda $2154
        and #$fc
        sta $214e

loc_1b75:
        lda $216f,x
        bne loc_1b97
        lda $2145,x
        sec
        sbc $214e
        sta $2145,x
        lda $2148,x
        sbc #$00
        sta $2148,x
        cmp #$01
        bcs loc_1bb2
        lda #$01
        sta $216f,x
        bne loc_1bb2

loc_1b97:
        lda $2145,x
        clc
        adc $214e
        sta $2145,x
        lda $2148,x
        adc #$00
        sta $2148,x
        cmp #$0f
        bcc loc_1bb2
        lda #$00
        sta $216f,x

loc_1bb2:
        lda #$00
        sta smc_1bd4                                // SMC: modifies $1bd4
        lda $214b,x
        and #$80
        beq loc_1bca
        lda $2142,x
        and #$01
        beq loc_1bca
        lda #$b0
        sta smc_1bd4                                // SMC: modifies $1bd4

loc_1bca:
        ldx $ff
        ldy $2156
        lda $2145,x
        clc
.label smc_1bd4 = * + 1
        adc #$00                                    // !SMC: modified by $1bb4, $1bc7
        sta $d402,y
        lda $2148,x
        adc #$00
        sta $d403,y
        lda $2155
        and #$40
        beq loc_1bfb
        ldx $ff
        lda $2142,x
        cmp #$03
        bcc loc_1bfb
        and #$03
        tax
        lda $1e32,x
        ldx $ff
        sta $2179,x

loc_1bfb:
        sty $2167
        lda $2155
        and #$01
        beq loc_1c2f
        ldx $ff
        stx $2175
        lda #$89
        sta $f9
        lda #$1e
        sta $fa
        ldx $ff
        lda $2142,x
        ldy #$0b
        cmp ($f9),y
        bcs loc_1c50
        ldy #$0a

loc_1c1f:
        cmp ($f9),y
        bcs loc_1c5b
        dey
        cpy #$06
        bne loc_1c1f
        cmp ($f9),y
        bcs loc_1c32
        jmp loc_1c7b

loc_1c2f:
        jmp loc_1c6a

loc_1c32:
        lda $ff
        asl
        bne loc_1c3a
        clc
        adc #$01

loc_1c3a:
        sta $2168
        ldx $2172
        txa
        and $2168
        bne loc_1c4e
        txa
        clc
        adc $2168
        sta $d417

loc_1c4e:
        ldy #$06

loc_1c50:
        dey
        dey
        dey
        dey
        dey
        dey
        lda ($f9),y
        jmp loc_1c73

loc_1c5b:
        dey
        dey
        dey
        dey
        dey
        dey
        lda $2169,x
        clc
        adc ($f9),y
        jmp loc_1c73

loc_1c6a:
        lda $ff
        cmp $2175
        bne loc_1c7b
        lda #$ff

loc_1c73:
        ldx $ff
        sta $2169,x
        sta $d416

loc_1c7b:
        ldy $2167
        lda $2155
        and #$10
        beq loc_1ce3
        lda $2153
        and #$0f
        tax
        lda $1e3e,x
        sta smc_1caf                                // SMC: modifies $1caf
        lda $1e40,x
        sta smc_1cb0                                // SMC: modifies $1cb0
        lda $1e42,x
        sta smc_1cb7                                // SMC: modifies $1cb7
        lda $1e44,x
        sta smc_1cb8                                // SMC: modifies $1cb8
        ldx $ff
        lda $2142,x
        cmp #$0f
        bcs loc_1ce0
        tax
        dex
.label smc_1caf = * + 1
.label smc_1cb0 = * + 2
        lda $1e76,x                                 // !SMC: modified by $1c8e, $1c94
        ldy $ff
        sta $2179,y
.label smc_1cb7 = * + 1
.label smc_1cb8 = * + 2
        lda $1e66,x                                 // !SMC: modified by $1c9a, $1ca0
        sta $2168
        lda $2153
        and #$10
        beq loc_1ccf
        ldx $ff
        lda $2130,x
        clc
        adc $2168
        jmp loc_1d42

loc_1ccf:
        ldy $2156
        lda $2168
        clc
        adc #$0d
        sta $d401,y
        lda #$00
        sta $d400,y

loc_1ce0:
        jmp loc_1d52

loc_1ce3:
        lda $2155
        and #$80
        beq loc_1d1e
        ldx $ff
        ldy $2156
        lda $2142,x
        cmp #$02
        bcs loc_1d0a
        lda #$48
        sta $d401,y
        lda #$00
        sta $d400,y
        ldx $ff
        lda #$81
        sta $2179,x
        jmp loc_1d52

loc_1d0a:
        lda $213c,x
        sta $d400,y
        lda $2136,x
        sta $d401,y
        lda $212d,x
        and #$fe
        sta $2179,x

loc_1d1e:
        lda $2155
        and #$04
        beq loc_1d52
        dec $2161,x
        bpl loc_1d2f
        lda #$02
        sta $2161,x

loc_1d2f:
        ldx $ff
        lda $2161,x
        tax
        lda $1e86,x
        sta $41
        ldx $ff
        lda $2130,x
        clc
        adc $41

loc_1d42:
        tax
        ldy $2156
        lda dat_1d64,x
        sta $d400,y
        lda $1dc4,x
        sta $d401,y

loc_1d52:
        ldx $ff
        ldy $2156
        lda $2179,x
        sta $d404,y
        dex
        bmi loc_1d63
        jmp loc_1845

loc_1d63:
        rts

// --- Region $2030-$204e ---
.pc = $2030 "loc_2030"

loc_2030:
        lda $2153
        beq loc_2048
        lsr
        lsr
        lsr
        lsr
        tax
        lda $2153
        and #$0f

loc_203f:
        sta $1e88
        stx $1e87
        jmp loc_1aeb

loc_2048:
        lda #$18
        ldx #$0c
        bne loc_203f
        brk

// --- Region $20d9-$2116 ---
.pc = $20d9 "sub_20d9"
// Referenced by: jsr from $2108

sub_20d9:
        lda #$00
        ldx #$62

loc_20dd:
        sta $2121,x
        dex
        bpl loc_20dd
        lda #$b0
        sta $2172

loc_20e8:
        lda #$00
        sta $2142
        sta $2143
        sta $2144
        ldx #$02

loc_20f5:
        sta $2121,x
        sta $2124,x
        sta $2127,x
        sta $2130,x
        dex
        bpl loc_20f5
        sta $2174
        rts
// Referenced by: jsr from $1044

sub_2108:
        jsr sub_20d9

loc_210b:
        ldx #$00
        txa

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

// --- Region $2948-$2953 ---
.pc = $2948 "Segment $2948"
        tsx
        inc $3efb
        .byte $cf,$33,$0c                           // dcp $0c33 // ILLEGAL
        .byte $03,$65                               // slo ($65,x) // ILLEGAL
        sta $50,x
        rti

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

// --- Region $0800-$08d8 ---
.pc = $0800 "chr_0800"

chr_0800:
        // === Charset data (217 bytes, $0800-$08d8) ===
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 0 @+0
        .byte $aa,$aa,$95,$95,$97,$97,$97,$95       // char 1 @+1
        .byte $aa,$95,$95,$95,$bf,$aa,$95,$95       // char 2 @+2
        .byte $aa,$95,$95,$95,$97,$97,$97,$97       // char 3 @+3
        .byte $aa,$95,$95,$95,$97,$97,$97,$97       // char 4 @+4
        .byte $aa,$95,$95,$95,$97,$96,$95,$95       // char 5 @+5
        .byte $aa,$95,$95,$95,$97,$96,$95,$95       // char 6 @+6
        .byte $aa,$95,$95,$95,$97,$97,$97,$97       // char 7 @+7
        .byte $aa,$97,$97,$97,$97,$97,$95,$95       // char 8 @+8
        .byte $0a,$09,$09,$09,$09,$09,$09,$09       // char 9 @+9
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 10 @+10
        .byte $aa,$97,$97,$97,$97,$97,$95,$95       // char 11 @+11
        .byte $aa,$97,$97,$97,$97,$97,$97,$97       // char 12 @+12
        .byte $a0,$a8,$9a,$96,$95,$95,$95,$97       // char 13 @+13
        .byte $aa,$95,$95,$95,$95,$97,$97,$97       // char 14 @+14
        .byte $aa,$95,$95,$95,$95,$97,$97,$97       // char 15 @+15
        .byte $aa,$95,$95,$95,$bf,$aa,$95,$95       // char 16 @+16
        .byte $aa,$95,$95,$95,$95,$97,$97,$97       // char 17 @+17
        .byte $aa,$95,$95,$95,$bf,$aa,$95,$95       // char 18 @+18
        .byte $aa,$95,$95,$95,$97,$96,$95,$95       // char 19 @+19
        .byte $aa,$95,$95,$95,$bd,$09,$09,$09       // char 20 @+20
        .byte $aa,$97,$97,$97,$97,$97,$97,$97       // char 21 @+21
        .byte $aa,$97,$97,$97,$97,$97,$97,$95       // char 22 @+22
        .byte $aa,$97,$97,$97,$97,$97,$97,$97       // char 23 @+23
        .byte $ab,$97,$97,$97,$97,$95,$a5,$29       // char 24 @+24
        .byte $aa,$97,$97,$97,$97,$97,$95,$95       // char 25 @+25
        .byte $aa,$95,$95,$95,$bf,$02,$0a,$09       // char 26 @+26

dat_08d8:
        // === Fill data (1 bytes, $08d8-$08d8) ===
        .byte $00                                   // .

// --- Region $0908-$0910 ---
.pc = $0908 "dat_0908"

dat_0908:
        .byte $0a,$09,$09,$09,$09,$09,$09,$09       // char 33 '!'

dat_0910:
        // === Fill data (1 bytes, $0910-$0910) ===
        .byte $00                                   // .

// --- Region $0938-$09df ---
.pc = $0938 "dat_0938"

dat_0938:
        .byte $0a,$09,$09,$0a,$09,$0b,$00,$00       // char 39 '''
        .byte $00,$02,$02,$0a,$09,$09,$09,$09       // char 40 '('
        .byte $2a,$27,$25,$25,$29,$09,$09,$09       // char 41 ')'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 42 '*'
        .byte $00,$0a,$09,$09,$09,$a9,$95,$95       // char 43 '+'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 44 ','
        .byte $00,$00,$00,$00,$00,$2a,$25,$25       // char 45 '-'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 46 '.'
        .byte $00,$00,$00,$02,$02,$0a,$09,$29       // char 47 '/'
        .byte $aa,$95,$95,$95,$97,$97,$97,$97       // char 48 '0'
        .byte $0a,$09,$09,$09,$09,$09,$09,$09       // char 49 '1'
        .byte $aa,$95,$95,$95,$bf,$aa,$95,$95       // char 50 '2'
        .byte $aa,$95,$95,$95,$97,$be,$09,$09       // char 51 '3'
        .byte $aa,$97,$97,$97,$97,$97,$95,$95       // char 52 '4'
        .byte $aa,$95,$95,$95,$97,$96,$95,$95       // char 53 '5'
        .byte $aa,$95,$95,$95,$97,$96,$95,$95       // char 54 '6'
        .byte $aa,$95,$95,$95,$bf,$00,$00,$00       // char 55 '7'
        .byte $aa,$95,$95,$95,$97,$96,$95,$95       // char 56 '8'
        .byte $aa,$95,$95,$95,$97,$96,$95,$95       // char 57 '9'
        .byte $00,$00,$00,$0a,$09,$09,$09,$0b       // char 58 ':'
        .byte $00,$00,$00,$0a,$09,$09,$09,$0b       // char 59 ';'

// --- Region $09f8-$0ad8 ---
.pc = $09f8 "dat_09f8"

dat_09f8:
        .byte $2a,$a5,$95,$95,$97,$be,$0a,$09       // char 63 '?'
        .byte $00,$00,$00,$00,$80,$60               // char 64 (partial)

txt_0a06:
        .byte $58,$56                               // char 64 (partial)
        .byte $aa,$57,$57,$57,$97,$97,$97,$57       // char 65 'A'
        .byte $aa                                   // char 66 (partial)

txt_0a11:
        .byte $57,$57,$57,$d7,$97                   // char 66 (partial)

txt_0a16:
        .byte $57,$5c                               // char 66 (partial)
        .byte $aa,$57,$57,$57,$ff,$00,$00,$00       // char 67 'C'
        .byte $a0,$68,$5a,$57,$97,$97,$97,$97       // char 68 'D'
        .byte $aa,$57,$57,$57,$ff,$a8               // char 69 (partial)

txt_0a2e:
        .byte $5c,$5c                               // char 69 (partial)
        .byte $aa,$57,$57,$57,$ff,$a8               // char 70 (partial)

txt_0a36:
        .byte $5c,$5c                               // char 70 (partial)
        .byte $aa,$57,$57,$57,$ff,$aa,$97,$97       // char 71 'G'
        .byte $aa,$97,$97,$97,$97,$97               // char 72 (partial)

txt_0a46:
        .byte $57,$57                               // char 72 (partial)
        .byte $a0,$70,$70,$70,$70,$70,$70,$70       // char 73 'I'
        .byte $aa,$97,$97,$97,$97,$97,$97,$97       // char 74 'J'
        .byte $aa,$97,$97,$97,$97,$57,$5f,$7c       // char 75 'K'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 76 'L'
        .byte $0a,$2b,$a7,$97                       // char 77 (partial)

txt_0a6c:
        .byte $57,$57,$57,$d7                       // char 77 (partial)
        .byte $aa                                   // char 78 (partial)

txt_0a71:
        .byte $57,$57,$57,$57,$d7,$97,$97           // char 78 (partial)
        .byte $aa                                   // char 79 (partial)

txt_0a79:
        .byte $57,$57,$57,$57,$d7,$97,$97           // char 79 (partial)
        .byte $aa                                   // char 80 (partial)

txt_0a81:
        .byte $57,$57,$57,$d7,$97                   // char 80 (partial)

txt_0a86:
        .byte $57,$57                               // char 80 (partial)
        .byte $aa                                   // char 81 (partial)

txt_0a89:
        .byte $57,$57,$57,$57,$d7,$97,$97           // char 81 (partial)
        .byte $aa                                   // char 82 (partial)

txt_0a91:
        .byte $57,$57,$57,$d7,$97                   // char 82 (partial)

txt_0a96:
        .byte $57,$5c                               // char 82 (partial)
        .byte $aa,$57,$57,$57,$ff,$aa               // char 83 (partial)

txt_0a9e:
        .byte $57,$57                               // char 83 (partial)
        .byte $aa,$57,$57,$57,$7f,$70,$70,$70       // char 84 'T'
        .byte $aa,$97,$97,$97,$97,$97,$97,$97       // char 85 'U'
        .byte $aa,$97,$97,$97,$97,$97,$97,$57       // char 86 'V'
        .byte $aa,$97,$97,$97,$97,$97,$97,$97       // char 87 'W'
        .byte $ab,$97,$97,$97,$97,$57,$5f,$7e       // char 88 'X'
        .byte $aa,$97,$97,$97,$97,$97               // char 89 (partial)

txt_0ace:
        .byte $57,$57                               // char 89 (partial)
        .byte $ab                                   // char 90 (partial)

txt_0ad1:
        .byte $57,$57,$57,$d7,$57,$5f,$5c           // char 90 (partial)

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

// --- Region $0b08-$0b10 ---
.pc = $0b08 "dat_0b08"

dat_0b08:
        .byte $a0,$70,$70,$70,$70,$70,$70,$70       // char 97 'a'

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

// --- Region $0b38-$0bdf ---
.pc = $0b38 "dat_0b38"

dat_0b38:
        .byte $b0,$70,$70,$70,$f0,$c0,$00,$00       // char 103 'g'
        .byte $a8,$9c,$5c,$5c,$7c,$70,$70,$70       // char 104 'h'
        .byte $00,$c0,$c0,$f0,$70,$70,$70,$70       // char 105 'i'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 106 'j'
        .byte $00,$a0,$70,$70,$70,$7a,$57,$57       // char 107 'k'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 108 'l'
        .byte $00,$00,$00,$00,$00,$a8,$5c,$5c       // char 109 'm'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 110 'n'
        .byte $2b,$a7,$97,$97,$5f,$5c,$7c,$70       // char 111 'o'
        .byte $aa                                   // char 112 (partial)

txt_0b81:
        .byte $57,$57,$57,$d7,$97,$97,$97           // char 112 (partial)
        .byte $a0,$70,$70,$70,$70,$70,$70,$70       // char 113 'q'
        .byte $aa                                   // char 114 (partial)

txt_0b91:
        .byte $57,$57,$57,$d7,$97                   // char 114 (partial)

txt_0b96:
        .byte $57,$57                               // char 114 (partial)
        .byte $aa                                   // char 115 (partial)

txt_0b99:
        .byte $57,$57,$57,$d7,$97,$57,$57           // char 115 (partial)
        .byte $00,$00,$a8,$5c,$5c,$5f               // char 116 (partial)

txt_0ba6:
        .byte $57,$57                               // char 116 (partial)
        .byte $aa,$57,$57,$57,$ff,$ab               // char 117 (partial)

txt_0bae:
        .byte $57,$57                               // char 117 (partial)
        .byte $aa,$57,$57,$57,$ff,$ab               // char 118 (partial)

txt_0bb6:
        .byte $57,$57                               // char 118 (partial)
        .byte $aa                                   // char 119 (partial)

txt_0bb9:
        .byte $57,$57,$57,$d7,$97,$97,$97           // char 119 (partial)
        .byte $aa                                   // char 120 (partial)

txt_0bc1:
        .byte $57,$57,$57,$d7,$97                   // char 120 (partial)

txt_0bc6:
        .byte $57,$57                               // char 120 (partial)
        .byte $aa                                   // char 121 (partial)

txt_0bc9:
        .byte $57,$57,$57,$d7,$97,$57,$57           // char 121 (partial)
        .byte $00,$00,$00,$a0,$70,$70,$70,$f0       // char 122 'z'
        .byte $00,$00,$00,$a0,$70,$70,$70,$f0       // char 123 '{'

// --- Region $0bf8-$0cd7 ---
.pc = $0bf8 "dat_0bf8"

dat_0bf8:
        .byte $a0                                   // char 127 (partial)

txt_0bf9:
        .byte $5c,$57,$57,$d7,$57,$5f,$5c           // char 127 (partial)
        .byte $d5,$35,$0d,$03,$00,$00,$00,$00       // char 128
        .byte $95,$97,$97,$97,$97,$97,$bf,$00       // char 129
        .byte $95,$97,$96,$95,$95,$95,$bf,$00       // char 130
        .byte $97,$97,$97,$95,$95,$95,$bf,$00       // char 131
        .byte $97,$97,$97,$95,$95,$95,$bf,$00       // char 132
        .byte $95,$97,$96,$95,$95,$95,$bf,$00       // char 133
        .byte $95,$97,$97,$97,$97,$97,$bf,$00       // char 134
        .byte $97,$97,$97,$95,$95,$95,$bf,$00       // char 135
        .byte $95,$97,$97,$97,$97,$97,$bf,$00       // char 136
        .byte $09,$09,$09,$09,$09,$09,$0b,$00       // char 137
        .byte $ab,$97,$97,$95,$95,$95,$bf,$00       // char 138
        .byte $95,$97,$97,$97,$97,$97,$bf,$00       // char 139
        .byte $97,$97,$97,$95,$95,$95,$bf,$00       // char 140
        .byte $97,$97,$97,$97,$97,$97,$bf,$00       // char 141
        .byte $97,$97,$97,$97,$97,$97,$bf,$00       // char 142
        .byte $97,$97,$95,$95,$95,$95,$bf,$00       // char 143
        .byte $95,$97,$97,$97,$97,$97,$bf,$00       // char 144
        .byte $97,$97,$95,$95,$95,$95,$ff,$00       // char 145
        .byte $95,$95,$97,$97,$97,$97,$bf,$00       // char 146
        .byte $95,$bf,$aa,$95,$95,$95,$bf,$00       // char 147
        .byte $09,$09,$09,$09,$09,$09,$0b,$00       // char 148
        .byte $97,$97,$95,$95,$95,$95,$bf,$00       // char 149
        .byte $a5,$25,$25,$29,$09,$09,$0b,$00       // char 150
        .byte $97,$95,$95,$95,$95,$97,$bf,$00       // char 151
        .byte $25,$95,$97,$97,$97,$97,$bf,$00       // char 152
        .byte $95,$bd,$09,$09,$09,$09,$0b,$00       // char 153

txt_0cd0:
        .byte $29,$25,$a5,$95,$95,$95,$bf           // char 154 (partial)

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

// --- Region $0d08-$0d0f ---
.pc = $0d08 "dat_0d08"

dat_0d08:
        .byte $09,$0b,$0a,$09,$09,$09,$0b           // char 161 (partial)

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

// --- Region $0d40-$0ddf ---
.pc = $0d40 "dat_0d40"

dat_0d40:
        .byte $09,$09,$09,$0a,$02,$02,$00,$00       // char 168
        .byte $09,$09                               // char 169 (partial)

txt_0d4a:
        .byte $29,$25,$25,$27,$2f,$00               // char 169 (partial)
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 170
        .byte $bd,$09,$09,$09,$08,$00,$00,$00       // char 171
        .byte $00,$00,$0a,$09,$09,$0a,$09,$0b       // char 172
        .byte $25,$2f,$00,$00,$00,$00,$00,$00       // char 173
        .byte $00,$00,$0a,$09,$09,$09,$0b,$00       // char 174
        .byte $25,$a5,$97,$97,$9f,$9c,$bc,$b0       // char 175
        .byte $97,$97,$97,$95,$95,$95,$bf,$00       // char 176
        .byte $09,$09,$09,$09,$09,$09,$0b,$00       // char 177
        .byte $95,$97,$96,$95,$95,$95,$bf,$00       // char 178
        .byte $09,$ab,$96,$95,$95,$95,$bf,$00       // char 179
        .byte $95,$bf,$02,$02,$02,$02,$02,$00       // char 180
        .byte $95,$bf,$aa,$95,$95,$95,$bf,$00       // char 181
        .byte $95,$97,$96,$95,$95,$95,$bf,$00       // char 182
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 183
        .byte $95,$97,$96,$95,$95,$95,$bf,$00       // char 184
        .byte $95,$bf,$aa,$95,$95,$95,$bf,$00       // char 185
        .byte $0a,$09,$09,$09,$0b,$00,$00,$00       // char 186
        .byte $0a,$09,$09,$09,$09,$25,$95,$bf       // char 187

// --- Region $0df8-$0ed7 ---
.pc = $0df8 "dat_0df8"

dat_0df8:
        .byte $09,$0b,$0a,$09,$09,$09,$0b,$00       // char 191
        .byte $57,$5c,$70,$c0,$00,$00,$00,$00       // char 192
        .byte $57,$97,$97,$97,$97,$97,$bf,$00       // char 193
        .byte $57,$d7,$97,$57,$57,$57,$ff,$00       // char 194
        .byte $00,$00,$aa,$57,$57,$57,$ff,$00       // char 195
        .byte $97,$97,$97,$57,$5f,$7c,$f0,$00       // char 196
        .byte $5c,$fc,$aa,$57,$57,$57,$ff,$00       // char 197
        .byte $5c,$fc,$00,$00,$00,$00,$00,$00       // char 198
        .byte $97,$97,$97,$57,$57,$57,$ff,$00       // char 199
        .byte $57,$97,$97,$97,$97,$97,$bf,$00       // char 200
        .byte $70,$70,$70,$70,$70,$70,$f0,$00       // char 201
        .byte $97,$97,$97,$57,$57,$57,$ff,$00       // char 202
        .byte $5f,$57,$97,$97,$97,$97,$bf,$00       // char 203
        .byte $00,$00,$aa,$57,$57,$57,$ff,$00       // char 204
        .byte $97,$97,$97,$97,$97,$97,$bf,$00       // char 205
        .byte $97,$97,$97,$97,$97,$97,$bf,$00       // char 206
        .byte $97,$97,$57,$57,$57,$57,$ff,$00       // char 207
        .byte $57,$ff,$00,$00,$00,$00,$00,$00       // char 208
        .byte $97,$97,$57,$57,$57,$57,$f7,$3f       // char 209
        .byte $5f,$57,$97,$97,$97,$97,$bf,$00       // char 210
        .byte $57,$d7,$97,$57,$57,$57,$ff,$00       // char 211
        .byte $70,$70,$70,$70,$70,$70,$f0,$00       // char 212
        .byte $97,$97,$57,$57,$57,$57,$ff,$00       // char 213
        .byte $5f,$5c,$5c,$7c,$70,$70,$f0,$00       // char 214
        .byte $97                                   // char 215 (partial)

txt_0eb9:
        .byte $57,$57,$57,$57,$d7,$ff,$00           // char 215 (partial)
        .byte $5c,$57,$97,$97,$97,$97,$bf,$00       // char 216
        .byte $57,$7f,$70,$70,$70,$70,$f0,$00       // char 217
        .byte $7c,$70,$ab,$57,$57,$57,$ff           // char 218 (partial)

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

// --- Region $0f08-$0f0f ---
.pc = $0f08 "dat_0f08"

dat_0f08:
        .byte $70,$f0,$a0,$70,$70,$70,$f0           // char 225 (partial)

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

// --- Region $0f40-$0fde ---
.pc = $0f40 "dat_0f40"

dat_0f40:
        .byte $70,$70,$7c,$5c,$5c,$9c,$bc,$00       // char 232
        .byte $70,$70,$70,$f0,$c0,$c0,$00,$00       // char 233
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 234
        .byte $7f,$70,$70,$70,$f0,$00,$00,$00       // char 235
        .byte $00,$00,$a0,$70,$70,$70,$f0,$c0       // char 236
        .byte $5c,$fc,$00,$00,$00,$00,$00,$00       // char 237
        .byte $00,$00,$a0,$70,$70,$6f,$f0,$00       // char 238
        .byte $f0,$c0,$c0,$00,$00,$00,$00,$00       // char 239
        .byte $97,$97,$97,$57,$57,$57,$ff,$00       // char 240
        .byte $70,$70,$70,$70,$70,$70,$f0,$00       // char 241
        .byte $57,$ff,$ab,$57,$57,$57,$ff,$00       // char 242
        .byte $57,$d7,$97,$57,$57,$57,$ff,$00       // char 243
        .byte $57,$5f,$5c,$5c,$5c,$5c,$fc,$00       // char 244
        .byte $57,$d7,$97,$57,$57,$57,$ff,$00       // char 245
        .byte $57,$d7,$97,$57,$57,$57,$ff,$00       // char 246
        .byte $97,$97,$97,$97,$97,$97,$bf,$00       // char 247
        .byte $57,$d7,$97,$57,$57,$57,$ff,$00       // char 248
        .byte $57,$d7,$97,$57,$57,$57,$ff,$00       // char 249
        .byte $a0,$70,$70,$70,$f0,$00,$00,$00       // char 250
        .byte $a0,$70,$70,$70,$70,$70,$c0           // char 251 (partial)

// --- Region $0ff8-$0fff ---
.pc = $0ff8 "dat_0ff8"

dat_0ff8:
        .byte $7c,$f0,$b0,$70,$70,$70,$f0,$00       // char 255

// --- Region $1204-$1231 ---
.pc = $1204 "Segment $1204"
        .byte $00                                   // .

txt_1205:
        .text " -  "
        .byte $10,$15,$06,$06,$19,$27,$13,$20,$13,$01,$07,$01 // .....'. ....

txt_1215:
        .text "  -   "

txt_121b:
        .encoding "screencode_mixed"
        .text "from got and eid   g"
        .text "@"
        .text "@"
        .encoding "petscii_upper"
        .byte $80                                   // .

// --- Region $125c-$1287 ---
.pc = $125c "tbl_lo_125c"

tbl_lo_125c:
        .byte $30,<sub_12e0,$88,$a1,$50,$b3,$88,<dat_161f // address table low bytes

tbl_hi_1264:
        .byte $13,>sub_12e0,$12,$12,$15,$15,$12,>dat_161f // address table high bytes
        .byte $00,$00,$30,$94,$96,$9a,$ba,$dc,$e2,$0b,$0c,$0f,$01,$0f,$0c,$0f // ..0.............
        .byte $01,$0f,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01 // ............

// --- Region $136d-$13ec ---
.pc = $136d "txt_136d"

txt_136d:
        .text "58;>ADGJMPSVY"
        .byte $5c                                   // backslash character
        .byte $5f,$62,$65,$68,$6b,$6e,$71,$74,$77,$7a,$7d,$80,$83,$86,$89 // _behknqtwz}....

txt_138a:
        .text "47:="
        .byte $40                                   // @ character
        .text "CFILORUX"
        .byte $5b,$5e,$61,$64,$67,$6a,$6d,$70,$73,$76,$79,$7c,$7f,$82,$85,$88 // [^adgjmpsvy|....
        .byte $8b,$db,$cf,$83,$e5,$2d,$86,$d4,$9e,$2c,$a5,$bd,$0d,$c7,$d3,$a6 // .....-...,......
        .byte $5e,$9d,$b4,$24,$89,$c7,$d8,$e6,$9d,$eb,$67,$86,$0b,$77,$1b,$2a // ^..$......g..w.*
        .byte $da,$0d,$5c,$3e,$00,$01,$01,$01,$01,$01,$01,$00,$01,$01,$00,$01 // ..\>............
        .byte $00,$01,$00,$01,$01,$00,$01,$01,$01,$00,$00,$01,$01,$00,$01,$01 // ................
        .byte $00,$01,$00,$00,$00,$00               // ......

// --- Region $14b5-$1581 ---
.pc = $14b5 "Segment $14b5"
        .byte $00,$d7,$00,$01,$02,$02,$03,$03,$03,$04,$04,$04,$04,$05,$05,$05 // ................
        .byte $05,$05,$06,$06,$06,$06,$06,$06,$07,$07,$07,$07,$07,$07,$07,$08 // ................
        .fill 15, $08
        .byte $07,$07,$07,$07,$07,$07,$07,$06,$06,$06,$06,$06,$06,$05,$05,$05 // ................
        .byte $05,$05,$04,$04,$04,$04,$03,$03,$03,$02,$02,$01 // ............

txt_1500:
        .text "3445556666777778888889999999888888777776666555443"
        .byte $01,$02,$02,$03,$03,$04,$04,$05,$05,$05,$05,$04,$04,$04,$03,$03 // ................
        .byte $03,$02,$02,$01                       // ....

txt_1545:
        .text "3445543"
        .byte $01,$01,$00,$00,$a2,$04,$ca,$d0,$fd,$ea,$ea,$a0,$08,$bd,$8e,$15 // ................
        .byte $8d,$20,$d0,$8d,$21,$d0,$e8,$88,$f0,$f1,$e0,$01,$b0,$18,$20,$78 // . ..!......... x
        .byte $15,$bd,$9e,$15,$8d,$22,$d0,$bd,$8e,$15,$90,$e4,$ea,$ea,$ea,$ea // ....."..........
        .byte $ea,$ea,$ea,$ea,$ea,$60               // .....`

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

dat_158e:
        .byte $00,$00,$00,$00,$00,$00,$00,$09,$02,$08,$0a,$0f,$07,$01,$01,$01 // ................
        .byte $07,$0f,$0a,$08,$02,$09,$00,$01,$07,$0f,$0a,$08,$02,$09,$09,$02 // ................
        .byte $08,$0a,$0f,$07,$01,$a2,$05,$ca,$d0,$fd,$a0,$08,$bd,$d9,$15,$8d // ................
        .byte $20,$d0,$8d,$21,$d0,$e8,$88,$f0,$f1,$e0,$01,$b0,$b7,$20,$78,$15 //  ..!......... x.
        .byte $bd,$e9,$15,$8d,$22,$d0,$bd,$d9,$15,$90,$e4,$00,$00,$00,$00,$00 // ...."...........
        .byte $00,$00,$06,$0b,$04,$0c,$0a,$0f,$07,$01,$07,$0f,$0a,$0c,$04,$0b // ................
        .byte $06,$00,$01,$07,$0f,$0a,$0c,$04,$0b,$06,$0b,$04,$0c,$0a,$0f,$07 // ................
        .byte $01                                   // .

// --- Region $161f-$1678 ---
.pc = $161f "dat_161f"

dat_161f:
        .byte $a2,$03,$ca,$d0,$fd,$ea,$ad,$37,$17,$8d,$16,$d0,$a0,$08,$bd,$4c // .......7.......L
        .byte $16,$8d,$20,$d0,$8d,$21,$d0,$e8,$88,$f0,$f1,$e0,$18,$b0,$35,$20 // .. ..!........5 
        .byte $78,$15,$bd,$5e,$16,$8d,$22,$d0,$bd,$4c,$16,$90,$e4,$00,$00,$00 // x..^.."..L......
        .byte $00,$00,$00,$09,$0b,$08,$0c,$0f,$07,$01,$01,$01,$01,$07,$0f,$0c // ................
        .byte $08,$0b,$09,$00,$00,$00,$01,$07,$0f,$0c,$08,$0b,$09,$09,$0b,$08 // ................
        .byte $0c,$0f,$07,$01,$a9,$d8,$8d,$16,$d0,$60 // .........`

// --- Region $1725-$174d ---
.pc = $1725 "dat_1725"

dat_1725:
        .byte $00,$06,$06,$0e,$0e,$03,$03,$01,$00,$05,$05,$03,$03,$0d,$0d,$01 // ................
        .byte $00,$00,$00,$00,$0f,$0f,$0f,$0f,$0e,$0d,$0c,$0b,$0a,$09,$08,$07 // ................
        .byte $06,$05,$04,$03,$02,$01,$00,$00,$00   // .........

// --- Region $1800-$1805 ---
.pc = $1800 "dat_1800"

dat_1800:
        .byte $4c,$00,$20,$4c,$17,$21               // L. L.!

// --- Region $1816-$1829 ---
.pc = $1816 "Segment $1816"
        .byte $26,$ee,$16,$18,$ee,$16,$18,$ad,$16,$18,$c9,$32,$d0,$05,$a9,$01 // &..........2....
        .byte $8d,$15,$18,$60                       // ...`

// --- Region $1d64-$1f36 ---
.pc = $1d64 "dat_1d64"

dat_1d64:
        .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.|....~........
        .fill 12, $01
        .byte $02,$02,$02,$02,$02,$02,$02,$03,$03,$03,$03,$03,$04,$04,$04,$04 // ................
        .byte $05,$05,$05,$06,$06,$07,$07,$07,$08,$08,$09,$09,$0a,$0b,$0b,$0c // ................
        .byte $0d,$0e,$0e,$0f,$10,$11,$12,$13,$15,$16,$17,$19,$1a,$1c,$1d,$1f // ................

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

txt_1e24:
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $00                                   // string terminator
        .byte $00,$00,$00,$00,$00,$00
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $06,$06,$07,$07,$08,$08
        .byte $07,$07,$56,$76,$1e,$1e,$46,$66,$1e,$1e,$13,$01,$ff,$23,$08,$13 // ..Vv..Ff.....#..
        .byte $03,$23,$00,$00,$00,$00,$00,$00,$00,$00,$81,$41,$40,$80,$80,$80 // .#.........A@...
        .byte $80,$80,$10,$10,$10,$10,$10,$10,$10,$10,$24,$fd,$fb,$f9,$f8,$f7 // ..........$.....
        .byte $f6,$f6,$f5,$f5,$f4,$f4,$f5,$f6,$f5,$f4,$81 // ...........

txt_1e77:
        .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
        .byte $00                                   // string terminator
        .byte $0c,$18,$c0,$f0,$f8,$f4,$f2,$40,$01,$02,$06,$0c,$10,$30,$04,$a0 // .......@.....0..
        .byte $08,$60,$04,$80,$0c,$10,$03,$80,$10,$40,$00,$80,$50,$1f,$1f,$20 // .`.......@..P.. 
        .byte $18,$22,$1c,$22,$3c,$22,$87,$22,$9a,$22,$b0,$22,$be,$22,$c2,$22 // ."."<"."."."."."
        .byte $c6,$22,$da,$22,$db,$22,$dc,$22,$dd,$22,$de,$22,$df,$22,$e0,$22 // ."."."."."."."."
        .byte $e1,$22,$e2,$22,$e3,$22,$e4,$22,$e5,$22,$e6,$22,$e7,$22,$e8,$22 // ."."."."."."."."
        .byte $e9,$22,$ea,$22,$eb,$22,$ec,$22,$ed,$22,$ee,$22,$ef,$22,$f0,$22 // ."."."."."."."."
        .byte $f1,$22,$f2,$22,$f3,$22,$f4,$22,$f5,$22,$f6,$22,$f7,$22,$f8,$22 // ."."."."."."."."
        .byte $f9,$22,$07,$23,$15,$23,$23,$23,$00,$80,$08,$08,$08,$08,$08,$08 // .".#.###........
        .byte $08,$08,$08,$08,$01,$01,$83,$01,$01,$80,$01,$01,$83,$01,$01,$87 // ................
        .byte $01,$85,$01,$83,$01,$85,$01,$81,$01,$01,$84,$01,$01,$88,$01,$86 // ................
        .byte $01,$84,$01,$86,$01,$01,$80,$01,$01,$01,$01,$98,$07,$00,$ff // ...............

dat_1f36:
        // === Fill data (1 bytes, $1f36-$1f36) ===
        .byte $00                                   // .

// --- Region $1f80-$1f93 ---
.pc = $1f80 "dat_1f80"

dat_1f80:
        .byte $80,$02,$00,$05,$00,$00,$00,$00,$80,$02,$81,$02,$05,$80,$04,$8c // ................
        .byte $07,$00,$ff                           // ...

dat_1f93:
        // === Fill data (1 bytes, $1f93-$1f93) ===
        .byte $00                                   // .

// --- Region $2000-$202f ---
.pc = $2000 "spr_2000"

spr_2000:
        // === Sprite data (48 bytes, $2000-$202f) ===
        .byte $a2,$01,$8e                           // #.#...#........##...###.
        .byte $74,$21,$aa                           // .###.#....#....##.#.#.#.
        .byte $bd,$d0,$20                           // #.####.###.#......#.....
        .byte $85,$2c,$bd                           // #....#.#..#.##..#.####.#
        .byte $d3,$20,$85                           // ##.#..##..#.....#....#.#
        .byte $2d,$a0,$05                           // ..#.##.##.#..........#.#
        .byte $b1,$2c,$99                           // #.##...#..#.##..#..##..#
        .byte $a1,$1e,$88                           // #.#....#...####.#...#...
        .byte $10,$f8,$4c                           // ...#....#####....#..##..
        .byte $08,$21,$1d                           // ....#.....#....#...###.#
        .byte $80,$50,$1f                           // #........#.#.......#####
        .byte $1f,$20,$00                           // ...#####..#.............
        .byte $80,$50,$1f                           // #........#.#.......#####
        .byte $1f,$20,$00                           // ...#####..#.............
        .byte $80,$50,$1f                           // #........#.#.......#####
        .byte $1f,$20,$00                           // ...#####..#.............

// --- Region $204f-$208b ---
.pc = $204f "dat_204f"

dat_204f:
        .byte $00,$80,$06,$06,$83,$06,$06,$87,$06,$85,$06,$83,$06,$85,$06,$80 // ................
        .byte $03,$03,$03,$03,$83,$03,$03,$80,$03,$03,$83,$03,$03,$87,$03,$85 // ................
        .byte $03,$83,$03,$85,$03,$81,$03,$03,$84,$03,$03,$88,$03,$86,$03,$84 // ................
        .byte $03,$86,$03,$03,$80,$03,$03,$03,$03,$07,$00,$ff // ............

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

// --- Region $20d0-$20d8 ---
.pc = $20d0 "dat_20d0"

dat_20d0:
        .byte $1d                                   // .

txt_20d1:
        .text "#)   "
        .byte $00                                   // string terminator
        .byte $00,$00                               // ..

// --- Region $2117-$2660 ---
.pc = $2117 "dat_2117"

dat_2117:
        .byte $a9,$02,$8d,$74,$21,$60,$01,$00,$07,$0e,$05,$01,$08,$0d,$36,$00 // ...t!`........6.
        .byte $05,$11,$11,$05,$1d,$2f,$00,$43,$41,$00,$3c,$21,$06,$0a,$05,$01 // ...../.CA.<!....
        .byte $21,$07,$01,$21,$07,$0c,$87,$0c,$00,$00,$00,$01,$19,$3d,$00,$80 // !..!.........=..
        .byte $40,$00,$0b,$0e,$00,$00,$04,$c0,$00,$00,$07,$30,$00,$00,$00,$00 // @..........0....
        .byte $ff,$04,$04,$04,$ff,$ff,$ff,$01,$02,$01,$03,$03,$03,$10,$00,$00 // ................
        .byte $00,$f4,$ff,$00,$00,$00,$00,$00,$01,$01,$00,$00,$00,$02,$00,$00 // ................
        .byte $00,$00,$00,$40,$40,$87,$21,$00,$6f,$00,$00,$00,$00,$00,$00,$00 // ...@@.!.o.......
        .fill 9, $00
        .byte $04,$41,$00,$e9,$00,$00,$41,$80,$08,$11,$0f,$a9,$00,$00,$00,$10 // .A....A.........
        .byte $08,$41,$07,$e7,$00,$00,$81,$84,$08,$11,$0f,$a8,$00,$01,$00,$10 // .A..............
        .byte $04,$41,$00,$ef,$00,$00,$45,$00,$00,$00,$00,$00,$00,$00,$00,$00 // .A....E.........
        .byte $02,$21,$00,$ea,$00,$25,$72,$40,$08,$11,$00,$e8,$00,$00,$43,$40 // .!...%r@......C@
        .byte $08,$11,$0a,$a8,$00,$11,$00,$10,$00,$43,$00,$fc,$00,$25,$c3,$40 // .........C...%.@
        .byte $01,$41,$00,$af,$00,$00,$43,$00,$08,$15,$0a,$a8,$00,$00,$00,$80 // .A....C.........
        .byte $05,$41,$00,$e9,$00,$24,$61,$00,$04,$41,$00,$e8,$00,$85,$63,$04 // .A...$a..A....c.
        .byte $04,$41,$00,$e8,$00,$47,$63,$04,$04,$41,$00,$e8,$00,$59,$63,$04 // .A...Gc..A...Yc.
        .fill 8, $ff
        .byte $af,$c0,$00,$ff,$82,$c4,$00,$cc,$3e,$c3 // ........>.

txt_2222:
        .text "&&"
        .byte $c2                                   // 'B' | $80 (end-of-string marker)
        .byte $00,$cc,$3e,$c3,$26,$cc,$3e,$c4,$00,$c3,$26,$c4,$00,$c3,$26,$c2 // ..>.&.>...&...&.
        .byte $00,$c3                               // ..

txt_2237:
        .text "&&"
        .byte $c2                                   // 'B' | $80 (end-of-string marker)
        .byte $00,$ff,$ca,$8b,$39,$85,$32,$9d,$e1,$17,$35,$82,$cc,$54,$c3,$32 // ....9.2...5..T.2
        .byte $cc,$60,$54,$c3                       // .`T.

txt_224e:
        .text "22"
        .byte $cc                                   // 'L' | $80 (end-of-string marker)
        .byte $60,$6c,$ca,$8b,$35,$39,$3c,$85,$35,$9d,$39,$82,$cc,$65,$c3 // `l..59<.5.9..e.

txt_2260:
        .text "55"
        .byte $cc                                   // 'L' | $80 (end-of-string marker)

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

txt_2266:
        .text "555"
        .byte $ca                                   // 'J' | $80 (end-of-string marker)
        .byte $8b,$39,$3c,$40,$85,$39,$9d,$3c,$8b,$40,$85,$39,$9d,$3c,$85,$41 // .9<@.9.<.@.9.<.A
        .byte $40,$3e,$8b
        .text "<975"
        .byte $85
        .byte $32,$8b
        .byte $30,$32,$ff,$c1,$82,$1a
        .byte $1a,$26,$1a,$1a,$1a,$26,$1a,$1a,$1a,$26,$1a,$1a,$1a,$26,$1a,$ff // .&...&...&...&..
        .byte $ca,$91,$32,$32,$8b,$39,$91,$32,$32,$8b,$30,$91,$32,$32,$8b,$39 // ..22.9.22.0.22.9
        .byte $91,$32,$32,$8b,$30,$ff,$97,$c0,$00,$82,$c9 // .22.0......

txt_22b5:
        .text "44440000"
        .byte $ff,$af,$c5,$1a,$ff,$af,$ca,$1a,$ff,$85,$c4,$00,$c6,$00,$c4,$00 // ................
        .byte $c6,$00,$c4,$00,$c6,$00,$82,$c4,$00,$00,$00,$00 // ............

dat_22d9:
        // === Fill data (32 bytes, $22d9-$22f8) ===
        .fill 32, $ff
        .byte $2f,$37,$00,$aa,$b1,$91,$b3,$22,$00,$00,$00,$4c,$00,$ff,$2f,$37 // /7....."...L../7
        .byte $00,$aa,$b1,$91,$b3,$22,$00,$00,$00,$4c,$00,$ff,$2f,$37,$00,$aa // ....."...L../7..
        .byte $b1,$91,$b3,$22,$00,$00,$00,$4c,$00,$ff,$2f,$37,$00,$aa,$b1,$91 // ..."...L../7....
        .byte $b3,$22,$00,$00,$00,$4c,$00,$ff,$00,$00,$00,$00,$00,$00,$00,$00 // ."...L..........
        .byte $01,$02,$03,$04,$05,$06,$07,$08,$09,$0a,$0b,$0c,$0d,$0e,$0f,$10 // ................
        .byte $11,$12,$13,$14,$15,$04,$16,$17,$00,$00,$00,$00,$00,$00,$00,$00 // ................
        .byte $00,$00,$00,$00,$18,$19,$19,$19,$1a,$1b,$1c,$1d,$1e,$1f // ..............

txt_2367:
        .text " !"
        .byte $22                                   // double quote character
        .text "#$%&'()*+,-./01"
        .byte $19,$19,$19,$32,$00,$00,$00,$00,$00   // ...2.....

txt_2382:
        .text "34567889:;<=>?"
        .byte $40                                   // @ character
        .text "ABCDEFGHIJKLMNOP88QRST3"
        .byte $00                                   // string terminator
        .byte $00                                   // .

txt_23aa:
        .text "UVWXYZZ"
        .byte $5b,$5c,$5c,$5d,$5e,$5f,$60,$60,$61,$62,$63,$5c,$5d,$64,$65,$66 // [\\]^_``abc\]def
        .byte $5c,$67,$68,$69,$6a,$6b,$6c,$6d,$5a,$5a,$6e,$6f,$70,$71,$55,$00 // \ghijklmZZnopqU.
        .byte $00,$72,$73,$74,$75,$76,$77,$10,$11,$12,$78,$79,$7a,$7b,$7b,$77 // .rstuvw...xyz{{w
        .byte $10,$11,$12,$13,$7c,$7d,$7e,$7f,$80,$02,$03,$04,$05,$81,$82,$83 // ....|}~.........
        .byte $84,$85,$86,$87,$88,$89,$72,$00,$00,$8a,$8b,$8c,$8d,$8e,$28,$29 // ......r.......()
        .byte $2a,$2b,$8f,$90,$91,$92,$92,$28,$29,$2a,$93,$94,$95,$96,$97,$98 // *+.....()*......
        .byte $99,$9a,$1c,$9b,$9c,$9d,$9e,$9f,$a0,$a1,$a2,$a3,$a4,$a5,$8a,$00 // ................
        .byte $00,$00,$00,$00,$a6,$a7               // ......

txt_2427:
        .text "GHI"
        .byte $a8                                   // '(' | $80 (end-of-string marker)
        .byte $a9,$aa,$ab,$ac,$ad                   // .....

txt_2430:
        .text "GHI"
        .byte $a8                                   // '(' | $80 (end-of-string marker)
        .byte $ae,$af,$b0,$b1,$b2,$b3,$b4,$b5,$b6,$b7,$b8,$b9,$ba,$bb,$bc,$a7 // ................
        .byte $bd,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$be,$66,$5c,$67,$bf // ............f\g.
        .byte $63                                   // c

txt_2455:
        .byte $5c                                   // backslash character
        .byte $5c                                   // backslash character
        .byte $c0                                   // '@' | $80 (end-of-string marker)
        .byte $be,$66,$5c,$67,$c1,$c2,$60,$61,$c3,$c4,$c5,$60,$60,$c6,$c7,$c8 // .f\g..`a...``...
        .byte $c9,$ca,$cb,$00,$00,$00,$00,$00,$00,$00 // ..........

txt_2472:
        .text " A5  - "

txt_2479:
        .encoding "screencode_mixed"
        .text "we are here to deletize you"
        .encoding "petscii_upper"

txt_2494:
        .text " ! -        A4  "

txt_24a4:
        .encoding "screencode_mixed"
        .text "this time presenting you the preview of"
        .encoding "petscii_upper"

txt_24cb:
        .text "             A2 - "
        .byte $10,$15,$06,$06,$19,$27,$13,$20,$13,$01,$07,$01 // .....'. ....

txt_24e9:
        .text " -                A4 "

txt_24fe:
        .encoding "screencode_mixed"
        .text "thank you jean-claude for the permission to spread it"
        .encoding "petscii_upper"

txt_2533:
        .text " !             A5 "

txt_2545:
        .encoding "screencode_mixed"
        .text "hip-hop's to the best in"
        .encoding "petscii_upper"

txt_255d:
        .text ":      A3 10. "
        .byte $13,$10,$08,$09,$0e,$18               // ......

txt_2571:
        .text "    9. "
        .byte $04,$0f,$0d,$09,$0e,$01,$14,$0f,$12,$13 // ..........

txt_2582:
        .text "    8. "
        .byte $1a,$01,$12,$07,$0f,$0e               // ......

txt_258f:
        .text "    7. "
        .byte $18,$2d,$12,$01,$19                   // .-...

txt_259b:
        .text "    6. "
        .byte $0f,$0e,$05,$17,$01,$19               // ......

txt_25a8:
        .text "    5. "
        .byte $05,$0c,$09,$14,$05                   // .....

txt_25b4:
        .text "    4. "
        .byte $0c,$09,$07,$08,$14                   // .....

txt_25c0:
        .text "    3. "
        .byte $09,$0b,$01,$12,$09                   // .....

txt_25cc:
        .text "    2. "
        .byte $08,$0f,$14,$0c,$09,$0e,$05           // .......

txt_25da:
        .text "          A4 "

txt_25e7:
        .encoding "screencode_mixed"
        .text "and the winners for today"
        .encoding "petscii_upper"

txt_2600:
        .text "       A2 -   "
        .byte $02,$12,$0f,$13                       // ....

txt_2612:
        .text "   -                A6   "

txt_262b:
        .encoding "screencode_mixed"
        .text "watch for more releases"
        .encoding "petscii_upper"

txt_2642:
        .text "                              "
        .byte $00                                   // string terminator

// --- Region $2767-$2768 ---
.pc = $2767 "dat_2767"

dat_2767:
        .byte $53                                   // S

dat_2768:
        // === Fill data (1 bytes, $2768-$2768) ===
        .byte $00                                   // .

// --- Region $280a-$2947 ---
.pc = $280a "dat_280a"

dat_280a:
        .byte $03,$03,$0e,$0f,$0a,$0f,$0f,$f9,$96,$65,$99,$a6,$e9,$ba,$ba,$ae // .........e......
        .byte $6b,$9a,$66,$59,$96,$65,$aa,$f3,$bc,$ef,$bb,$ae,$6b,$9a,$a0,$28 // k.fY.e......k..(
        .byte $c4,$34,$c4,$f4,$b4,$e4,$00,$0f,$39,$36,$e9,$fa,$ae,$fb,$fb,$9a // .4......96......
        .byte $66,$59,$96,$65,$99,$a6,$aa,$ef,$bb,$ae,$6b,$9a,$66,$59,$aa,$32 // fY.e......k.fY.2
        .byte $cc,$f3,$bc,$ef,$bb,$ae,$03,$8f       // ........

txt_2852:
        .text "NJOJKK"
        .byte $ee,$96,$65,$99,$a6,$e9,$ba,$ee,$80,$a0,$90,$50,$50,$90,$50,$90 // ..e........PP.P.
        .byte $3e,$fc,$ef,$bb,$ee,$ab,$9a,$a6,$e8,$ca,$31,$cd,$f1,$bd,$ed,$b9 // >.........1.....
        .byte $00,$03,$0e,$0d
        .text ":>+>>"
        .byte $e6
        .byte $59,$96,$65,$99,$a6,$e9
        .byte $ea,$bb,$ae,$6b,$9a,$66,$59,$96,$aa,$cc,$f3,$bc,$ef,$bb,$ae,$6b // ...k.fY........k
        .byte $80,$a3,$13,$d2,$13,$d2,$d2,$92,$fb,$d9,$96,$65,$99,$a6,$e9,$ba // ...........e....
        .byte $aa,$ae,$6b,$9a,$66,$59,$96,$65,$80,$28,$c1,$31,$cc,$f3,$bc,$ef // ..k.fY.e.(.1....
        .byte $00,$00,$00,$00                       // ....

txt_28bc:
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $00                                   // string terminator
        .byte $00,$00,$00,$03,$0e,$38,$e0,$00,$00,$00,$00,$ff,$aa,$00,$ff,$0b // .....8..........
        .byte $08,$0b,$08,$c8,$88,$08,$c1,$ee,$fb,$3e,$cf,$33,$0c,$33,$ec,$99 // .........>.3.3..
        .byte $a5,$d4,$90,$da,$fb,$3e,$cf,$66,$55,$00,$00,$a8,$a6,$e9,$ba,$94 // .....>.fU.......
        .byte $50,$00,$00,$0c,$80,$90,$50,$be,$8f,$b3,$8c,$83,$80,$80,$8c,$e9 // P.....P.........
        .byte $ba,$ed,$f9,$3d,$cf,$33,$0c,$96,$55,$40,$00,$aa,$ba,$ee,$fb,$69 // ...=.3..U@.....i
        .byte $55,$00,$00,$83,$a2,$90,$93,$48,$0b,$08,$08,$c8,$88,$08,$c8,$fb // U......H........
        .byte $3e,$cf,$33,$0c,$03,$00,$c0,$90,$d0,$90,$d0,$d0,$10,$d0,$10,$99 // >.3.............
        .byte $96,$a5,$99,$a6,$a9,$ba,$ae,$ad,$69,$99,$65,$59,$95,$65,$99 // ........i.eY.e.

txt_2940:
        .text "/#,#   #"

// --- Region $2954-$2e5e ---
.pc = $2954 "dat_2954"

dat_2954:
        .byte $6a,$ee,$fb,$3e,$9a,$55,$00,$00,$a0,$a8,$a4,$e4,$52,$42,$02,$02 // j..>.U......RB..
        .byte $f2,$a2,$02,$f2,$ee,$fb,$3e,$cf,$33,$0c,$03,$00,$99,$a6,$e9,$ba // ......>.3.......
        .byte $e5,$f4,$34,$c4,$66,$59,$96,$65       // ..4.fY.e

txt_297c:
        .text "Y&)*"
        .byte $bb                                   // ';' | $80 (end-of-string marker)
        .byte $ae,$6b,$9a,$66,$59,$96,$65           // .k.fY.e

txt_2988:
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .text "OJ"
        .byte $40                                   // @ character
        .text "O"
        .byte $00                                   // string terminator
        .byte $00,$00,$00,$c0,$b0,$2c,$0b,$00,$00,$00,$00,$00,$00,$ff,$aa,$00 // .....,..........
        .byte $00,$00,$00,$03,$0e,$f8,$a0,$03,$0e,$38,$e0,$83,$0e,$39,$e4,$83 // .........8...9..
        .byte $0e,$39,$e4,$90,$43,$0e,$39,$aa,$55,$00,$3f,$ea,$95,$6a,$bf,$aa // .9..C.9.U.?..j..
        .byte $55,$00,$ff,$aa,$55,$aa,$ff,$a1,$50,$00,$ff,$a0,$42,$8a,$c8,$30 // U...U...P...B..0
        .byte $50,$05,$c0,$00,$aa,$00,$00,$33,$0c,$55,$01,$09,$a8,$00,$00,$ee // P......3.U......
        .byte $fb,$3e,$cf,$33,$0c,$03,$40,$94,$a4,$e4,$b4,$e4,$f4,$34,$c4,$bb // .>.3..@......4..
        .byte $8c,$80,$80,$82,$80,$84,$80,$03,$00,$01,$81,$61,$80,$00,$08,$3e // ...........a...>
        .byte $cf,$56,$00,$80,$aa,$00,$00,$d2,$a1,$80,$0f,$00,$aa,$02,$00,$8b // .V..............
        .byte $48,$08,$c8,$08,$0b,$88,$48,$b0,$c0,$02,$30,$20,$9b,$20,$30,$10 // H.....H...0 . 0.
        .byte $10,$10,$10,$10,$0a,$00,$04,$bb,$be,$8f,$b3,$8c,$03,$08,$00,$a5 // ................
        .byte $e9,$b9,$ed,$f9,$3d,$cd               // ....=.

txt_2a37:
        .text "1.#    ! "
        .byte $c0                                   // '@' | $80 (end-of-string marker)
        .byte $00,$00,$20,$98,$20,$00,$02,$cf,$33,$55,$40,$60,$2a,$00,$00,$b4 // .. . ...3U@`*...
        .byte $e8,$a0,$03,$00,$aa,$00,$00,$a2,$52,$02,$f2,$02,$82,$a2,$12,$20 // ........R...... 
        .byte $00,$0c,$08,$e6,$08,$0c,$00,$34,$04,$04,$04,$c4,$04,$04 // .......4......

txt_2a6f:
        .text "D.+./#,# "
        .byte $99,$a6,$e9,$ba,$ee,$fb,$3e,$cf       // ......>.

txt_2a80:
        .text "JE"
        .byte $40                                   // @ character
        .text "OJEJO"
        .byte $aa                                   // '*' | $80 (end-of-string marker)
        .byte $55,$00,$fc,$ab,$56,$a9,$fe,$c2,$b0,$6c,$1b,$06,$c1,$b0,$6c,$c0 // U...V....l....l.
        .byte $b0,$2c,$0b,$c2,$b0,$6c,$1b,$00,$00,$00,$00,$c0,$b0,$2f,$0a,$00 // .,...l......./..
        .byte $ff,$aa,$55,$00,$ff,$aa,$55,$03,$fe,$a9,$54,$00,$ff,$aa,$55,$90 // ..U...U...T...U.
        .byte $43,$0e,$39,$e6,$9b,$6c,$b0,$e6,$9b,$6c,$b0,$c3,$0e,$39,$e6,$c0 // C.9..l...l...9..
        .byte $00,$3f,$ea,$95,$6a,$bf,$c0,$00,$00,$ff,$aa,$55,$aa,$ff,$00,$08 // .?..j......U....
        .byte $0b,$cb,$8b,$4a,$89,$c1,$00,$00,$33,$ff,$bb,$aa,$99,$55,$00,$00 // ...J....3....U..
        .byte $33,$ff,$bb,$aa,$9a,$68,$00,$04,$34,$f4,$90,$a0,$82,$0f,$00,$80 // 3....h..4.......
        .byte $8c,$bf,$1e,$1a,$05,$c0,$00,$00,$cc,$ff,$ee,$aa,$66,$55,$00,$00 // ............fU..
        .byte $cc,$ff,$ee,$aa,$66
        .byte $5a,$00
        .text "HAA"
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $88,$0f,$00,$00
        .byte $33,$ff,$7b,$6a,$15,$01,$00,$0d,$04,$f4,$90,$91,$82,$0f,$00,$20 // 3.{j........... 
        .byte $23,$2f,$07,$46,$81,$f0,$00,$00,$33,$ff,$bb,$aa,$59,$15,$00,$00 // #/.F....3...Y...
        .byte $33,$ff,$bb,$aa,$99,$56,$00,$12,$12,$d2,$92,$92,$a2,$80,$00,$00 // 3....V..........
        .byte $33,$ff,$bb,$aa,$59,$55,$00,$04,$34,$f4,$b4,$a4,$a8,$a0,$00 // 3...YU..4......

txt_2b58:
        .text " #/+*%"
        .byte $05,$00,$00
        .byte $33,$ff,$bb,$aa,$9a
        .byte $5a,$00
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .text "OJE"
        .byte $8a
        .byte $0f,$00,$03,$00,$fc,$ab,$56,$a9,$fe,$03,$9b,$e6,$39,$0e,$c3,$b0 // ......V.....9...
        .byte $6c,$9b,$06,$c1,$b0,$6c,$9b,$e6,$39,$0e,$c0,$bf,$6a,$15,$00,$ff // l....l..9...j...
        .byte $aa,$55,$aa,$ff,$00,$55,$aa,$ff,$00,$aa,$aa,$ff,$00,$54,$a9,$fe // .U...U.......T..
        .byte $03,$a0,$6c,$9b,$e6,$39,$0e,$43,$90,$e4,$39,$0e,$c3,$b0,$6c,$9b // ..l..9.C..9...l.
        .byte $e6,$39,$bf,$6a,$95,$ea,$3f,$00,$c0,$bf,$f0,$83,$4e,$0d,$3a,$3e // .9.j..?.....N.:>
        .byte $2b,$3e,$80,$a2,$12,$d2,$12,$d2,$d2,$92,$aa,$96,$65,$99,$a6,$e9 // +>..........e...
        .byte $ba,$ee,$a0,$54,$94,$64,$54,$94,$64,$94,$ff,$aa,$55,$aa,$ff,$00 // ...T.dT.d...U...
        .byte $00,$ff,$fb,$e5,$99,$a6,$e9,$ba,$ee,$fb,$a0,$a8,$64,$54,$94,$64 // ............dT.d
        .byte $94,$a4,$0f                           // ...

txt_2bf1:
        .text "?;.;*&)"
        .byte $ba                                   // ':' | $80 (end-of-string marker)
        .byte $32,$cc,$f3,$bc,$ef,$bb,$ae,$0c,$80   // 2........

txt_2c02:
        .text "CCNOJO>"
        .byte $f6,$e5,$99,$e6,$a9,$ba,$ae,$ea,$6b,$9a,$66,$59,$96,$65,$99,$aa // ........k.fY.e..
        .byte $bc,$ef,$bb,$ae,$6b,$9a,$66,$a0,$ca,$30,$cc,$f3,$bc,$ef,$bb,$3f // ....k.f..0.....?
        .byte $0a,$45,$42,$13,$d0,$10,$d3,$fe,$a9,$56,$ab,$fc,$00,$03,$fe,$6c // .EB......V.....l
        .byte $b0,$c3,$0e,$39,$e6,$9b,$6c,$39,$e6,$9b,$6c,$b0,$c1,$06,$1b,$aa // ...9..l9..l.....
        .byte $ff,$00,$15,$6a,$bf,$c0,$0a,$ff,$00,$00,$00,$00,$00,$00,$00,$f8 // ...j............
        .byte $0e,$03,$00,$00,$00,$00,$00,$39,$0e,$83,$e0,$38,$0e,$03,$00,$0e // .......9...8....
        .byte $43,$90,$e4,$39,$0e,$83,$e0,$6a,$95,$ea,$3f,$00,$55,$aa,$ff,$52 // C..9...j..?.U..R
        .byte $42,$02,$02,$02,$52,$a2,$f2,$fb,$3e,$cf,$33,$0c,$03,$00,$30,$a4 // B...R...>.3...0.
        .byte $e4,$b4,$e4,$f4,$34,$c4,$34,$aa,$55,$aa,$ff,$00,$55,$aa,$ff,$9a // ....4.4.U...U...
        .byte $55,$00,$03,$a0,$a8,$a4,$e4,$52,$42,$02,$f2,$02,$52,$a2,$f2,$3e // U......RB...R..>
        .byte $cf,$33,$0c,$03,$00,$00,$30,$e4,$b4,$e4,$f4,$34,$c4,$34,$04 // .3....0....4.4.

txt_2cb8:
        .text "&%)&)*.+"
        .byte $6b,$9a,$66,$59,$96,$65,$99,$a6       // k.fY.e..

txt_2cc8:
        .text "KHKHHHHH"
        .byte $ee,$fb,$3e,$cf,$33,$0c,$03,$c0,$66,$55,$00,$00,$a8,$aa,$e9,$b9 // ..>.3...fU......
        .byte $94,$50,$00,$fc,$00,$14               // .P....

txt_2ce6:
        .text "(<"
        .byte $bb                                   // ';' | $80 (end-of-string marker)
        .byte $be,$8f,$b3,$8c,$83,$80,$80,$a6,$e9,$ba,$ee,$f9,$3d,$cd,$31,$59 // ............=.1Y
        .byte $96,$65,$99,$56,$09,$0a,$0a,$ae,$6b,$9a,$66,$59,$96,$65,$99,$d2 // .e.V....k.fY.e..
        .byte $91,$d2,$93,$90,$51,$92,$53,$a9,$56,$ab,$fc,$00,$55,$aa,$ff,$b0 // ....Q.S.V...U...
        .byte $c1,$06,$1b,$6c,$b0,$c2,$0b,$6c,$b0,$c2,$0b,$2c,$b0,$c0,$00,$2f // ...l...l...,.../
        .byte $b0,$c0,$00,$00,$00,$00,$00,$38,$0e,$03,$00,$00,$00,$00,$00,$00 // .......8........
        .byte $aa,$ff,$00,$00,$00,$00,$00,$b4,$e8,$a0,$00,$00,$aa,$00,$00,$02 // ................
        .byte $02,$02,$02,$02,$82,$a2,$12,$ec,$30,$00,$02,$09,$02,$10,$00,$04 // ........0.......
        .byte $04,$04,$04,$86,$02,$00,$20,$00,$aa,$ff,$00,$00,$aa,$00,$00,$00 // ...... .........
        .byte $aa,$ff,$00,$00,$a8,$0a,$01,$02,$a2,$f2,$02,$02,$82,$a2,$12,$ec // ................
        .byte $30,$00,$0c,$08,$e6,$08,$0c,$04,$04,$84,$04,$04,$c2,$00,$01,$2e // 0...............
        .text "/#,#"
        .byte $80,$02,$00,$e9,$ba,$ee,$fb
        .byte $3e,$cf
        .byte $33,$0c

txt_2d98:
        .text "KHHHHHHH"
        .byte $b0                                   // '0' | $80 (end-of-string marker)
        .byte $c0,$00,$08,$26,$08,$40,$00,$33,$0c,$15,$10,$18,$0a,$00,$80,$ed // ...&.@.3........
        .byte $fa,$68,$00,$00,$aa,$00,$00,$00,$28,$3c,$00,$00,$a0,$28,$04,$88 // .h......(<...(..
        .byte $80,$83,$82,$b9,$82,$83,$80,$0d,$01,$01,$01,$b1,$01,$01,$01,$0b // ................
        .byte $0a,$0b,$0b,$08,$0b,$08,$08,$a6,$e9,$ba,$ee,$fb,$3e,$cf,$33,$50 // ............>.3P
        .byte $92,$53,$90,$90,$d0,$90,$d0,$2c,$b0,$c0,$00,$00,$00,$00,$00,$20 // .S.....,....... 
        .byte $23,$2f,$07,$06,$01,$00,$00,$12,$12,$d2,$90,$90,$a0,$80,$00,$01 // #/..............
        .byte $31,$fd,$b9,$a9,$9a,$68,$00,$12,$10,$d0,$90,$90,$a0,$80,$00,$00 // 1....h..........
        .byte $4c,$7f,$1e,$1a,$05,$00,$00,$03,$c1,$fd,$e4,$a4,$a0,$00,$00,$48 // L..............H
        .byte $08,$0b,$01,$01,$00,$00,$00,$00,$cc,$ff,$ee,$aa,$56,$05,$00,$04 // ............V...
        .byte $c4,$f4,$e4,$a4,$68,$a0,$00,$80,$8c,$bf,$ae,$aa,$96,$15,$00,$01 // ....h...........
        .byte $cd,$fd,$ed,$a9,$6a,$68,$00,$08,$08,$0b,$0a,$0a,$09,$01,$00,$00 // ....jh..........
        .byte $cc,$ff,$ee,$aa,$66,$56,$00,$10,$d0,$d0,$d0,$90,$a0,$80 // ....fV........
