// ============================================
// output - Disassembled Source
// ============================================
// KickAssembler syntax
// Generated by Restore 64 v0.2.1 alpha build 298, 2026-04-01 10:59:24
// https://restore64.dev by datucker / Rabenauge
//
// Load address: $0800  End: $201f  (6176 bytes)
// Crunched with Cruncher AB — depacked by emulation
// Packer entry: $080d (via BASIC SYS 2061)
// Entry point:  $1751 (5969)
// IRQ handler:  $17ed (irq_17ed)
// IRQ handler:  $ea31 (irq_ea31)
// IRQ handler:  $177d (nmi_177d)
//
// Code: 2198 bytes, Data: 3978 bytes
// Labels: 186, Subroutines: 23
//
// Cross-references: all OK
// ============================================


// --- Region $0814-$0829 ---
.pc = $0814 "Program $0814"
        .byte $9c,$9c,$9c                           // shy $9c9c,x // ILLEGAL
        sta ($c1,x)
        .byte $9c,$9f,$9f                           // shy $9f9f,x // ILLEGAL
        .byte $9f,$9f,$9c                           // sha $9c9f,y // ILLEGAL
        cmp ($83,x)
        sta $9c9c,y
        .byte $9c,$9c,$99                           // shy $999c,x // ILLEGAL
        .byte $83,$c0                               // sax ($c0,x) // ILLEGAL

dat_0829:
        .byte $9f                                   // .

// --- Region $0a10-$0a13 ---
.pc = $0a10 "Program $0a10"
        .byte $ff,$00,$00                           // isc $0000,x // ILLEGAL
        .byte $22                                   // jam // ILLEGAL

// --- Region $0f03-$0f14 ---
.pc = $0f03 "Program $0f03"
        brk

dat_0f04:
        .byte $00,$0f,$09                           // ...
// Referenced by: jsr from $1f45

sub_0f07:
        ora #$9c
        .byte $5c,$ac,$00                           // nop $00ac,x // ILLEGAL
        brk

dat_0f0d:
        .byte $fc,$57,$e7,$27,$27,$2b,$00           // .W.''+.
// Referenced by: jsr from $1f2a, $1f37, $1f48

sub_0f14:
        brk

// --- Region $1000-$1009 ---
.pc = $1000 "sub_1000"
// Referenced by: jsr from $18e3

sub_1000:
        jmp loc_107a

dat_1003:
        .byte $4c,$aa,$10                           // L..
// Referenced by: jsr from $18db

sub_1006:
        jmp loc_10b0

dat_1009:
        .byte $ff                                   // .

// --- Region $107a-$1453 ---
.pc = $107a "loc_107a"

loc_107a:
        ldx #$00
        txa

loc_107d:
        lda #$00
        sta $102c,x
        sta $1062,x
        lda #$01
        sta $1029,x
        lda #$09
        sta $102f,x
        lda #$10
        sta $1032,x
        inx
        cpx #$03
        bcc loc_107d
        lda $1011
        sta $1013
        lda #$0f
        sta $d418
        lda #$01
        sta $100a
        rts

loc_10aa:
        lda #$00
        sta $100a
        rts

loc_10b0:
        lda $100a
        bne loc_10b6
        rts

loc_10b6:
        ldx #$02

loc_10b8:
        lda $100e,x
        sta $fb
        tay
        lda $1029,x
        beq loc_10fd
        dec $105c,x
        bpl loc_10d4
        inc $105c,x
        lda $106b,x
        sta $d404,y
        jmp loc_1220

loc_10d4:
        lda $1044,x
        and #$10
        beq loc_10fa
        lda #$81
        sta $d404,y
        lda $1012
        asl
        tay
        lda dat_1453,y
        pha
        lda $1454,y
        pha
        ldy $fb
        pla
        sta $d401,y
        pla
        sta $d400,y
        jmp loc_137f

loc_10fa:
        jmp loc_1220

loc_10fd:
        txa
        tay
        lda $102f,y
        sta $fc
        lda $1032,y
        sta $fd
        lda #$00
        sta $100d
        ldy $102c,x
        lda #$00
        sta $1023,x
        lda ($fc),y
        cmp #$ff
        bne loc_111f
        jmp loc_140c

loc_111f:
        pha
        and #$20
        beq loc_1129
        lda #$01
        sta $100d

loc_1129:
        pla
        cmp #$80
        bcc loc_1131
        jmp loc_139a

loc_1131:
        and #$1f
        clc
        adc #$01
        sta $1029,x

loc_1139:
        iny
        lda ($fc),y
        pha
        iny
        tya
        sta $102c,x
        pla
        bne loc_1150
        lda $1050,x
        and #$fe
        sta $106b,x
        jmp loc_121d

loc_1150:
        clc
        adc $105f,x
        sta $1020,x
        asl
        tay
        lda dat_1453,y
        sta $1035,x
        lda $1454,y
        sta $1038,x
        lda $100d
        cmp #$01
        bne loc_116f
        jmp loc_121d

loc_116f:
        lda $1053,x
        pha
        and #$0f
        sta $105c,x
        pla
        lsr
        lsr
        lsr
        lsr
        clc
        adc #$01
        sta $106e,x
        sta $100c
        lda #$01
        sta $1065,x
        lda #$00
        sec
        sbc $100c
        sta $1071,x
.label loc_1195 = * + 1
        lda $1050,x
        sta $106b,x
        lda #$00
        sta $100b
.label loc_11a1 = * + 2
        lda $1044,x
        and #$10
        beq loc_11c7
.label loc_11a7 = * + 1
        lda #$01
        sta $100b
        lda $1012
        asl
        tay
        lda dat_1453,y
        pha
        lda dat_1453,y
        pha
        ldy $fb
        pla
        sta $d401,y
        pla
        sta $d400,y
        lda #$81
        jmp loc_11ca

loc_11c7:
        lda $104d,x

loc_11ca:
        ldy $fb

loc_11cc:
        pha
        and #$fe
        sta $d404,y
        pla
        sta $d404,y
        lda $1047,x
        sta $d405,y
        lda $104a,x
        sta $d406,y
        lda $1044,x
        sta $103e,x
        sta $103b,x
        sta $1014,x
        lda #$00
        sta $101a,x
        lda $1053
        lsr
        lsr
        lsr
        lsr
        sec
        sbc #$03
        sta $1065,x
.label sub_1202 = * + 2
        lda $1056,x
// Referenced by: jsr from $1f2d

sub_1203:
        sta $1017,x
        pha
        and #$0f
        asl
        asl
        sta $1068,x
        pla
        and #$f0
        lsr
        sta $1059,x
        lda $100b
        beq loc_121d
        jmp loc_137f

loc_121d:
        jmp loc_1365

loc_1220:
        lda $103b,x
        clc
        adc $1041,x
        bcc loc_122c
        inc $103e,x

loc_122c:
        sta $103b,x
        lda $1044,x
        cmp #$c0
        bcc loc_1239
        jmp loc_1349

loc_1239:
        cmp #$80
        bcs loc_12a4
        cmp #$40
        bcs loc_1244
        jmp loc_12d2

loc_1244:
        lda $101a,x
        clc
        adc $1056,x
        tay
        lda $16ae,y
        cmp #$ff
        bne loc_1256
        jmp loc_137f

loc_1256:
        cmp #$41
        beq loc_1261
        cmp #$40
        beq loc_1261
        jmp loc_126a

loc_1261:
        pha
        iny
        lda $16ae,y
        sta $101e
        pla

loc_126a:
        sta $101f
        iny
        lda $16ae,y
        clc
        adc $1020,x
        asl
        iny
        sty $101d
        tay
        lda dat_1453,y
        pha
        lda $1454,y
        ldy $fb
        sta $d401,y
        pla
        sta $d400,y
        lda $101d
        sec
        sbc $1056,x
        sta $101a,x
        lda $101e
        sta $d403,y
        lda $101f
        sta $d404,y
        jmp loc_137f

loc_12a4:
        ldy $1017,x

loc_12a7:
        lda $16ae,y
        cmp #$ff
        bne loc_12b4
        ldy $1056,x
        jmp loc_12a7

