// ============================================
// output - Part 1 of 2
// ============================================
// KickAssembler syntax
// Generated by Restore 64 v0.2.1 alpha build 298, 2026-04-11 21:36:38
// https://restore64.dev by datucker / Rabenauge
//
// Load address: $02c0  End: $ffff  (64832 bytes)
// Crunched with Exomizer v2/v3 (with relocation) — depacked by emulation
// Packer entry: $0810 (via BASIC SYS 2064)
// Entry point:  $1246 (4678)
// IRQ handler:  $2024 (loc_2024)
//
// Code: 7293 bytes, Data: 57539 bytes
// Labels: 716, Subroutines: 19
//
// Cross-references: all OK
// ============================================


// --- Region $123b-$126b ---
.pc = $123b "loc_123b"

loc_123b:
        lda $d012
        tay
        and #$07
        ora #$18

loc_1243:
        cpy $d012

main_1246:
        beq loc_1243
        sta $d011
        dex
        bne loc_123b
        lda #$13
        sta $d018
        lda #$c8
        jsr sub_2876
        lda #$45
        sbc $11f7
        sta $123a
        lda $2b23
        bne loc_1268
        jsr smc_129c

loc_1268:
        inc $129b
        rts

// --- Region $129c-$1465 ---
.pc = $129c "smc_129c"

smc_129c:
        inc dat_126c                                // !SMC: modified by $12ac
        lda dat_126c
.label smc_12a3 = * + 1
        cmp #$23                                    // !SMC: modified by $12b2
        bne loc_12bb
        ldx dat_12bc
        lda $12bd,x
        sta smc_129c                                // SMC: modifies $129c
        lda $12bf,x
        sta smc_12a3                                // SMC: modifies $12a3
        txa
        eor #$01
        sta dat_12bc

loc_12bb:
        rts

dat_12bc:
        .byte $00,$ce                               // ..

loc_12be:
        inc $2300
        ldx $1467
        lda #$00
        sta $280c
        ldy $1468,x
        lda dat_28b4
        bne loc_12eb

loc_12d1:
        dec dat_1466
        lda dat_1466
        cmp #$cf
        bne loc_12e5
        tya
        pha
        jsr sub_1375
        inc $280c
        pla
        tay

loc_12e5:
        dey
        bne loc_12d1
        jmp loc_1302

loc_12eb:
        inc dat_1466
        lda dat_1466
        cmp #$d8
        bne loc_12ff
        tya
        pha
        jsr sub_13b1
        inc $280c
        pla
        tay

loc_12ff:
        dey
        bne loc_12eb

loc_1302:
        lda $280c
        bne loc_1374
.label sub_1309 = * + 2
        lda $280b
        nop
        nop
        lda $2b28
        beq loc_1374
        dec $280b
        ldx #$26
        ldy $2834

loc_1319:
        lda $280d,x
        sta $280e,x
        tya
        sta $d9e1,x
        sta $da09,x
        sta $da31,x
        sta $da59,x
        sta $da81,x
        sta $daa9,x
        sta $dad1,x
        sta $daf9,x
        sta $db21,x
        sta $db49,x
        sta $db71,x
        sta $db99,x
        sta $dbc1,x
        dex
        bpl loc_1319
        sty $280d
        sty dat_d9e0
        sty dat_da08
        sty $da30
        sty $da58
        sty $da80
        sty $daa8
        sty $dad0
        sty $daf8
        sty $db20
        sty $db48
        sty $db70
        sty $db98
        sty $dbc0

loc_1374:
        rts
// Referenced by: jsr from $12dd

sub_1375:
        ldy #$00

loc_1377:
        lda $0401,y
        sta $0400,y
        lda $0429,y
        sta $0428,y
        lda $0451,y
        sta $0450,y
        lda $0479,y
        sta $0478,y
        lda $04a1,y
        sta $04a0,y
        lda $04c9,y
        sta $04c8,y
        lda $04f1,y
        sta $04f0,y
        iny
        cpy #$26
        bne loc_1377
        jsr sub_13ec
        lda #$d7
        sta dat_1466
        jmp loc_1434
// Referenced by: jsr from $12f7

sub_13b1:
        ldy #$25

loc_13b3:
        lda $0400,y
        sta $0401,y
        lda $0428,y
        sta $0429,y
        lda $0450,y
        sta $0451,y
        lda $0478,y
        sta $0479,y
        lda $04a0,y
        sta $04a1,y
        lda $04c8,y
        sta $04c9,y
        lda $04f0,y
        sta $04f1,y
        dey
        bpl loc_13b3
        iny
        jsr sub_13ec
        lda #$d0
        sta dat_1466
        jmp loc_1434
// Referenced by: jsr from $13a6, $13e1

sub_13ec:
        ldx #$00
        lda #$35
        sta $01
        lda $07fe
        sta sub_1409
        lda $07ff
        sta $140a
        lda #$00
        sta $140c
        lda #$04
        sta $140d

loc_1408:
.label sub_1409 = * + 1
        lda $ff76,y
        sta $0518,y
        lda sub_1409
        clc
        adc #$80
        sta sub_1409
        bcc loc_141c
        inc $140a

loc_141c:
        lda $140c
        clc
        adc #$28
        sta $140c
        bcc loc_142a
        inc $140d

loc_142a:
        inx
        cpx #$07
        bne loc_1408
        lda #$37
        sta $01
        rts

loc_1434:
        inc $1467
        ldx $1467
        lda $1468,x
        bne loc_144a
        sta $1467
        lda dat_28b4
        eor #$01
        sta dat_28b4

loc_144a:
        lda dat_28b4
        bne loc_1458
        inc $07fe
        bne loc_1457
        inc $07ff

loc_1457:
        rts

loc_1458:
        dec $07fe
        lda $07fe
        cmp #$ff
        bne loc_1457
        dec $07ff
        rts

// --- Region $149f-$16cf ---
.pc = $149f "loc_149f"

loc_149f:
        ora ($00,x)
        ldy #$06
        jsr sub_26fb
        lda #$23
        sta smc_12a3
        lda #$ee
        sta smc_129c
        lda #$d7
        sta dat_1466
        lda #$00
        sta $151c
        lda #$fc
        sta $151d
        lda #$e8
        sta $1543
        lda #$fb
        sta $1544
        lda #$00
        sta $1546
        lda #$04
        sta $1547
        lda #$1b
        sta $126d
        lda #$00
        sta $1519
        lda #$10
        sta $151a
        lda #$00
        sta $1467
        sta dat_126c
        sta dat_12bc
        sta dat_28b4
        sta $129b
        sta dat_2712
        sta $280c
        sta $280b
        lda $2b22
        bne loc_157d
        tax
        lda #$73

loc_1504:
        sta $fb00,x
        sta $fc00,x
        sta $fd00,x
        sta $fe00,x
        sta $fe80,x
        inx
        bne loc_1504

loc_1516:
        ldx #$27

loc_1518:
        lda $1000,x
        sta $fc00,x
        dex
        bpl loc_1518
        lda $1519
        clc
        adc #$28
        sta $1519
        lda $151c
        adc #$80
        sta $151c
        bcc loc_1537
        inc $151d

loc_1537:
        dey
        bpl loc_1516
        lda #$35
        sta $01
        ldy #$00

loc_1540:
        ldx #$00

loc_1542:
        lda $fbe8,x
        sta $0400,x
        inx
        cpx #$28
        bne loc_1542
        lda $1546
        clc
        adc #$28
        sta $1546
        bcc loc_155c
        inc $1547
        clc

loc_155c:
        lda $1543
        adc #$80
        sta $1543
        bcc loc_1569
        inc $1544

loc_1569:
        iny
        cpy #$07
        bne loc_1540
        lda #$37
        sta $01
        lda #$e7
        sta $07fe
        lda #$fb
        sta $07ff
        rts

loc_157d:
        ldx #$00

loc_157f:
        lda $1000,x
        sta $0400,x
        lda $1018,x
        sta $0418,x
        inx
        bne loc_157f
        rts

loc_158f:
        lda $2b23
        bne loc_15b2
        lda #$00
        sta $15ce
        sta $1618
        sta $14ca
        sta $13ff
        sta $1583
        lda #$18
        sta $1589
        lda #$45
        sta $1259
        jmp loc_15cd

loc_15b2:
        lda #$50
        sta $15ce
        sta $1618
        sta $14ca
        sta $13ff
        sta $1583
        lda #$68
        sta $1589
        lda #$22
        sta $1259

loc_15cd:
        lda #$00
        sta $ae
        lda #$04
        sta $af
        lda #$77
        sta $fa
        lda #$13
        sta $fb
        ldy #$00
        ldx #$06

loc_15e1:
        txa
        pha
        ldx $ae
        inx
        txa
        iny
        sta ($fa),y
        lda $af
        iny
        sta ($fa),y
        iny
        iny
        lda $ae
        sta ($fa),y
        iny
        lda $af
        sta ($fa),y
        lda $ae
        clc
        adc #$28
        sta $ae
        bcc loc_1605
        inc $af

loc_1605:
        lda $fa
        clc
        adc #$06
        sta $fa
        bcc loc_1610
        inc $fb

loc_1610:
        ldy #$00
        pla
        tax
        dex
        bpl loc_15e1
        lda #$00
        sta $ae
        lda #$04
        sta $af
        lda #$b3
        sta $fa
        lda #$13
        sta $fb
        ldy #$00
        ldx #$06

loc_162b:
        txa
        pha
        lda $ae
        iny
        sta ($fa),y
        lda $af
        iny
        sta ($fa),y
        iny
        iny
        ldx $ae
        inx
        txa
        sta ($fa),y
        iny
        lda $af
        sta ($fa),y
        lda $ae
        clc
        adc #$28
        sta $ae
        bcc loc_164f
        inc $af

loc_164f:
        lda $fa
        clc
        adc #$06
        sta $fa
        bcc loc_165a
        inc $fb

loc_165a:
        ldy #$00
        pla
        tax
        dex
        bpl loc_162b
        rts

loc_1662:
        lda $2b28
        cmp #$02
        bne loc_1671
        lda #$98
        sta $131f
        jmp loc_1676

loc_1671:
        lda #$ea
        sta $131f

loc_1676:
        lda $2b0c
        sta $11ed
        sta $1207
        lda $2b0d
        sta $11f3
        sta $120a
        ldx #$00
        lda $2b0e

loc_168d:
        sta dat_d800,x
        sta $d868,x
        inx
        bne loc_168d
        txa

loc_1697:
        sta $0100,x
        inx
        cpx #$e0
        bne loc_1697
        lda $2b25
        cmp #$02
        bne loc_16b1
        lda #$d8
        sta $1254
        sta $27cf
        jmp loc_16b9

loc_16b1:
        lda #$c8
        sta $1254
        sta $27cf

loc_16b9:
        lda $2b27
        beq loc_16c7
        lda #$20
        sta $114f
        sta $116f
        rts

loc_16c7:
        lda #$ad
        sta $114f
        sta $116f
        rts

// --- Region $1715-$1787 ---
.pc = $1715 "loc_1715"

loc_1715:
        stx $17f0
        sty $17f1
        ldx #$00
        ldy #$00

loc_171f:
        lda ($fa),y
        jsr sub_17d7
        pha
        lda $2b18
        beq loc_1777
        cmp #$02
        bne loc_173a
        inx
        pla
        clc
        adc #$40
        jsr sub_17d7
        dex
        jmp loc_177f

loc_173a:
        cmp #$01
        bne loc_1753
        txa
        clc
        adc #$28
        tax
        pla
        clc
        adc #$40
        jsr sub_17d7
        txa
        sec
        sbc #$28
        tax
        pha
        jmp loc_1777

loc_1753:
        inx
        pla
        clc
        adc #$40
        jsr sub_17d7
        clc
        adc #$40
        pha
        txa
        clc
        adc #$27
        tax
        pla
        jsr sub_17d7
        clc
        adc #$40
        inx
        jsr sub_17d7
        txa
        sec
        sbc #$29
        tax
        jmp loc_177f

loc_1777:
        pla
        iny
        inx
        cpx #$28
        bne loc_171f
        rts

loc_177f:
        iny
        inx
        inx
        cpx #$28
        bne loc_171f
        rts

txt_1787:
        .text " "

// --- Region $17d7-$17f2 ---
.pc = $17d7 "sub_17d7"
// Referenced by: jsr from $1721, $1733, $1747, $1758, $1765, $176c, $de13, $de25

sub_17d7:
        cmp #$20
        bne loc_17dd
        lda #$00

loc_17dd:
        cmp #$60
        bne loc_17e3

loc_17e1:
        lda #$00

loc_17e3:
        cmp #$a0
        bne loc_17e9
        lda #$00

loc_17e9:
        cmp #$e0
        bne loc_17ef

dat_17ed:
        .byte $a9,$00                               // ..

loc_17ef:
        sta $0770,x
        rts

// --- Region $1800-$1815 ---
.pc = $1800 "sub_1800"
// Referenced by: jsr from $201f, $e5ff

sub_1800:
        jmp loc_2108

dat_1803:
        .byte $4c,$17,$21                           // L.!

loc_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
        lda #$1f
        sta dat_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 dat_2121,x
        lda ($fb),y
        cmp #$fe
        beq loc_188c
        cmp #$ff
        bne loc_1894
        lda #$00
        sta $2127,x
        sta dat_2121,x
        sta $2124,x
        sta dat_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 dat_2121,x
        jmp loc_186e

loc_18a9:
        lda $2167
        and #$40
        beq loc_18be
        lda $2167
        and #$3f
        sta $2176,x
        inc dat_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 $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 dat_2121,x

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

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
        cmp #$00
        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 $1bd4
        lda $214b,x
        and #$80
        beq loc_1bca
        lda $2142,x
        and #$01
        beq loc_1bca
        lda #$b0
        sta $1bd4

loc_1bca:
        ldx $ff
        ldy $2156
        lda $2145,x
        clc
        adc #$00
        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 dat_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 $1caf
        lda $1e40,x
        sta $1cb0
        lda $1e42,x
        sta $1cb7
        lda $1e44,x
        sta $1cb8
        ldx $ff
        lda $2142,x
        cmp #$0f
        bcs loc_1ce0
        tax
        dex
        lda $1e56,x
        ldy $ff
        sta $2179,y
        lda $1e46,x
        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 $2000-$204e ---
.pc = $2000 "loc_2000"

loc_2000:
        sei
        lda #$7f
        sta $dc0d
        lda #$01
        sta $d01a
        lda #$fa
        sta $d012
        lda #$1b
        sta $d011
        lda #$24
        sta $0314
        lda #$20
        sta $0315
        jsr sub_1800
        cli
        rts

loc_2024:
        lda #$01
        sta dat_d019
        jsr loc_1806
        jmp loc_ea31

dat_202f:
        .byte $00                                   // .

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, $e685

sub_20d9:
        lda #$00
        ldx #$62

loc_20dd:
        sta dat_2121,x
        dex
        bpl loc_20dd
        lda #$b0
        sta dat_2172

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

loc_20f5:
        sta dat_2121,x
        sta $2124,x
        sta $2127,x
        sta $2130,x
        dex
        bpl loc_20f5
        sta $2174
        rts

loc_2108:
        jsr sub_20d9

loc_210b:
        ldx #$00
        txa

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

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

// --- Region $25de-$25f5 ---
.pc = $25de "loc_25de"

loc_25de:
        inc $7a
        bne loc_25e4
        inc $7b

loc_25e4:
        lda $ea60
        cmp #$3a
        bcs loc_25f5
        cmp #$20
        beq loc_25de
        sec
        sbc #$30
        sec
        sbc #$d0

loc_25f5:
        rts

// --- Region $2600-$2646 ---
.pc = $2600 "loc_2600"

loc_2600:
        cmp #$00
        bne loc_2667
        ldx #$00
        ldy #$00

loc_2608:
        txa
        pha
        tya
        clc
        adc #$08
        sta $261a

loc_2611:
        lda $2648,x
        sta $0124,y
        iny
        inx
        cpy #$58
        bne loc_2611
        pla
        tax
        inx
        cpx #$0b
        bne loc_2608
        dec dat_2647
        beq loc_262a
        rts

loc_262a:
        lda #$03
        sta dat_2647
        jmp loc_2632

loc_2632:
        ldy $2648
        ldx #$00

loc_2637:
        lda $2649,x
        sta $2648,x
        inx
        cpx #$1c
        bne loc_2637
        tya
        sta $2648,x
        rts

// --- Region $2667-$2712 ---
.pc = $2667 "loc_2667"

loc_2667:
        ldx #$00

loc_2669:
        lda $2733,x
        sta $0124,x
        inx
        cpx #$51
        bne loc_2669
        lda $2b24
        cmp #$02
        beq loc_267e
        jmp loc_267f

loc_267e:
        rts

loc_267f:
        ldx #$00

loc_2681:
        ldy $2723,x
        lda $3000,y
        tay
        txa
        pha
        lda $272b,x
        bne loc_26a1
        ldx #$00

loc_2691:
        lda $2713,x
        sta $0124,y
        iny
        inx
        cpx $2b12
        bne loc_2691
        jmp loc_26b5

loc_26a1:
        ldx #$00

loc_26a3:
        lda $0124,y
        bne loc_26ae
        lda $2713,x
        sta $0124,y

loc_26ae:
        iny
        inx
        cpx $2b12
        bne loc_26a3

loc_26b5:
        pla
        tax
        pha
        ldy $2b14
        lda $2723,x
        tax

loc_26bf:
        inx
        bne loc_26c7
        lda #$01
        sta dat_2712

loc_26c7:
        cpx #$80
        bne loc_26d0
        lda #$01
        sta dat_2712

loc_26d0:
        dey
        bne loc_26bf
        txa
        tay
        pla
        tax
        tya
        sta $2723,x
        lda $2b24
        cmp #$03
        beq loc_26f4
        lda dat_2712
        beq loc_26f4
        lda $272b,x
        eor #$01
        sta $272b,x
        lda #$00
        sta dat_2712

loc_26f4:
        inx
        cpx $2b11
        bne loc_2681
        rts
// Referenced by: jsr from $14a3

sub_26fb:
        ldx #$00
        txa

loc_26fe:
        sta $2723,x
        pha
        lda #$00
        sta $272b,x
        pla
        clc
        adc $2b13
        inx
        cpx #$08
        bne loc_26fe
        rts

dat_2712:
        .byte $00                                   // .

// --- Region $27a3-$27ff ---
.pc = $27a3 "loc_27a3"

loc_27a3:
        ora #$ac
        ldx $28,y
        lda $2b1a
        sta $d022
        lda $2b1b
        sta $d023
        ldx #$09

loc_27b5:
        dex
        bne loc_27b5
        sty $d016

loc_27bb:
        lda $2784,x
        ldy $d012

loc_27c1:
        cpy $d012
        beq loc_27c1
        sta $d0a9
        inx
        cpx #$08
        bne loc_27bb
        lda #$c8
        ldx #$07

loc_27d2:
        dex
        bne loc_27d2
        sta $d016
        stx $d020
        stx $d021
        ldy $28b5
        beq loc_2835

loc_27e3:
        dec $28b6
        lda $28b6
        cmp #$bf
        bne loc_27f9
        ldx #$c7
        stx $28b6
        tya
        pha
        jsr sub_2847
        pla
        tay

loc_27f9:
        dey
        bne loc_27e3

loc_27fc:
        jmp loc_2b84

dat_27ff:
        .byte $d0                                   // .

// --- Region $2835-$2880 ---
.pc = $2835 "loc_2835"

loc_2835:
        dec $28b7
        bne loc_27fc
        lda #$3c
        sta $28b7
        lda #$02
        sta $28b5
        jmp loc_27fc
// Referenced by: jsr from $27f4, $ebe3

sub_2847:
        ldx #$00

loc_2849:
        lda $05e1,x
        sta $05e0,x
        clc
        adc #$80
        lda $0608,x
        inx
        cpx #$26
        bne loc_2849
        lda $28b8
        bne loc_289c
        lda #$00
        sta $28b8
        ldy #$00

loc_2866:
        lda ($20),y
        bne loc_288a
        lda $2b29
        sta $20
        lda $2b2a
        sta $21
        bne loc_2866
// Referenced by: jsr from $1255

sub_2876:
        lda #$1b
        lda $d011
        lda #$c8
        sta $d016
        rts

// --- Region $288a-$2a1e ---
.pc = $288a "loc_288a"

loc_288a:
        ldx #$26
        sta $05e0,x
        clc
        adc #$80
        lda $0608,x
        inc $20
        bne loc_289b
        inc $21

loc_289b:
        rts

loc_289c:
        lda #$00
        sta $28b8
        ldx #$25
        lda $05e0,x
        clc
        adc #$40
        inx
        sta $05e0,x
        clc
        adc #$80
        sta $0608,x
        rts

dat_28b4:
        .byte $00,$02,$c7,$3c,$00                   // ...<.

loc_28b9:
        lda #$00
        sta $28b8
        lda $2b23
        beq loc_28cb
        lda $2b15
        sta $11a8
        bne loc_28d4

loc_28cb:
        lda $2b15
        clc
        adc #$23
        sta $11a8

loc_28d4:
        lda $2b25
        bne loc_28e4
        lda #$e3
        sta $11a3
        lda #$28
        sta $11a5
        rts

