// ============================================
// output - Disassembled Source
// ============================================
// KickAssembler syntax
// Generated by Restore 64 v0.2.1 alpha build 298, 2026-04-11 21:37:00
// https://restore64.dev by datucker / Rabenauge
//
// Load address: $0800  End: $179f  (4000 bytes)
// Crunched with Cruncher AB — depacked by emulation
// Packer entry: $080d (via BASIC SYS 2061)
// Entry point:  $0811 (2065)
//
// Code: 1567 bytes, Data: 2433 bytes
// Labels: 140, Subroutines: 14
//
// Verification: 2 line(s) auto-corrected to .byte for exact byte matching
//
// Cross-references: all OK
// ============================================


// --- Region $0811-$0a24 ---
.pc = $0811 "main_0811"

main_0811:
        lda #$00
        sta $d020
        sta $d021
        sta $0286
        jsr $e544
        lda #$8a
        dex
        jmp loc_082a

dat_0825:
        .byte $f0,$03,$4c,$16,$0b                   // ..L..

loc_082a:
        tay
        sta $0176,y
        stx $d015
        lda #$03

loc_0833:
        sta $0400,x
        sta $0508,x
        inx
        bne loc_0833

loc_083c:
        ldy #$00

loc_083e:
        lda $0c75,y
.label smc_0842 = * + 1
        sta $0410,y                                 // !SMC: modified by $085d
        lda $0c88,y
.label smc_0848 = * + 1
        sta $d810,y                                 // !SMC: modified by $0860
        iny
        cpy #$13
        bne loc_083e
        lda smc_0842
        clc
        adc #$27
        bcc loc_085d
        inc $0843
        inc $0849

loc_085d:
        sta smc_0842                                // SMC: modifies $0842
        sta smc_0848                                // SMC: modifies $0848
        inx
        cpx #$0d
        bne loc_083c
        ldx #$00
        txa

loc_086b:
        sta $0430,x
        sta $05c7,x
        inx
        cpx #$10
        bne loc_086b
        ldy #$00

loc_0878:
        lda $0c51,y
        tax
        and #$f0
        jsr sub_0b2e
        jsr sub_0b33
        txa
        and #$0f
        sta smc_0892                                // SMC: modifies $0892
        ldx #$00
        txa

loc_088d:
.label smc_088e = * + 1
        sta $04a4,x                                 // !SMC: modified by $0b3c
        inx
.label smc_0892 = * + 1
        cpx #$e0                                    // !SMC: modified by $0887
        bne loc_088d
        txa
.label smc_0897 = * + 1
        jsr sub_0b33                                // !SMC: modified by $0940
        iny
        cpy #$24
        bne loc_0878
        lda $041d
        sta $04e0
        ldx #$04
        stx $051e
        stx $0544
        inx
        stx $042f
        stx $05c6
        inx
        stx $0440
        stx $05d7
        inx
        stx $051c
        ldy #$00

loc_08c0:
        txa
        sta $0c51,y
        sta $0c71,y
        and #$03
        sta $0c61,y
        iny
.label smc_08ce = * + 1
        cpy #$04                                    // !SMC: modified by $08d7
        bne loc_08c0
        lda smc_08ce
        clc
        adc #$04
        sta smc_08ce                                // SMC: modifies $08ce
        dex
        cpx #$03
        bne loc_08c0
        ldx #$00
        ldy #$07

loc_08e3:
        lda #$00
        sta $0800,x

smc_08e8:
.label smc_08e9 = * + 1
        lda #$e8                                    // !SMC: modified by $09b7, $09ba
        sta $0808,x
        lda #$17
        sta $0810,x
        lda #$ff
        sta $0818,x
        sta $07f8,x
        lda $0c9b,x
        sta $0820,x
        sta $0830,y
        eor #$ff
        sta $0828,y
        sta $0838,x
        lda $0ca3,y
        sta $08b9,x
        lda $0c94,x
        jsr sub_0b2e
        sta $0880,x
        sta $08d0,x
        dey
        inx
        cpx #$08
        bne loc_08e3
        iny

loc_0924:
        lda #$ff
        sta $0230,y
        sta $02a8,y
        lda #$a0
        sta $0348,y
        sta $0398,y
        iny
        cpy #$50
        bne loc_0924
        ldx #$00

loc_093b:
        ldy #$00

loc_093d:
        lda $0ca3,y
        sta smc_0897                                // SMC: modifies $0897
        inc $0941
        iny
        cpy #$02
        bne loc_093d
        inc $0948
        inx
        cpx #$07
        bne loc_093b
        ldx #$00
        ldy #$00

loc_0957:
        lda $0cab,y
        sta $0841,x
        jsr sub_0b2e
        sta $0840,x
        lda #$00
        sta $0901,x
        lda $0c88,y
        jsr sub_0b2e
        sta $0900,x
        inx
        inx
        iny
        cpy #$10
        bne loc_0957
        sei
        jsr sub_0b40
        tax
        clc
        jsr sub_0b5a
        iny
        tya
        lsr
        sta smc_0ba2                                // SMC: modifies $0ba2
        ora #$00
        sta smc_0b44                                // SMC: modifies $0b44
        ldx #$00
        stx $02
        jsr sub_0b70
        jsr sub_0b40
        clc
        adc #$78
        tax
        jsr sub_0b5a
        iny
        tya
        lsr
        clc
        adc smc_0b44
        sta smc_0ba2                                // SMC: modifies $0ba2
        sta $0a2e
        jsr sub_0b70
        lda #$b9
        sta smc_0a5a                                // SMC: modifies $0a5a
        lda #$00
        sta.abs $0002
        sta smc_08e8                                // SMC: modifies $08e8
        sta smc_08e9                                // SMC: modifies $08e9
        jsr sub_1000
        lda #$07
        sta $d022
        lda #$0a
        sta $d023
        lda #$02
        sta $d024
        lda #$97
        sta $dd00