loc_12b4:
        sta $fe
        iny
        tya
        sta $1017,x
        lda $1020,x
        clc
        adc $fe
        asl
        tay
        lda dat_1453,y
        sta $1035,x
        lda $1454,y
        sta $1038,x
        jmp loc_1365

loc_12d2:
        lda $1023,x
        beq loc_12ff

loc_12d7:
        cmp #$80
        bcs loc_12ed
        lda $1035,x
        clc
        adc $1026,x
        bcc loc_12e7
        inc $1038,x

loc_12e7:
        sta $1035,x
        jmp loc_1365

loc_12ed:
        lda $1035,x
        sec
        sbc $1026,x
        bcs loc_12f9
        dec $1038,x

loc_12f9:
        sta $1035,x
        jmp loc_1365

loc_12ff:
        dec $1068,x
        bpl loc_1365
        inc $1068,x
        lda $1056,x
        beq loc_1365
        dec $1065,x
        lda $1065,x
        bpl loc_1334
        cmp $1071,x
        bne loc_131f
        lda $106e,x
        sta $1065,x

loc_131f:
        lda $1035,x
        clc
        adc $1059,x
        sta $1035,x
        lda $1038,x
        adc #$00
        sta $1038,x
        jmp loc_1365

loc_1334:
        lda $1035,x
        sec
        sbc $1059,x
        sta $1035,x
        lda $1038,x
        sbc #$00
        sta $1038,x
        jmp loc_1365

loc_1349:
        lda $1035,x
        sec
        sbc $1056,x
        bcs loc_1355
        dec $1038,x

loc_1355:
        sta $1035,x
        lda $1038,x
        bpl loc_1365
        lda #$01
        sta $1038,x
        sta $1035,x

loc_1365:
        ldy $fb
        lda $1035,x
        sta $d400,y
        lda $1038,x
        sta $d401,y
        lda $103b,x
        sta $d402,y
        lda $103e,x
        sta $d403,y

loc_137f:
        dex
        bpl loc_1397
        dec $1013
        bpl loc_1396
        lda $1011
        sta $1013
        dec $1029
        dec $102a
        dec $102b

loc_1396:
        rts

loc_1397:
        jmp loc_10b8

loc_139a:
        and #$1f
        clc
        adc #$01
        sta $1029,x
        iny
        lda ($fc),y
        cmp #$80
        bcs loc_13e4
        asl
        asl
        asl
        sty $fe
        tay
        lda $165a,y
        sta $104d,x
        lda $165b,y
        sta $1050,x
        lda $165c,y
        sta $1047,x
        lda $165d,y
        sta $104a,x
        lda $165e,y
        sta $1053,x
        lda $165f,y
        sta $1044,x
        lda $1660,y
        sta $1041,x
        lda $1661,y
        sta $1056,x
        ldy $fe
        jmp loc_1139

loc_13e4:
        and #$3f
        cmp #$20
        bcs loc_13fb
        and #$1f
        pha
        lda #$01
        sta $1023,x
        pla
        asl
        asl
        sta $1026,x
        jmp loc_1139

loc_13fb:
        and #$1f
        pha
        lda #$80
        sta $1023,x
        pla
        asl
        asl
        sta $1026,x
        jmp loc_1139

loc_140c:
        lda $1074,x
        sta $fc
        lda $1077,x
        sta $fd
        ldy $1062,x

loc_1419:
        lda ($fc),y
        cmp #$fe
        bne loc_1422
        jmp loc_10aa

loc_1422:
        cmp #$ff
        bne loc_142b
        ldy #$00
        jmp loc_1419

loc_142b:
        iny
        cmp #$80
        bcs loc_144b
        pha
        tya
        sta $1062,x
        pla
        tay
        lda $169a,y
        sta $102f,x
        lda $16a4,y
        sta $1032,x
        lda #$00
        sta $102c,x
        jmp loc_10fd

loc_144b:
        and #$1f
        sta $105f,x
        jmp loc_1419

dat_1453:
        .byte $16                                   // .

// --- Region $1506-$1539 ---
.pc = $1506 "Segment $1506"
        lda $c4e0,y
        tya
        bne loc_1514
        cmp $ea30,x
        jsr $2ef8
.label loc_1514 = * + 2
        sbc.abs $001f,x
        .byte $ff,$9f,$00                           // isc $009f,x // ILLEGAL
        .byte $0f,$ff,$9f                           // slo $9fff // ILLEGAL
        ora ($3a,x)
        .byte $ff,$83,$00                           // isc $0083,x // ILLEGAL
        .byte $0f,$03,$0f                           // slo $0f03 // ILLEGAL
        ora ($1b,x)
        .byte $03,$0f                               // slo ($0f,x) // ILLEGAL
.label sub_1528 = * + 1
        .byte $03,$0f                               // slo ($0f,x) // ILLEGAL
        ora ($0f,x)
        .byte $03,$0f                               // slo ($0f,x) // ILLEGAL
        .byte $03,$1b                               // slo ($1b,x) // ILLEGAL
        ora ($16,x)
        ora ($0f,x)
        .byte $ff,$81,$03                           // isc $0381,x // ILLEGAL
        .byte $1c,$81,$04                           // nop $0481,x // ILLEGAL

dat_1539:
        .byte $27                                   // '

// --- Region $1751-$1811 ---
.pc = $1751 "main_1751"

main_1751:
        jsr sub_18e1
        sei
        lda #$01
        sta $d01a
        lda #$7f
        sta $dc0d
        lda #$1b
        sta $d011
        lda #$ed
        sta $0314
        lda #$17
        sta $0315
        lda #$00
        sta $c1
        cli

loc_1773:
        lda $dc00
        and $dc01
        and #$10
        bne loc_1773

nmi_177d:
        sei
        lda #$37
        sta $01
        jsr $fda3
        jsr $ff5b
        lda #$31
        sta $0314
        lda #$ea
        sta $0315
        lda #$00
        ldx #$18

loc_1796:
        sta $d400,x
        dex
        bpl loc_1796
        lda #$34
        sta $01
        ldx #$00

loc_17a2:
        lda loc_17ae,x
        sta $0400,x
        inx
        bne loc_17a2
        jmp $0400

loc_17ae:
        lda #$05
        sta $02
        lda #$20
        sta $03
        lda #$01
        sta $04
        lda #$08
        sta $05

loc_17be:
        ldy #$00

loc_17c0:
        lda ($02),y
        sta ($04),y
        iny
        bne loc_17c0
        inc $03
        inc $05
        lda $03
        cmp #$ff
        bne loc_17be
        lda #$37
        sta $01
        lda #$7a
        ldx #$dc
        sta $ae
        stx $af
        sta $2d
        stx $2e
        sta $2f
        stx $30
        sta $31
        stx $32
        cli
        jmp $fce2

irq_17ed:
        lsr $d019
        ldx $c1
        inx
        cpx #$07
        bne loc_17f9
        ldx #$00

loc_17f9:
        stx $c1
        txa
        clc
        asl
        tax
        lda dat_1811,x
        sta $20
        lda $1812,x
        sta $21
        ldy #$07

loc_180b:
        dey
        bne loc_180b
        jmp ($0020)

dat_1811:
        .byte $1f                                   // .

// --- Region $181e-$1a0a ---
.pc = $181e "loc_181e"

loc_181e:
        clc
        lda #$30
        sta $d012
        jsr sub_1aa5
        jmp $ea31

loc_182a:
        lda #$60
        sta $d012
        lda #$0e
        sta $d022
        lda #$06
        sta $d023
        lda #$d8
        sta $d016
        lda #$12
        sta $d018
        lda #$0e
        sta $d025
        lda #$06
        sta $d026
        lda #$63
        sta dat_19a2
        jsr sub_19a3
        jmp $ea81

loc_1858:
        lda #$78
        sta $d012
        lda #$c8
        sta $d016
        jmp $ea81

loc_1865:
        ldy #$09