loc_28e4:
        lda #$a4
        sta $11a3
        lda #$27
        sta $11a5
        lda $2b25
        cmp #$01
        bne loc_2905
        lda #$c7
        sta $29e4
        sta $27ee
        lda #$bf
        sta $27ea
        jmp loc_2912

loc_2905:
        lda #$d7
        sta $29e4
        sta $27ee
        lda #$cf
        sta $27ea

loc_2912:
        lda $2b16
        tax
        inx
        stx $284a
        sta $284d
        sta $288d
        sta $28a4
        sta $28ab
        lda $2b17
        sta $284b
        sta $284e
        sta $288e
        sta $28a5
        sta $28ac
        lda $2b16
        ldy $2b17
        clc
        adc #$28
        bcc loc_2944
        iny

loc_2944:
        sta $2853
        sty $2854
        sta $2893
        sty $2894
        sta $28b1
        sty $28b2
        lda $2b18
        bne loc_2974
        lda #$bd
        sta $2852
        sta $2892
        lda #$00
        sta $2860
        lda #$08
        sta $27cb
        lda #$28
        sta $2a15
        bne loc_29e3

loc_2974:
        cmp #$01
        bne loc_2999
        lda #$9d
        sta $2852
        sta $2892
        lda #$00
        sta $2860
        lda #$0e
        sta $27cb
        lda #$40
        sta $2851
        sta $2891
        lda #$50
        sta $2a15
        bne loc_29e3

loc_2999:
        cmp #$02
        bne loc_29be
        lda #$bd
        sta $2852
        sta $2892
        sta $28b0
        lda #$01
        sta $2860
        lda #$08
        sta $27cb
        lda #$40
        sta $28af
        lda #$28
        sta $2a15
        bne loc_29e3

loc_29be:
        lda #$9d
        sta $2852
        sta $2892
        sta $28b0
        lda #$01
        sta $2860
        lda #$0e
        sta $27cb
        lda #$80
        sta $2891
        sta $2851
        sta $28af
        lda #$50
        sta $2a15

loc_29e3:
        lda #$c7
        sta $28b6
        lda #$3c
        sta $28b7
        lda #$02
        sta $28b5
        lda $2b29
        sta $20
        lda $2b2a
        sta $21
        lda $2b16
        sta $2a11
        lda $2b17
        clc
        adc #$d4
        sta $2a12
        ldx #$00
        lda $2b19

loc_2a10:
        sta dat_d9e0,x
        inx
        cpx #$28
        bne loc_2a10
        lda $2b1c
        sta $27c7
        rts

// --- Region $2a39-$2b0a ---
.pc = $2a39 "loc_2a39"

loc_2a39:
        ldx #$00

loc_2a3b:
        sta $02c0,x
        adc #$20
        inc $2a3f
        inx
        cpx #$0e
        bne loc_2a3b
        lda $2b26
        bne loc_2a53
        lda #$20
        sta $1172
        rts

loc_2a53:
        lda #$ad
        sta $1172
        rts

dat_2a59:
        .byte $60                                   // `

loc_2a5a:
        lda $d011
        bpl loc_2a5a
        ldx #$0e

loc_2a61:
        lda #$e0
        sta $24
        lda #$05
        sta $25
        ldy $02c0,x

loc_2a6c:
        lda ($24),y
        cmp #$21
        beq loc_2a7a
        cmp #$22
        beq loc_2a7a
        cmp #$23
        bne loc_2a7e

loc_2a7a:
        lda #$00
        sta ($24),y

loc_2a7e:
        inc $25
        lda $25
        cmp #$07
        bne loc_2a6c
        dex
        bpl loc_2a61
        ldy #$01
        lda dat_2b0b
        eor #$01
        sta dat_2b0b
        bne loc_2aa6
        clc
        rol $090a
        bcc loc_2aa6
        sty $090a
        ldx #$04

loc_2aa0:
        dec $02c0,x
        dex
        bpl loc_2aa0

loc_2aa6:
        clc
        rol $0912
        bcc loc_2ab7
        sty $0912
        ldx #$04

loc_2ab1:
        dec $02c5,x
        dex
        bpl loc_2ab1

loc_2ab7:
        clc
        rol $091a
        rol $091a
        bcc loc_2acb
        sty $091a
        ldx #$04

loc_2ac5:
        dec $02ca,x
        dex
        bpl loc_2ac5

loc_2acb:
        ldx #$04
        lda #$e0
        sta $24

loc_2ad1:
        lda #$23
        sta $2ae9
        lda #$ca
        sta $2ae0

loc_2adb:
        lda #$05
        sta $25
        ldy $02bb,x

loc_2ae2:
        lda ($24),y
        cmp #$00
        bne loc_2aec
        lda #$20
        sta ($24),y

loc_2aec:
        inc $25
        lda $25
        cmp #$07
        bne loc_2ae2
        lda $2ae0
        sec
        sbc #$05
        sta $2ae0
        dec $2ae9
        lda $2ae9
        cmp #$20
        bne loc_2adb
        dex
        bpl loc_2ad1
        rts

// --- Region $2b2b-$2b91 ---
.pc = $2b2b "loc_2b2b"

loc_2b2b:
        lda #$ef
        cmp $dc01
        beq loc_2b33
        rts

loc_2b33:
        sei
        jsr $fda3
        jsr $fd15
        jsr $ff5b
        dex
        stx $d020
        stx $d021
        pla
        pla
        lda $02
        nop
        sta $3fff

loc_2b4c:
        lda loc_2b5c,x
        sta $0340,x
        inx
        cpx #$29
        bne loc_2b4c
        inc $01
        jmp $0340

loc_2b5c:
        lda #$01
        sta $fa
        lda #$40
        sta $fb
        lda #$01
        sta $fc
        lda #$08
        sta $fd
        ldy #$00

loc_2b6e:
        lda ($fa),y
        sta ($fc),y
        iny
        bne loc_2b6e
        inc $fd
        inc $fb
        bne loc_2b6e
        dec $01
        cli
        jmp loc_fce2

dat_2b81:
        .byte $4c,$ae,$a7                           // L..

loc_2b84:
        dec $280a
        bne loc_2b91
        inc $280b
        lda #$03
        sta $280a

loc_2b91:
        rts

// --- Region $2d01-$2d15 ---
.pc = $2d01 "loc_2d01"

loc_2d01:
        asl $0c
        .byte $0c,$0c,$0c                           // nop $0c0c // ILLEGAL
        .byte $0c,$ec,$63                           // nop $63ec // ILLEGAL

loc_2d09:
        ror $34
        bmi loc_2d3d
        bmi loc_2d3f
        bmi loc_2d01
        bvs loc_2d43
        bmi loc_2d45
        rts

// --- Region $2d3d-$2d45 ---
.pc = $2d3d "loc_2d3d"

loc_2d3d:
        brk

dat_2d3e:
        .byte $00                                   // .

loc_2d3f:
        brk

dat_2d40:
        .byte $c3,$c3,$c1                           // ...

loc_2d43:
        cpx #$00

loc_2d45:
        brk

// --- Region $3fee-$3ff1 ---
.pc = $3fee "Segment $3fee"
        ora ($0d,x)
        .byte $02                                   // jam // ILLEGAL

dat_3ff1:
        .byte $0f                                   // .

// --- Region $d22b-$d245 ---
.pc = $d22b "loc_d22b"

loc_d22b:
        lda ($2f),y
        rol
        rol
        rol
        rol
        and #$07
        tax
        lda $011a,x
        sta $0118
        lda ($2f),y
        and #$1f
        tax
        jsr $0122
        jmp $01ff

dat_d245:
        .byte $a4                                   // .

// --- Region $d252-$d2c1 ---
.pc = $d252 "loc_d252"

loc_d252:
        bmi loc_d2b4
        lda ($2f),y
        jsr $0122

loc_d259:
        sta ($2d),y
        inc $2d
        bne loc_d261
        inc $2e

loc_d261:
        dex
        bne loc_d259
        beq loc_d22b
        lda #$00
        beq loc_d259
        lda #$ff
        bne loc_d259

loc_d26e:
        lda ($2f),y
        sta ($2d),y
        inc $2f
        bne loc_d278
        inc $30

loc_d278:
        inc $2d
        bne loc_d27e
        inc $2e

loc_d27e:
        dex
        bne loc_d26e
        beq loc_d22b
        jsr $0171
        lda ($2f),y
        jsr $0122

loc_d28b:
        sta ($2d),y
        inc $2d
        bne loc_d293
        inc $2e

loc_d293:
        dex
        bne loc_d28b
        dec $39
        bpl loc_d28b
        bmi loc_d22b
        stx $39
        lda ($2f),y
        tax
        jmp $0122

loc_d2a4:
        jsr $0171

loc_d2a7:
        lda ($2f),y
        sta ($2d),y
        inc $2f
        bne loc_d2b1
        inc $30

loc_d2b1:
        inc $2d
.label loc_d2b4 = * + 1
        bne loc_d2b7
        inc $2e

loc_d2b7:
        dex
        bne loc_d2a7
        dec $39
        bpl loc_d2a7
        jmp $0100

dat_d2c1:
        .byte $2c                                   // ,

// --- Region $d305-$d31b ---
.pc = $d305 "loc_d305"

loc_d305:
        lda $ef00,y
        sta $ff00,y
        iny
        bne loc_d305
        dec $01dc
        dec $01df
        lda $01df
        cmp #$df
        bne loc_d305
        rts

// --- Region $d4d0-$d4dd ---
.pc = $d4d0 "IO $d4d0"
        .byte $7c,$c6,$c6                           // nop $c6c6,x // ILLEGAL
        .byte $3c,$30,$00                           // nop $0030,x // ILLEGAL
        bmi loc_d4da
        brk

dat_d4d9:
        .byte $ff                                   // .

loc_d4da:
        .byte $ff,$00,$22                           // isc $2200,x // ILLEGAL
        brk

// --- Region $dc08-$dc6e ---
.pc = $dc08 "loc_dc08"

loc_dc08:
        ldx #$27

loc_dc0a:
        lda $1000,x
        ora ($00,x)
.label loc_dc10 = * + 1
        .byte $fc,$ca,$10                           // nop $10ca,x // ILLEGAL
        .byte $f7,$ad                               // isc $ad,x // ILLEGAL
        ora dat_1815,y
        adc #$28
        sta $1519
        lda $151c
        adc #$80
        sta $151c
        bcc loc_dc29
        inc $151d

loc_dc29:
        dey
        bpl loc_dc08
        lda #$35
        sta $01
        ldy #$00

loc_dc32:
        ldx #$00

loc_dc34:
        lda $fbe8,x
        sta $0400,x
        inx
        cpx #$28
        bne loc_dc34
        lda $1546
        clc
        adc #$28
        sta $1546
        bcc loc_dc4e
        inc $1547
        clc

loc_dc4e:
        lda $1543
        adc #$80
        sta $1543
        bcc loc_dc5b
        inc $1544

loc_dc5b:
        iny
        cpy #$07
        bne loc_dc32
        lda #$37
        sta $01
        lda #$e7
        sta $07fe
        lda #$fb
        sta $07ff
        rts

// --- Region $dc7f-$de70 ---
.pc = $dc7f "loc_dc7f"

loc_dc7f:
        sbc ($60),y
        lda $2b23
        bne loc_dca4
        lda #$00
        sta $15ce
        sta $1618
        sta $14ca
        sta $13ff
        sta $1583
        lda #$18
        sta $1589
        lda #$45
        sta $1259
        jmp loc_15cd

loc_dca4:
        lda #$50
        sta $15ce
        sta $1618
        sta $14ca
        sta $13ff
        sta $1583
        lda #$68
        sta $1589
        lda #$22
        sta $1259
        lda #$00
        sta $ae
        lda #$04
        sta $af
        lda #$77
        sta $fa
        lda #$13
        sta $fb
        ldy #$00
        ldx #$06

loc_dcd3:
        txa
        pha
        ldx $ae
        inx
        txa
        iny
        sta ($fa),y
        lda $af
        iny
        sta ($fa),y
        iny
        iny
        lda $ae
        sta ($fa),y
        iny
        lda $af
        sta ($fa),y
        lda $ae
        clc
        adc #$28
        sta $ae
        bcc loc_dcf7
        inc $af

loc_dcf7:
        lda $fa
        clc
        adc #$06
        sta $fa
        bcc loc_dd02
        inc $fb

loc_dd02:
        ldy #$00
        pla
        tax
        dex
        bpl loc_dcd3
        lda #$00
        sta $ae
        lda #$04
        sta $af
        lda #$b3
        sta $fa
        lda #$13
        sta $fb
        ldy #$00
        ldx #$06

loc_dd1d:
        txa
        pha
        lda $ae
        iny
        sta ($fa),y
        lda $af
        iny
        sta ($fa),y
        iny
        iny
        ldx $ae
        inx
        txa
        sta ($fa),y
        iny
        lda $af
        sta ($fa),y
        lda $ae
        clc
        adc #$28
        sta $ae
        bcc loc_dd41
        inc $af

loc_dd41:
        lda $fa
        clc
        adc #$06
        sta $fa
        bcc loc_dd4c
        inc $fb

loc_dd4c:
        ldy #$00
        pla
        tax
        dex
        bpl loc_dd1d
        rts

loc_dd54:
        lda $2b28
        cmp #$02
        bne loc_dd63
        lda #$98
        sta $131f
        jmp loc_1676

loc_dd63:
        lda #$ea
        sta $131f
        lda $2b0c
        sta $11ed
        sta $1207
        lda $2b0d
        sta $11f3
        sta $120a
        ldx #$00
        lda $2b0e

loc_dd7f:
        sta dat_d800,x
        sta $d868,x
        inx
        bne loc_dd7f
        txa

loc_dd89:
        sta $0100,x
        inx
        cpx #$e0
        bne loc_dd89
        lda $2b25
        cmp #$02
        bne loc_dda3
        lda #$d8
        sta $1254
        sta $27cf
        jmp loc_16b9

loc_dda3:
        lda #$c8
        sta $1254
        sta $27cf
        lda $2b27
        beq loc_ddb9
        lda #$20
        sta $114f
        sta $116f
        rts

loc_ddb9:
        lda #$ad
        sta $114f
        sta $116f
        rts

loc_ddc2:
        ldx #$00

loc_ddc4:
        lda #$00
        sta $0400,x
        sta $0500,x
        sta $0600,x
        sta $0700,x
        sta $0708,x
        lda $2b1d
        sta $d900,x
        sta $da00,x
        sta $db00,x
        inx
        bne loc_ddc4
        lda #$87
        sta $fa
        lda #$17
        sta $fb
        ldx $2b1e
        ldy $2b1f
        jsr loc_1715
        lda #$af
        sta $fa
        lda #$17
        sta $fb
        ldx $2b20
        ldy $2b21
        jsr loc_1715
        rts

loc_de07:
        stx $17f0
        sty $17f1
        ldx #$00
        ldy #$00

loc_de11:
        lda ($fa),y
        jsr sub_17d7
        pha
        lda $2b18
        beq loc_de69
        cmp #$02
        bne loc_de2c
        inx
        pla
        clc
        adc #$40
        jsr sub_17d7
        dex
        jmp loc_177f

loc_de2c:
        cmp #$01
        bne loc_de45
        txa
        clc
        adc #$28
        tax
        pla
        clc
        adc #$40
        jsr sub_17d7
        txa
        sec
        sbc #$28
        tax
        pha
        jmp loc_1777

loc_de45:
        inx
        pla
        clc
        adc #$40
        jsr sub_17d7
        clc
        adc #$40
        pha
        txa
        clc
        adc #$27
        tax
        pla
        jsr sub_17d7
        clc
        adc #$40
        inx
        jsr sub_17d7
        txa
        sec
        sbc #$29
        tax
        jmp loc_177f

loc_de69:
        pla
        iny
        inx
        cpx #$28
        bne loc_de11
        rts

// --- Region $debc-$dee2 ---
.pc = $debc "loc_debc"

loc_debc:
        cmp #$20
        bne loc_dec2
        lda #$00

loc_dec2:
        cmp #$60
        bne loc_dec8

loc_dec6:
        lda #$00

loc_dec8:
        cmp #$a0
        bne loc_dece
        lda #$00

loc_dece:
        cmp #$e0
        bne loc_ded4

dat_ded2:
        .byte $a9,$00                               // ..

loc_ded4:
        sta $0770,x
        rts

loc_ded8:
        lda $2b24
        cmp #$01
        beq loc_dee2
        jmp loc_2600

loc_dee2:
        rts

// --- Region $deec-$defb ---
.pc = $deec "loc_deec"

loc_deec:
        lda $2174
        cmp #$02
        beq loc_defa
        cmp #$01
        bne loc_df10
        jmp loc_20e8

loc_defa:
        rts

dat_defb:
        .byte $01                                   // .

// --- Region $df10-$e0e0 ---
.pc = $df10 "loc_df10"

loc_df10:
        inc $2142
        inc $2143
        inc $2144
        lda #$1f
        sta dat_d418
        ldx #$02
        dec $2173
        bpl loc_df2b
        lda $211d
        sta $2173

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

loc_df51:
        jmp loc_1a0a

loc_df54:
        ldy dat_2121,x
        lda ($fb),y
        cmp #$fe
        beq loc_df72
        cmp #$ff
        bne loc_df7a
        lda #$00
        sta $2127,x
        sta dat_2121,x
        sta $2124,x
        sta dat_2172
        jmp loc_186e

loc_df72:
        lda #$02
        sta $2174
        jmp loc_210b

loc_df7a:
        sta $2167
        and #$80
        beq loc_df8f
        lda $2167
        and #$1f
        sta $214f,x
        inc dat_2121,x
        jmp loc_186e

loc_df8f:
        lda $2167
        and #$40
        beq loc_dfa4
        lda $2167
        and #$3f
        sta $2176,x
        inc dat_2121,x
        jmp loc_186e

loc_dfa4:
        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
        lda ($fd),y
        sta $f8
        and #$f0
        cmp #$f0
        bne loc_dfdd
        lda #$01
        sta $2180,x
        inc $2124,x
        iny
        lda ($fd),y
        sta $f8
        jmp loc_1957

loc_dfdd:
        lda #$00
        sta $2180,x
        lda $f8
        and #$f0
        cmp #$e0
        bne loc_e016
        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 $1af8
        inc $2124,x
        iny
        lda ($fd),y
        sta $f8

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

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

loc_e03d:
        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_e0b2
        lda $2133,x
        .byte $e3,$0a                               // isc ($0a,x) // ILLEGAL
        rts

loc_e072:
        sta ($aa,x)
        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
.label loc_e0b2 = * + 2
        sta $216c,x
        inc $2124,x
        ldy $2124,x
        lda ($fd),y
        cmp #$ff
        bne loc_e0d1

loc_e0bf:
        lda #$00
        sta $2124,x
        lda $2176,x
        beq loc_e0ce
        dec $2176,x
        bpl loc_e0d1

loc_e0ce:
        inc dat_2121,x

loc_e0d1:
        jmp loc_1d52

dat_e0d4:
        .byte $fe                                   // .

txt_e0d5:
        .text "$!"
        .byte $c8                                   // 'H' | $80 (end-of-string marker)
        .byte $b1                                   // .

loc_e0d9:
        sbc $ffc9,x
        beq loc_e0bf
        sta $f8
        rts

// --- Region $e0f7-$e123 ---
.pc = $e0f7 "loc_e0f7"

loc_e0f7:
        and #$a8
        lda $218d,y
        sta $2153
        lda $218e,y
        sta $2154
        lda $218f,y
        sta $2155
        and #$04
        bne loc_e11b
        lda $2155
        and #$10
        bne loc_e11b
        lda $2153
        bne loc_e11e

loc_e11b:
        jmp loc_2030

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

// --- Region $e16c-$e34f ---
.pc = $e16c "loc_e16c"

loc_e16c:
        bmi loc_e175
        lsr
        ror $217f
        jmp loc_1a80

loc_e175:
        sta $217e
        lda dat_1d64,y
        sta $217c
        lda $1dc4,y
        sta $217d
        lda $2158,x
        lsr
        tay
        dey
        bmi loc_e1a2
        sec
        lda $217c
        sbc $217f
        sta $217c
        lda $217d
        sbc $217e
        sta $217d
        jmp loc_1aa0

loc_e1a2:
        lda $2142,x
        cmp #$04
        bcc loc_e1d4
        ldy $215e,x
        dey
        bmi loc_e1c5
        clc
        lda $217c
        adc $217f
        sta $217c
        lda $217d
        adc $217e
        sta $217d
        jmp loc_1ac3

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

loc_e1d4:
        ldx $ff
        ldy $2156
        lda $212a,x
        sec
        sbc $2127,x
        cmp #$00
        bcc loc_e22a
        lda $213f,x
        beq loc_e22a
        and #$03
        cmp #$01
        beq loc_e20e
        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_e20e:
        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_e22a:
        lda $2154
        beq loc_e29b
        and #$07
        tay
        dey
        tya
        asl
        asl
        tay
        lda $1e95,y
        cmp $2142,x
        bcc loc_e242
        jmp loc_1b63