loc_09d4:
        ldx #$40
        ldy #$08
        jsr sub_0bee
.label smc_09dc = * + 1
        ldx #$51                                    // !SMC: modified by $0ab3
        ldy #$0c
        jsr sub_0bfb
        ldy #$04
        ldx #$60
        lda #$d8
        jsr sub_0bb0
        jsr sub_1003
        inc $02
        lda $02
        and #$01
        beq loc_0a06
        ldx #$50

loc_09f8:
        lda $0349,x
        sta $0348,x
        inx
        cpx #$a0
        bne loc_09f8
        jmp loc_0aae

loc_0a06:
        ldx #$00

loc_0a08:
        lda $0349,x
        sta $0348,x
        inx
        cpx #$50
        bne loc_0a08
.label smc_0a14 = * + 1
        ldy #$03                                    // !SMC: modified by $0a47
        inc smc_0a14
        cpy #$03
        bne smc_0a5a
        dec $0a20
        lda #$08
        bne loc_0a43

dat_0a23:
        .byte $a9,$01                               // ..

// --- Region $0a43-$0a5b ---
.pc = $0a43 "loc_0a43"

loc_0a43:
        lda #$20
        ldx #$00
        stx smc_0a14                                // SMC: modifies $0a14
// Referenced by: jsr from $0b7a

sub_0a4a:
        tax
        jsr sub_0b2d
        ora #$d8
        sta smc_0c3a                                // SMC: modifies $0c3a
        txa
        asl
        asl
        asl
        sta smc_0c39                                // SMC: modifies $0c39

smc_0a5a:
        rts                                         // !SMC: modified by $09af

dat_0a5b:
        .byte $cb                                   // .

// --- Region $0aae-$0b24 ---
.pc = $0aae "loc_0aae"

loc_0aae:
        lda smc_09dc
        eor #$30
        sta smc_09dc                                // SMC: modifies $09dc
        ldx #$78
        ldy #$08
        jsr sub_0bee
        ldx #$d3
        ldy #$0c
        jsr sub_0bfb
        lda #$b9
        sta smc_0bd0                                // SMC: modifies $0bd0
        sta smc_0be0                                // SMC: modifies $0be0
        lda #$5b
        sta $d011
        ldy #$12
        lda #$30
        ldx #$67
        jsr sub_0bb0
        lda #$1b
        sta $d011
        lda #$bd
        sta smc_0bd0                                // SMC: modifies $0bd0
        sta smc_0be0                                // SMC: modifies $0be0
        ldx #$02
        ldy #$09
        jsr sub_0bee
        ldx #$db
        ldy #$0c
        jsr sub_0bfb
        ldy #$00
        lda #$a0
        ldx #$10
        jsr sub_0bb0
        ldx #$01
        ldy #$09
        jsr sub_0bee
        lda #$b8
        ldx #$10
        jsr loc_0bb3
        lda $dc01
        cmp #$ef
        beq loc_0b16
        jmp loc_09d4

loc_0b16:
        jsr $ff81
        dex
        stx $d021
        jsr $e544
        jmp $fce2

dat_0b23:
        .byte $00,$00                               // ..

// --- Region $0b2d-$0c00 ---
.pc = $0b2d "sub_0b2d"
// Referenced by: jsr from $0a4b

sub_0b2d:
        lsr
// Referenced by: jsr from $087e, $0914, $095d, $096b

sub_0b2e:
        lsr
        lsr
        lsr
        lsr
        rts

// Referenced by: jsr from $0881, $0896
sub_0b33: {
        clc
        adc smc_088e
        bcc done
        inc $088f
done:
        sta smc_088e                                // SMC: modifies $088e
        rts
}
// Referenced by: jsr from $0979, $0993

sub_0b40:
        ldy #$00

loc_0b42:
        iny
.label smc_0b44 = * + 1
        lda $0d00,y                                 // !SMC: modified by $0989
        eor $0200
        bne loc_0b42
        sty smc_0b57                                // SMC: modifies $0b57
        tya
        asl
        sta smc_0b6c                                // SMC: modifies $0b6c
        lda #$28
        sec
.label smc_0b57 = * + 1
        sbc #$e9                                    // !SMC: modified by $0b4b
        lsr
        rts
// Referenced by: jsr from $097e, $099a

sub_0b5a:
        ldy #$01

loc_0b5c:
        tya
        adc #$c5
        sta $0230,x
        iny
        tya
        adc #$c5
        sta $0258,x
        inx
        iny
.label smc_0b6c = * + 1
        cpy #$c0                                    // !SMC: modified by $0b50
        bcc loc_0b5c
        rts
// Referenced by: jsr from $0990, $09aa; branch from $0ba3

sub_0b70:
        ldy #$00

loc_0b72:
        ldx $02
        lda $0d00,x
        eor $0200
        jsr sub_0a4a
        jsr sub_0c34
        pha
        tya
        asl
        tax
        pla
        eor #$ff
.label smc_0b88 = * + 1
.label smc_0b89 = * + 2
        sta $0630,x                                 // !SMC: modified by $0b9a, $0ba7, $0bac
        iny
        cpy #$08
        bne loc_0b72
        lda smc_0b88
        clc
        adc #$10
        bcc loc_0b9a
        inc smc_0b89

loc_0b9a:
        sta smc_0b88                                // SMC: modifies $0b88
        inc $02
        lda $02