loc_1867:
        dey
        bne loc_1867
        lda #$90
        sta $d012
        lda #$07
        sta $d016
        lda #$08
        sta $d025
        lda #$09
        sta $d026
        lda #$7d
        sta dat_19a2
        jsr sub_19a3
        jmp $ea81

dat_1889:
        .byte $ea                                   // .

loc_188a:
        nop
        nop
        lda #$b0
        sta $d012
        lda #$c8
        sta $d016
        lda #$0a
        sta $d025
        lda #$02
        sta $d026
        lda #$96
        sta dat_19a2
        jsr sub_19a3
        lda #$b9
        sta dat_19a2
        jsr sub_19a3
        jsr sub_1cbe
        jmp $ea81

loc_18b6:
        lda #$d0
        sta $d012
        lda #$01
        sta $d016
        jmp $ea81

loc_18c3:
        lda #$f8
        sta $d012
        lda #$00
        sta $d020
        sta $d021
        lda #$d8
        sta $d016
        jsr sub_1b18
        jsr sub_1c87
        jsr sub_1006
        jmp $ea81
// Referenced by: jsr from $1751

sub_18e1:
        lda #$00
        jsr sub_1000
        jsr sub_1d16
        lda #$08
        jsr $ffd2
        lda #$7d
        sta $0318
        lda #$17
        sta $0319
        lda #$00
        sta $0286
        jsr $e544
        ldx #$00

loc_1902:
        lda dat_1ad8,x
        sta $0340,x
        inx
        cpx #$40
        bne loc_1902
        ldx #$00

loc_190f:
        lda #$0f
        sta $d800,x
        sta $d850,x
        sta $db20,x
        lda #$40
        sta $0400,x
        sta $0450,x
        sta $0720,x
        inx
        cpx #$a0
        bne loc_190f
        ldx #$00

loc_192c:
        lda $1d59,x
        sta $0405,x
        lda $1d79,x
        sta $042d,x
        lda $1d99,x
        sta $0455,x
        lda $1db9,x
        sta $047d,x
        lda $1dd9,x
        sta $04a5,x
        lda $1df9,x
        sta $04cd,x
        lda $1e17,x
        sta $074d,x
        lda $1e37,x
        sta $0775,x
        lda $1e57,x
        sta $079d,x
        inx
        cpx #$20
        bne loc_192c
        ldx #$00

loc_1969:
        lda txt_1a0b,x
        sta $0518,x
        lda $1a7b,x
        sta $0608,x
        inx
        cpx #$28
        bne loc_1969
        lda #$0d
        sta $07f8
        sta $07f9
        sta $07fa
        sta $07fb
        sta $07fc
        sta $07fd
        sta $07fe
        lda #$00
        sta $d017
        lda #$ff
        sta $d015
        sta $d01c
        sta $d01b
        rts

dat_19a2:
        .byte $b9                                   // .
// Referenced by: jsr from $1852, $1883, $18a5, $18ad

sub_19a3:
        lda #$c0
        sta $d010
        lda #$ff
        sta $d01d
        lda #$08
        sta $d000
        lda #$38
        sta $d002
        lda #$68
        sta $d004
        lda #$98
        sta $d006
        lda #$c8
        sta $d008
        lda #$f8
        sta $d00a
        lda #$28
        sta $d00c
        lda #$28
        sta $d00e
        lda dat_19a2
        sta $d001
        sta $d003
        sta $d005
        sta $d007
        sta $d009
        sta $d00b
        sta $d00d
        sta $d00f
        lda #$07
        sta $d027
        sta $d028
        sta $d029
        sta $d02a
        sta $d02b
        sta $d02c
        sta $d02d
        sta $d02e
        rts

// --- Region $1aa5-$1ad7 ---
.pc = $1aa5 "sub_1aa5"
// Referenced by: jsr from $1824

sub_1aa5:
        dec $1aa4
        beq loc_1aab
        rts

loc_1aab:
        lda #$03
        sta $1aa4
        ldx #$00
        lda $0340
        pha
        lda $0341
        pha
        lda $0342
        pha
        ldx #$00

loc_1ac0:
        lda $0343,x
        sta $0340,x
        inx
        cpx #$3c
        bne loc_1ac0
        pla
        sta $0340,x
        pla
        sta $0341,x
        pla
        sta $0342,x
        rts

// --- Region $1b18-$1b62 ---
.pc = $1b18 "sub_1b18"
// Referenced by: jsr from $18d5

sub_1b18:
        lda $1b64
        sta $02
        clc
        lsr $02
        lsr $02
        lsr $02
        lda $1b64
        and #$07
        eor #$07
        sta $1870
        lda $02
        sta dat_1b63
        jsr sub_1b3a
        jsr sub_1b4c
        rts

// Referenced by: jsr from $1b33
sub_1b3a: {
        ldx dat_1b63
        ldy #$00
loop:
        lda $1a33,x
        sta $0590,y
        inx
        iny
        cpy #$28
        bne loop
        rts
}
// Referenced by: jsr from $1b36

sub_1b4c:
        lda #$10
        sta $1b65
        ldx $c2
        lda $1b66,x
        sta $1b64
        inx
        cpx #$ff
        bne loc_1b60
        ldx #$00

loc_1b60:
        stx $c2
        rts

// --- Region $1c87-$1d3a ---
.pc = $1c87 "sub_1c87"
// Referenced by: jsr from $18d8

sub_1c87:
        dec $1c86
        beq loc_1c8d
        rts

loc_1c8d:
        lda #$04
        sta $1c86
        ldx dat_1cb7
        inx
        cpx #$06
        bne loc_1c9c
        ldx #$00

loc_1c9c:
        stx dat_1cb7
        lda $1cb8,x
        asl
        asl
        asl
        tax
        ldy #$00

loc_1ca8:
        lda $1c66,x
        eor #$ff
        sta $08e0,y
        iny
        inx
        cpy #$08
        bne loc_1ca8
        rts

dat_1cb7:
        .byte $03,$00,$01,$02,$03,$02,$01           // .......
// Referenced by: jsr from $18b0

sub_1cbe:
        lda dat_1cc7
        beq loc_1cc9
        dec dat_1cc7
        rts

dat_1cc7:
        .byte $00,$02                               // ..

loc_1cc9:
        ldx $1cc8

loc_1ccc:
        txa
        pha
        jsr sub_1cd7
        pla
        tax
        dex
        bne loc_1ccc
        rts
// Referenced by: jsr from $1cce

sub_1cd7:
        dec $18bc
        lda $18bc
        cmp #$ff
        beq loc_1ce2
        rts

loc_1ce2:
        lda #$07
        sta $18bc
        ldx #$00

loc_1ce9:
        lda $06a9,x
        sta $06a8,x
        inx
        cpx #$28
        bne loc_1ce9

loc_1cf4:
        ldy #$00
        lda ($2c),y
        cmp #$1f
        beq loc_1d1f
        cmp #$6e
        beq loc_1d2a
        cmp #$00
        beq loc_1d10
        and #$3f
        sta $06cf
// Referenced by: jsr from $1d24, $1d33

sub_1d09:
        inc $2c
        bne loc_1d0f
        inc $2d

loc_1d0f:
        rts

loc_1d10:
        jsr sub_1d16
        jmp loc_1cf4
// Referenced by: jsr from $18e6, $1d10

sub_1d16:
        lda #$80
        sta $2c
        lda #$1e
        sta $2d
        rts

loc_1d1f:
        lda #$50
        sta dat_1cc7

loc_1d24:
        jsr sub_1d09
        jmp loc_1cf4

loc_1d2a:
        ldy #$01
        lda ($2c),y
        and #$3f
        sta $1cc8
        jsr sub_1d09
        jmp loc_1d24

dat_1d39:
        .byte $40                                   // @ character
        .byte $40                                   // @ character