loc_e242:
        iny
        iny
        lda $1e95,y
        cmp $2142,x
        bcc loc_e256
        iny
        lda $1e95,y
        sta $214e
        jmp loc_1b75

loc_e256:
        lda $2154
        and #$fc
        sta $214e
        lda $216f,x
        bne loc_e280
        lda $2145,x
        sec
        sbc $214e
        sta $2145,x
        lda $2148,x
        sbc #$00
        sta $2148,x
        cmp #$01
        bcs loc_e29b
        lda #$01
        sta $216f,x
        bne loc_e29b

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

loc_e29b:
        lda #$00
        sta $1bd4
        lda $214b,x
        and #$80
        beq loc_e2b3
        lda $2142,x
        and #$01
        beq loc_e2b3
        lda #$b0
        sta $1bd4

loc_e2b3:
        ldx $ff
        ldy $2156
        lda $2145,x
        clc
        adc #$00
        sta $d402,y
        lda $2148,x
        adc #$00
        sta $d403,y
        lda $2155
        and #$40
        beq loc_e2e4
        ldx $ff
        lda $2142,x
        cmp #$03
        bcc loc_e2e4
        and #$03
        tax
        lda $1e32,x
        ldx $ff
        sta $2179,x

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

loc_e308:
        cmp ($f9),y
        bcs loc_e344
        dey
        cpy #$06
        bne loc_e308
        cmp ($f9),y
        bcs loc_e31b
        jmp loc_1c7b

loc_e318:
        jmp loc_1c6a

loc_e31b:
        lda $ff
        asl
        bne loc_e323
        clc
        adc #$01

loc_e323:
        sta $2168
        ldx dat_2172
        txa
        and $2168
        bne loc_e337
        txa
        clc
        adc $2168
        sta $d417

loc_e337:
        ldy #$06

loc_e339:
        inc $88
        and $b1
        sbc $734c,y
        .byte $1c,$e6,$88                           // nop $88e6,x // ILLEGAL
.label loc_e344 = * + 1
        adc ($63,x)
        lda $2169,x
        clc
        adc ($f9),y
        jmp loc_1c73

dat_e34e:
        .byte $a5,$ff                               // ..

// --- Region $e3b2-$e447 ---
.pc = $e3b2 "loc_e3b2"

loc_e3b2:
        ora $56ac,x
        and ($ad,x)
        pla
        and ($18,x)
        adc #$0d
        sta $d401,y
        lda #$00
        sta $d400,y
        jmp loc_1d52

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

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

loc_e402:
        lda $2155
        and #$04
        beq loc_e436
        dec $2161,x
        bpl loc_e413
        lda #$02
        sta $2161,x

loc_e413:
        ldx $ff
        lda $2161,x
        tax
        lda $1e86,x
        sta $41
        ldx $ff
        lda $2130,x
        clc
        adc $41
        tax
        ldy $2156
        lda dat_1d64,x
        sta $d400,y
        lda $1dc4,x
        sta $d401,y

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

loc_e447:
        rts

// --- Region $e5df-$e60e ---
.pc = $e5df "loc_e5df"

loc_e5df:
        and $78,x
        lda #$7f
        sta $dc0d
        lda #$01
        sta $d01a
        lda #$fa
        sta $d012
        lda #$1b
        sta $d011
        lda #$24
        sta $0314
        lda #$20
        sta $0315
        jsr sub_1800
        cli
        rts

loc_e604:
        lda #$01
        sta dat_d019
        jsr loc_1806
        jmp loc_ea31

// --- Region $e61c-$e626 ---
.pc = $e61c "loc_e61c"

loc_e61c:
        and #$0f
        sta $1e88
        stx $1e87
        jmp loc_1aeb

// --- Region $e656-$e693 ---
.pc = $e656 "loc_e656"

loc_e656:
        lda #$00
        ldx #$62

loc_e65a:
        sta dat_2121,x
        dex
        bpl loc_e65a
        lda #$b0
        sta dat_2172
        lda #$00
        sta $2142
        sta $2143
        sta $2144
        ldx #$02

loc_e672:
        sta dat_2121,x
        sta $2124,x
        sta $2127,x
        sta $2130,x
        dex
        bpl loc_e672
        sta $2174
        rts

loc_e685:
        jsr sub_20d9
        ldx #$00
        txa

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

// --- Region $e901-$e91b ---
.pc = $e901 "loc_e901"

loc_e901:
        ldx $2660,y

loc_e904:
        inc $7a
        bne loc_e90a
        inc $7b

loc_e90a:
        lda $ea60
        cmp #$3a
        bcs loc_e91b
        cmp #$20
        beq loc_e904
        sec
        sbc #$30
        sec
        sbc #$d0

loc_e91b:
        rts

// --- Region $e94a-$e964 ---
.pc = $e94a "loc_e94a"

loc_e94a:
        ldx $2660,y

loc_e94d:
        inc $7a
        bne loc_e953
        inc $7b

loc_e953:
        lda $ea60
        cmp #$3a
        bcs loc_e964
        cmp #$20
        beq loc_e94d
        sec
        sbc #$30
        sec
        sbc #$d0

loc_e964:
        rts

// --- Region $e993-$e9ad ---
.pc = $e993 "loc_e993"

loc_e993:
        ldx $2660,y

loc_e996:
        inc $7a
        bne loc_e99c
        inc $7b

loc_e99c:
        lda $ea60
        cmp #$3a
        bcs loc_e9ad
        cmp #$20
        beq loc_e996
        sec
        sbc #$30
        sec
        sbc #$d0

loc_e9ad:
        rts

// --- Region $e9dc-$e9f6 ---
.pc = $e9dc "loc_e9dc"

loc_e9dc:
        ldx $1f60,y

loc_e9df:
        inc $7a
        bne loc_e9e5
        inc $7b

loc_e9e5:
        lda $ea60
        cmp #$3a
        bcs loc_e9f6
        cmp #$20
        beq loc_e9df
        sec
        sbc #$30
        sec
        sbc #$d0

loc_e9f6:
        rts

// --- Region $ea00-$ea33 ---
.pc = $ea00 "loc_ea00"

loc_ea00:
        pha
        cmp #$00
        bne loc_ea68
        ldx #$00
        ldy #$00

loc_ea09:
        txa
        pha
        tya
        clc
        adc #$08
        sta $261a

loc_ea12:
        lda $2648,x
        sta $0124,y
        iny
        inx
        cpy #$58
        bne loc_ea12
        pla
        tax
        inx
        cpx #$0b
        bne loc_ea09
        dec dat_2647
        beq loc_ea2b
        rts

loc_ea2b:
        lda #$03
        sta dat_2647
.label loc_ea31 = * + 1
        jmp loc_2632

dat_ea33:
        .byte $ac                                   // .

// --- Region $ea65-$eaf6 ---
.pc = $ea65 "loc_ea65"

loc_ea65:
        lda $2733,x

loc_ea68:
        sta $0124,x
        inx
        cpx #$51
        bne loc_ea65
        lda $2b24
        cmp #$02
        beq loc_ea7a
        jmp loc_267f

loc_ea7a:
        rts

loc_ea7b:
        ldx #$00

loc_ea7d:
        ldy $2723,x
        lda $3000,y
        tay
        txa
        pha
        lda $272b,x
        bne loc_ea9d
        ldx #$00

loc_ea8d:
        lda $2713,x
        sta $0124,y
        iny
        inx
        cpx $2b12
        bne loc_ea8d
        jmp loc_26b5

loc_ea9d:
        ldx #$00

loc_ea9f:
        lda $0124,y
        bne loc_eaaa
        lda $2713,x
        sta $0124,y

loc_eaaa:
        iny
        inx
        cpx $2b12
        bne loc_ea9f
        pla
        tax
        pha
        ldy $2b14
        lda $2723,x
        tax

loc_eabb:
        inx
        bne loc_eac3
        lda #$01
        sta dat_2712

loc_eac3:
        cpx #$80
        bne loc_eacc
        lda #$01
        sta dat_2712

loc_eacc:
        dey
        bne loc_eabb
        txa
        tay
        pla
        tax
        tya
        sta $2723,x
        lda $2b24
        cmp #$03
        beq loc_eaf0
        lda dat_2712
        beq loc_eaf0
        lda $272b,x
        eor #$01
        sta $272b,x
        lda #$00
        sta dat_2712

loc_eaf0:
        inx
        cpx $2b11
        bne loc_ea7d
        rts

// --- Region $eb92-$ebee ---
.pc = $eb92 "loc_eb92"

loc_eb92:
        ora #$ac
        ldx $28,y
        lda $2b1a
        sta $d022
        lda $2b1b
        sta $d023
        ldx #$09

loc_eba4:
        dex
        bne loc_eba4
        sty $d016

loc_ebaa:
        lda $2784,x
        ldy $d012

loc_ebb0:
        cpy $d012
        beq loc_ebb0
        sta $d0a9
        inx
        cpx #$08
        bne loc_ebaa
        lda #$c8
        ldx #$07

loc_ebc1:
        dex
        bne loc_ebc1
        sta $d016
        stx $d020
        stx $d021
        ldy $28b5
        beq loc_ec24

loc_ebd2:
        dec $28b6
        lda $28b6
        cmp #$bf
        bne loc_ebe8
        ldx #$c7
        stx $28b6
        tya
        pha
        jsr sub_2847

loc_ebe6:
        pla
        tay

loc_ebe8:
        dey
        bne loc_ebd2
        jmp loc_2b84

dat_ebee:
        .byte $d0                                   // .

// --- Region $ec1f-$ec6a ---
.pc = $ec1f "loc_ec1f"

loc_ec1f:
        dec $28b7
        bne loc_ebe6

loc_ec24:
        lda #$3c
        sta $28b7
        lda #$02
        sta $28b5
        jmp loc_27fc

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

loc_ec33:
        lda $05e1,x
        sta $05e0,x
        clc
        adc #$80
.label loc_ec3d = * + 1
        lda $0608,x
        inx
        cpx #$26
        bne loc_ec33
        lda $28b8
        bne loc_ec86
        lda #$00
        sta $28b8
        ldy #$00

loc_ec50:
        lda ($20),y
        bne loc_ec74
        lda $2b29
        sta $20
        lda $2b2a
        sta $21
        bne loc_ec50
        lda #$1b
        lda $d011
        lda #$c8
        sta $d016
        rts

// --- Region $ec74-$ee03 ---
.pc = $ec74 "loc_ec74"

loc_ec74:
        clc
        adc #$80
        lda $0608,x
        inc $20
        bne loc_ec80
        inc $21

loc_ec80:
        rts

dat_ec81:
        .byte $a9,$00,$8d,$b8,$28                   // ....(

loc_ec86:
        ldx #$25
        lda $05e0,x
        clc
        adc #$40
        inx
        sta $05e0,x
        clc
        adc #$80
        sta $0608,x
        rts

dat_ec99:
        .byte $00,$02,$c5,$3c,$00                   // ...<.

loc_ec9e:
        lda #$00
        sta $28b8
        lda $2b23
        beq loc_ecb0
        lda $2b15
        sta $11a8
        bne loc_ecb9

loc_ecb0:
        lda $2b15
        clc
        adc #$23
        sta $11a8

loc_ecb9:
        lda $2b25
        bne loc_ecc9
        lda #$e3
        sta $11a3
        lda #$28
        sta $11a5
        rts

loc_ecc9:
        lda #$a4
        sta $11a3
        lda #$27
        sta $11a5
        lda $2b25
        cmp #$01
        bne loc_ecea
        lda #$c7
        sta $29e4
        sta $27ee
        lda #$bf
        sta $27ea
        jmp loc_2912

loc_ecea:
        lda #$d7
        sta $29e4
        sta $27ee
        lda #$cf
        sta $27ea
        lda $2b16
        tax
        inx
        stx $284a
        sta $284d
        sta $288d
        sta $28a4
        sta $28ab
        lda $2b17
        sta $284b
        sta $284e
        sta $288e
        sta $28a5
        sta $28ac
        lda $2b16
        ldy $2b17
        clc
        adc #$28
        bcc loc_ed29
        iny

loc_ed29:
        sta $2853
        sty $2854
        sta $2893
        sty $2894
        sta $28b1
        sty $28b2
        lda $2b18
        bne loc_ed59
        lda #$bd
        sta $2852
        sta $2892
        lda #$00
        sta $2860
        lda #$08
        sta $27cb
        lda #$28
        sta $2a15
        bne loc_edc8

loc_ed59:
        cmp #$01
        bne loc_ed7e
        lda #$9d
        sta $2852
        sta $2892
        lda #$00
        sta $2860
        lda #$0e
        sta $27cb
        lda #$40
        sta $2851
        sta $2891
        lda #$50
        sta $2a15
        bne loc_edc8

loc_ed7e:
        cmp #$02
        bne loc_eda3
        lda #$bd
        sta $2852
        sta $2892
        sta $28b0
        lda #$01
        sta $2860
        lda #$08
        sta $27cb
        lda #$40
        sta $28af
        lda #$28
        sta $2a15
        bne loc_edc8

loc_eda3:
        lda #$9d
        sta $2852
        sta $2892
        sta $28b0
        lda #$01
        sta $2860
        lda #$0e
        sta $27cb
        lda #$80
        sta $2891
        sta $2851
        sta $28af
        lda #$50
        sta $2a15

loc_edc8:
        lda #$c7
        sta $28b6
        lda #$3c
        sta $28b7
        lda #$02
        sta $28b5
        lda $2b29
        sta $20
        lda $2b2a
        sta $21
        lda $2b16
        sta $2a11
        lda $2b17
        clc
        adc #$d4
        sta $2a12
        ldx #$00
        lda $2b19

loc_edf5:
        sta dat_d9e0,x
        inx
        cpx #$28
        bne loc_edf5
        lda $2b1c
        sta $27c7
        rts

// --- Region $ee1e-$eeef ---
.pc = $ee1e "loc_ee1e"

loc_ee1e:
        ldx #$00

loc_ee20:
        sta $02c0,x
        adc #$20
        inc $2a3f
        inx
        cpx #$0e
        bne loc_ee20
        lda $2b26
        bne loc_ee38
        lda #$20
        sta $1172
        rts

loc_ee38:
        lda #$ad
        sta $1172
        rts

dat_ee3e:
        .byte $60                                   // `

loc_ee3f:
        lda $d011
        bpl loc_ee3f
        ldx #$0e

loc_ee46:
        lda #$e0
        sta $24
        lda #$05
        sta $25
        ldy $02c0,x

loc_ee51:
        lda ($24),y
        cmp #$21
        beq loc_ee5f
        cmp #$22
        beq loc_ee5f
        cmp #$23
        bne loc_ee63

loc_ee5f:
        lda #$00
        sta ($24),y

loc_ee63:
        inc $25
        lda $25
        cmp #$07
        bne loc_ee51
        dex
        bpl loc_ee46
        ldy #$01
        lda dat_2b0b
        eor #$01
        sta dat_2b0b
        bne loc_ee8b
        clc
        rol $090a
        bcc loc_ee8b
        sty $090a
        ldx #$04

loc_ee85:
        dec $02c0,x
        dex
        bpl loc_ee85

loc_ee8b:
        clc
        rol $0912
        bcc loc_ee9c
        sty $0912
        ldx #$04

loc_ee96:
        dec $02c5,x
        dex
        bpl loc_ee96

loc_ee9c:
        clc
        rol $091a
        rol $091a
        bcc loc_eeb0
        sty $091a
        ldx #$04

loc_eeaa:
        dec $02ca,x
        dex
        bpl loc_eeaa

loc_eeb0:
        ldx #$04
        lda #$e0
        sta $24

loc_eeb6:
        lda #$23
        sta $2ae9
        lda #$ca
        sta $2ae0

loc_eec0:
        lda #$05
        sta $25
        ldy $02bb,x

loc_eec7:
        lda ($24),y
        cmp #$00
        bne loc_eed1
        lda #$20
        sta ($24),y

loc_eed1:
        inc $25
        lda $25
        cmp #$07
        bne loc_eec7
        lda $2ae0
        sec
        sbc #$05
        sta $2ae0
        dec $2ae9
        lda $2ae9
        cmp #$20
        bne loc_eec0
        dex
        bpl loc_eeb6
        rts

// --- Region $ef0f-$ef66 ---
.pc = $ef0f "loc_ef0f"

loc_ef0f:
        lda #$ef
        cmp $dc01
        beq loc_ef17
        rts

loc_ef17:
        sei
        jsr $fda3
        jsr $fd15
        jsr $ff5b
        dex
        stx $d020
        stx $d021
        pla
        pla
        lda $02
        nop
        sta $3fff

loc_ef30:
        lda loc_2b5c,x
        sta $0340,x
        inx
        cpx #$29
        bne loc_ef30
        inc $01
        jmp $0340

loc_ef40:
        lda #$01
        sta $fa
        lda #$40
        sta $fb
        lda #$01
        sta $fc
        lda #$08
        sta $fd
        ldy #$00

loc_ef52:
        lda ($fa),y
        sta ($fc),y
        iny
        bne loc_ef52
        inc $fd
        inc $fb
        bne loc_ef52
        dec $01
        cli
        jmp loc_fce2

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

// --- Region $eff0-$eff3 ---
.pc = $eff0 "Segment $eff0"
        sbc $0c
        .byte $22                                   // jam // ILLEGAL

dat_eff3:
        .byte $fc                                   // .

// --- Region $f04c-$f0a6 ---
.pc = $f04c "loc_f04c"

loc_f04c:
        lda ($31),y
        and ($e4),y
        bmi loc_f07c
        sed
        .byte $80,$80                               // nop #$80 // ILLEGAL
        cpx #$78
        clc
        .byte $1c,$0d,$06                           // nop $060d,x // ILLEGAL
        asl $e5
        .byte $0c,$24,$ec                           // nop loc_ec24 // ILLEGAL
        .byte $63,$66                               // rra ($66,x) // ILLEGAL

dat_f062:
        .byte $34,$e5,$30,$22,$f0                   // 4.0".

loc_f067:
        bvs loc_f04c
        bmi loc_f090
        rts

dat_f06c:
        .byte $60,$c7,$1b,$31,$e3,$30               // `..1.0

loc_f072:
        and $38
        .byte $1f,$8d,$8c                           // slo $8c8d,x // ILLEGAL
        sty $d8e5
        .byte $23,$98                               // rla ($98,x) // ILLEGAL

loc_f07c:
        cpy #$c0
        inc $60
        .byte $e3,$03                               // isc ($03,x) // ILLEGAL
        and ($07,x)
        ldy $24
        .byte $0c,$0c,$1c                           // nop $1c0c // ILLEGAL
        sbc ($a4),y
        bit $c3
        .byte $c3,$c1                               // dcp ($c1,x) // ILLEGAL
.label loc_f090 = * + 1
        cpx #$a4
        bit $0c
        .byte $0c,$98,$f1                           // nop $f198 // ILLEGAL
        ldy $24
        bne loc_f072
        cpy $a4ce
        bit $c0
        cpx #$72
        .byte $3c,$a4,$e3                           // nop $e3a4,x // ILLEGAL
        .byte $63,$21                               // rra ($21,x) // ILLEGAL

dat_f0a6:
        .byte $f3                                   // .

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

loc_fce2:
        .byte $14,$08                               // nop $08,x // ILLEGAL
        ora $20
        .byte $13,$03                               // slo ($03),y // ILLEGAL
        .byte $12                                   // jam // ILLEGAL

// --- Region $fd15-$fd25 ---
.pc = $fd15 "Segment $fd15"
        asl $0515
        jsr $0512
        ora ($04,x)
        ora #$0e
        .byte $07,$e3                               // slo $e3 // ILLEGAL
        rol $20f2
        rts

txt_fd25:
        .encoding "screencode_mixed"
        .text "/"
        .encoding "petscii_upper"

// --- Region $fda3-$fda3 ---
.pc = $fda3 "Segment $fda3"
        .byte $12                                   // jam // ILLEGAL

// --- Region $ff5b-$ffa2 ---
.pc = $ff5b "Segment $ff5b"
        jsr sub_1309
        jsr sub_0f07
        .byte $0f,$04,$2e                           // slo $2e04 // ILLEGAL
        jsr sub_0e01
        .byte $04,$20                               // nop $20 // ILLEGAL
        ora #$0e
        jsr loc_1605
        ora $12
        ora $1420,y
        ora #$0d
        ora $2c
        ora ($0e,x)
        .byte $04,$20                               // nop $20 // ILLEGAL
        ora $16
        ora $12
        ora $1020,y
        .byte $0c,$01,$03                           // nop $0301 // ILLEGAL
        ora $2c
        jsr sub_1409
        jsr sub_1309
        jsr sub_0814
        ora $20
        .byte $14,$01                               // nop $01,x // ILLEGAL
        .byte $13,$0b                               // slo ($0b),y // ILLEGAL
        jsr $060f
        jsr sub_0814
        ora $20
        ora $0c
        .byte $04,$05                               // nop $05 // ILLEGAL
        .byte $12                                   // jam // ILLEGAL

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

// --- Region $0800-$0d35 ---
.pc = $0800 "chr_0800"

chr_0800:
        .fill 8, $00
        .byte $38,$7c,$c6,$fe,$c6,$c6,$c6,$00,$fc,$c6,$c6,$fc // 8|..........