.label smc_0ba2 = * + 1
        cmp #$20                                    // !SMC: modified by $0984, $09a4
        bcc sub_0b70
        lda #$31
        sta smc_0b88                                // SMC: modifies $0b88
        lda #$06
        sta smc_0b89                                // SMC: modifies $0b89
        rts
// Referenced by: jsr from $09e8, $0ad7, $0afb

sub_0bb0:
        sty $d018

loc_0bb3:
        cmp $d012
        bne loc_0bb3
        stx smc_0bea                                // SMC: modifies $0bea
        ldx #$19

loc_0bbd:
        dex
        bne loc_0bbd
        ldy #$01

loc_0bc2:
        nop
        nop

loc_0bc4:
        jsr $fd95
        jsr $fd95
.label smc_0bcb = * + 1
.label smc_0bcc = * + 2
        lda $bdbd,x                                 // !SMC: modified by $0bee, $0bf4
        sta $d021

smc_0bd0:
.label smc_0bd1 = * + 1
        lda $bdbd,x                                 // !SMC: modified by $0ac6, $0ae1, $0bfb, $0c01
        sta $d016
        inx
        dey
        bne loc_0bc2
.label smc_0bdb = * + 1
.label smc_0bdc = * + 2
        lda $bdbd,x                                 // !SMC: modified by $0bf1, $0bf7
        sta $d021

smc_0be0:
.label smc_0be1 = * + 1
        lda $bdbd,x                                 // !SMC: modified by $0ac9, $0ae4, $0bfe, $0c04
        sta $d016
        ldy #$07
        inx
.label smc_0bea = * + 1
        cpx #$20                                    // !SMC: modified by $0bb8
        bcc loc_0bc4
        rts
// Referenced by: jsr from $09d8, $0aba, $0aeb, $0b02

sub_0bee:
        stx smc_0bcb                                // SMC: modifies $0bcb
        stx smc_0bdb                                // SMC: modifies $0bdb
        sty smc_0bcc                                // SMC: modifies $0bcc
        sty smc_0bdc                                // SMC: modifies $0bdc
        rts
// Referenced by: jsr from $09df, $0ac1, $0af2

sub_0bfb:
        stx smc_0bd1                                // SMC: modifies $0bd1
.label scr_0c00 = * + 2
        stx smc_0be1                                // SMC: modifies $0be1

// --- Region $0c34-$0c48 ---
.pc = $0c34 "sub_0c34"
// Referenced by: jsr from $0b7d

sub_0c34:
        ldx #$33
        stx $01
.label smc_0c39 = * + 1
.label smc_0c3a = * + 2
        lda $b9b9,y                                 // !SMC: modified by $0a50, $0a57
        sta smc_0c43                                // SMC: modifies $0c43
        lsr
        and scr_0c49,y
.label smc_0c43 = * + 1
        ora #$00                                    // !SMC: modified by $0c3b
        ldx #$37
        stx $01
        rts

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

sub_1000:
        jmp loc_1040
// Referenced by: jsr from $09eb

sub_1003:
        jmp loc_10b4

dat_1006:
        .byte $02                                   // .

// --- Region $1040-$12c6 ---
.pc = $1040 "loc_1040"

loc_1040:
        asl
        asl
        asl
        tay
        ldx #$00

loc_1046:
        lda $13c9,y
        sta $1387,x
        sta $138d,x
        lda $13ca,y
        sta $138a,x
        sta $1390,x
        iny
        iny
        inx
        cpx #$03
        bne loc_1046
        ldx #$00
        stx $13b1
        lda $13c9,y
        sta $13c5

loc_106a:
        sta $13b5,x
        inc $13b1
        lda $13c5
        clc
        adc $13c9,y
        sta $13c5
        clc
        adc $13b1
        inx
        cpx #$10
        bne loc_106a
        ldy #$00
        tya

loc_1086:
        sta $d400,y
        iny
        cpy #$18
        bne loc_1086
        ldy #$00

loc_1090:
        lda #$00
        sta $1396,y
        sta $1014,y
        lda #$04
        sta $13a2,y
        iny
        cpy #$0c
        bne loc_1090
        lda #$f1
        sta $d417
        lda $1454
        asl
        asl
        asl
        asl
        ora #$0f
        sta $d418
        rts

loc_10b4:
        ldx #$02

loc_10b6:
        lda $13a2,x
        bne loc_10be
        jmp loc_11d3

loc_10be:
        cmp #$03
        beq loc_10d3
        cmp #$02
        beq loc_1111
        cmp #$01
        bne loc_10cd
        jmp loc_1185

loc_10cd:
        dec $13a2,x
        jmp loc_1242

loc_10d3:
        dec $13a2,x
        lda $1387,x
        sta $fb
        lda $138a,x
        sta $fc
        ldy #$00
        tya
        sta $1399,x
        lda ($fb),y
        bpl loc_10f9
        asl
        sta $1009,x
        inc $1387,x
        bne loc_10f6
        inc $138a,x

loc_10f6:
        iny
        lda ($fb),y

loc_10f9:
        tay
        lda $153e,y
        sta $100c,x
        lda $1553,y
        sta $100f,x
        lda $1453
        beq loc_110e
        jmp loc_1262

loc_110e:
        jmp loc_1242

loc_1111:
        dec $13a2,x
        lda $100c,x
        sta $fb
        lda $100f,x
        sta $fc

loc_111e:
        ldy $1396,x
        lda ($fb),y
        bmi loc_115c
        beq loc_1151
        cmp #$7e
        beq loc_1146
        sta $1014,x
        lda $1399,x
        bne loc_1143
        ldy $1393,x
        lda #$00
        sta $d406,y
        sta $139f,x
        lda #$08
        sta $d404,y