// --- Region $1f00-$1f93 ---
.pc = $1f00 "Segment $1f00"
        jsr $3131
        .byte $2f,$31,$31                           // rla $3131 // ILLEGAL
        .byte $2f,$38,$38                           // rla $3838 // ILLEGAL
        and ($20,x)
        ror $2003
        .byte $14,$08                               // nop $08,x // ILLEGAL
        ora #$13
        jsr $0107
        ora $2005
        .byte $17,$01                               // slo $01,x // ILLEGAL
        .byte $13,$20                               // slo ($20),y // ILLEGAL
        ora ($20,x)
        .byte $17,$05                               // slo $05,x // ILLEGAL
        ora #$12
        .byte $04,$20                               // nop $20 // ILLEGAL
        asl $15
        .byte $03,$0b                               // slo ($0b,x) // ILLEGAL
        ora $12
        jsr sub_0f14
        jsr sub_1203
        ora ($03,x)
        .byte $0b,$21                               // anc #$21 // ILLEGAL
        jsr $046e
        jsr sub_0f14
        bpl loc_1f5c
        .byte $07,$12                               // slo $12 // ILLEGAL
        ora $05
        .byte $14,$09                               // nop $09,x // ILLEGAL
        asl $1307
        jsr sub_0f07
        jsr sub_0f14
        jsr $3a2d
        jsr sub_1202
        .byte $0f,$13,$2c                           // slo $2c13 // ILLEGAL
        .byte $13,$14                               // slo ($14),y // ILLEGAL

dat_1f56:
        .byte $12,$09,$0b,$05,$20,$06               // .... .

loc_1f5c:
        .byte $0f,$12,$03                           // slo $0312 // ILLEGAL
        ora $2c
        .byte $13,$08                               // slo ($08),y // ILLEGAL
        ora #$0e
        ora #$0e
        .byte $07,$20                               // slo $20 // ILLEGAL
        sec
        bit dat_0f04
        ora $0e09
        ora ($14,x)
        .byte $0f,$12,$13                           // slo $1312 // ILLEGAL
        bit $0f08
        .byte $14,$0c                               // nop $0c,x // ILLEGAL
        ora #$0e
        ora $2e
        jsr sub_1528
        .byte $13,$01                               // slo ($01),y // ILLEGAL
        and #$20
        and $0320
        .byte $0f,$0e,$11                           // slo $110e // ILLEGAL
        ora $05,x
        .byte $13,$14                               // slo ($14),y // ILLEGAL
        jsr $2026
        .byte $12                                   // jam // ILLEGAL

txt_1f93:
        .encoding "screencode_mixed"
        .text "a"
        .encoding "petscii_upper"

// --- Region $2001-$2004 ---
.pc = $2001 "Segment $2001"
        jsr $2020
        brk

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

// --- Region $0808-$0813 ---
.pc = $0808 "dat_0808"

dat_0808:
        .byte $c1,$9c,$9c,$80,$9c,$9c,$9c,$9c,$81,$9c,$9c,$81 // ............

// --- Region $082a-$0a0f ---
.pc = $082a "Program $082a"
        .byte $9f,$83,$9f,$9f,$9f,$c0,$c0,$9f,$9f,$83,$9f,$9f,$9f,$9f,$c1,$9c // ................
        .byte $9f,$9f,$98,$9c,$9c,$c1,$9c,$9c,$9c,$80,$9c,$9c,$9c,$9c,$81,$e7 // ................
        .byte $e7,$e7,$e7,$e7,$e7,$00,$80,$fc,$fc,$fc,$fc,$fc,$9c,$c1,$9c,$9c // ................
        .byte $99,$93,$83,$99,$9c,$9c,$9f,$9f,$9f,$9f,$9f,$9f,$9f,$c0,$18,$00 // ................

txt_086a:
        .text "$$$$$$"
        .byte $81,$9c,$9c,$9c,$9c,$9c,$9c,$9c,$c1,$9c,$9c,$9c,$9c,$9c,$9c,$c1 // ................
        .byte $81,$9c,$9c,$9c,$81,$9f,$9f,$9f,$c1,$9c,$9c,$9c,$9c,$9a,$9c,$c2 // ................
        .byte $81,$9c,$9c,$9c,$81,$9c,$9c,$9c,$c0,$9f,$9f,$c1,$fc,$fc,$fc,$01 // ................
        .byte $00,$e7,$e7,$e7,$e7,$e7,$e7,$e7,$1c,$9c,$9c,$9c,$9c,$9c,$9c,$c1 // ................
        .byte $9c,$9c,$9c,$9c,$9c,$9c,$c9,$e3       // ........

txt_08b8:
        .text "$$$$$$"
        .byte $00                                   // string terminator
        .byte $18,$9c,$9c,$9c,$c9,$e3,$c9,$9c,$9c,$3c,$3c,$3c,$99,$c3,$e7,$e7 // .........<<<....
        .byte $e7,$80,$fc,$f9,$f3,$e7,$cf,$9f,$80,$c3,$9f,$9f,$9f,$9f,$9f,$9f // ................
        .byte $c3,$ff,$c3,$81,$18,$00,$00,$81,$c3,$c3,$f9,$f9,$f9,$f9,$f9,$f9 // ................
        .byte $c3,$e7,$c3,$99,$3c,$e7,$e7,$e7,$e7,$e7,$cf,$9f,$20,$20,$9f,$cf // ....<.......  ..
        .byte $e7,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$e3,$e3,$e3,$e3,$e7,$ff,$e7 // ................
        .byte $e7,$99,$99,$bb,$ff,$ff,$ff,$ff,$ff,$99,$99,$00,$99,$00,$99,$99 // ................
        .byte $ff,$f7,$c0,$97,$c1,$f6,$f6,$81,$f7,$fe,$9c,$99,$f3,$e7,$cc,$9c // ................
        .byte $3f,$c3,$99,$99,$c3,$98,$99,$99,$c0,$f3,$f3,$f7,$ff,$ff,$ff,$ff // ?...............
        .byte $ff,$f1,$e7,$cf,$cf,$cf,$cf,$e7,$f1,$8f,$e7,$f3,$f3,$f3,$f3,$e7 // ................
        .byte $8f,$ff,$99,$c3,$18,$c3,$99,$ff,$ff,$ff,$e7,$e7,$81,$e7,$e7,$ff // ................
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$e7,$ef,$ff,$ff,$ff,$81,$f1,$ff,$ff // ................
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$e7,$e7,$fe,$fc,$f9,$f3,$e7,$cf,$9f // ................
        .byte $3f,$c1,$9c,$9c,$9c,$9c,$9c,$9c,$c1,$f3,$f3,$e3,$f3,$f3,$f3,$f3 // ?...............
        .byte $e1,$c1,$9c,$fc,$fc,$c1,$9f,$9f,$80,$c1,$9c,$fc,$e1,$fc,$fc,$9c // ................
        .byte $c1,$9c,$9c,$9c,$9c,$c0,$fc,$fc,$fc,$80,$9f,$9f,$80,$fc,$fc,$fc // ................
        .byte $81,$c1,$9c,$9f,$81,$9c,$9c,$9c,$c1,$81,$fc,$fc,$fc,$fc,$fc,$fc // ................
        .byte $fc,$c1,$9c,$9c,$c1,$9c,$9c,$9c,$c1,$c1,$9c,$9c,$9c,$c0,$fc,$fc // ................
        .byte $fc,$ff,$ff,$e7,$e7,$ff,$e7,$e7,$ff,$ff,$ff,$e7,$ff,$ff,$e7,$e7 // ................
        .byte $ef,$f1,$e7,$cf,$9f,$9f,$cf,$e7,$f1,$ff,$ff,$81,$f1,$ff,$81,$f1 // ................
        .byte $ff,$8f,$e7,$f3,$f9,$f9,$f3,$e7,$8f,$c1,$9c,$fc,$f1,$e7,$e7,$ff // ................
        .byte $e7,$00,$00,$00,$00,$00,$00,$00,$00,$0f,$08,$08,$0a,$08,$0a,$09 // ................
        .byte $0a                                   // .

// --- Region $0a14-$0f02 ---
.pc = $0a14 "dat_0a14"

dat_0a14:
        .byte $88,$aa,$99,$66,$ff,$03,$03,$23,$8b,$ab,$9b,$67,$f3 // ...f...#...g.