// Referenced by: jsr from $ff8d, $ff99

sub_0814:
        .byte $c6,$c6,$fc,$00,$7c,$c6,$c6,$c0,$c6,$c6,$7c,$00,$fc,$c6,$c6,$c6 // ....|.....|.....
        .byte $c6,$c6,$fc,$00,$fe,$c6,$c0,$fc,$c0,$c6,$fe,$00,$fe,$c6,$c0,$fc // ................
        .byte $c0,$c0,$c0,$00,$7c,$c6,$c0,$de,$c6,$c6,$7c,$00,$c6,$c6,$c6,$fe // ....|.....|.....
        .byte $c6,$c6,$c6,$00,$3c,$18,$18,$18,$18,$18,$3c,$00,$1e,$06,$06,$c6 // ....<.....<.....
        .byte $c6,$c6,$7c,$00,$c0,$c6,$cc,$f8,$d8,$cc,$c6,$00,$c0,$c0,$c0,$c0 // ..|.............
        .byte $c0,$c0,$fe,$00,$c6,$ee,$fe,$d6,$d6,$d6,$d6,$00,$c6,$e6,$f6,$de // ................
        .byte $ce,$c6,$c6,$00,$7c,$c6,$c6,$c6,$c6,$c6,$7c,$00,$fc,$c6,$c6,$fc // ....|.....|.....
        .byte $c0,$c0,$c0,$00,$7c,$c6,$c6,$c6,$c6,$cc,$76,$00,$fc,$c6,$c6,$fc // ....|.....v.....
        .byte $d8,$cc,$c6,$00,$7c,$c6,$c0,$7c,$06,$c6,$7c,$00,$fe // ....|..|..|..

txt_08a1:
        .text "888888"
        .byte $00                                   // string terminator
        .byte $c6,$c6,$c6,$c6,$c6,$c6,$7c,$00,$c6,$c6,$c6,$c6,$c6,$6c,$38,$00 // ......|......l8.
        .byte $d6,$d6,$d6,$fe,$fe,$ee,$c6,$00,$c6,$c6,$6c,$38,$6c,$c6,$c6,$00 // ..........l8l...
        .byte $c6,$c6,$6c
        .text "8888"
        .byte $00,$fe,$06,$0c,$18
        .byte $30,$60,$fe,$00

txt_08d8:
        .text "<00000<"
        .byte $00                                   // string terminator
        .byte $3c,$66,$60,$f0,$60,$60,$fe,$00,$3c,$0c,$0c,$0c,$0c,$0c,$3c,$00 // <f`.``..<.....<.
        .byte $10,$38,$7c,$fe,$ba,$38,$38,$00,$18,$30,$70,$fe,$fe,$70,$30,$18 // .8|..88..0p..p0.
        .fill 10, $00
        .byte $01,$00,$00,$00,$00,$00,$00,$00,$01,$00,$00,$00,$00,$00,$00,$00 // ................
        .byte $01,$00,$00,$00,$00,$00,$7c,$d6,$d0,$7c,$16,$d6,$7c,$00,$c6,$cc // ......|..|..|...
        .byte $18,$30,$66,$c6,$00,$00,$78,$cc,$cc,$78,$f6,$de,$7c,$00,$18,$18 // .0f...x..x..|...
        .byte $08,$10,$00,$00,$00,$00,$18,$38,$70,$70,$70,$38,$18,$00,$30,$38 // .......8ppp8..08
        .byte $1c,$1c,$1c,$38,$30,$00,$00,$00,$c6,$6c,$38,$6c,$c6,$00,$00,$18 // ...80....l8l....
        .byte $18,$7e,$18,$18,$00,$00,$00,$00,$00,$00,$18,$18,$08,$10,$00,$00 // .~..............
        .byte $00,$7e,$7e,$00,$00,$00,$00,$00,$00,$00,$18,$3c,$3c,$18,$38,$38 // .~~........<<.88
        .byte $00,$fe,$00,$38,$38,$00,$7c,$c6,$ce,$d6,$e6,$c6,$7c,$00,$30,$70 // ...88.|.....|.0p
        .byte $70,$30,$30,$30,$fc,$00,$7c,$c6,$c6,$1c,$70,$e0,$fe,$00,$7c,$c6 // p000..|...p...|.
        .byte $06,$3c,$06,$c6,$7c,$00,$0c,$1c,$3c,$6c,$fe,$0c,$0c,$00,$fe,$c0 // .<..|...<l......
        .byte $fc,$06,$c6,$c6,$7c,$00,$7c,$c6,$c0,$fc,$c6,$c6,$7c,$00,$fe,$06 // ....|.|.....|...
        .byte $06,$0c,$0c,$18,$18,$00,$7c,$c6,$c6,$7c,$c6,$c6,$7c,$00,$7c,$c6 // ......|..|..|.|.
        .byte $c6,$7e,$06,$c6,$7c,$00,$10,$38,$10,$00,$10,$38,$10,$00,$00,$18 // .~..|..8...8....
        .byte $18,$00,$18,$18,$08,$10,$0c,$18,$30,$60,$30,$18,$0c,$00,$00,$00 // ........0`0.....
        .byte $fe,$00,$fe,$00,$00,$00,$60,$30,$18,$0c,$18,$30,$60,$00,$7c,$c6 // ......`0...0`.|.
        .byte $c6,$3c,$30,$00,$30,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$fc,$c6 // .<0.0...........
        .fill 12, $c6
        .byte $fc,$00,$7c,$c6,$c6,$c6,$c0,$c0,$7c,$06,$06,$06,$06,$c6,$c6,$c6 // ..|.....|.......
        .byte $7c,$00,$fc,$c6,$c6,$c6,$c6,$c6,$fc,$c0,$de,$cc,$cc,$cc,$cc,$cc // |...............
        .byte $de,$00,$c6,$ee,$fe,$fe,$d6,$d6,$d6,$d6,$d6,$d6,$d6,$d6,$d6,$d6 // ................
        .byte $d6,$00,$c6,$c6,$c6,$c6,$c6,$66,$66,$66,$66,$66,$66,$66,$6c,$7c // .......fffffffl|
        .byte $10,$00,$fe,$c0,$c0,$c0,$c0,$c0,$fc,$c0,$c0,$c0,$c0,$c0,$c0,$c0 // ................
        .byte $c0,$00,$f8,$70,$70,$70,$70,$70,$70,$70,$70,$70,$70,$70,$70,$72 // ...ppppppppppppr
        .byte $fe,$00,$fe,$fe,$e0,$e0,$e0,$e0,$e0,$fc,$fc,$e0,$e0,$e0,$e0,$fe // ................
        .byte $fe,$00,$f6,$76,$76,$76,$76,$76,$76,$76,$76,$76,$76,$76,$7e,$3c // ...vvvvvvvvvvv~<
        .byte $18,$00,$7e,$c0,$c0,$fc,$c6,$c6,$7e,$00,$ff,$ff,$00,$40,$ff,$ff // ..~.....~....@..
        .byte $00,$00,$7c,$fe,$ee,$ee,$e0,$e0,$e0,$7c,$7e,$0e,$0e,$ee,$ee,$fe // ..|......|~.....
        .byte $7c,$00,$7c,$fe,$ee,$ee,$e0,$e0,$e0,$e0,$e0,$e0,$e0,$ee,$ee,$fe // |.|.............
        .byte $7c,$00,$8e,$ce,$ee,$fe,$fe,$fe,$ee,$ee,$ee,$ee,$ee,$ee,$ee,$ee // |...............
        .byte $ee,$00
        .text "<<<<"
        .byte $ff,$7e
        .byte $3c,$18,$80,$c0,$c0,$c0,$c0,$c0
        .byte $c0,$80,$3f,$7f,$e0,$c0,$c0,$c0,$c0,$c0,$ff,$ff,$00,$00,$00,$00 // ..?.............
        .byte $00,$00,$fc,$fe,$07,$03,$03,$03,$03,$03,$03,$03,$03,$03,$03,$03 // ................
        .byte $03,$03,$03,$03,$03,$03,$03,$07,$fe,$fc,$00,$00,$00,$00,$00,$00 // ................
        .byte $ff,$ff,$c0,$c0,$c0,$c0,$c0,$e0,$7f,$3f,$00,$00,$ff,$bf,$00,$00 // .........?......
        .byte $ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00 // ................
        .byte $ff,$ff,$00,$00,$ff,$ff,$01,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00 // ................
        .byte $ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00 // ................
        .byte $ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00 // ................
        .byte $ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00 // ................
        .byte $ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00 // ................
        .byte $ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00 // ................
        .byte $ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$bf,$00,$00 // ................
        .byte $ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00 // ................
        .byte $ff,$ff,$00,$00,$ff,$ff,$01,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00 // ................
        .byte $ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00 // ................
        .byte $ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00 // ................
        .byte $ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00 // ................
        .byte $ff,$ff,$00,$00,$ff,$ff,$40,$00,$ff,$ff,$00,$00,$00,$00,$00,$00 // ......@.........
        .byte $00,$01,$14,$14,$1c,$ff,$ff,$ff,$ff,$ff,$00,$00,$00,$00,$00,$00 // ................
        .byte $00,$40,$01,$03,$03,$03,$03,$05,$07,$0f,$ff,$ff,$ff,$ff,$ff,$ff // .@..............
        .byte $ff,$ff,$40,$c0,$c0,$c0,$c0,$d0,$f0,$f0,$0f,$0f,$0f,$0f,$00,$00 // ..@.............
        .byte $00,$04,$ff,$eb,$eb                   // .....

txt_0c3b:
        .text "(((("
        .byte $aa                                   // '*' | $80 (end-of-string marker)
        .byte $f0,$f0,$f0,$f0,$00,$00,$10,$54,$00,$00,$00,$00,$00,$0f,$3f,$3f // .......T......??
        .byte $3c,$ff,$ff,$ff,$ff,$3c,$d7,$d7,$00,$00,$00,$00,$00,$f0,$fc,$fc // <....<..........
        .byte $3f,$0f,$00,$00,$00,$00,$00,$00,$d7,$3c,$ff,$ff,$ff,$ff,$3c,$00 // ?........<....<.
        .byte $fc,$f0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 // ................

txt_0c80:
        .text "<<<?<<<"
        .byte $ff,$3f,$fc,$c0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$03,$00,$00 // .?..............
        .byte $00,$00,$00,$03,$0f,$cc,$f0,$3c,$3c,$00,$00,$c0,$00,$00,$00,$00 // .......<<.......
        .byte $00,$01,$05,$07,$01,$01,$00,$00,$00,$ff,$ff,$ff,$ff,$ff,$7f,$1f // ................
        .byte $7f,$c0,$f0,$f0,$fc,$fc,$ff,$ff,$ff,$00,$00,$01,$01,$1f,$07,$05 // ................
        .byte $01,$7f,$7f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fc,$fc,$fc,$f0,$f0 // ................
        .byte $c0                                   // .

txt_0cd8:
        .text "  "
        .byte $c0                                   // '@' | $80 (end-of-string marker)

txt_0cdb:
        .text "    "
        .byte $00                                   // string terminator
        .byte $ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00 // ................
        .byte $ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00 // ................
        .byte $00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff // ................
        .byte $00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff // ................
        .byte $ff,$ff,$aa,$aa,$aa,$aa,$00,$00,$ff,$ff,$a8,$a8,$a0,$00,$00,$00 // ................
        .byte $ff,$ff,$2a,$2a,$0a                   // ..**.

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

// --- Region $0d6a-$1016 ---
.pc = $0d6a "dat_0d6a"

dat_0d6a:
        .byte $01,$05,$05,$2a,$a5,$aa,$00,$00,$c7,$c7,$c7,$aa,$55,$aa,$00,$00 // ...*........U...
        .byte $00,$c0,$c0,$a0,$68,$a8,$03,$00,$00,$00,$00,$00,$00,$00,$00,$03 // ....h...........
        .fill 8, $00
        .byte $03,$00,$00,$00,$00,$00,$00,$00,$00,$03,$00,$00,$00,$00,$00,$00 // ................
        .byte $00,$00,$03,$00,$00,$00,$00,$00,$00,$00,$00,$03,$00,$00,$00,$00 // ................
        .byte $00,$00,$00,$00,$03,$00,$00,$00,$00,$00,$00,$00,$00,$03,$00,$00 // ................
        .byte $ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$20,$00,$ff,$ff,$00,$00 // .......... .....
        .byte $ff,$ff,$20,$00,$ff,$ff,$00,$00,$ff,$ff,$20,$00,$ff,$ff,$00,$00 // .. ....... .....
        .byte $ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00 // ................
        .byte $ff,$ff,$00,$00,$ff,$ff,$08,$38,$c4,$84,$4c,$70,$00,$00,$00 // .......8..Lp...
// Referenced by: jsr from $ff64

sub_0e01:
        .byte $ff,$18,$18,$7e,$ff,$ff,$ff,$00,$00,$00,$00,$ff,$18,$18,$18,$18 // ...~............
        .byte $18,$18,$18,$7e,$ff,$ff,$ff,$7c,$c6,$c6,$c6,$c6,$c6,$c6,$c6,$c6 // ...~...|........
        .byte $c6,$c6,$c6,$c6,$c6,$7c,$00,$18,$38,$78,$78,$18,$18,$18,$18,$18 // .....|..8xx.....
        .byte $18,$18,$18,$18,$18,$7e,$00,$7c,$c6,$c6,$c6,$06,$0c,$18,$30,$60 // .....~.|......0`
        .byte $c0,$c0,$c0,$c0,$c0,$fe,$00,$7c,$c6,$c6,$c6,$06,$06,$3e,$06,$06 // .......|.....>..
        .byte $06,$06,$c6,$c6,$c6,$7c,$00,$06,$0e,$0e,$1e,$1e,$36,$36,$7f,$7f // .....|......66..
        .byte $06,$06,$06,$06,$06,$06,$00,$fe,$c0,$c0,$c0,$c0,$c0,$fc,$06,$06 // ................
        .byte $06,$06,$c6,$c6,$c6,$7c,$00,$7c,$c6,$c6,$c6,$c0,$c0,$c0,$fc,$c6 // .....|.|........
        .byte $c6,$c6,$c6,$c6,$c6,$7c,$00,$fe,$06,$06,$06,$06,$06,$0c,$0c,$18 // .....|..........
        .byte $18
        .text "00000"
        .byte $00,$7c,$c6,$c6,$c6,$c6,$c6,$7c,$c6,$c6
        .byte $c6,$c6,$c6,$c6,$c6,$7c,$00,$7c,$c6,$c6,$c6,$c6,$c6,$7e,$06,$06 // .....|.|.....~..
        .byte $06,$c6,$c6,$c6,$c6,$7c,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$7f // .....|..........
        .byte $63,$63,$63,$63,$63,$7f,$00,$ff,$ff,$00,$00,$ff,$ff,$20,$00,$ff // ccccc........ ..
        .byte $ff,$00,$00,$ff,$ff,$20,$00,$ff,$ff,$00,$00,$ff,$ff,$20,$00,$ff // ..... ....... ..
        .byte $ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff // ................
        .byte $ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$00 // ................
        .byte $00,$ff,$ff,$00,$00,$ff               // ......
// Referenced by: jsr from $ff5e

sub_0f07:
        .byte $ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff // ................
        .byte $ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff // ................
        .byte $ff,$ff,$00,$00,$00,$00,$00,$00,$00,$ff,$ff,$ff,$ff,$ff,$ff,$ff // ................
        .byte $ff,$fe,$fe,$fe,$fe,$fe,$fe,$fe,$fe,$fc,$fc,$fc,$fc,$fc,$fc,$fc // ................
        .byte $fc,$f8,$f8,$f8,$f8,$f8,$f8,$f8,$f8,$f0,$f0,$f0,$f0,$f0,$f0,$f0 // ................
        .byte $f0,$e0,$e0,$e0,$e0,$e0,$e0,$e0,$e0,$c0,$c0,$c0,$c0,$c0,$c0,$c0 // ................
        .byte $c0,$80,$80,$80,$80,$80,$80,$80,$80,$00,$00,$00,$00,$00,$00,$00 // ................
        .byte $00,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff // ................
        .byte $ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff // ................
        .byte $ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$ff,$00,$00,$ff,$00,$00,$ff // ................
        .byte $ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff // ................
        .byte $ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff // ................
        .byte $ff,$00,$00,$ff,$ff,$20,$00,$ff,$ff,$00,$00,$ff,$ff,$20,$00,$ff // ..... ....... ..
        .byte $ff,$00,$00,$ff,$ff,$20,$00,$ff,$ff,$00,$00,$ff,$ff,$00,$00,$ff // ..... ..........
        .byte $ff,$7e,$63,$63,$63,$63,$63,$7e,$00,$00,$00,$00,$00,$00,$00,$00 // .~ccccc~........
        .byte $00,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$00,$00,$00,$00,$00,$00,$00 // ................
        .byte $00,$00,$00,$00,$00,$00,$00,$74,$75,$76,$00,$00,$00,$77,$78 // .......tuv...wx

dat_1016:
        // === Fill data (1 bytes, $1016-$1016) ===
        .byte $00                                   // .

// --- Region $1036-$103f ---
.pc = $1036 "dat_1036"

dat_1036:
        .byte $79,$7a,$7b,$7c,$7d,$7e,$7f,$80,$81,$82 // yz{|}~....

// --- Region $105e-$1067 ---
.pc = $105e "dat_105e"

dat_105e:
        .byte $83,$84,$85,$86,$87,$88,$85,$89,$8a,$8b // ..........

// --- Region $1082-$10e5 ---
.pc = $1082 "dat_1082"

dat_1082:
        .byte $8c,$8d,$00,$00,$8e,$00,$00,$00,$00,$00,$00,$8f,$90,$91,$92,$8d // ................
        .byte $93,$8c,$94,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 // ................
        .fill 8, $00
        .byte $79,$95,$96,$97,$98,$99,$9a,$9b,$9c,$9a,$9d,$9e,$9f,$a0,$a1,$a2 // y...............
        .byte $a3,$a4,$a5,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 // ................
        .fill 8, $00
        .byte $a6,$a7,$a8,$a9,$aa,$ab,$ac,$ad,$ae,$ac,$af,$b0,$b1,$b2,$b3,$b4 // ................
        .byte $b5,$b6,$b7                           // ...

dat_10e5:
        // === Fill data (1 bytes, $10e5-$10e5) ===
        .byte $00                                   // .

// --- Region $1118-$123a ---
.pc = $1118 "dat_1118"

dat_1118:
        .byte $78,$a9,$01,$8d,$0d,$dc,$8d,$1a,$d0,$a9,$78,$8d,$14,$03,$a9,$11 // x.........x.....
        .byte $8d,$15,$03,$a9,$00,$8d,$20,$d0,$8d,$21,$d0,$ac,$ff,$3f,$84,$02 // ...... ..!...?..
        .byte $8d,$ff                               // ..

txt_113a:
        .text "? "
        .byte $d0                                   // 'P' | $80 (end-of-string marker)
        .byte $16,$20,$62,$16,$20,$8f,$15,$20,$a1,$14,$20,$b9,$28,$20,$1f,$2a // . b. .. .. .( .*
        .byte $a9,$00,$20,$00,$18,$58,$ad,$9b,$12,$f0,$fb,$ce,$9b,$12 // .. ..X........

txt_115b:
        .text " ++"
        .byte $ad                                   // '-' | $80 (end-of-string marker)

txt_115f:
        .byte $22                                   // double quote character
        .text "+"
        .byte $d0                                   // 'P' | $80 (end-of-string marker)
        .byte $06,$20,$c1,$12,$4c,$6c,$11,$20,$02,$13,$20,$f3,$17,$20,$06,$18 // . ..Ll. .. .. ..
        .byte $ad
        .text "Z*LS"
        .byte $11,$ee,$19,$d0
        .byte $20,$aa,$11,$ae,$a1,$11,$bd
        .byte $a2,$11,$8d,$7c,$11,$bd,$a4,$11,$8d,$7d,$11,$bd,$a7,$11,$8d,$12 // ...|.....}......
        .byte $d0,$e8,$bd,$a4,$11,$d0,$02,$a2,$00,$8e,$a1,$11,$4c,$7e,$ea,$01 // ............L~..
        .byte $aa,$a4,$11,$27,$00,$10,$bb,$00,$ad,$66,$14,$8d,$16,$d0,$a9,$1a // ...'.....f......
        .byte $8d,$18,$d0,$ad,$10,$2b,$8d,$23,$d0,$ad,$0f,$2b,$8d,$22,$d0,$a2 // .....+.#...+."..
        .byte $0b,$ca,$d0,$fd,$a0,$06,$a9,$1b,$8d,$11,$d0,$ad,$6d,$12,$8d,$11 // ............m...
        .byte $d0,$ad,$6d,$12,$8d,$11,$d0,$ad,$12,$d0,$29,$07,$09,$18,$8d,$6d // ..m.......)....m
        .byte $12,$0a,$ea,$ea,$ea,$ea,$ea,$bd,$00,$01,$8d,$20,$d0,$bd,$00,$01 // ........... ....
        .byte $8d,$21,$d0,$e8,$e0,$1e,$d0,$d3,$a2,$07,$ca,$d0,$fd,$f0,$02,$a0 // .!..............
        .byte $08,$bd,$1e,$01,$8d,$20,$d0,$8d,$21,$d0,$e8,$88,$f0,$f1,$e0,$60 // ..... ..!......`
        .byte $b0,$16,$20,$1c,$12,$bd,$1e,$01,$90,$ea,$ea,$ea,$ea,$ea,$ea,$ea // .. .............
        .byte $ea,$ea,$ea,$ea,$ea,$ea,$ea,$60,$ae,$6c,$12,$bd,$77,$12,$8d,$f7 // .......`.l..w...
        .byte $11,$8d,$04,$12,$8d,$18,$12,$a2,$0d   // .........