loc_1143:
        jmp loc_12ab

loc_1146:
        inc $1399,x
        lda #$ff
        sta $101a,x
        jmp loc_1262

loc_1151:
        lda #$fe
        sta $101a,x
        inc $1399,x
        jmp loc_1262

loc_115c:
        pha
        and #$e0
        cmp #$a0
        bne loc_116f
        pla
        asl
        asl
        asl
        sta $101d,x
        inc $1396,x
        bne loc_111e

loc_116f:
        pla
        pha
        and #$10
        sta $1399,x
        pla
        and #$0f
        tay
        lda $13b5,y
        sta $13a5,x
        inc $1396,x
        bne loc_111e

loc_1185:
        dec $13a2,x
        lda $100c,x
        sta $fb
        lda $100f,x
        sta $fc
        inc $1396,x
        ldy $1396,x
        lda ($fb),y
        cmp #$7f
        bne loc_11cb
        lda #$00
        sta $1396,x
        tay
        lda $1387,x
        clc
        adc #$01
        sta $1387,x
        sta $fb
        lda $138a,x
        adc #$00
        sta $138a,x
        sta $fc
        lda ($fb),y
        cmp #$ff
        bne loc_11cb
        lda $138d,x
        sta $1387,x
        lda $1390,x
        sta $138a,x

loc_11cb:
        lda $1453
        beq loc_1242
        jmp loc_12ab

loc_11d3:
        lda $13a5,x
        sta $13a2,x
        lda $1399,x
        beq loc_11e1
        jmp loc_1242

loc_11e1:
        lda #$ff
        sta $101a,x
        ldy $101d,x
        lda $1467,y
        sta dat_1006,x
        lda $1462,y
        sta $13ab,x
        lda #$00
        sta $13a8,x
        lda $1463,y
        sta $13ae,x
        lda $1009,x
        sta $1017,x
        ldy $101d,x
        lda $1460,y
        ldy $1393,x
        sta $d405,y
        ldy $101d,x
        lda $1461,y
        ldy $1393,x
        sta $d406,y
        sta $139f,x
        lda #$09
        sta $d404,y
        cpx #$00
        bne loc_123f
        ldy $101d,x
        lda $1464,y
        sta $13b2
        lda $1465,y
        sta $13b3
        lda $1466,y
        sta $13b4

loc_123f:
        jmp loc_12ab

loc_1242:
        lda $139f,x
        beq loc_12ab
        ldy $1393,x
        lda $13a8,x
        clc
        adc $13ae,x
        sta $13a8,x
        sta $d402,y
        lda $13ab,x
        adc #$00
        sta $13ab,x
        sta $d403,y

loc_1262:
        ldy dat_1006,x
        lda $13d9,y
        bmi loc_127a
        cmp #$7f
        bne loc_127e
        lda $1416,y
        sta dat_1006,x
        tay
        lda $13d9,y
        bpl loc_127e

loc_127a:
        asl
        jmp loc_1287

loc_127e:
        clc
        adc $1014,x
        asl
        clc
        adc $1017,x

loc_1287:
        tay
        lda $12c8,y
        pha
        lda dat_12c7,y
        ldy $1393,x
        sta $d400,y
        pla
        sta $d401,y
        ldy dat_1006,x
        lda $1416,y
        ldy $1393,x
        and $101a,x
        sta $d404,y
        inc dat_1006,x

loc_12ab:
        dex
        bmi loc_12b1
        jmp loc_10b6

loc_12b1:
        lda $13b4
        beq loc_12c6
        dec $13b4
        lda $13b2
        clc
        adc $13b3
        sta $13b2
        sta $d416

loc_12c6:
        rts

// --- Region $12f2-$12f7 ---
.pc = $12f2 "loc_12f2"

loc_12f2:
        .byte $03,$e0                               // slo ($e0,x) // ILLEGAL
        .byte $03,$1b                               // slo ($1b,x) // ILLEGAL

dat_12f6:
        .byte $04,$5a                               // .Z

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

loc_136b:
        bpl loc_13e9
        bvs loc_12f2
        rti

// --- Region $13e9-$13f0 ---
.pc = $13e9 "loc_13e9"

loc_13e9:
        tax
        .byte $ab,$ac                               // lax #$ac // ILLEGAL
        lda $afae
        brk

dat_13f0:
        .byte $7f                                   // .

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

// --- Region $0801-$0810 ---
.pc = $0801 "dat_0801"

dat_0801:
        // === BASIC loader stub ===
        .byte $0b,$08                               // next line pointer ($080b)
        .byte $14,$00                                                     // [corrected] was: .byte $00,$00                               // line number 0
        .byte $9e                                   // SYS token
        .byte $32,$30,$36,$31
        .byte $00                                   // end of line
        .byte $00,$00                               // end of BASIC program
        .byte $ba,$bd,$80,$00                       // ....

// --- Region $0a25-$0a42 ---
.pc = $0a25 "Program $0a25"
        .byte $8d,$20,$0a,$a2,$00,$ee,$29,$0a,$bd,$00,$0d,$4d,$00,$02,$d0,$05 // . ....)....M....
        .byte $8d,$29,$0a,$a9,$20,$c9,$1f,$d0,$07,$a9,$07,$8d,$20,$0a // .).. ....... .

// --- Region $0a5c-$0aad ---
.pc = $0a5c "Program $0a5c"
        .byte $0c,$8d,$72,$0a,$8d,$84,$0a,$b9,$cf,$0c,$8d,$75,$0a,$8d,$87,$0a // ..r........u....
        .byte $a0,$00,$20,$34,$0c,$29,$29,$18,$90,$06 // .. 4.))...