txt_0a21:
        .text "2222222"
        .byte $ff,$00,$00,$88,$22,$aa,$66,$99,$fc,$cc,$cc,$cc,$cc,$cc,$cc,$cc // ....".f.........
        .byte $03,$02,$02,$0a,$0a,$0a,$2a,$29,$ff,$0c,$0c,$bf,$33,$b3,$ff,$cc // ......*)....3...
        .byte $c0,$c0,$c0,$c0,$00,$00,$02,$02,$0f   // .........

txt_0a51:
        .text "( ("
        .byte $a2                                   // '"' | $80 (end-of-string marker)
        .byte $aa,$a6,$99,$ff,$0f,$03,$8b,$22,$aa,$66,$99,$f0,$3c,$0c,$cc,$cf // .......".f..<...
        .byte $c3,$f3,$b3                           // ...

txt_0a68:
        .text "?  ("
        .byte $22                                   // double quote character
        .text "*&)"
        .byte $ff,$03,$00,$88,$22,$aa,$66,$99,$f0,$cc,$cc,$f3,$33,$b3,$7c,$9c // ....".f.....3.|.
        .byte $00,$00,$00,$00,$00,$00,$c0,$c0,$ff,$80,$80,$88,$a2,$aa,$a6,$99 // ................
        .byte $ff                                   // .

txt_0a91:
        .text "33"
        .byte $b3                                   // '3' | $80 (end-of-string marker)
        .byte $33,$b3,$73,$b3,$09,$0a,$00,$00,$00,$00,$00,$00,$55,$aa,$00,$00 // 3.s.........U...
        .byte $00,$00,$00,$00,$55,$95,$b7,$9d,$bf,$bf,$9d,$b7,$55,$6a,$70,$f2 // ....U.......Ujp.
        .byte $f3,$f3,$f3,$73,$57,$ab,$00,$aa,$00,$00,$00,$00 // ...sW.......

txt_0ac0:
        .text "222"
        .byte $b2                                   // '2' | $80 (end-of-string marker)
        .byte $02,$02,$02,$02,$55,$55,$dd,$77,$ff,$ff,$77,$dd,$cc,$cc,$cc,$ce // ....UU.w..w.....
        .byte $ce,$ce,$ff,$fd,$25,$a5,$9d,$b7,$ff,$ff,$77,$dd,$55,$57,$df,$7f // ....%.....w.UW..
        .byte $fc,$ff,$73,$ff,$cc,$fc,$30,$f0,$c0,$c0,$00,$00,$02,$02,$02,$02 // ..s...0.........
        .byte $02,$02,$02,$02,$55,$6a,$e0,$c2,$cc,$cc,$cc,$cc,$55,$aa,$02,$aa // ....Uj......U...
        .byte $00,$00,$00,$00,$55,$55,$9d,$b7,$bf,$bf,$b7,$9d,$73,$73,$f3,$73 // ....UU......ss.s
        .byte $f3,$f3,$73,$f3                       // ..s.

txt_0b18:
        .text "%%-'//'-UZ"
        .byte $dc                                   // '\' | $80 (end-of-string marker)
        .byte $7c,$fc,$fc,$7c,$dc,$55,$aa,$02,$aa,$c0,$c0,$c0,$c0,$55,$55,$9d // |..|.U.......UU.
        .byte $b7,$af                               // ..

txt_0b35:
        .text "/'"
        .byte $ad                                   // '-' | $80 (end-of-string marker)
        .byte $5c,$5c,$df,$77,$ff,$ff,$77,$df,$c0,$c0 // \\.w..w...

txt_0b42:
        .text "000000"
        .byte $95,$aa,$00,$00,$00,$00,$00,$00,$55,$a9,$09,$0b,$0b,$0b,$0b,$09 // ........U.......
        .byte $55,$56,$df,$77,$ff,$ff,$77,$df
        .byte $55,$aa,$00
        .text "*0000"
        .byte $73,$b3,$03,$ab,$00,$00,$00,$00,$95,$95,$a6,$99,$aa,$88,$a2,$80 // s...............
        .byte $73,$73,$73,$b3,$b3,$b3
        .text "33UU"
        .byte $99,$66,$aa
        .byte $22,$88,$00
        .byte $55,$57,$9b,$67,$ab
        .byte $23,$8b,$00,$cc,$fc
        .text "0000"
        .byte $fc,$cc
        .byte $cc,$cc,$ff,$66,$aa,$22,$88,$00,$00,$00,$ff,$66,$aa,$22,$88,$00 // ...f.".....f."..
        .byte $95,$95,$99,$66,$aa,$22,$88,$00,$73,$73,$b3,$73,$b3,$33,$b3 // ...f."..ss.s.3.

txt_0bb7:
        .text "3%%)&*"
        .byte $22                                   // double quote character
        .text "( "
        .byte $5c                                   // backslash character
        .byte $5c                                   // backslash character
        .byte $9f,$66,$aa,$22,$88,$00,$c0,$c2,$fe,$66,$aa,$22,$88,$00,$95,$95 // .f.".....f."....
        .byte $99,$66,$aa,$22,$88,$03,$5c,$5c,$9c,$7c,$b3,$33,$f3,$cc,$c0,$c0 // .f."..\\.|.3....
        .byte $c0,$c0,$00,$00,$00,$00,$09,$09,$09,$0a,$0a,$0a,$08,$08,$57,$57 // ..............WW
        .byte $9b,$67,$ab,$23,$8b,$03               // .g.#..

txt_0bf8:
        .text "00000000"
        .byte $80,$aa,$bf,$aa,$80,$82,$89,$a6,$33,$b3,$f3,$b3,$b3,$73,$b3,$73 // ........3....s.s
        .byte $00,$aa,$ff,$aa,$09,$26,$99,$67,$f0,$fe,$ce,$ce,$ce,$cc,$cc,$cc // .....&.g........
        .byte $00,$aa,$ff,$aa,$a6,$98,$a0,$20,$ff,$b3,$ff,$ac,$0f,$0b,$27,$99 // ....... ......'.
        .byte $00,$00,$c0,$c0,$f0,$30,$fc,$cc,$00,$aa,$ff,$aa,$80,$02,$09,$26 // .....0.........&
        .byte $ea,$cc,$cc,$cc,$cc,$cc,$cc,$cc,$aa,$00,$00,$00,$00,$00,$00,$00 // ................
        .byte $80,$aa,$bf,$aa,$a0,$80,$82,$89,$33,$b3,$f3,$b3,$33,$b3,$73,$b3 // ........3...3.s.

txt_0c60:
        .text " */*-&)&"
        .byte $00                                   // string terminator
        .byte $aa,$ff,$af,$9c,$6c,$8c,$0c,$00,$aa,$ff,$ea,$e9,$e6,$e9,$cb,$0f // ....l...........
        .byte $ac,$ff,$ab,$9f,$7d,$f6,$d9           // ....}..

txt_0c80:
        .text "0000"
        .byte $cc                                   // 'L' | $80 (end-of-string marker)
        .byte $cc,$f3,$b3,$08,$0a,$0b,$0a,$08,$08,$08,$08,$03,$ab,$ff,$ab,$03 // ................
        .byte $03,$0b,$27,$0a,$0a,$08,$08,$08,$0a,$09,$0a,$aa,$02,$09,$26,$99 // ..'...........&.
        .byte $67,$9f,$7d,$99,$67,$9f,$7d,$f6,$d9,$66,$98,$ff,$d9,$66,$98,$60 // g.}.g.}..f...f.`
        .byte $80,$02,$09,$ff,$83,$03,$0b,$27,$9b,$67,$9f,$f2 // .......'.g..

txt_0cc1:
        .text "2222222"
        .byte $9f,$7d,$f6,$d9,$66,$98,$60,$80,$cc,$cc,$cc,$cc,$cc,$cc,$cc,$cc // .}..f.`.........
        .byte $22,$29,$0a,$09,$0a,$02,$02,$02,$67,$9f,$7d,$f6,$d9,$66,$98,$a0 // ")......g.}..f..
        .byte $cc,$ff,$b3,$73,$bf,$0c,$0c,$2f,$02,$02,$02,$02,$c2,$c2,$c2,$f2 // ...s.../........
        .byte $a6,$99,$a7,$9f,$bd,$b6,$99,$a6,$73,$f3,$f3,$73,$b3,$73,$b3 // ........s..s.s.