// --- Region $126c-$129b ---
.pc = $126c "dat_126c"

dat_126c:
        // === Sine/lookup table (48 bytes, range $00-$3c) ===
        .byte $00,$1b,$03,$08,$08,$08,$08,$08,$08,$08,$01,$1e,$1e,$1e,$1e,$1f // ................
        .byte $1f,$1f                               // ..

txt_127e:
        .text "  !"
        .byte $22                                   // double quote character
        .text "#$%')+-/1356789::;;;<<<<<"
        .byte $00                                   // string terminator

// --- Region $1466-$149e ---
.pc = $1466 "dat_1466"

dat_1466:
        .byte $d7,$00,$01,$02,$02,$03,$03,$03,$04,$04,$04,$04,$05,$05,$05,$05 // ................
        .byte $05,$06,$06,$06,$06,$06,$06,$07,$07,$07,$07,$07,$07,$07,$07,$07 // ................
        .byte $07,$07,$07,$07,$07,$06,$06,$06,$06,$06,$06,$05,$05,$05,$05,$05 // ................
        .byte $04,$04,$04,$04,$03,$03,$03,$02,$02   // .........

// --- Region $16d0-$1714 ---
.pc = $16d0 "dat_16d0"

dat_16d0:
        .byte $a2,$00,$a9,$00,$9d,$00,$04,$9d,$00,$05,$9d,$00,$06,$9d,$00,$07 // ................
        .byte $9d,$08,$07,$ad,$1d,$2b,$9d,$00,$d9,$9d,$00,$da,$9d,$00,$db,$e8 // .....+..........
        .byte $d0,$e0,$a9,$87,$85,$fa,$a9,$17,$85,$fb,$ae,$1e,$2b,$ac,$1f,$2b // ............+..+
        .byte $20,$15,$17,$a9,$af,$85,$fa,$a9,$17,$85,$fb,$ae //  ...........

txt_170c:
        .text " +"
        .byte $ac                                   // ',' | $80 (end-of-string marker)
        .byte $21,$2b,$20,$15,$17,$60               // !+ ..`

// --- Region $1788-$17d6 ---
.pc = $1788 "Segment $1788"
        .fill 9, $20

txt_1791:
        .encoding "screencode_mixed"
        .text "another rambo product"
        .encoding "petscii_upper"

txt_17a6:
        .text "          "

txt_17b0:
        .encoding "screencode_mixed"
        .text "he intro designer"
        .encoding "petscii_upper"

txt_17c1:
        .text " 3 2345678901234567890"

// --- Region $17f3-$17ff ---
.pc = $17f3 "dat_17f3"

dat_17f3:
        .byte $ad                                   // .

txt_17f4:
        .text "$+"
        .byte $c9                                   // 'I' | $80 (end-of-string marker)
        .byte $01,$f0,$03,$4c,$00,$26,$60,$00,$00   // ...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-$1f16 ---
.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
        .byte $22,$1d
        .byte $22                                   // double quote
        .text "("
        .byte $22                                   // double quote
        .text "9"
        .byte $22                                   // double quote
        .byte $5d
        .byte $22,$c5
        .byte $22,$c9
        .byte $22,$dc
        .byte $22
        .byte $ef
        .byte $22,$02
        .byte $23,$1e
        .text "#;#<#"
        .byte $89
        .byte $23,$9b
        .byte $23,$9c
        .byte $23
        .byte $9d,$23,$9e,$23,$9f,$23,$a0,$23,$a1,$23,$a2,$23,$a3,$23,$a4,$23 // .#.#.#.#.#.#.#.#
        .byte $a5,$23,$a6,$23,$a7,$23,$a8,$23,$a9,$23,$aa,$23,$ab,$23,$ac,$23 // .#.#.#.#.#.#.#.#
        .byte $ad,$23,$ae,$23,$af,$23,$b0,$23,$b1,$23,$b2,$23,$b3,$23,$b4,$23 // .#.#.#.#.#.#.#.#
        .byte $b5                                   // .

txt_1ef8:
        .text "#G$"
        .byte $d9                                   // 'Y' | $80 (end-of-string marker)
        .byte $24,$6b,$25,$00,$00,$05,$06,$00,$00,$00,$00,$00,$00,$00,$00,$01 // $k%.............
        .byte $03,$03,$03,$03,$03,$03,$0c,$09,$05,$ff // ..........

dat_1f16:
        // === Fill data (1 bytes, $1f16-$1f16) ===
        .byte $00                                   // .

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

dat_1f80:
        .byte $03,$03,$00,$00,$0c,$05,$02,$00,$00,$07,$07,$08,$08,$07,$07,$08 // ................
        .byte $08,$07,$07,$08,$08,$0d,$0d,$07,$07,$08,$08,$0d,$07,$06,$ff // ...............

dat_1f9f:
        // === Fill data (1 bytes, $1f9f-$1f9f) ===
        .byte $00                                   // .

// --- Region $204f-$2077 ---
.pc = $204f "dat_204f"

dat_204f:
        .byte $00,$00,$00,$04,$09,$09,$0a,$0a,$09,$09,$09,$09,$0a,$0a,$09,$06 // ................
        .byte $04,$04,$04,$09,$09,$09,$0a,$09,$09,$09,$0a,$09,$09,$0a,$0a,$09 // ................
        .byte $09,$09,$09,$0a,$0a,$09,$03,$ff       // ........

dat_2077:
        // === Fill data (1 bytes, $2077-$2077) ===
        .byte $00                                   // .

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

dat_2117:
        .byte $a9,$02,$8d,$74,$21,$60,$01,$00,$07,$0e // ...t!`....

dat_2121:
        // === Fill data (1 bytes, $2121-$2121) ===
        .byte $00                                   // .

// --- Region $2172-$2409 ---
.pc = $2172 "dat_2172"

dat_2172:
        .byte $b0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 // ................
        .byte $00,$00,$00,$00,$00,$00,$10,$00,$00,$00,$00,$00,$00,$00,$08,$41 // ...............A
        .byte $0f,$f9,$00,$00,$41,$80,$08,$11,$0f,$a9,$00,$00,$00,$10,$08,$41 // ....A..........A
        .byte $07,$e7,$00,$00,$81,$04,$08,$11,$0f,$a7,$00,$01,$00,$10,$08,$41 // ...............A
        .byte $08,$a8,$00,$00,$00,$84,$02,$21,$00,$cd,$00,$25,$72,$40,$02,$21 // .......!...%r@.!
        .byte $00,$ea,$00,$25,$72,$40,$08,$11,$00,$e8,$00,$00,$43,$40,$08,$11 // ...%r@......C@..
        .byte $00,$a8,$00,$11,$00,$10,$01,$41,$00,$be,$00,$26,$43,$00,$01,$41 // .......A...&C..A
        .byte $00,$bf,$00,$00,$43,$00,$08,$11,$08,$f8,$00,$00,$00,$80,$05,$41 // ....C..........A
        .byte $00,$e9,$00,$24,$61,$00,$04,$41,$00,$e8,$00,$85,$63,$04,$04,$41 // ...$a..A....c..A
        .byte $00,$e8,$00,$47,$63,$04,$04,$41,$00,$e8,$00,$59,$63,$04,$ff,$ff // ...Gc..A...Yc...
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$af,$c0,$00,$00,$ff,$af,$cb // .............

txt_221f:
        .text "$$"
        .byte $22                                   // double quote character
        .byte $22                                   // double quote character
        .text "$$"
        .byte $22                                   // double quote character
        .byte $22                                   // double quote character
        .byte $ff,$af,$cb                           // ...

txt_222a:
        .text "+,))+,."
        .byte $85,$32,$8b,$33,$32,$91,$2e,$ff,$82,$ca // .2.32.....

txt_223b:
        .text "$$0$.$+$)$+"
        .byte $88,$2e,$82,$2b,$85,$29,$82           // ...+.).

txt_224d:
        .text "$0$.$+$))+"
        .byte $88,$2e,$82,$2b,$29,$ff,$82,$c4,$00,$00,$00,$c5,$24,$c2,$00,$c5 // ...+).......$...
        .byte $24,$c4,$00,$00,$c5                   // $....

txt_226c:
        .text "$$"
        .byte $c4                                   // 'D' | $80 (end-of-string marker)
        .byte $00,$00,$c2,$00,$c5                   // .....

txt_2274:
        .text "$$$"
        .byte $c4                                   // 'D' | $80 (end-of-string marker)
        .byte $00,$00,$00,$00,$c2,$00,$c5,$24,$c4,$00,$00,$c5 // .......$....

txt_2284:
        .text "$$"
        .byte $c4                                   // 'D' | $80 (end-of-string marker)
        .byte $00,$00,$c2,$00,$c5,$24,$c2,$00,$c5,$24,$c4,$00,$00,$c5,$24,$c4 // .....$...$....$.
        .byte $00,$c2,$00,$c5,$24,$c4,$00,$00,$c5   // ....$....

txt_22a0:
        .text "$$"
        .byte $c4                                   // 'D' | $80 (end-of-string marker)
        .byte $00,$00,$c2,$00,$c5                   // .....

txt_22a8:
        .text "$$$"
        .byte $c4                                   // 'D' | $80 (end-of-string marker)
        .byte $00,$00,$00,$00,$c2,$00,$c5,$24,$c4,$00,$00,$c5 // .......$....

txt_22b8:
        .text "$$"
        .byte $c4                                   // 'D' | $80 (end-of-string marker)
        .byte $00,$00,$c2,$00,$c5,$24,$c2,$00,$00,$ff,$af,$c0,$00,$ff,$82,$c2 // .....$..........

txt_22cb:
        .text "$$$$$$$$$$$$$$$$"
        .byte $ff,$82,$c1,$18,$18,$85,$24,$24,$82,$18,$18,$24,$18,$18,$24,$18 // ......$$...$..$.
        .byte $24,$18,$24,$ff,$82,$c1,$16,$16,$85,$22,$22,$82,$16,$16,$22,$16 // $.$......""...".
        .byte $16,$22,$16,$22,$16,$22,$ff,$82,$c4,$00,$cc,$00,$00,$00,$c2,$00 // ."."."..........
        .byte $cc,$00,$c4,$00,$cc,$00,$00,$00,$c4,$00,$cc,$00,$c2,$00,$cc,$00 // ................
        .byte $00,$00,$ff,$82,$c4,$00,$cc,$0a,$0a,$0a,$c2,$00,$cc,$0a,$c4,$00 // ................
        .byte $cc,$0a,$0a,$0a,$c4,$00,$cc,$0a,$c2,$00,$cc,$0a,$c2,$00,$00,$ff // ................
        .byte $ff,$91,$ca,$34,$8b,$35,$e0,$10,$34,$32,$85,$34,$8b,$34,$34,$85 // ...4.5..42.4.44.
        .byte $32,$34,$35,$8b,$32,$97,$35,$85       // 245.2.5.

txt_2353:
        .text "2:9759"
        .byte $e0,$10,$35,$32,$97,$30,$8b,$c0,$00,$ca,$39,$3a,$e0,$10,$39,$37 // ..52.0....9:..97
        .byte $35,$97
        .byte $37,$8b,$c0,$00,$ca
        .text "0457"
        .byte $97
        .byte $3c,$c0,$00,$ca
        .byte $8b
        .text "9:972"
        .byte $97
        .byte $35,$85,$c0,$00,$00,$00,$00,$00,$ff
        .byte $82,$1d,$1d,$85,$29,$29,$82,$1d,$1d,$29,$1d,$1d,$29,$1d,$29,$1d // ....))...)..).).
        .byte $29,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff // )...............
        .fill 12, $ff
        .byte $2f,$37,$00,$aa,$b1,$91,$b3,$00,$00,$00,$00,$00,$00,$00,$00,$00 // /7..............
        .byte $00,$00,$00,$00,$00,$00,$19,$00,$00,$00,$00,$00,$00,$00,$00,$00 // ................
        .fill 11, $00
        .byte $01,$08,$00,$00,$00,$00,$00,$00,$00,$a0,$00,$00,$00,$a0,$00,$00 // ................
        .byte $00,$58,$00,$00,$d9,$28,$88,$27,$00,$00,$2c,$04,$00,$98,$00,$00 // .X...(.'..,.....
        .fill 8, $00
        .byte $03,$4c                               // .L

// --- Region $2428-$2490 ---
.pc = $2428 "dat_2428"

dat_2428:
        .byte $e6,$7a,$d0,$02,$e6,$7b,$ad,$60,$ea,$c9,$3a,$b0,$0a,$c9,$20,$f0 // .z...{.`..:... .
        .byte $ef,$38,$e9,$30,$38,$e9,$d0,$60,$80,$4f,$c7,$52,$58,$00,$ff,$2f // .8.08..`.O.RX../
        .byte $37,$00,$aa,$b1,$91,$b3,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 // 7...............
        .byte $00,$00,$00,$00,$00,$19,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 // ................
        .fill 10, $00
        .byte $01,$08,$00,$00,$00,$00,$00,$00,$00,$a0,$00,$00,$00,$a0,$00,$00 // ................
        .byte $00,$58,$00,$00,$d9,$29,$88,$27,$00,$00,$2c,$04,$00,$99,$00 // .X...).'..,....

// --- Region $2492-$249b ---
.pc = $2492 "dat_2492"

dat_2492:
        .fill 8, $00
        .byte $03,$4c                               // .L

// --- Region $24ba-$252d ---
.pc = $24ba "dat_24ba"

dat_24ba:
        .byte $e6,$7a,$d0,$02,$e6,$7b,$ad,$60,$ea,$c9,$3a,$b0,$0a,$c9,$20,$f0 // .z...{.`..:... .
        .byte $ef,$38,$e9,$30,$38,$e9,$d0,$60,$80,$4f,$c7,$52,$58,$00,$ff,$2f // .8.08..`.O.RX../
        .byte $37,$00,$aa,$b1,$91,$b3,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 // 7...............
        .byte $00,$00,$00,$00,$00,$19,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 // ................
        .fill 10, $00
        .byte $01,$08,$00,$00,$00,$00,$00,$00,$00,$a0,$00,$00,$00,$a0,$00,$00 // ................
        .byte $00,$58,$00,$00,$d9,$2a,$88,$27,$00,$00,$2c,$04,$00,$9a,$00,$00 // .X...*.'..,.....
        .fill 8, $00
        .byte $03,$4c                               // .L

// --- Region $254c-$25bf ---
.pc = $254c "dat_254c"

dat_254c:
        .byte $e6,$7a,$d0,$02,$e6,$7b,$ad,$60,$ea,$c9,$3a,$b0,$0a,$c9,$20,$f0 // .z...{.`..:... .
        .byte $ef,$38,$e9,$30,$38,$e9,$d0,$60,$80,$4f,$c7,$52,$58,$00,$ff,$2f // .8.08..`.O.RX../
        .byte $37,$00,$aa,$b1,$91,$b3,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 // 7...............
        .byte $00,$00,$00,$00,$00,$19,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 // ................
        .fill 10, $00
        .byte $01,$08,$00,$00,$00,$00,$00,$00,$00,$a0,$00,$00,$00,$a0,$00,$00 // ................
        .byte $00,$58,$00,$00,$d9,$2b,$88,$27,$00,$00,$2c,$04,$00,$9b,$00,$00 // .X...+.'..,.....
        .fill 8, $00
        .byte $03,$4c                               // .L

// --- Region $25f6-$25ff ---
.pc = $25f6 "dat_25f6"

dat_25f6:
        .byte $80,$4f,$c7,$52,$58,$00,$ff,$00,$00,$00 // .O.RX.....

// --- Region $2647-$2666 ---
.pc = $2647 "dat_2647"

dat_2647:
        .byte $01,$00,$00,$00,$00,$06,$fe,$03,$01,$01,$03,$e3,$fe,$f6,$f0,$f0 // ................
        .byte $f0,$00,$00,$02,$fa,$f7,$f1,$f1,$f7,$ea,$e2,$00,$00,$00,$00,$00 // ................

// --- Region $2713-$27a2 ---
.pc = $2713 "Segment $2713"
        .byte $00,$09,$0b,$08,$0c,$0f,$07,$01,$01,$07,$0f,$0c,$08,$0b,$09,$00 // ................
        .byte $00,$16,$2c,$42,$58,$6e,$84,$9a,$00,$00,$00,$00,$00,$00,$00,$00 // ..,BXn..........
        .byte $00,$00,$02,$fa,$00,$02,$fa,$f7,$00,$f2,$ea,$e7,$e1,$e0,$e2,$da // ................
        .byte $d7,$d1,$d7,$da,$e2,$00,$e1,$e7,$ea,$e2,$00,$e7,$ea,$e2,$00,$ea // ................
        .byte $e2,$00,$e2,$00,$00,$15,$13,$0d,$11,$0d,$13,$15,$00,$00,$16,$00 // ................
        .byte $16,$0e,$00,$16,$1e,$23,$00,$16,$1e,$23,$21,$00,$16,$1e,$13,$11 // .....#...#!.....
        .byte $13,$0e,$06,$f0,$01,$03,$fe,$f6,$f0,$f3,$ee,$e6,$f0,$ee,$e6,$f0 // ................
        .byte $00,$01,$13,$1e,$01,$30,$30,$30,$01,$30,$30,$30,$12,$0a,$07,$02 // .....000.000....
        .byte $09,$09,$02,$08,$0a,$07,$0f,$0d,$01,$01,$0d,$0f,$07,$0a,$08,$02 // ................

// --- Region $2800-$2834 ---
.pc = $2800 "Segment $2800"
        .fill 8, $00
        .byte $28,$60,$01,$00,$00,$68,$67,$71,$71,$67,$68,$07,$f6,$ee,$f3,$f1 // (`...hgqqgh.....
        .byte $f1,$e3,$de,$d6,$c5,$c3,$ad,$a1,$a1,$ad,$b3,$b5,$a2,$9a,$97,$91 // ................
        .byte $91,$77,$8a,$72,$6b,$6c,$6f,$71,$71,$6f,$6c,$6b,$69 // .w.rkloqqolki

// --- Region $2881-$2889 ---
.pc = $2881 "dat_2881"

dat_2881:
        .fill 9, $ea

// --- Region $2a1f-$2a38 ---
.pc = $2a1f "dat_2a1f"

dat_2a1f:
        .byte $a2,$00,$a9,$12,$8d                   // .....

txt_2a24:
        .text "?*"
        .byte $a9                                   // ')' | $80 (end-of-string marker)
        .byte $00,$9d,$08,$09,$e8,$e0,$18,$d0,$f8,$ee,$0a,$09,$ee,$12,$09,$ee // ................
        .byte $1a,$09                               // ..

// --- Region $2b0b-$2b2a ---
.pc = $2b0b "dat_2b0b"

dat_2b0b:
        .byte $00,$20,$21,$f0,$06,$0e,$03,$10,$16,$03,$98,$e0,$05,$00,$00,$00 // . !.............
        .byte $00,$a9,$08,$d0,$06,$70,$07,$01,$00,$04,$01,$01,$01,$02,$00,$31 // .....p.........1

// --- Region $2b92-$2d00 ---
.pc = $2b92 "dat_2b92"

dat_2b92:
        .fill 19, $00
        .byte $01,$03,$03,$00,$00,$00,$00,$00,$ff,$ff,$c0,$00,$00,$00,$00,$00 // ................
        .byte $80,$c0,$c0,$00,$00,$00,$00,$00,$03,$07,$07,$00,$00,$00,$00,$00 // ................
        .byte $00,$80,$80,$03,$03,$03,$03,$03,$03,$03,$03,$c0,$c0,$c0,$ff,$ff // ................
        .byte $f0,$f0,$f0,$c0,$c3,$c7,$e6,$f6,$30,$30,$33,$00,$fc,$fe,$06,$06 // ........003.....
        .byte $06,$06,$ff,$00,$1f                   // .....

txt_2bea:
        .text "?<<<<>"
        .byte $00                                   // string terminator
        .byte $ff,$ff
        .text "<<<<>"
        .byte $07,$e7,$f7
        .text "77777"
        .byte $80
        .byte $ff,$ff,$81,$81,$81,$81,$c1,$00,$1f,$bf,$bc,$bc,$bc,$bc,$be,$00 // ................
        .byte $f8,$fc,$0c,$0c,$0c,$0c,$0c,$03,$03,$03,$03,$03,$03,$01,$00,$f0 // ................
        .byte $f0,$f0,$f0,$f0,$f0,$e0,$00           // .......

txt_2c28:
        .text "7777773"
        .byte $00                                   // string terminator
        .byte $ff,$87,$87,$87,$87,$ff,$ff,$00,$bf,$bf,$bf,$bf,$bf,$bf,$1e,$00 // ................