txt_0a76:
        .text "JJJJJJ"
        .byte $8d,$93,$0a,$c8
        .byte $20,$34,$0c
        .byte $29,$29,$18,$90,$06
        .text "JJJJ"
        .byte $90,$04,$0a,$0a,$ea,$ea,$09,$09,$aa,$bd,$bb,$0c,$8d,$6f,$03,$ad // .............o..
        .byte $99,$0a,$18,$69,$28,$8d,$99,$0a,$c8,$c0,$08,$d0,$c5,$a9,$6f,$8d // ...i(.........o.
        .byte $99,$0a                               // ..

// --- Region $0b25-$0b2c ---
.pc = $0b25 "Program $0b25"
        .byte $00,$00,$00,$00,$00,$4c,$06,$04       // .....L..

// --- Region $0c01-$0c08 ---
.pc = $0c01 "dat_0c01"

dat_0c01:
        .encoding "screencode_mixed"
        .byte $8c,$d2                               // scrcode: ..
        .text "k"
        .byte $8c,$e2                               // scrcode: ..
        .text "k"
        .byte $60                                   // scrcode: .
        .encoding "petscii_upper"

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

// --- Region $0c31-$0c33 ---
.pc = $0c31 "dat_0c31"

dat_0c31:
        .encoding "screencode_mixed"
        .byte $4c                                   // scrcode: .
        .text "ah"
        .encoding "petscii_upper"

// --- Region $0c49-$0ebc ---
.pc = $0c49 "scr_0c49"

scr_0c49:
        // === Screen RAM (628 bytes, $0c49-$0ebc) ===
        .encoding "screencode_mixed"
        .byte $e0,$e0,$e0,$e0,$ff,$ff,$ff,$ff       // scrcode: ........
        .text "crsvsvv"
        .byte $82,$f1,$42,$52,$43                   // scrcode: .....
        .text "rsvssrsr"
        .byte $43                                   // scrcode: .
        .text "rs"
        .byte $43                                   // scrcode: .
        .text "ssrsr"
        .byte $45                                   // scrcode: .
        .text "#v"
        .text "svsr"
        .byte $c1,$c1,$81,$c1,$81,$41,$c1,$81,$41   // scrcode: .........
        .text "c"
        .byte $42,$82,$c2,$42,$82,$c2,$82,$c2,$c2   // scrcode: .........
        .text "iy"
        .byte $d8,$79,$f8,$af,$49                   // scrcode: .....
        .text "("
        .byte $6f                                   // scrcode: .
        .text "aoh"
        .byte $b9,$5f,$f8,$d9,$f8                   // scrcode: .....
        .byte $59,$b9                               // scrcode: ..
        .text "acgo"
        .byte $1f                                   // scrcode: .
        .text "?"
        .byte $7f,$ff                               // scrcode: ..
        .text "@fbdjoma"
        .byte $62                                   // scrcode: .
        .encoding "petscii_upper"