txt_0d07:
        .text "3(  "
        .byte $22                                   // double quote character
        .text ")&)'"
        .byte $0c,$2c,$9c,$6c,$9c,$7c,$fc,$dc,$cb,$ca,$c2,$c2,$c2,$c0,$c0,$c0 // .,.l.|..........
        .byte $66,$98,$60,$80,$82,$89,$a6,$a9,$33,$3c,$2c,$9c,$6f,$9f,$7f,$f7 // f.`.....3<,.o...
        .byte $00,$c0,$c0,$c0                       // ....

txt_0d34:
        .text "000"
        .byte $cc                                   // 'L' | $80 (end-of-string marker)
        .byte $aa,$a6,$98,$a0,$80,$82,$89,$a6,$a8,$02,$09,$26,$99,$67,$9f,$7d // ...........&.g.}
        .byte $9b,$67,$9f,$7d,$f6,$d9,$66,$98,$ff,$b3 // .g.}..f...

txt_0d52:
        .text "333"
        .byte $b3                                   // '3' | $80 (end-of-string marker)
        .byte $73,$b3,$09,$0a,$08,$02,$00,$00,$00,$00,$f6,$aa,$00,$aa,$00,$00 // s...............
        .byte $00,$00,$60,$aa,$00,$aa,$00,$00,$00,$00,$26,$aa,$00,$aa,$00,$00 // ..`.......&.....
        .byte $00,$00,$7f,$ab,$00,$aa,$00,$00,$00,$00 // ..........

txt_0d80:
        .text "222"
        .byte $b0                                   // '0' | $80 (end-of-string marker)
        .byte $00,$00,$00,$00,$02,$aa,$00,$aa,$00,$00,$00,$00,$cc,$cc,$0c,$ac // ................
        .byte $00,$00,$00,$00,$80,$aa,$80,$2a,$00,$00,$00,$00,$9b,$ab,$00,$aa // .......*........
        .byte $00,$00,$00,$00,$98,$aa,$80,$2a,$00,$00,$00,$00,$33,$b3,$03,$ab // .......*....3...
        .byte $00,$00,$00,$00,$2f,$2a,$20,$0a,$00,$00,$00,$00,$6c,$ac,$00,$aa // ..../* .....l...
        .byte $00,$00,$00,$00,$27,$2a,$20,$0a,$00,$00,$00,$00,$d9,$aa,$00,$aa // ....'* .........
        .byte $00,$00,$00,$00,$99,$aa,$80,$2a,$00,$00,$00,$00,$ff,$95,$9a,$9c // .......*........
        .byte $9f,$95,$9a,$9c,$f3,$62,$a2,$02,$c2,$c2,$c2,$02,$ff,$55,$79,$79 // .....b.......Uyy
        .byte $79,$79,$79,$79,$cf,$c9,$c9,$c9,$c9,$c9,$c9,$c9,$fc,$57,$e7,$e7 // yyyy.........W..
        .byte $e7,$57,$dc,$e7,$03,$02,$02,$00,$00,$00,$00,$00,$ff,$55,$a6,$27 // .W...........U.'
        .text "''''"
        .byte $ff
        .byte $55,$a9,$09,$09,$09,$09,$09,$ff,$e6,$e6,$e6
        .byte $e6,$56,$e6,$e6,$ff,$55,$6a,$70,$7f,$57,$6b,$70,$c0,$c0,$c0,$00 // .V...Ujp.Wkp....
        .byte $00,$00,$00,$00,$ff,$95,$9e,$9e,$9d,$95,$9d,$9e,$c3,$72,$72,$72 // .............rrr
        .byte $72,$c2,$72,$72,$ff
        .byte $55,$a7
        .text "''%*"
        .byte $00,$ff
        .byte $55,$aa,$00
        .byte $fc
        .byte $5c,$9c,$9c,$ff
        .byte $55,$a7
        .text "'''''"
        .byte $f0,$70,$f0,$00
        .fill 9, $00
        .byte $ff,$95,$a9,$00,$00,$00,$00,$00,$ff,$55,$aa,$00,$00,$00,$00,$00 // .........U......
        .byte $ff,$55,$79,$00,$00,$00,$00,$00,$0f,$c9,$c9,$00,$00,$00,$00,$00 // .Uy.............
        .byte $ff,$56,$e6,$00,$00,$00,$00,$00,$ff,$55,$7d,$9c,$9c,$ac,$00,$00 // .V.......U}.....
        .byte $cf,$79,$79,$02,$02,$02,$00,$00,$ff,$57,$ab,$79,$55,$aa,$00,$00 // .yy......W.yU...
        .byte $0f,$09,$09,$c9,$c9,$ca,$00,$00,$cf,$c9,$c9,$e7,$e7,$ef,$00,$00 // ................
        .byte $cf,$c9,$c9,$27,$27,$2b,$00,$00,$ff,$55,$6a,$09,$09,$0a,$00,$00 // ...''+...Uj.....
        .byte $ff,$5e,$9e,$e6,$e6,$ea,$00,$00,$f0,$70,$70,$7f,$55,$aa,$00,$00 // .^.......pp.U...

txt_0edd:
        .text "?%*"
        .byte $c0                                   // '@' | $80 (end-of-string marker)
        .byte $c0,$c0,$00,$00,$ff,$55,$6a,$9e,$95,$aa,$00,$00,$ff,$79,$79,$72 // .....Uj......yyr
        .byte $72,$82,$00,$00,$ff,$95,$9a,$7f,$55,$aa,$00,$00,$fc,$5c,$ac,$ff // r.......U....\..
        .byte $55,$aa                               // U.

// --- Region $0f15-$0fff ---
.pc = $0f15 "dat_0f15"

dat_0f15:
        .byte $3f,$25,$26,$00,$00,$00,$00,$00,$ff,$55,$6a,$00,$00,$00,$00,$00 // ?%&......Uj.....
        .byte $ff,$57,$7f,$00,$00,$00,$00,$00,$0f,$09,$09,$00,$00,$00,$00,$00 // .W..............
        .byte $c0,$c0,$c0,$09,$09,$09,$09,$09,$09,$09,$0a,$c2,$c2,$c2,$c2,$c2 // ................
        .byte $c2,$c2,$c2,$79,$79,$55,$77,$79,$79,$79,$ba,$c9,$c9,$c9,$09,$c9 // ...yyUwyyy......
        .byte $c9,$c9,$ca,$e6,$e6,$56,$e6,$e6,$e6,$e6,$ea,$72,$72,$72,$72,$72 // .....V.....rrrrr
        .byte $7d,$55,$aa,$79,$79,$79,$79,$79,$79,$79,$8a,$c0,$fc,$5c,$ac,$c0 // }U.yyyyyyy...\..
        .byte $ff,$57,$ab,$09,$09,$09,$09,$09,$09,$0a,$02,$c9,$c9,$c9,$c9,$75 // .W.............u
        .byte $55,$66,$8a,$c9,$c9,$c9,$c9,$c9,$c9,$c9,$0a,$70,$70,$70,$70,$70 // Uf.........ppppp
        .byte $70,$70,$b0,$9e,$95,$9e,$9e,$9e,$9e,$9e,$ae,$72,$72,$72,$72,$72 // pp.........rrrrr
        .byte $72,$72,$b2,$79,$55,$79,$79,$79,$79,$79,$ba,$9c,$9f,$95,$9a,$9c // rr.yUyyyyy......
        .byte $9f,$95,$aa,$00,$f0,$70,$b0,$00,$fc,$5c,$ac,$e7,$d7,$5c,$d7,$e7 // .....p...\...\..
        .byte $e7,$57,$a8                           // .W.

txt_0fc8:
        .text "''%&''%*"
        .byte $02,$f2,$72,$b2,$00,$ff,$55,$aa,$70,$7f,$55,$a9,$09,$f9,$55,$aa // ..r...U.p.U...U.
        .byte $02,$c2,$c2,$c2,$c2,$c2,$c2,$c2,$09,$09,$09,$09,$0a,$00,$0b,$0a // ................
        .byte $c0,$c0,$c0,$c0,$c0,$00,$c0,$c0,$46,$68,$29,$0f,$0a,$8d,$7f,$46 // ........Fh)....F