txt_2c40:
        .text "??????"
        .byte $1e,$00,$e1,$e1,$e1,$e1,$e1,$ff,$ff,$00,$bf,$bf,$bf,$bf,$bf,$bf // ................
        .byte $1f,$00,$0c,$0c,$0c,$0c,$0c,$fc,$f8,$00,$00,$00,$00,$00,$00,$00 // ................
        .byte $00,$07,$00,$00,$00,$00,$00,$00,$00,$e0,$00,$00,$00,$00,$00,$00 // ................
        .byte $00,$c0,$00,$00,$00,$00,$00,$00,$00,$30,$00,$00,$00,$00,$00,$00 // .........0......
        .byte $00,$fc,$00,$00,$00,$00,$00,$00,$00,$03,$00,$00,$00,$00,$00,$00 // ................
        .byte $00,$c1,$00,$00,$00,$00,$00,$00,$00,$0f,$00,$00,$00,$00,$00,$00 // ................
        .byte $00,$80,$30,$18,$18,$18,$31,$e0,$38,$0c,$00,$00,$00,$d8,$d9,$e3 // ..0...1.8.......
        .byte $c3,$c3,$01,$00,$00,$f0,$98,$0c,$0c,$0c,$c0,$c0,$c0,$c4,$cc,$d8 // ................
        .byte $d0,$e0,$00,$00,$00,$3c,$66,$c2,$fe,$c0,$00,$00,$00,$66,$ef,$73 // .....<f......f.s
        .byte $63,$63,$00,$00,$00,$00,$00,$01,$01,$01,$00,$00,$00,$78,$cc,$86 // cc...........x..
        .byte $86,$86,$00,$01,$01,$00,$00,$00,$00,$00,$f0,$b1 // ............

txt_2cf2:
        .text "110000"
        .byte $f8,$80,$80,$e0,$78,$18,$1c,$0d,$06   // ....x....

// --- Region $2d16-$2d3c ---
.pc = $2d16 "dat_2d16"

dat_2d16:
        .byte $60,$c7,$1b
        .text "10008"
        .byte $1f,$8d,$8c,$8c,$d8,$d8,$d8,$d8
        .byte $d8,$98,$c0,$c0,$60,$60,$60,$60,$60,$60,$03,$03,$03,$07,$00,$00 // ....``````......
        .byte $00,$00,$0c,$0c,$1c,$f1,$00           // .......

// --- Region $2d46-$2dbc ---
.pc = $2d46 "dat_2d46"

dat_2d46:
        .byte $00,$00,$0c,$0c,$98,$f1,$00,$00,$00,$00,$d0,$d8,$cc,$ce,$00,$00 // ................
        .byte $00,$00,$c0,$e0,$72,$3c,$00,$00,$00,$00,$63,$63,$63,$f3,$00,$00 // ....r<....ccc...
        .byte $00,$00,$01,$01,$00,$80,$00,$00,$00,$00,$86,$86,$cc,$78,$00,$00 // .............x..
        .byte $00,$00,$00,$00,$00,$80,$00,$00,$00,$00,$30,$30,$79,$fd,$00,$00 // ..........00y...
        .byte $00,$00,$0d,$18,$b8,$e0,$00,$00,$00,$00,$ec,$06,$06,$03,$00,$00 // ................
        .byte $00,$00,$31,$63,$67,$c7,$00,$00,$00,$00,$87,$10,$f0,$f0,$00,$00 // ..1cg...........
        .byte $00,$00,$81,$03,$0e,$38,$00,$00,$00,$00,$98,$0c,$0c,$07,$00,$00 // .....8..........
        .byte $00,$00,$60,$c0,$c0,$80               // ..`...

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

// --- Region $300b-$3fed ---
.pc = $300b "dat_300b"

dat_300b:
        .byte $01,$01,$01,$01,$02,$02,$02,$03,$03,$03,$04,$04,$04,$05,$05,$06 // ................
        .byte $06,$07,$07,$08,$08,$09,$09,$0a,$0b,$0b,$0c,$0c,$0d,$0e,$0e,$0f // ................
        .byte $10,$10,$11,$12,$13,$13,$14,$15,$15,$16,$17,$18,$18,$19,$1a,$1b // ................
        .byte $1c,$1c,$1d,$1e,$1f                   // .....

txt_3040:
        .text "  !"
        .byte $22                                   // double quote character
        .text "##$%&''()**+,,-.//01123344566778899::;;;<<<===>>>>?????????????????????>>>>===<<<;;;::99887766544332110//.-,,+**)(''&%$##"
        .byte $22                                   // double quote character
        .text "! "
        .byte $1f,$1f,$1e,$1d,$1c,$1c,$1b           // .......

txt_30c7:
        .encoding "screencode_mixed"
        .text "zyxxwvuutssrqpponnmllkkjiihhggffeedddcccbbbaaaa"
        .text "@"
        .text "@"
        .text "@"
        .text "@"
        .text "@"
        .text "@"
        .text "@"
        .text "@"
        .text "@"
        .text "@"
        .text "well done again, rambo"
        .encoding "petscii_upper"

txt_3116:
        .text "... "

txt_311a:
        .encoding "screencode_mixed"
        .text "this is magic byte's hole-in-one miniature golf"
        .encoding "petscii_upper"

txt_3149:
        .text "       "

txt_3150:
        .encoding "screencode_mixed"
        .text "stupid protection was easy to break for rambo"
        .encoding "petscii_upper"

txt_317d:
        .text "         "

txt_3186:
        .encoding "screencode_mixed"
        .text "greetings go to the dominators, eagle soft"
        .encoding "petscii_upper"

txt_31b0:
        .text ", 1001 "

txt_31b7:
        .encoding "screencode_mixed"
        .text "crew, the federation against copyright, ace, rad, trianon, hotline, bam"
        .encoding "petscii_upper"

txt_31fe:
        .text ", 711 "

txt_3204:
        .encoding "screencode_mixed"
        .text "crew, bitstoppers, beasty boys, tpi, the deadly friends, panic gmbh, newcomers, wcs and scatha the worm"
        .encoding "petscii_upper"

txt_326b:
        .text "...     "

txt_3273:
        .encoding "screencode_mixed"
        .text "the worsest antigreetings this time go to  vincent,gollum,all amiga gamers and all the other stupids"
        .encoding "petscii_upper"

txt_32d7:
        .text "          "

txt_32e1:
        .encoding "screencode_mixed"
        .text "hints about playing hole-in-one miniature golf:  at first, you will be prompted for the number of players. up to 4 players can play at the same time. it also shows the score card which will also be displayed again at the end of the game. you must stay even or under par to continue to course"
        .encoding "petscii_upper"

txt_3404:
        .text " 2.     "

txt_340c:
        .encoding "screencode_mixed"
        .text "once you have selected the number of players press the spacebar and the first hole will appear. important information appears in a titlebar at the top of the screen. it displays the number of the current hole, the par for each hole -par is the number of shots it should take the average player to make the hole- and the number of shots already taken"
        .encoding "petscii_upper"

txt_3569:
        .text ".   "

txt_356d:
        .encoding "screencode_mixed"
        .text "the game is playable with joystick or keyboard. the keys on the keyboard are:"
        .encoding "petscii_upper"
        .byte $1f,$20,$3d,$20,$04,$0f,$17,$0e       // . = ....

txt_35c2:
        .text ", 1 = "
        .byte $15,$10                               // ..

txt_35ca:
        .text ", 2 = "

txt_35d0:
        .encoding "screencode_mixed"
        .text "right, ctrl = left, space bar = fire button. use the joystick to place the cross on the starting pad. press the joystick button once to place the ball. you will then see a rubberband in the form of a line on the screen. the direction the line is pointing is the direction that the ball will go. the lenght of the line or distance between the pointer and the ball determines the power of the shot. in other words, the longer the line, the harder the shot. once you have decided on the direction and power, press the joystick button to putt the ball. this is the easiest interface ever conceived. be careful, because shooting too hard is the biggest mistake new players make. you are allowed to go three shots over par, but any more than that and you cannot complete the hole and you will have to advance to the next hole -or player-. once you have completed the course, the scorecard will appear again. are you over or under par ? par for the first course is"
        .encoding "petscii_upper"

txt_398d:
        .text " 37 "

txt_3991:
        .encoding "screencode_mixed"
        .text "shots. if you are even or under par you can continue to the next level. should you be over par you will be brought back to the player section screen. you must beat the first level to continue to course"
        .encoding "petscii_upper"

txt_3a5a:
        .text " 2. "

txt_3a5e:
        .encoding "screencode_mixed"
        .text "if you play with more than one player every player has to be even or under par to advance to the next level"
        .encoding "petscii_upper"

txt_3ac9:
        .text ".        "

txt_3ad2:
        .encoding "screencode_mixed"
        .text "well, this was the instruction of the game"
        .encoding "petscii_upper"

txt_3afc:
        .text ".            "

txt_3b09:
        .encoding "screencode_mixed"
        .text "special thanks for the additional help of prince denmark, paddy and guinness"
        .encoding "petscii_upper"

txt_3b55:
        .text "...       "

txt_3b5f:
        .encoding "screencode_mixed"
        .text "look out for all the other rambo breaks as"
        .encoding "petscii_upper"

txt_3b89:
        .text "...     "

txt_3b91:
        .encoding "screencode_mixed"
        .text "the great giana sisters +built-in charset,  daley thompson's olympic challenge,  platoon,  batman,  spherical"
        .encoding "petscii_upper"

txt_3bfe:
        .text "...        "

txt_3c09:
        .encoding "screencode_mixed"
        .text "that should be it now"
        .encoding "petscii_upper"

txt_3c1e:
        .text "..."

dat_3c21:
        // === Fill data (42 bytes, $3c21-$3c4a) ===
        .fill 42, $20

txt_3c4b:
        .encoding "screencode_mixed"
        .text "you haven't given up yet"
        .encoding "petscii_upper"

txt_3c63:
        .text " ?"

dat_3c65:
        // === Fill data (42 bytes, $3c65-$3c8e) ===
        .fill 42, $20

txt_3c8f:
        .encoding "screencode_mixed"
        .text "here is the end of the scroll, believe it"
        .encoding "petscii_upper"

dat_3cb8:
        .text "                                          "

txt_3ce2:
        .encoding "screencode_mixed"
        .text "ok, if you want to continue reading"
        .encoding "petscii_upper"

txt_3d05:
        .text "...                  "

txt_3d1a:
        .encoding "screencode_mixed"
        .text "when the earth was young, they were already old"
        .encoding "petscii_upper"

txt_3d49:
        .text "....           "

txt_3d58:
        .encoding "screencode_mixed"
        .text "since the dawn of time, the elder have watched silently over a virgin world and all its creatures"
        .encoding "petscii_upper"

txt_3db9:
        .text "...  "

txt_3dbe:
        .encoding "screencode_mixed"
        .text "now, they have assumed the form of mortals so that they might walk amongst men and guide them.  the elder are an ideal"
        .encoding "petscii_upper"

txt_3e34:
        .text "...  "

txt_3e39:
        .encoding "screencode_mixed"
        .text "they embody the wisdom of the ages and the power of goodness and knowledge"
        .encoding "petscii_upper"

txt_3e83:
        .text "...  "

txt_3e88:
        .encoding "screencode_mixed"
        .text "but the elder were not alone in the beginning and are not alone still"
        .encoding "petscii_upper"

txt_3ecd:
        .text "... "

txt_3ed1:
        .encoding "screencode_mixed"
        .text "another force has existed eternally"
        .encoding "petscii_upper"

txt_3ef4:
        .text "...    "

txt_3efb:
        .encoding "screencode_mixed"
        .text "in every place, in every time, an evil is loosed whose sole purpose is to destroy all that is good. and in every time,and every place, it is the task of the elder to find and train a warrior...a champion to conquer the evil"
        .encoding "petscii_upper"

txt_3fda:
        .text ".   "

txt_3fde:
        .encoding "screencode_mixed"
        .text "it can only be r"
        .encoding "petscii_upper"

// --- Region $3ff2-$3fff ---
.pc = $3ff2 "txt_3ff2"

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

// --- Region $4400-$4400 ---
.pc = $4400 "scr_4400"

scr_4400:
        .byte $00                                   // .

// --- Region $4800-$4800 ---
.pc = $4800 "chr_4800"

chr_4800:
        .byte $00                                   // .

// --- Region $d019-$d01b ---
.pc = $d019 "dat_d019"

dat_d019:
        .byte $81,$01                               // ..

dat_d01b:
        // === Fill data (1 bytes, $d01b-$d01b) ===
        .byte $00                                   // .

// --- Region $d200-$d22a ---
.pc = $d200 "dat_d200"

dat_d200:
        .byte $ca,$10,$f7,$9a,$a0,$00,$c6,$32,$ce,$2c,$08,$b1,$31,$99,$00,$d2 // .......2.,..1...
        .byte $c8,$d0,$f8,$a5,$32,$c9,$08,$d0,$ed,$b9,$48,$08,$99,$00,$01,$c8 // ....2.....H.....
        .byte $d0,$f7,$4c,$00,$01,$00,$08,$1c,$d3,$1d,$36 // ..L.......6

// --- Region $d246-$d251 ---
.pc = $d246 "IO $d246"
        .byte $43,$ab,$79
        .text "X;?)"
        .byte $e6
        .byte $2f,$d0,$02,$e6

// --- Region $d2c2-$d304 ---
.pc = $d2c2 "IO $d2c2"
        .byte $da,$01,$a9,$37,$85,$01,$58,$20,$18,$11,$4c,$ae,$a7,$e0,$00,$f0 // ...7..X ..L.....
        .byte $ee,$a9,$04,$2c,$a9,$08,$85,$ff,$b1,$2f,$91,$2d,$c8,$c4,$ff,$d0 // ...,...../.-....
        .byte $f7,$18,$a5,$2d,$65,$ff,$85,$2d,$a5,$2e,$69,$00,$85,$2e,$a0,$00 // ...-e..-..i.....
        .byte $ca,$d0,$e5,$18,$a5,$2f,$65,$ff,$85,$2f,$a5,$30,$69,$00,$85,$30 // ...../e../.0i..0
        .byte $4c,$00,$01                           // L..

// --- Region $d31c-$d3ff ---
.pc = $d31c "dat_d31c"

dat_d31c:
        .byte $e8,$4f,$24,$38,$7c,$c6,$fe,$e3,$c6,$32,$00,$fc,$c6,$c6,$fc,$c6 // .O$8|....2......
        .byte $c6,$fc,$00,$7c,$c6,$c6,$c0,$c6,$c6,$7c,$00,$fc,$e5,$c6,$2e,$fc // ...|.....|......
        .byte $00,$fe,$c6,$c0,$fc,$c0,$c6,$fe,$00,$fe,$c6,$c0,$fc,$e3,$c0,$29 // ...............)
        .byte $00,$7c,$c6,$c0,$de,$c6,$c6,$7c,$00,$e3,$c6,$21,$fe,$e3,$c6,$22 // .|.....|...!..."
        .byte $00,$3c,$e5,$18,$25,$3c,$00,$1e,$06,$06,$e3,$c6,$2a,$7c,$00,$c0 // .<..%<......*|..
        .byte $c6,$cc,$f8,$d8,$cc,$c6,$00,$e6,$c0,$25,$fe,$00,$c6,$ee,$fe,$e4 // .........%......
        .byte $d6,$2a,$00,$c6,$e6,$f6,$de,$ce,$c6,$c6,$00,$7c,$e5,$c6,$26,$7c // .*.........|..&|
        .byte $00,$fc,$c6,$c6,$fc,$e3,$c0,$22,$00,$7c,$e4,$c6,$34,$cc,$76,$00 // .......".|..4.v.
        .byte $fc,$c6,$c6,$fc,$d8,$cc,$c6,$00,$7c,$c6,$c0,$7c,$06,$c6,$7c,$00 // ........|..|..|.
        .byte $fe,$e6,$38,$a1,$e6,$c6,$22,$7c,$00,$e5,$c6,$23,$6c,$38,$00,$e3 // ..8..."|...#l8..
        .byte $d6,$30,$fe,$fe,$ee,$c6,$00,$c6,$c6,$6c,$38,$6c,$c6,$c6,$00,$c6 // .0.......l8l....
        .byte $c6,$6c,$e4,$38,$2a,$00,$fe,$06,$0c,$18,$30,$60,$fe,$00,$3c,$e5 // .l.8*.....0`..<.
        .byte $30,$2b,$3c,$00,$3c,$66,$60,$f0,$60,$60,$fe,$00,$3c,$e5,$0c,$32 // 0+<.<f`.``..<..2
        .byte $3c,$00,$10,$38,$7c,$fe,$ba,$38,$38,$00,$18,$30,$70,$fe,$fe,$70 // <..8|..88..0p..p
        .byte $30,$18,$aa,$21                       // 0..!

// --- Region $d418-$d4cf ---
.pc = $d418 "dat_d418"

dat_d418:
        .byte $2c,$78,$cc,$cc,$78,$f6,$de,$7c,$00,$18,$18,$08,$10,$a4,$22,$18 // ,x..x..|......".
        .byte $38,$e3,$70,$25,$38,$18,$00,$30,$38,$e3,$1c // 8.p%8..08..

txt_d433:
        .byte $22                                   // double quote character
        .text "80"
        .byte $a3                                   // '#' | $80 (end-of-string marker)
        .byte $25,$c6,$6c,$38,$6c,$c6,$a2,$25,$18,$18,$7e,$18,$18,$a6,$24,$18 // %.l8l..%..~...$.
        .byte $18,$08,$10,$a3,$22,$7e,$7e,$a7,$37,$18,$3c,$3c,$18,$38,$38,$00 // ...."~~.7.<<.88.
        .byte $fe,$00,$38,$38,$00,$7c,$c6,$ce,$d6,$e6,$c6,$7c,$00,$30,$70,$70 // ..88.|.....|.0pp
        .byte $e3,$30,$60,$41,$fc,$00,$7c,$c6,$c6,$1c,$70,$e0,$fe,$00,$7c,$c6 // .0`A..|...p...|.
        .byte $06,$3c,$06,$c6,$7c,$00,$0c,$1c,$3c,$6c,$fe,$0c,$0c,$00,$fe,$c0 // .<..|...<l......
        .byte $fc,$06,$c6,$c6,$7c,$00,$7c,$c6,$c0,$fc,$c6,$c6,$7c,$00,$fe,$06 // ....|.|.....|...
        .byte $06,$0c,$0c,$18,$18,$00,$7c,$c6,$c6,$7c,$c6,$c6,$7c,$00,$7c,$c6 // ......|..|..|.|.
        .byte $c6,$7e,$06,$c6,$7c,$02,$00,$10,$38,$10,$a2,$2e,$18,$18,$00,$18 // .~..|...8.......
        .byte $18,$08,$10,$0c,$18,$30,$60,$30,$18,$0c,$a3,$23,$fe,$00,$fe,$a3 // .....0`0...#....
        .byte $2f,$60,$30,$18,$0c,$18,$30,$60,$00   // /`0...0`.

// --- Region $d4de-$d9e0 ---
.pc = $d4de "dat_d4de"

dat_d4de:
        .byte $fc,$ed,$c6,$23,$fc,$00,$7c,$e3,$c6,$23,$c0,$c0,$7c,$e4,$06,$e3 // ...#..|..#..|...
        .byte $c6,$23,$7c,$00,$fc,$e5,$c6,$23,$fc,$c0,$de,$e5,$cc,$26,$de,$00 // .#|....#.....&..
        .byte $c6,$ee,$fe,$fe,$eb,$d6,$a1,$e5,$c6,$e7,$66,$25,$6c,$7c,$10,$00 // ..........f%l|..
        .byte $fe,$e5,$c0,$21,$fc,$e8,$c0,$22,$00,$f8,$ec,$70,$25,$72,$fe,$00 // ...!..."...p%r..
        .byte $fe,$fe,$e5,$e0,$22,$fc,$fc,$e4,$e0,$24,$fe,$fe,$00,$f6,$eb,$76 // ...."....$.....v
        .byte $2c,$7e,$3c,$18,$00,$7e,$c0,$c0,$fc,$c6,$c6,$7e,$00,$c2,$22,$00 // ,~<..~.....~..".
        .byte $40,$c2,$a2,$24,$7c,$fe,$ee,$ee,$e3,$e0,$2d,$7c,$7e,$0e,$0e,$ee // @..$|.....-|~...
        .byte $ee,$fe,$7c,$00,$7c,$fe,$ee,$ee,$e7,$e0,$28,$ee,$ee,$fe,$7c,$00 // ..|.|.....(...|.
        .byte $8e,$ce,$ee,$e3,$fe,$e9,$ee,$a1,$e4,$3c,$25,$ff,$7e,$3c,$18,$80 // .........<%.~<..
        .byte $e6,$c0,$24,$80,$3f,$7f,$e0,$e5,$c0,$c2,$a6,$23,$fc,$fe,$07,$f2 // ..$.?......#....
        .byte $03,$23,$07,$fe,$fc,$a6,$c2,$e5,$c0,$23,$e0,$7f,$3f,$a2,$22,$ff // .#.......#..?.".
        .byte $bf,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c2,$21,$01,$19 // .............!..
        .byte $00,$ff,$ff,$00,$23,$00,$ff,$bf,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c2 // ....#...........
        .byte $a2,$c2,$a2,$c2,$21,$01,$0f,$00,$ff,$ff,$00,$a1,$c2,$22,$40,$00 // ....!........"@.
        .byte $c2,$a7,$24,$01,$14,$14,$1c,$c5,$a7,$22,$40,$01,$e4,$03,$23,$05 // ..$......"@...#.
        .byte $07,$0f,$c8,$21,$40,$e4,$c0,$23,$d0,$f0,$f0,$e4,$0f,$a3,$24,$04 // ...!@..#......$.
        .byte $ff,$eb,$eb,$e4                       // ....