txt_0cac:
        .byte $40                                   // @ character
        .text "$"
        .byte $a0                                   // ' ' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .byte $4a,$f0,$af,$70,$7f,$a0,$fa,$40,$a4   // scrcode: .........
        .text " "
        .byte $42,$60,$a0,$fc,$fe,$62,$ec,$61,$ff,$7b,$fb,$7f,$e1,$6c,$e2,$7e // scrcode: ................
        .byte $7c                                   // scrcode: .
        .text " 0lc"
        .byte $c0                                   // scrcode: .
        .text "bdf@"
        .byte $c6,$c7,$c0,$c1                       // scrcode: ....
        .byte $c2,$c3,$c4,$c5                       // scrcode: ....
        .text "ggffeeddccbbaa@@@@@@@@@@@@@@@@@@@@@@"
        .text "@"
        .byte $da,$98,$85,$9f,$8e,$86,$93,$aa,$da,$98,$8f,$99,$8f,$84,$9e,$8a // scrcode: ................
        .byte $c8,$df,$c8,$c8,$c6,$cf,$aa,$ce,$c3,$d0,$d0,$d3,$a1,$bf,$c7,$aa // scrcode: ................
        .byte $8a,$95,$d3,$85,$85,$aa,$86           // scrcode: .......
        .byte $8b,$87,$8f,$98,$99,$a4,$a4,$a4,$95,$c2,$8f,$98,$8f,$ad,$99,$aa // scrcode: ................
        .byte $8b,$84,$85,$9e,$82,$8f,$98,$aa,$99,$82,$83,$9e,$9e,$93,$aa,$8d // scrcode: ................
        .byte $8b,$87,$8f,$aa,$8c,$85,$98,$aa       // scrcode: ........
        .byte $93,$8b,$a4,$a4,$aa,$85,$81,$a4,$aa,$83,$9e,$99,$aa,$98,$8f,$8b // scrcode: ................
        .byte $86,$86,$93,$aa,$89,$85,$85,$86,$aa,$9d,$82,$8f,$84,$aa,$93,$85 // scrcode: ................
        .byte $9f,$aa,$98,$8f,$87,$8f,$87,$88       // scrcode: ........
        .byte $8f,$98,$aa,$83,$9e,$99,$aa,$8c,$98,$85,$87,$aa,$c9,$85,$8e,$8f // scrcode: ................
        .byte $87,$8b,$99,$9e,$8f,$98,$99,$ab,$95,$c8,$9f,$88,$88,$86,$8f,$aa // scrcode: ................
        .byte $ce,$83,$90,$90,$93,$aa,$a2,$89       // scrcode: ........
        .byte $a3,$bb,$b3,$b3,$b8,$aa,$c9,$85,$8e,$8f,$87,$8b,$99,$9e,$8f,$98 // scrcode: ................
        .byte $99,$ab,$aa,$aa,$9d,$8b,$99,$aa,$89,$98,$8b,$89,$81,$8f,$8e,$aa // scrcode: ................
        .byte $8b,$84,$8e,$aa,$87,$8f,$8d,$8b       // scrcode: ........
        .byte $a7,$9e,$98,$8b,$83,$84,$8f,$8e,$aa,$88,$93,$aa,$9e,$82,$8f,$aa // scrcode: ................
        .byte $d9,$cb,$de,$cb,$c4,$aa,$85,$8c,$aa,$9e,$82,$8f,$aa,$81,$83,$89 // scrcode: ................
        .byte $81,$83,$84,$8d,$aa,$dc,$c3,$d9       // scrcode: ........
        .byte $c3,$c5,$c4,$ad,$b3,$b8,$a4,$a4,$a4,$aa,$89,$8b,$86,$86,$aa,$d9 // scrcode: ................
        .byte $de,$cb,$de,$cf,$aa,$c5,$cc,$aa,$c7,$c3,$c4,$ce,$aa,$8b,$9e,$aa // scrcode: ................
        .byte $b8,$bb,$bf,$aa,$bd,$bc,$ba,$aa       // scrcode: ........
        .byte $b3,$b2,$bc,$b2,$ab,$95,$95,$95,$95,$95,$95,$8a,$aa,$b3,$b2,$bc // scrcode: ................
        .byte $b2,$aa,$aa,$aa,$85,$98,$aa,$aa,$c3,$c6,$c6,$df,$d9,$c3,$c5,$c4 // scrcode: ................
        .byte $aa,$c5,$cc,$aa,$d8,$cf,$cb,$c6       // scrcode: ........
        .byte $c3,$de,$d3,$aa,$8b,$9e,$aa,$a1,$be,$bc,$aa,$b9,$bb,$b3,$b2,$aa // scrcode: ................
        .byte $b8,$bc,$bd,$bf,$aa,$aa,$aa,$aa,$c6,$85,$85,$81,$aa,$85,$9f,$9e // scrcode: ................
        .byte $aa,$8c,$85,$98,$aa,$8b,$86,$85       // scrcode: ........
        .byte $9e,$aa,$87,$85,$98,$8f,$aa,$98,$8f,$86,$8f,$8b,$99,$8f,$99,$aa // scrcode: ................
        .byte $9e,$82,$83,$99,$aa,$9d,$8f,$8f,$81,$8f,$84,$8e,$a4,$a4,$aa,$aa // scrcode: ................
        .byte $c5,$81,$a4,$a4,$aa,$86,$8f,$9e       // scrcode: ........
        .byte $99,$aa,$9a,$8b,$89,$81,$aa,$9e,$82,$8f,$aa,$99,$82,$83,$9e,$ab // scrcode: ................
        .byte $aa,$95,$aa,$d9,$cb,$de,$cb,$c4,$ea,$85,$8c,$8c,$aa,$9e,$85,$aa // scrcode: ................
        .byte $9a,$8b,$98,$9e,$93,$a4,$a4,$a4       // scrcode: ........
        .byte $95,$95,$95,$95,$8a                   // scrcode: .....
        .encoding "petscii_upper"

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

// --- Region $1007-$103f ---
.pc = $1007 "Segment $1007"
        .byte $0a,$1e,$18,$38,$18,$6b,$a6,$23,$15,$15,$16,$fc,$3e,$0e,$0e,$32 // ...8.k.#....>..2
        .byte $18,$38,$18,$ff,$ff,$ff,$00,$10       // .8......

dat_101f:
        .text "((((((((((((((((((((((((((((((((("

// --- Region $12c7-$12f1 ---
.pc = $12c7 "dat_12c7"

dat_12c7:
        .byte $16,$01,$27,$01,$38,$01,$4b,$01,$5f,$01,$73,$01,$8a,$01,$a1,$01 // ..'.8.K._.s.....
        .byte $ba,$01,$d4,$01,$f0,$01,$0e,$02,$2d,$02,$4e,$02,$71,$02,$96,$02 // ........-.N.q...
        .byte $bd,$02,$e7,$02,$13,$03,$42,$03,$74,$03,$a9 // ......B.t..

// --- Region $12f8-$136a ---
.pc = $12f8 "Segment $12f8"
        .byte $04,$9b,$04,$e2,$04,$2c,$05,$7b,$05,$ce,$05,$27,$06,$85,$06,$e8 // .....,.{...'....
        .byte $06,$51,$07,$c1,$07,$37,$08,$b4,$08,$37,$09,$c4,$09,$57,$0a,$f5 // .Q...7...7...W..
        .byte $0a,$9c,$0b,$4e,$0c,$09,$0d,$d0,$0d,$a3,$0e,$82,$0f,$6e,$10,$68 // ...N.........n.h
        .byte $11,$6e,$12,$88,$13,$af,$14,$eb,$15,$39,$17,$9c,$18,$13,$1a,$a1 // .n.......9......
        .byte $1b,$46,$1d,$04,$1f,$dc,$20,$d0,$22,$dc,$24,$10,$27,$5e,$29,$d6 // .F.... .".$.'^).
        .byte $2b,$72                               // +r

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

txt_135a:
        .text "I N"
        .byte $bc                                   // '<' | $80 (end-of-string marker)
        .byte $52,$ac,$57,$e4,$5c,$70,$62,$4c,$68,$84,$6e,$18,$75 // R.W.\pbLh.n.u