// --- Region $100a-$1079 ---
.pc = $100a "Segment $100a"
        .byte $01,$01,$01,$00,$00,$07,$0e,$02,$50,$02,$18,$18,$00,$00,$00,$00 // ........P.......
        .byte $00,$00,$00,$00,$00,$00,$1b,$3f,$00,$00,$00,$00,$00,$00,$00,$01 // .......?........
        .byte $01,$01,$00,$00,$00,$09,$09,$09,$10,$10,$10,$2c,$5e,$00,$05,$29 // ...........,^..)
        .byte $00,$f8,$08,$00,$18,$19,$00,$20,$f0,$00,$18,$18,$00,$0a,$0a,$00 // ....... ........
        .byte $8e,$04,$00,$41,$41,$00,$41,$40,$00,$01,$01,$00,$00,$00,$00,$00 // ...AA.A@........
        .byte $00,$00,$00,$00,$00,$0c,$0c,$0c,$00,$00,$00,$fd,$fd,$00,$00,$00 // ................
        .byte $00,$41,$40,$00,$01,$01,$00,$ff,$ff,$00,$ba,$f3,$24,$16,$16,$17 // .A@.........$...

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

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

txt_14e6:
        .text "I N"
        .byte $bc                                   // '<' | $80 (end-of-string marker)
        .byte $52,$ac,$57,$e4,$5c,$70,$62,$4c,$68,$84,$6e,$18,$75,$10,$7c,$70 // R.W.\pbLh.n.u.|p
        .byte $83,$40,$8b,$70,$93,$40,$9c,$78,$a5,$58,$af,$c8 // .@.p.@.x.X..

// --- Region $153a-$1750 ---
.pc = $153a "Segment $153a"
        .byte $01,$25,$01,$27,$83,$02,$1c,$81,$04,$27,$81,$03,$1c,$81,$04,$2a // .%.'.....'.....*
        .byte $81,$03,$1c,$01,$1c,$81,$04,$29,$83,$02,$1c,$81,$04,$29,$01,$27 // .......).....).'
        .byte $ff,$9f,$05,$2e,$03,$33,$03,$35,$0f,$36,$07,$35,$83,$9f,$33,$2b // .....3.5.6.5..3+
        .byte $35,$07,$38,$03,$36,$03,$35,$1f,$33,$ff,$81,$04,$27,$01,$33,$01 // 5.8.6.5.3...'.3.
        .byte $33,$01,$27,$01,$33,$01,$31,$01,$2e,$01,$27,$01,$33,$01,$31,$01 // 3.'.3.1...'.3.1.
        .byte $27,$01,$27,$01,$2e,$01,$2c,$01,$27,$01,$33,$ff,$87,$00,$14,$07 // '.'...,.'.3.....
        .byte $14,$03,$12,$03,$14,$03,$0f,$07,$14,$03,$14,$03,$17,$03,$1b,$03 // ................
        .byte $19,$03,$17,$03,$16,$03,$12,$07,$0f,$03,$1b,$03,$19,$83,$83,$15 // ................
        .byte $03,$19,$03,$1b,$07,$0f,$03,$0f,$03,$1b,$03,$19,$83,$94,$19,$03 // ................
        .byte $1d,$03,$1b,$03,$19,$ff,$83,$03,$1c,$83,$06,$2c,$83,$02,$1c,$83 // ...........,....
        .byte $03,$1c,$83,$06,$2c,$03,$2a,$83,$02,$1c,$83,$03,$1c,$03,$1c,$83 // ....,.*.........
        .byte $06,$2c,$83,$02,$1c,$83,$03,$1c,$83,$06,$2f,$03,$2e,$83,$02,$1c // .,......../.....
        .byte $83,$03,$1c,$83,$03,$1c,$83,$06,$2e,$83,$02,$1c,$83,$03,$1c,$83 // ................
        .byte $06,$2c,$03,$2e,$83,$02,$1c,$83,$03,$1c,$03,$1c,$83,$06,$2e,$83 // .,..............
        .byte $02,$1c,$83,$03,$1c,$83,$06,$31,$03,$2f,$03,$2e,$83,$03,$1c,$ff // .......1./......
        .byte $9f,$07,$38,$83,$9f,$36,$03,$36,$03,$33,$03,$31,$83,$9f,$31,$03 // ..8..6.6.3.1..1.
        .byte $31,$03,$2f,$03,$31,$17,$2e,$03,$31,$0f,$33,$01,$38,$01,$36,$01 // 1./.1...1.3.8.6.
        .byte $33,$01,$31,$01,$2e,$01,$31,$01,$33,$01,$36,$01,$38,$01,$3b,$ff // 3.1...1.3.6.8.;.
        .byte $41,$41,$0a,$8e,$01,$18,$20,$00,$11,$10,$0a,$8e,$52,$00,$00,$f7 // AA.... .....R...
        .byte $81,$80,$0a,$a8,$01,$50,$00,$00,$41,$40,$0a,$88,$01,$d7,$00,$ff // .....P..A@......
        .byte $41,$40,$0a,$04,$01,$18,$f0,$00,$41,$41,$0a,$a9,$51,$01,$50,$a7 // A@......AA..Q.P.
        .byte $41,$40,$0a,$09,$31,$18,$10,$60,$41,$41,$0a,$a7,$31,$08,$30,$63 // A@..1..`AA..1.0c
        .byte $13,$16,$1a,$1e,$34,$5b,$74,$96,$d0,$2a,$15,$15,$15,$15,$15,$15 // ....4[t..*......
        .byte $15,$15,$15,$16,$11,$04,$41,$06,$02,$81,$11,$81,$1f,$80,$1a,$ff // ......A.........
        .byte $8c,$03,$8a,$03,$87,$03,$85,$03,$8c,$03,$8a,$03,$87,$03,$85,$03 // ................
        .byte $8c,$03,$8a,$03,$87,$03,$85,$03,$00,$00,$00,$00,$8c,$03,$03,$03 // ................
        .byte $03,$07,$07,$8c,$03,$03,$03,$03,$00,$00,$00,$00,$8c,$01,$8a,$01 // ................
        .byte $87,$01,$85,$01,$00,$00,$00,$00,$ff,$8c,$06,$06,$06,$06,$04,$04 // ................
        .byte $04,$04,$8c,$02,$8a,$02,$8c,$02,$8a,$02,$8c,$06,$06,$06,$06,$06 // ................
        .byte $06,$06,$06,$08,$08,$04,$04,$04,$04,$04,$04,$04,$04,$8c,$02,$8a // ................
        .byte $02,$8c,$02,$8a,$02,$00,$00,$00,$00,$ff,$8c,$00,$00,$00,$00,$05 // ................
        .byte $88,$02,$87,$02,$02,$85,$02,$8c,$04,$04,$04,$04,$04,$04,$04,$04 // ................
        .byte $09,$09,$00,$00,$00,$00,$00,$00,$00,$00,$88,$02,$87,$02,$02,$85 // ................
        .byte $02,$00,$00,$00,$00,$ff,$00           // .......

// --- Region $1812-$181d ---
.pc = $1812 "Segment $1812"
        .byte $18,$2a,$18,$58,$18,$65,$18,$89,$18,$b6,$18,$c3 // .*.X.e......

// --- Region $1a0b-$1aa4 ---
.pc = $1a0b "txt_1a0b"

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

txt_1a27:
        .text "                            "
        .byte $1c,$1c                               // ..

txt_1a45:
        .encoding "screencode_mixed"
        .text " - return of the jedi+ by domark"
        .encoding "petscii_upper"

txt_1a65:
        .text "! - "
        .byte $1c,$1c                               // ..

txt_1a6b:
        .text "                          "
        .byte $03,$12,$01,$03,$0b,$05,$04,$20,$0f,$0e // ....... ..