txt_d5e2:
        .text "(!"
        .byte $aa                                   // '*' | $80 (end-of-string marker)
        .byte $e4,$f0,$a2,$22,$10,$54,$a5,$24,$0f   // ...".T.$.

txt_d5ee:
        .text "??<"
        .byte $c4                                   // 'D' | $80 (end-of-string marker)

txt_d5f2:
        .text "#<"
        .byte $d7                                   // 'W' | $80 (end-of-string marker)
        .byte $d7,$a5,$25,$f0,$fc,$fc,$3f,$0f,$a6,$22,$d7,$3c,$c4,$24,$3c,$00 // ..%...?..".<.$<.
        .byte $fc,$f0,$ae,$e3,$3c,$21,$3f,$e3,$3c,$24,$ff,$3f,$fc,$c0,$a9,$21 // ....<!?.<$.?...!
        .byte $03,$a5,$26,$03,$0f,$cc,$f0           // ..&....

txt_d61c:
        .text "<<"
        .byte $a2                                   // '"' | $80 (end-of-string marker)
        .byte $21,$c0,$a5,$25,$01,$05,$07,$01,$01,$a3,$c5,$28,$7f,$1f,$7f,$c0 // !..%.......(....
        .byte $f0,$f0,$fc,$fc,$c3,$a2,$28,$01,$01,$1f,$07,$05,$01,$7f,$7f,$c8 // ......(.........
        .byte $e3,$fc,$26,$f0,$f0,$c0               // ..&...

txt_d645:
        .text "  "
        .byte $c0                                   // '@' | $80 (end-of-string marker)
        .byte $e4,$20,$a1,$c2,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c2 // . ..............
        .byte $a2,$c2,$a4,$c2,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c2 // ................
        .byte $a2,$c4,$e4,$aa,$a2,$c2,$23,$a8,$a8,$a0,$a3,$c2,$23,$2a,$2a,$0a // ......#.....#**.
        .byte $80,$35,$00,$26,$01,$05,$05,$2a,$a5,$aa,$a2,$e3,$c7,$23,$aa,$55 // .5.&...*.....#.U
        .byte $aa,$a3,$26,$c0,$c0,$a0,$68,$a8,$03,$a8,$21,$03,$a8,$21,$03,$a8 // ..&...h...!..!..
        .byte $21,$03,$a8,$21,$03,$a8,$21,$03,$a8,$21,$03,$a8,$21,$03,$a2,$c2 // !..!..!..!..!...
        .byte $a2,$c2,$a2,$c2,$21,$20,$42,$00,$ff,$ff,$00,$00,$ff,$ff,$20,$a1 // ....! B....... .
        .byte $c2,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c2,$26,$08,$38 // .............&.8
        .byte $c4,$84,$4c,$70,$a3,$24,$ff,$18,$18,$7e,$c3,$a4,$c1,$e7,$18,$21 // ..Lp.$...~.....!
        .byte $7e,$c3,$21,$7c,$ed,$c6,$26,$7c,$00,$18,$38,$78,$78,$ea,$18,$23 // ~.!|..&|..8xx..#
        .byte $7e,$00,$7c,$e3,$c6,$25,$06,$0c,$18,$30,$60,$e5,$c0,$23,$fe,$00 // ~.|..%...0`..#..
        .byte $7c,$e3,$c6,$23,$06,$06,$3e,$e4,$06,$e3,$c6,$2b,$7c,$00,$06,$0e // |..#..>....+|...
        .byte $0e,$1e,$1e,$36,$36,$7f,$7f,$e6,$06,$22,$00,$fe,$e5,$c0,$21,$fc // ...66...."....!.
        .byte $e4,$06,$e3,$c6,$23,$7c,$00,$7c,$e3,$c6,$e3,$c0,$21,$fc,$e6,$c6 // ....#|.|....!...
        .byte $23,$7c,$00,$fe,$e5,$06,$24,$0c,$0c,$18,$18,$e5,$30,$22,$00,$7c // #|....$.....0".|
        .byte $e5,$c6,$21,$7c,$e7,$c6,$23,$7c,$00,$7c,$e5,$c6,$21,$7e,$e3,$06 // ..!|..#|.|..!~..
        .byte $e4,$c6,$21,$7c,$02,$00,$ff,$ff,$00,$22,$00,$7f,$e5,$63,$21,$7f // ..!|....."...c!.
        .byte $43,$00,$ff,$ff,$00,$00,$ff,$ff,$20,$a1,$c2,$a2,$c2,$a2,$c2,$a2 // C....... .......
        .byte $c2,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c2,$a4,$c2,$a2,$c2,$a2,$c2,$a2 // ................
        .byte $c2,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c3,$a7,$c8,$e8 // ................
        .byte $fe,$e8,$fc,$e8,$f8,$e8,$f0,$e8,$e0,$e8,$c0,$e8,$80,$aa,$c2,$a2 // ................
        .byte $c2,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c2,$a2 // ................
        .byte $c3,$a2,$c1,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c2,$a2,$c2,$a2 // ................
        .byte $c2,$a2,$c2,$a2,$c2,$a2,$c2,$21,$20,$42,$00,$ff,$ff,$00,$00,$ff // .......! B......
        .byte $ff,$20,$a1,$c2,$a2,$c2,$a2,$c2,$21,$7e,$e5,$63,$21,$7e,$a9,$c8 // . ......!~.c!~..
        .byte $ae,$23,$74,$75,$76,$a3,$22,$77,$78,$80,$20,$00,$2a,$79,$7a,$7b // .#tuv."wx. .*yz{
        .byte $7c,$7d,$7e,$7f,$80,$81,$82,$be,$2a,$83,$84,$85,$86,$87,$88,$85 // |}~.....*.......
        .byte $89,$8a,$8b,$ba,$22,$8c,$8d,$a2       // ...."...

dat_d800:
        // === Fill data (360 bytes, $d800-$d967) ===
        .fill 360, $f0

dat_d968:
        // === Fill data (120 bytes, $d968-$d9df) ===
        .fill 120, $08

dat_d9e0:
        // === Fill data (1 bytes, $d9e0-$d9e0) ===
        .byte $00                                   // .

// --- Region $da08-$dc07 ---
.pc = $da08 "dat_da08"

dat_da08:
        // === Fill data (504 bytes, $da08-$dbff) ===
        .fill 504, $08
        .byte $00,$fe,$9d,$80,$fe,$e8,$d0,$ee       // ........

// --- Region $dc6f-$dc7e ---
.pc = $dc6f "dat_dc6f"

dat_dc6f:
        .byte $a2,$00,$bd,$00,$10,$9d,$00,$04,$bd,$18,$10,$9d,$18,$04,$e8,$d0 // ................

// --- Region $de71-$debb ---
.pc = $de71 "dat_de71"

dat_de71:
        .byte $c8,$e8,$e8,$e0,$28,$d0,$99,$60,$ea   // ....(..`.

txt_de7a:
        .encoding "screencode_mixed"
        .text " 5another rambo product"
        .encoding "petscii_upper"
        .byte $ea,$20,$60,$4e                       // . `N

txt_de95:
        .encoding "screencode_mixed"
        .text "he intro designer"
        .encoding "petscii_upper"

txt_dea6:
        .text " 3 2345678901234567890"

// --- Region $dee3-$deeb ---
.pc = $dee3 "dat_dee3"

dat_dee3:
        .byte $a2,$61,$89,$4c,$08,$21,$4c,$17,$21   // .a.L.!L.!

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

// --- Region $e0e1-$e0f6 ---
.pc = $e0e1 "dat_e0e1"

dat_e0e1:
        .byte $ac                                   // .

txt_e0e2:
        .text "V!"
        .byte $bd                                   // '=' | $80 (end-of-string marker)
        .byte $42,$21,$f0,$08,$bd,$2d,$21,$29,$fe,$9d,$79,$21,$bd,$33,$21,$e3 // B!...-!)..y!.3!.
        .byte $0a,$60                               // .`

// --- Region $e124-$e16b ---
.pc = $e124 "dat_e124"

dat_e124:
        .byte $14,$9d,$58,$21,$68,$29,$07,$8d       // ..X!h)..

txt_e12c:
        .text "W!"
        .byte $bd                                   // '=' | $80 (end-of-string marker)
        .byte $5b,$21,$f0,$0a,$de,$5e,$21,$d0,$19,$fe,$5b,$21,$10,$14,$fe,$5e // [!...^!...[!...^
        .byte $21,$bd,$58,$21,$dd,$5e,$21,$b0,$09,$9d,$5e,$21,$de,$5b,$21,$de // !.X!.^!...^!.[!.
        .byte $5e,$21,$bd                           // ^!.

txt_e152:
        .text "0!"
        .byte $a8                                   // '(' | $80 (end-of-string marker)
        .byte $b9,$65,$1d,$38,$f9,$64,$1d,$8d,$7f,$21,$b9,$c5,$1d,$f9,$c4,$1d // .e.8.d...!......
        .byte $7d                                   // }

txt_e166:
        .text "B!J"
        .byte $ce                                   // 'N' | $80 (end-of-string marker)
        .byte $57,$21                               // W!

// --- Region $e350-$e3b1 ---
.pc = $e350 "Segment $e350"
        .byte $cd,$75,$21,$d0,$0a,$a9,$ff,$a6,$ff,$9d,$69,$21,$8d,$16,$d4,$ac // .u!.......i!....
        .byte $67,$21,$ad,$55,$21,$29,$10,$f0,$5e,$ad,$53,$21,$29,$0f,$aa,$bd // g!.U!)..^.S!)...
        .byte $3e,$1e,$8d,$af,$1c,$bd,$40,$1e,$8d,$b0,$1c,$bd,$42,$1e,$8d,$b7 // >.....@.....B...
        .byte $1c,$bd,$44,$1e,$8d,$b8,$1c,$a6,$ff,$bd // ..D.......

txt_e38a:
        .text "B!"
        .byte $c9                                   // 'I' | $80 (end-of-string marker)
        .byte $0f,$b0,$34,$aa,$ca,$bd,$56,$1e,$a4,$ff,$99,$79,$21,$bd,$46,$1e // ..4...V....y!.F.
        .byte $8d,$68,$21,$ad,$53,$21,$29,$10,$f0,$0c,$a6,$ff,$bd,$30,$21,$18 // .h!.S!)......0!.
        .byte $6d,$68,$21,$4c,$42                   // mh!LB

// --- Region $e448-$e5de ---
.pc = $e448 "dat_e448"

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

txt_e4d1:
        .text "!#%'*,/258;?CGKOTY"
        .byte $5e,$64,$6a,$70,$77,$7e,$86,$8e,$96,$9f,$a8,$b3,$bd,$c8,$d4,$e1 // ^djpw~..........
        .byte $ee,$fd,$e7,$40,$a7,$e4,$40,$38,$06,$06,$07,$07,$08,$08,$07,$07 // ...@..@8........
        .byte $56,$76,$1e,$1e,$46,$66,$1e,$1e,$13,$01,$ff,$23,$08,$13,$03,$23 // Vv..Ff.....#...#
        .byte $a8,$23,$81,$41,$40,$e5,$80,$e8,$10,$32,$24,$fd,$fb,$f9,$f8,$f7 // .#.A@....2$.....
        .byte $f6,$f6,$f5,$f5,$f4,$f4,$f5,$f6,$f5,$f4,$81,$41,$ee,$40,$60,$79 // ...........A.@`y
        .byte $00,$0c,$18,$c0,$f0,$f8,$f4,$f2,$40,$01,$02,$06,$0c,$10,$30,$04 // ........@.....0.
        .byte $a0,$08,$60,$04,$80,$0c,$10,$03,$80,$10,$40,$00,$80,$50,$1f,$1f // ..`.......@..P..
        .byte $20,$18
        .byte $22,$1d
        .byte $22                                   // double quote
        .text "("
        .byte $22                                   // double quote
        .text "9"
        .byte $22                                   // double quote
        .byte $5d
        .byte $22,$c5
        .byte $22,$c9
        .byte $22,$dc
        .byte $22,$ef
        .byte $22,$02
        .byte $23,$1e
        .text "#;#<#"
        .byte $89
        .byte $23,$9b
        .byte $23,$9c
        .byte $23,$9d,$23,$9e,$23,$9f,$23,$a0,$23,$a1,$23,$a2,$23,$a3,$23,$a4 // #.#.#.#.#.#.#.#.
        .byte $23,$a5,$23,$a6,$23,$a7,$23,$a8,$23,$a9,$23,$aa,$23,$ab,$23,$ac // #.#.#.#.#.#.#.#.
        .byte $23,$ad,$23,$ae,$23,$af,$23,$b0,$23,$b1,$23,$b2,$23,$b3,$23,$b4 // #.#.#.#.#.#.#.#.
        .byte $23,$b5                               // #.

txt_e5a5:
        .text "#G$"
        .byte $d9                                   // 'Y' | $80 (end-of-string marker)
        .byte $24,$6b,$25,$a2,$22,$05,$06,$a8,$21,$01,$e6,$03,$24,$0c,$09,$05 // $k%."...!...$...
        .byte $ff,$80,$6a,$00,$22,$03,$03,$a2,$23,$0c,$05,$02,$a2,$21,$07,$02 // ..j."...#....!..
        .byte $07,$08,$08,$07,$2d,$07,$08,$08,$0d,$0d,$07,$07,$08,$08,$0d,$07 // ....-...........
        .byte $06,$ff,$80,$61,$00,$60               // ...a.`

// --- Region $e60f-$e61b ---
.pc = $e60f "dat_e60f"

dat_e60f:
        .byte $00,$ad,$53,$21,$f0,$13,$e4           // ..S!...

txt_e616:
        .text "J5"
        .byte $aa                                   // '*' | $80 (end-of-string marker)
        .byte $ad,$53,$21                           // .S!

// --- Region $e627-$e655 ---
.pc = $e627 "dat_e627"

dat_e627:
        .byte $a9,$18,$a2,$0c,$d0,$f1,$a4,$25,$04,$09,$09,$0a,$0a,$e4,$09,$24 // .......%.......$
        .byte $0a,$0a,$09,$06,$e3,$04,$e3,$09,$21,$0a,$e3,$09,$25,$0a,$09,$09 // ........!...%...
        .byte $0a,$0a,$e4,$09,$25,$0a,$0a,$09,$03,$ff,$80,$62,$00,$60,$56 // ....%......b.`V

// --- Region $e694-$e900 ---
.pc = $e694 "dat_e694"

dat_e694:
        .byte $a9,$02,$8d,$74,$21,$60,$01,$00,$07,$0e,$01,$00,$01,$00,$22,$00 // ...t!`........".
        .byte $04,$01,$04,$2f,$02,$2f,$00,$41,$a2   // ..././.A.

txt_e6ad:
        .text "!+"
        .byte $a2                                   // '"' | $80 (end-of-string marker)
        .byte $2b,$0a,$00,$01,$0c,$01,$01,$0c,$01,$0c,$8f,$0c,$a3,$23,$56,$02 // +............#V.
        .byte $56,$a4,$26,$02,$00,$10,$01,$10,$80,$a3 // V.&.......

txt_e6ca:
        .text "!P"
        .byte $a4                                   // '$' | $80 (end-of-string marker)
        .byte $c1,$e3,$04,$a1,$c2,$23,$04,$03,$01,$e3,$03,$21,$10,$a3,$22,$08 // .....#.....!..".
        .byte $ff,$a5,$e3,$01,$22,$00,$01,$a6,$26,$40,$00,$83,$0c,$00,$06,$a8 // ...."...&@......
        .byte $21,$10,$a7,$24,$08,$41,$0f,$f9,$a2,$26,$41,$80,$08,$11,$0f,$a9 // !..$.A...&A.....
        .byte $a3,$25,$10,$08,$41,$07,$e7,$a2,$2e,$81,$04,$08,$11,$0f,$a7,$00 // .%..A...........
        .byte $01,$00,$10,$08,$41,$08,$a8,$a3,$35,$84,$02,$21,$00,$cd,$00,$25 // ....A...5..!...%
        .byte $72,$40,$02,$21,$00,$ea,$00,$25,$72,$40,$08,$11,$00,$e8,$a2,$36 // r@.!...%r@.....6
        .byte $43,$40,$08,$11,$00,$a8,$00,$11,$00,$10,$01,$41,$00,$be,$00,$26 // C@.........A...&
        .byte $43,$00,$01,$41,$00,$bf,$a2,$26,$43,$00,$08,$11,$08,$f8,$a3,$60 // C..A...&C......`
        .byte $21,$80,$05,$41,$00,$e9,$00,$24,$61,$00,$04,$41,$00,$e8,$00,$85 // !..A...$a..A....
        .byte $63,$04,$04,$41,$00,$e8,$00,$47,$63,$04,$04,$41,$00,$e8,$00,$59 // c..A...Gc..A...Y
        .byte $63,$04,$c8
        .byte $22,$af,$c0,$a2
        .byte $23,$ff,$af,$cb,$02
        .text "$$"
        .byte $22                                   // double quote
        .byte $22                                   // double quote
        .byte $60,$38,$ff,$af,$cb                   // `8...

txt_e782:
        .text "+,))+,."
        .byte $85,$32,$8b,$33,$32,$91,$2e,$ff,$82,$ca // .2.32.....

txt_e793:
        .text "$$0$.$+$)$+"
        .byte $88,$2e,$82,$2b,$85,$29,$82           // ...+.).

txt_e7a5:
        .text "$0$.$+$))+"
        .byte $88,$2e,$82,$2b,$29,$ff,$82,$c4,$a3,$27,$c5,$24,$c2,$00,$c5,$24 // ...+)....'.$...$
        .byte $c4,$a2,$24,$c5                       // ..$.

txt_e7c3:
        .text "$$"
        .byte $c4                                   // 'D' | $80 (end-of-string marker)
        .byte $a2,$23,$c2,$00,$c5,$e3               // .#....

txt_e7cc:
        .text "$!"
        .byte $c4                                   // 'D' | $80 (end-of-string marker)
        .byte $a4,$25,$c2,$00,$c5,$24,$c4,$a2,$24,$c5 // .%...$..$.

txt_e7d9:
        .text "$$"
        .byte $c4                                   // 'D' | $80 (end-of-string marker)
        .byte $a2,$29,$c2,$00,$c5,$24,$c2,$00,$c5,$24,$c4,$a2,$29,$c5,$24,$c4 // .)...$...$..).$.
        .byte $00,$c2,$00,$c5,$24,$c4,$a2,$24,$c5   // ....$..$.

txt_e7f5:
        .text "$$"
        .byte $c4                                   // 'D' | $80 (end-of-string marker)
        .byte $a2,$23,$c2,$00,$c5,$e3               // .#....

txt_e7fe:
        .text "$!"
        .byte $c4                                   // 'D' | $80 (end-of-string marker)
        .byte $a4,$25,$c2,$00,$c5,$24,$c4,$a2,$24,$c5 // .%...$..$.

txt_e80b:
        .text "$$"
        .byte $c4                                   // 'D' | $80 (end-of-string marker)
        .byte $a2,$25,$c2,$00,$c5,$24,$c2,$a2,$27,$ff,$af,$c0,$00,$ff,$82,$c2 // .%...$..'.......
        .byte $f0,$24,$60,$2b,$ff,$82,$c1,$18,$18,$85,$24,$24,$82,$18,$18,$24 // .$`+......$$...$
        .byte $18,$18,$24,$18,$24,$18,$24,$ff,$82,$c1,$16,$16,$85,$22,$22,$82 // ..$.$.$......"".
        .byte $16,$16,$22,$16,$16,$22,$16,$22,$16,$22,$ff,$82,$c4,$00,$cc,$a3 // ..".."."."......
        .byte $27,$c2,$00,$cc,$00,$c4,$00,$cc,$a3,$27,$c4,$00,$cc,$00,$c2,$00 // '........'......
        .byte $cc,$a3,$25,$ff,$82,$c4,$00,$cc,$e3,$0a,$27,$c2,$00,$cc,$0a,$c4 // ..%.......'.....
        .byte $00,$cc,$e3,$0a,$21,$c4,$02,$00,$cc,$0a,$c2,$a2,$c2,$60,$47,$91 // ....!........`G.
        .byte $ca,$34,$8b,$35,$e0,$10,$34,$32,$85,$34,$8b,$34,$34,$85,$32,$34 // .4.5..42.4.44.24
        .byte $35,$8b,$32,$97,$35,$85               // 5.2.5.