// --- Region $1370-$13e8 ---
.pc = $1370 "dat_1370"

dat_1370:
        .byte $8b,$70,$93,$40,$9c,$78,$a5,$58,$af,$c8,$b9,$e0,$c4,$98,$d0,$08 // .p.@.x.X........
        .byte $dd,$30,$ea,$20,$f8,$2e,$fd,$d6,$f8,$1f,$14,$14,$15,$d3,$f5,$1c // .0. ............
        .byte $14,$14,$15,$00,$07,$0e,$1a,$1a,$19,$00,$00,$00,$00,$00,$00,$e8 // ................
        .byte $e8,$57,$0b,$0b,$0b,$13,$13,$13,$00,$00,$00,$07,$00,$00,$60,$00 // .W............`.
        .byte $00,$10,$20,$f0,$00,$04,$09,$0e,$13,$18,$1d // .. ........

txt_13bb:
        .byte $22                                   // double quote character
        .text "',16;"
        .byte $40                                   // @ character
        .text "EJOD"
        .byte $fc,$3c,$01,$d3,$14,$f5,$14,$1c,$15,$04,$07,$d3,$14,$f5,$14,$1c // .<..............
        .byte $15,$ff,$ff,$c8,$00,$7f,$c8,$aa,$a8,$be,$7f,$ae,$00,$7f,$df,$ae // ................
        .byte $ad,$ac,$ab                           // ...

// --- Region $13f1-$179a ---
.pc = $13f1 "Segment $13f1"
        .byte $00,$7f,$0c,$07,$0c,$00,$7f,$00,$03,$08,$7f,$00,$04,$07,$7f,$00 // ................
        .byte $03,$07,$7f,$00,$05,$07,$7f,$00,$7f,$0c,$18,$0c,$7f,$c8,$06,$05 // ................
        .byte $04,$02,$00,$00,$7f,$81,$41,$01,$81,$41,$41,$80,$06,$11,$17,$09 // ......A..AA.....
        .byte $81,$41,$41,$11,$10,$10,$10,$10,$10,$10,$10,$00,$16,$00,$18,$51 // .AA............Q
        .byte $11,$11,$51,$1d,$41,$41,$41,$1f       // ..Q.AAA.

txt_1439:
        .text "AAA#AAA'AAA+"
        .byte $17
        .byte $2f,$41,$40,$10
        .byte $33,$81
        .text "AA"
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $00
        .byte $3b,$01,$01
        .byte $00,$00,$00,$00,$01,$01,$01,$00,$00,$00,$00,$00,$e8,$04,$60,$a0 // ..............`.
        .byte $f0,$08,$00,$00,$e8,$08,$00,$60,$00,$ff,$03,$00,$e8,$00,$00,$00 // .......`........
        .byte $00,$00,$08,$00,$e8,$08,$00,$00,$00,$00,$0b,$cc,$cc,$00,$00,$00 // ................
        .byte $00,$00,$18,$0a,$57,$00,$00,$00,$00,$00,$1a,$04,$58,$0c,$20,$38 // ....W.......X. 8
        .byte $00,$00,$1f,$04,$58,$0c,$20,$47,$00,$00,$23,$04,$58,$0c,$20,$37 // ....X. G..#.X. 7
        .byte $00,$00,$27,$04,$58,$0c,$20,$57,$00,$00,$2b,$00,$c8,$00,$00,$00 // ..'.X. W..+.....
        .byte $00,$00,$2f,$06,$69,$08,$00,$00,$00,$00,$31,$00,$e8,$08,$00,$00 // ../.i.....1.....
        .byte $00,$00,$35,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$8c,$0b // ..5.............
        .byte $8c,$01,$01,$02,$02,$0b,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05 // ................
        .byte $05,$05,$05,$05,$05,$05,$8e,$05,$05,$05,$05,$05,$05,$05,$05,$ff // ................
        .byte $8c,$0c,$9c,$03,$03,$04,$04,$8c,$0c,$9c,$06,$06,$06,$06,$8c,$0e // ................
        .byte $0f,$0e,$0f,$9c,$06,$06,$06,$06,$8c,$0e,$0f,$0e,$0f,$a4,$06,$06 // ................
        .byte $06,$06,$06,$06,$06,$06,$ff,$8c,$0d,$8c,$07,$08,$07,$08,$0d,$09 // ................
        .byte $0a,$09,$0a,$10,$11,$10,$12,$09,$0a,$09,$0a,$13,$14,$13,$12,$8e // ................
        .byte $09,$0a,$09,$0a,$09,$0a,$09,$0a,$ff,$68,$6b,$89,$a6,$c4,$e1,$02 // .........hk.....
        .byte $23,$41,$68,$80,$97,$9c,$a1,$b3,$d1,$f0,$13,$3c,$5c,$79,$15,$15 // #Ah........<\y..
        .byte $15,$15,$15,$15,$16,$16,$16,$16,$16,$16,$16,$16,$16,$16,$16,$17 // ................
        .byte $17,$17,$17,$80,$00,$7f,$a0,$83,$09,$80,$15,$16,$81,$0c,$80,$0c // ................
        .byte $90,$0e,$90,$0f,$80,$7e,$81,$0e,$0c,$83,$09,$80,$15,$09,$83,$0e // .....~..........
        .byte $0e,$81,$10,$7f,$a0,$81,$09,$80,$15,$09,$a1,$81,$0c,$a0,$09,$0c // ................
        .byte $0c,$0e,$0e,$09,$80,$15,$09,$a1,$81,$0c,$a0,$09,$0c,$0c,$07,$07 // ................
        .byte $7f,$a2,$83,$09,$80,$15,$16,$81,$0c,$80,$0c,$90,$0e,$90,$0f,$80 // ................
        .byte $7e,$81,$0e,$0c,$83,$09,$80,$15,$09,$83,$0e,$0e,$81,$10,$7f,$a2 // ~...............
        .byte $81,$09,$80,$15,$09,$a3,$81,$0c,$a2,$09,$0c,$0c,$0e,$0e,$09,$80 // ................
        .byte $15,$09,$a3,$81,$0c,$a2,$09,$0c,$0c,$07,$07,$7f,$a0,$81,$0e,$80 // ................
        .byte $15,$09,$a1,$81,$0c,$a0,$07,$0c,$0e,$a1,$0e,$a0,$0c,$0a,$80,$16 // ................
        .byte $0a,$a1,$81,$0c,$a0,$0a,$0f,$11,$a1,$07,$a0,$0f,$7f,$a2,$81,$0e // ................
        .byte $80,$15,$09,$a3,$81,$0c,$a2,$07,$0c,$0e,$a3,$0e,$a2,$0c,$0a,$80 // ................
        .byte $16,$0a,$a3,$81,$0c,$a2,$0a,$0f,$11,$a3,$07,$a2,$0f,$7f,$a5,$81 // ................
        .byte $2d,$30,$32,$90,$33,$80,$7e,$83,$32,$81,$32,$30,$32,$90,$33,$90 // -02.3.~.2.202.3.
        .byte $32,$90,$30,$80,$7e,$83,$32,$a7,$29,$81,$2b,$7f,$a5,$81,$2d,$30 // 2.0.~.2.).+...-0
        .byte $32,$90,$33,$80,$7e,$83,$39,$90,$37,$80,$7e,$81,$30,$80,$31,$90 // 2.3.~.9.7.~.0.1.
        .byte $32,$90,$33,$80,$7e,$90,$32,$80,$7e,$81,$2d,$00,$a7,$83,$2e,$a6 // 2.3.~.2.~.-.....
        .byte $81,$2d,$7f,$a7,$83,$2e,$81,$2e,$a6,$83,$2d,$81 // .-........-.