txt_1a8f:
        .text " :11/11/88          "
        .byte $00                                   // string terminator
        .byte $01                                   // .

// --- Region $1ad8-$1b17 ---
.pc = $1ad8 "dat_1ad8"

dat_1ad8:
        .byte $55,$55,$55,$66,$66,$66,$99,$99,$99,$aa,$aa,$aa,$99,$99,$99,$66 // UUUfff.........f
        .byte $66,$66,$55,$55,$55,$77,$77,$77,$dd,$dd,$dd,$ff,$ff,$ff,$dd,$dd // ffUUUwww........
        .byte $dd,$77,$77,$77,$55,$55,$55,$99,$99,$99,$66,$66,$66,$55,$55,$55 // .wwwUUU...fffUUU
        .byte $77,$77,$77,$dd,$dd,$dd,$ff,$ff,$ff,$dd,$dd,$dd,$77,$77,$77,$99 // www.........www.

// --- Region $1b63-$1c86 ---
.pc = $1b63 "dat_1b63"

dat_1b63:
        .byte $05,$27,$10,$8c,$8e,$91,$94,$97,$9a,$9c,$9f,$a2,$a5,$a8,$aa,$ad // .'..............
        .byte $b0,$b2,$b5,$b8,$ba,$bd,$bf,$c2,$c4,$c7,$c9,$cc,$ce,$d0,$d2,$d5 // ................
        .byte $d7,$d9,$db,$dd,$df,$e1,$e3,$e5,$e6,$e8,$ea,$eb,$ed,$ee,$f0,$f1 // ................
        .byte $f2,$f4,$f5,$f6,$f7,$f8,$f9,$fa,$fa,$fb,$fc,$fc,$fd,$fd,$fe,$fe // ................
        .fill 9, $fe
        .byte $fd,$fd,$fc,$fc,$fb,$fa,$f9,$f8,$f7,$f6,$f5,$f4,$f3,$f2,$f0,$ef // ................
        .byte $ee,$ec,$eb,$e9,$e7,$e6,$e4,$e2,$e0,$de,$dc,$da,$d8,$d6,$d4,$d1 // ................
        .byte $cf,$cd,$ca,$c8,$c6,$c3,$c1,$be,$bc,$b9,$b6,$b4,$b1,$ae,$ac,$a9 // ................
        .byte $a6,$a3,$a1,$9e,$9b,$98,$95,$93,$90,$8d,$8a,$87,$84,$82,$7f,$7c // ...............|
        .byte $79,$76,$74,$71,$6e,$6b,$69,$66,$63,$61,$5e,$5b // yvtqnkifca^[

txt_1bf8:
        .text "YVTQOMJHFCA?=;975310.,+)('%$#"
        .byte $22                                   // double quote character
        .text "! "
        .byte $1f,$1e,$1d,$1c,$1b,$1b,$1a,$1a,$19,$19,$19,$19,$19,$19,$19,$19 // ................
        .byte $19,$19,$19,$1a,$1a,$1b,$1b,$1c,$1d,$1d,$1e,$1f // ............

txt_1c34:
        .text " !"
        .byte $22                                   // double quote character
        .text "#%&')*,-/12468:<>"
        .byte $40                                   // @ character
        .text "BEGIKNPSUXZ"
        .byte $5d,$5f,$62,$65,$67,$6a,$6d,$6f,$72,$75,$78,$7b,$7d,$80,$83,$86 // ]_begjmorux{}...
        .byte $89,$8b,$00,$3c,$7e,$33,$1f,$0f,$7e,$3c,$00,$3c,$7e,$73,$1f,$0f // ...<~3..~<.<~s..
        .byte $7e,$3c,$00,$3c,$7e,$e7,$ff,$0f,$7e,$3c,$00,$3c,$7e,$e7,$ff,$ff // ~<.<~...~<.<~...
        .byte $7e,$3c,$02                           // ~<.

// --- Region $1d3b-$1eff ---
.pc = $1d3b "Segment $1d3b"
        .fill 31, $40
        .text "ABBBCDEFGEHIJEEK"
        .text "LMEENOPQEEER"
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .text "STUVWXYZ"
        .byte $5b
        .byte $5c,$5d,$5e
        .byte $59,$5f,$60,$61
        .byte $62,$63,$64,$65,$66,$67,$68,$69,$6a,$6b,$6c,$6d // bcdefghijklm

txt_1d96:
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $6e,$6f,$40,$5e,$70,$70,$71,$72,$40,$5e,$70,$73,$74,$75,$76,$77 // no@^ppqr@^pstuvw
        .byte $78,$79,$7a,$7b,$7c,$40,$7d,$7e,$7f   // xyz{|@}~.

txt_1db5:
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $80,$81,$40,$5e,$82,$83,$84,$85,$86,$5e,$87,$88,$89,$8a,$8b,$8c // ..@^.....^......
        .byte $8d,$8e,$8f,$90
        .byte $40,$40,$91,$92,$7f
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $93,$94
        .byte $95,$96,$97,$98,$99,$9a,$9b,$9c,$9d,$9e,$95,$9a,$40,$9f,$a0,$a1 // ............@...
        .byte $a2,$a3,$a4,$a5,$a6,$a7,$a8,$a9,$96,$aa // ..........

txt_1df6:
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $ab                                   // '+' | $80 (end-of-string marker)
        .byte $ac,$ad,$ae,$af,$b0,$b1,$b2,$40,$b3,$b4,$b0,$ad,$b2,$40,$b5,$b6 // .......@.....@..
        .byte $b7,$b8,$7c,$b9,$ba,$b2,$bb,$ac,$ad,$ae,$6d // ..|.......m

txt_1e16:
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $bc                                   // '<' | $80 (end-of-string marker)
        .byte $bd,$be,$bf,$c0,$c1,$c2,$c3,$c4,$c5,$c6,$c7,$c8,$c5,$c9,$ca,$cb // ................
        .byte $cc                                   // .

txt_1e2f:
        .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 $cd                                   // 'M' | $80 (end-of-string marker)
        .byte $ce,$cf,$d0,$d1,$d2,$d3,$d4,$d5,$d6,$d7,$ce,$d8,$d9,$da,$db,$dc // ................
        .byte $dd,$de,$df,$e0,$e1,$e2,$ce,$e3,$ce,$e4,$e5,$e6,$40,$40,$40,$e7 // ............@@@.
        .byte $e8,$e9,$ea,$eb,$ec,$ed,$ee,$ef,$f0,$f1,$e8,$f2,$f3,$f2,$5e,$f4 // ..............^.
        .byte $f5,$f6,$f7,$e7,$f8,$f9,$fa,$fb,$fc,$f2,$fd,$fe // ............

txt_1e74:
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .text "BUZZ OFF!"

txt_1e80:
        .encoding "screencode_mixed"
        .text "tri-dos and just ice of ikari is here to present you with 'return of the jedi"
        .encoding "petscii_upper"

txt_1ecd:
        .text "+' ("
        .byte $03                                   // .

txt_1ed2:
        .text ")1988 "

txt_1ed8:
        .encoding "screencode_mixed"
        .text "domark software , cracked and trained on"
        .encoding "petscii_upper"

// --- Region $1f94-$2000 ---
.pc = $1f94 "Segment $1f94"
        .byte $0d,$10,$01,$12,$2c,$0d,$01,$19,$08,$05,$0d,$2c,$05,$13,$09,$2c // ....,......,...,
        .byte $01,$14,$03,$2c,$0e,$06,$09,$21,$20,$20,$09,$06,$20,$19,$01,$20 // ...,...!  .. .. 
        .byte $0e,$0f,$14,$20,$14,$08,$05,$12,$05,$20,$19,$01,$20,$0e,$0f,$14 // ... ..... .. ...
        .byte $20,$07,$0f,$0f,$04,$20,$05,$0e,$0f,$15,$07,$08 //  .... ......

txt_1fd0:
        .text "!    "
        .byte $0c,$01,$14,$05,$12                   // .....

txt_1fda:
        .text ".          "
        .byte $1c,$1c,$1c                           // ...

txt_1fe8:
        .text "                         "