txt_e894:
        .text "2:9759"
        .byte $e0,$10,$35,$32,$97,$30,$8b,$c0,$00,$ca,$39,$3a,$e0,$10,$39,$37 // ..52.0....9:..97
        .byte $35,$97
        .byte $37,$8b,$c0,$00,$ca
        .text "0457"
        .byte $97
        .byte $3c,$c0,$00,$ca
        .byte $8b
        .text "9:972"
        .byte $97
        .byte $35,$85,$c0,$a5
        .byte $32,$ff,$82,$1d,$1d
        .byte $85,$29,$29,$82,$1d,$1d,$29,$1d,$1d,$29,$1d,$29,$1d,$29,$db,$27 // .))...)..).).).'
        .byte $2f,$37,$00,$aa,$b1,$91,$b3,$af,$21,$19,$b4,$22,$01,$08,$a7,$21 // /7......!.."...!
        .byte $a0,$a3,$21,$a0,$a3                   // ..!..

txt_e8ef:
        .text "!X"
        .byte $a2                                   // '"' | $80 (end-of-string marker)
        .byte $24,$d9,$28,$88,$27,$a2,$24,$2c,$04,$00,$98,$aa,$22,$03,$4c // $.(.'.$,....".L

// --- Region $e91c-$e949 ---
.pc = $e91c "dat_e91c"

dat_e91c:
        .byte $80,$4f,$c7,$52,$58,$00,$ff,$2f,$37,$00,$aa,$b1,$91,$b3,$af,$21 // .O.RX../7......!
        .byte $19,$b4,$22,$01,$08,$a7,$21,$a0,$a3,$21,$a0,$a3 // .."...!..!..

txt_e938:
        .text "!X"
        .byte $a2                                   // '"' | $80 (end-of-string marker)
        .byte $24,$d9,$29,$88,$27,$a2,$24,$2c,$04,$00,$99,$aa,$22,$03,$4c // $.).'.$,....".L

// --- Region $e965-$e992 ---
.pc = $e965 "dat_e965"

dat_e965:
        .byte $80,$4f,$c7,$52,$58,$00,$ff,$2f,$37,$00,$aa,$b1,$91,$b3,$af,$21 // .O.RX../7......!
        .byte $19,$b4,$22,$01,$08,$a7,$21,$a0,$a3,$21,$a0,$a3 // .."...!..!..

txt_e981:
        .text "!X"
        .byte $a2                                   // '"' | $80 (end-of-string marker)
        .byte $24,$d9,$2a,$88,$27,$a2,$24,$2c,$04,$00,$9a,$aa,$22,$03,$4c // $.*.'.$,....".L

// --- Region $e9ae-$e9db ---
.pc = $e9ae "dat_e9ae"

dat_e9ae:
        .byte $80,$4f,$c7,$52,$58,$00,$ff,$2f,$37,$00,$aa,$b1,$91,$b3,$af,$21 // .O.RX../7......!
        .byte $19,$b4,$22,$01,$08,$a7,$21,$a0,$a3,$21,$a0,$a3 // .."...!..!..

txt_e9ca:
        .text "!X"
        .byte $a2                                   // '"' | $80 (end-of-string marker)
        .byte $24,$d9,$2b,$88,$27,$a2,$24,$2c,$04,$00,$9b,$aa,$22,$03,$4c // $.+.'.$,....".L

// --- Region $e9f7-$e9ff ---
.pc = $e9f7 "dat_e9f7"

dat_e9f7:
        .byte $80,$4f,$c7,$52,$58,$00,$ff,$a3,$60   // .O.RX...`

// --- Region $ea34-$ea64 ---
.pc = $ea34 "txt_ea34"

txt_ea34:
        .text "H&"
        .byte $a2                                   // '"' | $80 (end-of-string marker)
        .byte $00,$bd,$49,$26,$9d,$48,$26,$e8,$e0,$1c,$d0,$f5,$98,$9d,$48,$26 // ..I&.H&.......H&
        .byte $60,$01,$a4,$29,$06,$fe,$03,$01,$01,$03,$e3,$fe,$f6,$e3,$f0,$a2 // `..)............
        .byte $28,$02,$fa,$f7,$f1,$f1,$f7,$ea,$e2,$a5,$60,$ab,$a2,$00 // (.........`...

// --- Region $eaf7-$eb91 ---
.pc = $eaf7 "dat_eaf7"

dat_eaf7:
        .byte $a2,$00,$8a,$9d                       // ....

txt_eafb:
        .text "#'H"
        .byte $a9                                   // ')' | $80 (end-of-string marker)
        .byte $00,$9d,$2b,$27,$68,$18,$6d,$13,$2b,$e8,$e0,$08,$d0,$ed,$60,$a2 // ..+'h.m.+.....`.
        .byte $37,$09,$0b,$08,$0c,$0f,$07,$01,$01,$07,$0f,$0c,$08,$0b,$09,$00 // 7...............
        .byte $05,$1b,$31,$42,$58,$6e,$84,$9a,$aa,$35,$02,$fa,$00,$02,$fa,$f7 // ..1BXn...5......
        .byte $00,$f2,$ea,$e7,$e1,$e0,$e2,$da,$d7,$d1,$d7,$da,$e2,$00,$e1,$02 // ................
        .byte $e7,$ea,$e2,$00,$24,$ea,$e2,$00,$e2,$a2,$27,$15,$13,$0d,$11,$0d // ....$.....'.....
        .byte $13,$15,$a2,$24,$16,$00,$16,$0e,$02,$00,$16,$1e,$23,$3a,$21,$00 // ...$........#:!.
        .byte $16,$1e,$13,$11,$13,$0e,$06,$f0,$01,$03,$fe,$f6,$f0,$f3,$ee,$e6 // ................
        .byte $f0,$ee,$e6,$f0,$00,$01,$13,$1e,$02,$01,$30,$30,$30,$60,$71,$12 // ..........000`q.
        .byte $0a,$07,$02,$09,$09,$02,$08,$0a,$07,$0f,$0d,$01,$01,$0d,$0f,$07 // ................
        .byte $0a,$08,$02                           // ...

// --- Region $ebef-$ec1e ---
.pc = $ebef "Segment $ebef"
        .byte $a8,$60,$79,$28,$60,$01,$c6,$00,$68,$67,$71,$71,$67,$68,$07,$f6 // .`y(`...hgqqgh..
        .byte $ee,$f3,$f1,$f1,$e3,$de,$d6,$c5,$c3,$ad,$a1,$a1,$ad,$b3,$b5,$a2 // ................
        .byte $9a,$97,$91,$91,$77,$8a,$72,$6b,$6c,$6f,$71,$71,$6f,$6c,$6b,$69 // ....w.rkloqqolki

// --- Region $ec6b-$ec73 ---
.pc = $ec6b "dat_ec6b"

dat_ec6b:
        .byte $e9,$ea,$62,$8e,$a2,$26,$9d,$e0,$05   // ..b..&...

// --- Region $ee04-$ee1d ---
.pc = $ee04 "dat_ee04"

dat_ee04:
        .byte $a2,$00,$a9,$12,$8d                   // .....

txt_ee09:
        .text "?*"
        .byte $a9                                   // ')' | $80 (end-of-string marker)
        .byte $00,$9d,$08,$09,$e8,$e0,$18,$d0,$f8,$ee,$0a,$09,$ee,$12,$09,$ee // ................
        .byte $1a,$09                               // ..

// --- Region $eef0-$ef0e ---
.pc = $eef0 "dat_eef0"

dat_eef0:
        .byte $00,$20,$21,$f0,$06,$0e,$03,$10,$16,$03,$98,$e0,$05,$a4,$29,$a9 // . !...........).
        .byte $08,$d0,$06,$70,$07,$01,$00,$04,$e3,$01,$60,$6a,$02,$00,$31 // ...p......`j..1

// --- Region $ef67-$efef ---
.pc = $ef67 "Segment $ef67"
        .byte $a7,$ce,$0a,$28,$d0,$08,$ee,$0b,$28,$a9,$03,$8d,$0a,$28,$60,$b3 // ...(....(....(`.
        .byte $23,$01,$03,$03,$a5,$c2,$21,$c0,$a5,$23,$80,$c0,$c0,$a5,$23,$03 // #.....!..#....#.
        .byte $07,$07,$a6,$22,$80,$80,$e8,$03,$e3,$c0,$c2,$e3,$f0,$2b,$c0,$c3 // ...".........+..
        .byte $c7,$e6,$f6,$30,$30,$33,$00,$fc,$fe,$e4,$06,$24,$ff,$00,$1f,$3f // ...003.....$...?
        .byte $e4,$3c,$22,$3e,$00,$c2,$e4,$3c,$24,$3e,$07,$e7,$f7,$e5,$37,$21 // .<">...<$>....7!
        .byte $80,$c2,$e4,$81,$24,$c1,$00,$1f,$bf,$e4,$bc,$24,$be,$00,$f8,$fc // ....$......$....
        .byte $e5,$0c,$e6,$03,$22,$01,$00,$e6,$f0,$22,$e0,$00,$e6,$37,$23,$33 // ...."...."...7#3
        .byte $00,$ff,$e4,$87,$c2,$a1,$e6,$bf,$22,$1e,$00,$e6,$3f,$22,$1e,$00 // ........"...?"..
        .byte $e5,$e1,$c2,$a1,$e6,$bf,$22,$1f,$00   // ......"..

// --- Region $eff4-$f04b ---
.pc = $eff4 "Segment $eff4"
        .byte $f8,$a8,$21,$07,$a7,$21,$e0,$a7,$21,$c0,$a7 // ..!..!..!..

txt_efff:
        .text "!0"
        .byte $a7                                   // ''' | $80 (end-of-string marker)
        .byte $21,$fc,$a7,$21,$03,$a7,$21,$c1,$a7,$21,$0f,$a7,$22,$80,$30,$e3 // !..!..!..!..".0.
        .byte $18,$24,$31,$e0,$38,$0c,$a3,$26,$d8,$d9,$e3,$c3,$c3,$01,$a2,$22 // .$1.8..&......."
        .byte $f0,$98,$e3,$0c,$e3,$c0,$25,$c4,$cc,$d8,$d0,$e0,$a3,$25,$3c,$66 // ......%......%<f
        .byte $c2,$fe,$c0,$a3,$25,$66,$ef,$73,$63,$63,$a5,$e3,$01,$a3,$22,$78 // ....%f.scc...."x
        .byte $cc,$e3,$86,$23,$00,$01,$01,$a5,$24,$f0 // ...#....$.

// --- Region $f0a7-$fce1 ---
.pc = $f0a7 "Segment $f0a7"
        .byte $a4,$24,$01,$01,$00,$80,$a4,$24,$86,$86,$cc,$78,$a7,$21,$80,$a4 // .$.....$...x.!..
        .byte $24,$30,$30,$79,$fd,$a4,$24,$0d,$18,$b8,$e0,$a4,$24,$ec,$06,$06 // $00y..$.....$...
        .byte $03,$a4,$24,$31,$63,$67,$c7,$a4,$24,$87,$10,$f0,$f0,$a4,$24,$81 // ..$1cg..$.....$.
        .byte $03,$0e,$38,$a4,$24,$98,$0c,$0c,$07,$a4,$24,$60,$c0,$c0,$80,$82 // ..8.$.....$`....
        .byte $4f,$00,$e4,$01,$e3,$02,$e3,$03,$e3,$04,$60,$51,$05,$05,$06,$06 // O.........`Q....
        .byte $07,$07,$08,$08,$09,$09,$0a,$0b,$0b,$0c,$0c,$0d,$0e,$0e,$0f,$10 // ................
        .byte $10,$11,$12,$13,$13,$14,$15,$15,$16,$17,$18,$18,$19,$1a,$1b,$1c // ................
        .byte $1c,$1d,$1e,$1f                       // ....

txt_f11b:
        .text "  !"
        .byte $22                                   // double quote character
        .text "##$%&''()**+,,-.//01123344566778899::"
        .byte $e3,$3b,$e3,$3c,$e3,$3d,$e4,$3e,$f5,$3f,$e4,$3e,$e3,$3d,$e3,$3c // .;.<.=.>.?.>.=.<
        .byte $e3,$3b,$60                           // .;`

txt_f157:
        .text "Q::99887766544332110//.-,,+**)(''&%$##"
        .byte $22                                   // double quote character
        .text "! "
        .byte $1f,$1f,$1e,$1d,$1c,$1c,$1b,$1a,$19,$18,$18,$17,$16,$15,$15,$14 // ................
        .byte $13,$13,$12,$11,$10,$10,$0f,$0e,$0e,$0d,$0c,$0c,$0b,$0b,$0a,$09 // ................
        .byte $09,$08,$08,$07,$07,$06,$06,$05,$05,$e3,$04,$e3,$03,$e3,$02,$e4 // ................
        .byte $01,$aa                               // ..

txt_f1b2:
        .encoding "screencode_mixed"
        .text "6well done again, rambo"
        .encoding "petscii_upper"
        .byte $e3,$2e,$60                           // ..`

txt_f1cc:
        .encoding "screencode_mixed"
        .text "0 this is magic byte's hole-in-one miniature golf"
        .encoding "petscii_upper"
        .byte $e7,$20,$60                           // . `

txt_f200:
        .encoding "screencode_mixed"
        .text "-stupid protection was easy to break for rambo"
        .encoding "petscii_upper"
        .byte $e9,$20,$60,$e5                       // . `.

txt_f232:
        .encoding "screencode_mixed"
        .text "greetings go to the dominators, eagle soft"
        .encoding "petscii_upper"

txt_f25c:
        .text ", 1001 "

txt_f263:
        .encoding "screencode_mixed"
        .text "crew, the federation against copyright, ace, rad, trianon, hotline, bam"
        .encoding "petscii_upper"

txt_f2aa:
        .text ", 711 "

txt_f2b0:
        .encoding "screencode_mixed"
        .text "crew, bitstoppers, beasty boys, tpi, the deadly friends, panic gmbh, newcomers, wcs and scatha the worm"
        .encoding "petscii_upper"
        .byte $e3,$2e,$e5,$20,$60,$64               // ... `d

txt_f31d:
        .encoding "screencode_mixed"
        .text "the worsest antigreetings this time go to  vincent,gollum,all amiga gamers and all the other stupids"
        .encoding "petscii_upper"
        .byte $ea,$20,$61                           // . a

txt_f384:
        .encoding "screencode_mixed"
        .text "&hints about playing hole-in-one miniature golf:  at first, you will be prompted for the number of players. up to 4 players can play at the same time. it also shows the score card which will also be displayed again at the end of the game. you must stay even or under par to continue to course 2."
        .encoding "petscii_upper"
        .byte $e5,$20,$61,$5e                       // . a^

txt_f4af:
        .encoding "screencode_mixed"
        .text "once you have selected the number of players press the spacebar and the first hole will appear. important information appears in a titlebar at the top of the screen. it displays the number of the current hole, the par for each hole -par is the number of shots it should take the average player to make the hole- and the number of shots already taken."
        .encoding "petscii_upper"
        .byte $e3,$20,$65,$5d                       // . e]

txt_f611:
        .encoding "screencode_mixed"
        .text "the game is playable with joystick or keyboard. the keys on the keyboard are:"
        .encoding "petscii_upper"
        .byte $1f,$20,$3d,$20,$04,$0f,$17,$0e       // . = ....

txt_f666:
        .text ", 1 = "
        .byte $15,$10                               // ..

txt_f66e:
        .text ", 2 = "

txt_f674:
        .encoding "screencode_mixed"
        .text "right, ctrl = left, space bar = fire button. use the joystick to place the cross on the starting pad. press the joystick button once to place the ball. you will then see a rubberband in the form of a line on the screen. the direction the line is pointing is the direction that the ball will go. the lenght of the line or distance between the pointer and the ball determines the power of the shot. in other words, the longer the line, the harder the shot. once you have decided on the direction and power, press the joystick button to putt the ball. this is the easiest interface ever conceived. be careful, because shooting too hard is the biggest mistake new players make. you are allowed to go three shots over par, but any more than that and you cannot complete the hole and you will have to advance to the next hole -or player-. once you have completed the course, the scorecard will appear again. are you over or under par ? par for the first course is"
        .encoding "petscii_upper"

txt_fa31:
        .text " 37 "

txt_fa35:
        .encoding "screencode_mixed"
        .text "shots. if you are even or under par you can continue to the next level. should you be over par you will be brought back to the player section screen. you must beat the first level to continue to course"
        .encoding "petscii_upper"

txt_fafe:
        .text " 2. "

txt_fb02:
        .encoding "screencode_mixed"
        .text "if you play with more than one player every player has to be even or under par to advance to the next level."
        .encoding "petscii_upper"
        .byte $e8,$20,$60                           // . `

txt_fb71:
        .encoding "screencode_mixed"
        .text "+well, this was the instruction of the game."
        .encoding "petscii_upper"
        .byte $ec,$20,$60,$4c                       // . `L

txt_fba1:
        .encoding "screencode_mixed"
        .text "special thanks for the additional help of prince denmark, paddy and guinness"
        .encoding "petscii_upper"
        .byte $e3,$2e,$e7,$20,$60                   // ... `

txt_fbf2:
        .encoding "screencode_mixed"
        .text "*look out for all the other rambo breaks as"
        .encoding "petscii_upper"
        .byte $e3,$2e,$e5,$20,$60,$6d               // ... `m

txt_fc23:
        .encoding "screencode_mixed"
        .text "the great giana sisters +built-in charset,  daley thompson's olympic challenge,  platoon,  batman,  spherical"
        .encoding "petscii_upper"
        .byte $e3,$2e,$e8                           // ...

txt_fc93:
        .encoding "screencode_mixed"
        .text " 5that should be it now"
        .encoding "petscii_upper"
        .byte $e3,$2e,$80                           // ...

txt_fcad:
        .encoding "screencode_mixed"
        .text "* :you haven't given up yet ?"
        .encoding "petscii_upper"
        .byte $80,$2a,$20,$60                       // .* `

txt_fcce:
        .encoding "screencode_mixed"
        .text ")here is the end of "
        .encoding "petscii_upper"

// --- Region $fce9-$fd14 ---
.pc = $fce9 "txt_fce9"

txt_fce9:
        .encoding "screencode_mixed"
        .text "oll, believe it"
        .encoding "petscii_upper"
        .byte $80,$2a,$20,$60                       // .* `

txt_fcfc:
        .encoding "screencode_mixed"
        .text "#ok, if you want to conti"
        .encoding "petscii_upper"

// --- Region $fd26-$fda2 ---
.pc = $fd26 "Segment $fd26"
        .byte $17,$08,$05,$0e,$20,$14,$08,$05,$20,$05,$01,$12,$14,$08,$20,$17 // .... ... ..... .
        .byte $01,$13,$20,$19,$0f,$15,$0e,$07,$2c,$20,$14,$08,$05,$19,$20,$17 // .. ....., .... .
        .byte $05,$12,$05,$20,$01,$0c,$12,$05,$01,$04,$19,$20,$0f,$0c,$04,$e4 // ... ....... ....
        .byte $2e,$eb,$20,$60,$61                   // .. `a

txt_fd5b:
        .encoding "screencode_mixed"
        .text "since the dawn of time, the elder have watched silently over a virgin wo"
        .encoding "petscii_upper"

// --- Region $fda4-$ff5a ---
.pc = $fda4 "txt_fda4"

txt_fda4:
        .encoding "screencode_mixed"
        .text "ld and all its creatures"
        .encoding "petscii_upper"
        .byte $e3,$2e,$60,$78                       // ..`x

txt_fdc0:
        .encoding "screencode_mixed"
        .text "  now, they have assumed the form of mortals so that they might walk amongst men and guide them.  the elder are an ideal"
        .encoding "petscii_upper"
        .byte $e3,$2e,$60,$4c                       // ..`L

txt_fe3c:
        .encoding "screencode_mixed"
        .text "  they embody the wisdom of the ages and the power of goodness and knowledge"
        .encoding "petscii_upper"
        .byte $e3,$2e,$60,$47                       // ..`G

txt_fe8c:
        .encoding "screencode_mixed"
        .text "  but the elder were not alone in the beginning and are not alone still"
        .encoding "petscii_upper"
        .byte $e3,$2e,$60                           // ..`

txt_fed6:
        .encoding "screencode_mixed"
        .text "$ another force has existed eternally"
        .encoding "petscii_upper"
        .byte $e3,$2e,$e4,$20,$60,$be               // ... `.

txt_ff01:
        .encoding "screencode_mixed"
        .text "in every place, in every time, an evil is loosed whose sole purpose is to destroy all that"
        .encoding "petscii_upper"

// --- Region $ffa3-$ffff ---
.pc = $ffa3 "txt_ffa3"

txt_ffa3:
        .encoding "screencode_mixed"
        .text " to find and train a warrior"
        .encoding "petscii_upper"
        .byte $e3,$2e,$60,$1f                       // ..`.

txt_ffc3:
        .encoding "screencode_mixed"
        .text "a champion to conquer the evil."
        .encoding "petscii_upper"
        .byte $e3                                   // .

txt_ffe3:
        .encoding "screencode_mixed"
        .text " 4it can only be rambo"
        .encoding "petscii_upper"
        .byte $e3,$2e,$ea,$20,$a2,$00,$12           // ... ...