txt_1671:
        .text "---"
        .byte $a7                                   // ''' | $80 (end-of-string marker)
        .byte $83,$2e,$81,$2e,$a6,$87,$2b,$a8,$81,$2b,$7f,$a7,$83,$2e,$81,$2e // ......+..+......
        .byte $a6                                   // .

txt_1686:
        .text "-----"
        .byte $a7                                   // ''' | $80 (end-of-string marker)
        .byte $83,$2e,$81,$2e,$a8,$83,$30,$a9,$85,$2e,$7f,$a1,$83,$0c,$0c,$7f // ......0.........
        .byte $a3,$83,$0c,$0c,$7f,$aa,$80,$39,$90,$3a,$90,$3b,$90,$3c,$90,$3d // .......9.:.;.<.=
        .byte $90,$3e,$90,$3f,$90,$40,$7f,$a7,$83,$2e,$a3,$81,$2e,$a6,$83,$2d // .>.?.@.........-
        .byte $81,$2d,$a3,$2d,$a6,$2d,$a7,$83,$2e,$a3,$81,$2e,$a6,$85,$2b,$a3 // .-.-.-........+.
        .byte $81,$30,$a8,$2b,$7f,$a7,$83,$2e,$a3,$81,$2e,$a6 // .0.+........

txt_16d8:
        .text "---"
        .byte $a3                                   // '#' | $80 (end-of-string marker)
        .byte $2d,$a6,$2d,$a7,$83,$2e,$a3,$81,$2e,$a8,$83,$30,$a9,$81,$2e,$a3 // -.-........0....
        .byte $30,$a1,$30,$7f,$ab,$82,$29,$90,$2a,$90,$29,$90,$28,$82,$29,$90 // 0.0...).*.).(.).
        .byte $2a,$90,$29,$90,$28,$81,$27,$26,$83,$27,$81,$26,$83,$22,$82,$24 // *.).(.'&.'.&.".$
        .byte $90,$25,$90,$24,$90,$23,$7f,$ab,$82,$29,$90,$2a,$90,$29,$90,$28 // .%.$.#...).*.).(
        .byte $82,$29,$90,$2a,$90,$29,$90,$28,$81,$2b,$2d,$83,$2e,$81,$26,$82 // .).*.).(.+-...&.
        .byte $27,$90,$28,$90,$27,$90,$26,$90,$27,$90,$28,$90,$27,$90,$26,$7f // '.(.'.&.'.(.'.&.
        .byte $ab,$82,$29,$90,$2a,$90,$29,$90,$28,$82,$29,$90,$2a,$90,$29,$90 // ..).*.).(.).*.).
        .byte $28,$81,$2b,$2d,$83,$2e,$81,$30,$83,$30,$ac,$81,$1d,$1a,$18,$7f // (.+-...0.0......
        .byte $81,$7e,$ab,$29,$83,$29,$81,$29,$90,$2a,$90,$29,$81,$27,$26,$27 // .~.).).).*.).'&'
        .byte $27,$26,$83,$22,$82,$24,$90,$25,$90,$24,$90,$23,$7f,$81,$00,$ab // '&.".$.%.$.#....

txt_177c:
        .byte $22                                   // double quote character
        .text "&')+-.-"
        .byte $90,$2e,$80,$7e,$81,$26,$82,$27,$90,$28,$90,$27,$90,$26,$90,$27 // ...~.&.'.(.'.&.'
        .byte $90,$28,$90,$27,$90,$26,$7f           // .(.'.&.
