// ============================================
// output - Part 1 of 2
// ============================================
// KickAssembler syntax
// Generated by Restore 64 v0.2.1 alpha build 298, 2026-04-11 21:35:53
// https://restore64.dev by datucker / Rabenauge
//
// Load address: $0801  End: $2af5  (8949 bytes)
// Note: PRG was crunched, depacked by emulation
// Packer entry: $080b (via BASIC SYS 2059)
// Entry point:  $2900 (10496)
// IRQ handler:  $297e (irq_297e)
// IRQ handler:  $29c6 (irq_29c6)
// IRQ handler:  $2a71 (irq_2a71)
//
// Code: 2546 bytes, Data: 6403 bytes
// Labels: 241, Subroutines: 9
//
// Verification: 5 line(s) auto-corrected to .byte for exact byte matching
//
// Cross-references: all OK
// ============================================


// --- Region $090c-$0915 ---
.pc = $090c "sub_090c"
// Referenced by: jsr from $290d

sub_090c:
        jmp loc_09bd

dat_090f:
        .byte $4c,$f0,$09                           // L..
// Referenced by: jsr from $2a9a

sub_0912:
        jmp loc_09f6

dat_0915:
        .byte $02                                   // .

// --- Region $098e-$118b ---
.pc = $098e "sub_098e"
// Referenced by: jsr from $09dc

sub_098e:
        lda #$00
        ldx #$74

loc_0992:
        sta $0919,x
        dex
        bpl loc_0992

loc_0998:
        lda #$ff
        sta $0947
        sta $0948
        sta $0949
        lda #$00
        sta $dc0e
        ldx #$02

loc_09aa:
        sta $0919,x
        sta $091c,x
        sta $091f,x
        sta $092b,x
        dex
        bpl loc_09aa
        sta $096a
        rts

loc_09bd:
        pha
        lda #$01
        sta $096a
        pla
        tax
        lda $127d,x
        sta smc_09d4                                // SMC: modifies $09d4
        lda $1280,x
        sta smc_09d5                                // SMC: modifies $09d5
        ldy #$07

loc_09d3:
.label smc_09d4 = * + 1
.label smc_09d5 = * + 2
        lda $1283,y                                 // !SMC: modified by $09c8, $09ce
        sta $129b,y
        dey
        bpl loc_09d3
        jsr sub_098e

loc_09df:
        ldx #$00
        txa

loc_09e2:
        sta $d400,x
        inx
        cpx #$18
        bne loc_09e2
        lda #$0f
        sta $d418
        rts

dat_09f0:
        .byte $a9,$02,$8d,$6a,$09,$60               // ...j.`

loc_09f6:
        lda $096a
        cmp #$02
        beq loc_0a04
        cmp #$01
        bne loc_0a05
        jmp loc_0998

loc_0a04:
        brk

loc_0a05:
        inc $0947
        inc $0948
        inc $0949
        ldx #$02
        dec $0969
        bpl loc_0a1b
        lda dat_0915
        sta $0969

loc_0a1b:
        stx $bf
        lda $0916,x
        sta $094e
        tay
        lda $0969
        cmp dat_0915
        bne loc_0a40
        lda $129b,x
        sta smc_0a47                                // SMC: modifies $0a47
        lda $129f,x
        sta smc_0a48                                // SMC: modifies $0a48
        dec $091f,x
        bmi loc_0a43
        jmp loc_0c12

loc_0a40:
        jmp loc_0c41

loc_0a43:
        ldy $0919,x
.label smc_0a47 = * + 1
.label smc_0a48 = * + 2
        lda $19a7,y                                 // !SMC: modified by $0a2f, $0a35
        cmp #$fe
        beq loc_0a5f
        cmp #$ff
        bne loc_0a67
        lda #$00
        sta $091f,x
        sta $0919,x
        sta $091c,x
        jmp loc_0a43

loc_0a5f:
        lda #$02
        sta $096a
        jmp loc_09df

loc_0a67:
        sta $095d
        and #$80
        beq loc_0a7c
        lda $095d
        and #$1f
        sta $094a,x
        inc $0919,x
        jmp loc_0a43

loc_0a7c:
        lda $095d
        and #$40
        beq loc_0a91
        lda $095d
        and #$3f
        sta $096c,x
        inc $0919,x
        jmp loc_0a43

loc_0a91:
        lda $095d
        asl
        tay
        lda $12a3,y
        sta $bd
        lda $12a4,y
        sta $be
        lda #$00
        sta $093a,x
        ldy $091c,x
        sta $0947,x
        lda ($bd),y
        sta $b8

loc_0aaf:
        and #$f0
        cmp #$f0
        bne loc_0ad4
        lda $b8
        and #$01
        bne loc_0acb
        lda #$01
        sta $097b,x
        inc $091c,x
        iny
        lda ($bd),y
        sta $b8
        jmp loc_0b69

loc_0acb:
        jsr sub_0c05
        sta $d417
        jsr sub_0c05

loc_0ad4:
        lda #$00
        sta $097b,x
        lda $b8
        and #$f0
        cmp #$e0
        bne loc_0b05
        lda #$01
        sta $093a,x
        inc $091c,x
        iny
        lda ($bd),y
        sta $0982,x
        inc $091c,x
        inc $091c,x
        iny
        iny
        lda ($bd),y
        clc
        adc $094a,x
        sta $097f,x
        dey
        lda ($bd),y
        sta $b8

loc_0b05:
        lda $b8
        and #$e0
        cmp #$c0
        bne loc_0b17
        lda $b8
        and #$1f
        sta $092e,x
        jsr sub_0c05

loc_0b17:
        lda $b8
        and #$f0
        cmp #$70
        bne loc_0b3b
        lda $b8
        and #$0f
        tax
        lda $135c,x
        sta smc_0c70                                // SMC: modifies $0c70
        sta smc_0c7c                                // SMC: modifies $0c7c
        lda $1364,x
        sta smc_0c71                                // SMC: modifies $0c71
        sta smc_0c7d                                // SMC: modifies $0c7d
        ldx $bf
        jsr sub_0c05

loc_0b3b:
        lda $b8
        and #$c0
        cmp #$80
        bne loc_0b69
        lda $b8
        and #$3f
        sec
        sbc #$01
        sta $0922,x
        jsr sub_0c05
        and #$c0
        cmp #$80
        bne loc_0b64
        lda $b8
        and #$3f
        clc
        adc $0922,x
        sta $0922,x
        jsr sub_0c05

loc_0b64:
        lda $b8
        jmp loc_0aaf

loc_0b69:
        lda $0922,x
        sta $091f,x
        lda $b8
        clc
        adc $094a,x
        sta $092b,x
        tay
        lda dat_118b,y
        sta $0987,x
        pha
        sta $0937,x
        lda $11eb,y
        sta $098a,x
        sta $0931,x
        sta $0934,x
        ldy $094e
        sta $d401,y
        pla
        sta $d400,y
        lda $097b,x
        bne loc_0be4
        lda $092e,x
        asl
        asl
        asl
        tax
        stx $094d
        lda $13c3,x
        sta $d405,y
        lda $13c4,x
        sta $d406,y
        lda $13c5,x
        pha
        lda $13c1,x
        pha
        lda $13c2,x
        ldx $bf
        sta txt_0925,x
        sta $096f,x
        lda #$00
        sta $d402,y
        sta $093d,x
        pla
        sta $0943,x
        and #$0f
        sta $d403,y
        sta $0940,x
        lda #$01
        sta $0965,x
        pla
        sta $0962,x

loc_0be4:
        inc $091c,x
        ldy $091c,x
        lda ($bd),y
        cmp #$ff
        bne loc_0c02

loc_0bf0:
        lda #$00
        sta $091c,x
        lda $096c,x
        beq loc_0bff
        dec $096c,x
        bpl loc_0c02

loc_0bff:
        inc $0919,x

loc_0c02:
        jmp loc_115b
// Referenced by: jsr from $0acb, $0ad1, $0b14, $0b38, $0b4d, $0b61

sub_0c05:
        inc $091c,x
        iny
        lda ($bd),y
        cmp #$ff
        beq loc_0bf0
        sta $b8
        rts

loc_0c12:
        lda $091f,x
        beq loc_0c39
        lda $092e,x
        asl
        asl
        asl
        tay
        lda $13c5,y
        and #$f0
        lsr
        lsr
        lsr
        sta smc_0c31                                // SMC: modifies $0c31
        lda $0922,x
        sec
        sbc $091f,x
.label smc_0c31 = * + 1
        cmp #$02                                    // !SMC: modified by $0c26
        bcs loc_0c39
        lda txt_0925,x
        bne loc_0c3e

loc_0c39:
        lda txt_0925,x
        and #$fe

loc_0c3e:
        sta $096f,x

loc_0c41:
        lda $092e,x
        asl
        asl
        asl
        tay
        lda $13c6,y
        sta $b2
        lda $13c7,y
        sta $b3
        lda $092b,x
        sta $0928,x
        lda $13c8,y
        sta $b4
        and #$10
        beq loc_0c64
        jmp loc_0d79

loc_0c64:
        lda $b4
        and #$04
        beq loc_0c92
        dec $0959,x
        bpl loc_0c75
.label smc_0c70 = * + 1
.label smc_0c71 = * + 2
        lda $137c                                   // !SMC: modified by $0b27, $0b30
        sta $0959,x

loc_0c75:
        ldx $bf
        ldy $0959,x
        iny
.label smc_0c7c = * + 1
.label smc_0c7d = * + 2
        lda $137c,y                                 // !SMC: modified by $0b2a, $0b33
        clc
        adc $092b,x
        sta $0928,x
        tay
        lda dat_118b,y
        sta $0987,x
        lda $11eb,y
        sta $098a,x

loc_0c92:
        lda $b2
        beq loc_0cef
        lda $093a,x
        bne loc_0cef
        ldy $092e,x
        ldx $1431,y
        stx smc_0d30                                // SMC: modifies $0d30
        lda $b2
        and #$0f
        sta $094f
        lda $b2
        and #$70
        lsr
        lsr
        lsr
        lsr
        ldx $bf
        sta $0950,x
        ldy #$bc
        lda $b2
        bpl loc_0cc0
        ldy #$7d

loc_0cc0:
        sty smc_0cdb                                // SMC: modifies $0cdb
        lda $093a,x
        bne loc_0cef
        ldy $0928,x
        lda $118c,y
        sec
        sbc dat_118b,y
        sta $0975
        lda $11ec,y
        sbc $11eb,y

smc_0cdb:
        ldy $0947,x                                 // !SMC: modified by $0cc0
        sta $0974

loc_0ce1:
        dec $094f
        bmi loc_0cf2
        lsr $0974
        ror $0975
        jmp loc_0ce1

loc_0cef:
        jmp loc_0d79

loc_0cf2:
        lda $0953,x
        bpl loc_0d01
        dec $0956,x
        bne loc_0d15
        inc $0953,x
        bpl loc_0d15

loc_0d01:
        inc $0956,x
        lda $0950,x
        cmp $0956,x
        bcs loc_0d15
        sta $0956,x
        dec $0953,x
        dec $0956,x

loc_0d15:
        ldy $0928,x
        lda dat_118b,y
        sta $0972
        lda $11eb,y
        sta $0973
        lda $0950,x
        lsr
        tay

loc_0d29:
        dey
        bmi loc_0d49
        lda $0947,x
.label smc_0d30 = * + 1
        cmp #$08                                    // !SMC: modified by $0ca1
        bcc loc_0d65
        lda $0972
        sec
        sbc $0975
        sta $0972
        lda $0973
        sbc $0974
        sta $0973
        jmp loc_0d29

loc_0d49:
        ldy $0956,x

loc_0d4c:
        dey
        bmi loc_0d65
        lda $0972
        clc
        adc $0975
        sta $0972
        lda $0973
        adc $0974
        sta $0973
        jmp loc_0d4c

loc_0d65:
        ldx $bf
        lda $0972
        sta $0987,x
        sta $0937,x
        lda $0973
        sta $098a,x
        sta $0931,x

loc_0d79:
        ldx $bf
        lda $093a,x
        bne loc_0d86

loc_0d80:
        jmp loc_0e66

loc_0d83:
        jmp loc_0e48

loc_0d86:
        lda $0982,x
        lsr
        lsr
        lsr
        lsr
        sta smc_0da5                                // SMC: modifies $0da5
        sta smc_0df4                                // SMC: modifies $0df4
        lda $0982,x
        and #$0f
        sec
        sbc #$01
        clc
        adc $091f,x
        cmp $0922,x
        bcs loc_0d80
.label smc_0da5 = * + 1
        adc #$0f                                    // !SMC: modified by $0d8d
        cmp $0922,x
        bcc loc_0d83
        ldy $092b,x
        lda $097f,x
        tax
        sec
        lda dat_118b,y
        sbc dat_118b,x
        sta smc_0e30                                // SMC: modifies $0e30
        lda $11eb,y
        sbc $11eb,x
        sta smc_0e3b                                // SMC: modifies $0e3b
        ldx #$38
        ldy #$e9
        bcs loc_0de4
        ldx #$18
        ldy #$69
        eor #$ff
        sta smc_0e3b                                // SMC: modifies $0e3b
        lda smc_0e30
        eor #$ff
        sta smc_0e30                                // SMC: modifies $0e30
        inc smc_0e30
        bne loc_0de4
        inc smc_0e3b

loc_0de4:
        sty smc_0e2f                                // SMC: modifies $0e2f
        sty smc_0e3a                                // SMC: modifies $0e3a
        stx smc_0e2e                                // SMC: modifies $0e2e
        ldy dat_0915
        lda #$00
        clc

loc_0df3:
.label smc_0df4 = * + 1
        adc #$0f                                    // !SMC: modified by $0d90
        dey
        bpl loc_0df3
        sta $0985
        clc
        ldx #$10
        lda #$00

loc_0e00:
        rol smc_0e30
        rol smc_0e3b
        rol
        bcs loc_0e0e
        cmp $0985
        bcc loc_0e12

loc_0e0e:
        sbc $0985
        sec

loc_0e12:
        dex
        bne loc_0e00
        rol smc_0e30
        rol smc_0e3b
        asl
        cmp $0985
        bcc loc_0e29
        inc smc_0e30
        bne loc_0e29
        inc smc_0e3b

loc_0e29:
        ldx $bf
        lda $0937,x

smc_0e2e:
        sec                                         // !SMC: modified by $0dea

smc_0e2f:
.label smc_0e30 = * + 1
        sbc #$4e                                    // !SMC: modified by $0db9, $0dd9, $0de4
        sta $0937,x
        sta $0987,x
        lda $0931,x

smc_0e3a:
.label smc_0e3b = * + 1
        sbc #$01                                    // !SMC: modified by $0dc2, $0dd1, $0de7
        sta $0931,x
        sta $098a,x
        jmp loc_0e66

loc_0e45:
        jmp loc_0eff

loc_0e48:
        lda $097f,x
        sta $092b,x
        tay
        lda dat_118b,y
        sta $0937,x
        sta $0987,x
        lda $11eb,y
        sta $0931,x
        sta $098a,x
        lda #$00
        sta $093a,x

loc_0e66:
        lda $b3
        beq loc_0e45
        and #$07
        asl
        asl
        asl
        sbc #$07
        tay
        lda $13a9,y
        sta smc_0edd                                // SMC: modifies $0edd
        iny
        lda $13a9,y
        sta smc_0ef7                                // SMC: modifies $0ef7
        iny
        lda $13a9,y
        and #$7f
        cmp $0947,x
        bcc loc_0e8d
        jmp loc_0ea8

loc_0e8d:
        iny
        iny
        lda $13a9,y
        and #$7f
        cmp $0947,x
        bcc loc_0e9c
        jmp loc_0ea8

loc_0e9c:
        iny
        iny
        lda $13a9,y
        and #$7f
        cmp $0947,x
        bcc loc_0ebe

loc_0ea8:
        lda $13a9,y
        and #$80
        beq loc_0eb4
        lda #$00
        sta $0965,x

loc_0eb4:
        iny
        lda $13a9,y
        sta $0946
        jmp loc_0ec5

loc_0ebe:
        lda $b3
        and #$f0
        sta $0946

loc_0ec5:
        lda $0965,x
        bne loc_0ee4
        lda $093d,x
        sec
        sbc $0946
        sta $093d,x
        lda $0940,x
        sbc #$00
        sta $0940,x
.label smc_0edd = * + 1
        cmp #$08                                    // !SMC: modified by $0e75
        bcs loc_0eff
        lda #$01
        bne loc_0efc

loc_0ee4:
        lda $093d,x
        clc
        adc $0946
        sta $093d,x
        lda $0940,x
        adc #$00
        sta $0940,x
.label smc_0ef7 = * + 1
        cmp #$0d                                    // !SMC: modified by $0e7c
        bcc loc_0eff
        lda #$00

loc_0efc:
        sta $0965,x

loc_0eff:
        ldx $bf
        ldy $094e
        lda $093d,x
        sta $d402,y
        lda $0940,x
        sta $d403,y
        lda $b4
        and #$40
        beq loc_0f2a
        ldx $bf
        lda $0947,x
        cmp #$00
        bcc loc_0f2a
        and #$03
        tax
        lda $1326,x
        ldx $bf
        sta $096f,x

loc_0f2a:
        lda $b4
        and #$08
        beq loc_0f48
        ldx $bf
        lda $0947,x
        cmp #$01
        bcc loc_0f48
        lda $0947,x
        and #$07
        tax
        lda $132a,x
        ldy $094e
        sta $d403,y

loc_0f48:
        lda $b4
        and #$20
        beq loc_0f63
        ldx $bf
        lda $091f,x
        cmp #$03
        bcs loc_0f63
        lda $0931,x
        sec
        sbc #$01
        sta $0931,x
        sta $098a,x

loc_0f63:
        lda $b4
        and #$01
        beq loc_0fc3
        ldx $bf
        stx $096b
        lda $0962,x
        and #$03
        asl
        tax
        lda $138c,x
        sta smc_0f82                                // SMC: modifies $0f82
        lda $138d,x
        sta smc_0f86                                // SMC: modifies $0f86
.label smc_0f82 = * + 1
        lda #$90                                    // !SMC: modified by $0f78
        sta $b9
.label smc_0f86 = * + 1
        lda #$13                                    // !SMC: modified by $0f7e
        sta $ba
        ldy #$05
        lda ($b9),y
        sta $d418
        ldx $bf
        lda $0947,x
        ldy #$09
        cmp ($b9),y
        bcc loc_0fa2
        ldy #$04
        lda ($b9),y
        jmp loc_0fcc

loc_0fa2:
        dey
        cmp ($b9),y
        bcs loc_0fb5
        cpy #$06
        bne loc_0fa2
        ldy #$00
        lda ($b9),y
        jmp loc_0fcc

dat_0fb2:
        .byte $4c,$d2,$0f                           // L..

loc_0fb5:
        dey
        dey
        dey
        dey
        dey
        lda $095f,x
        clc
        adc ($b9),y
        jmp loc_0fcc

loc_0fc3:
        ldx $bf
        cpx $096b
        bne loc_0fd2
        lda #$ff

loc_0fcc:
        sta $095f,x
        sta $d416

loc_0fd2:
        lda $b3
        and #$08
        beq loc_1037
        lda $0947
        and #$01
        beq loc_100e
        lda $097e
        beq loc_0ffa
        lda $13a4
        sec
        sbc $13a7
        sta $13a4
        cmp $13a5
        bcs loc_100e
        lda #$00
        sta $097e
        beq loc_100e

loc_0ffa:
        lda $13a4
        clc
        adc $13a7
        sta $13a4
        cmp $13a6
        bcc loc_100e
        lda #$01
        sta $097e

loc_100e:
        ldx $bf
        lda $0947
        cmp #$02
        bcs loc_101c
        lda #$40
        sta $0986

loc_101c:
        lda $13a4
        clc
        adc $0986
        sta $d416
        lda $0986
        cmp #$02
        bcc loc_1037
        lda $0986
        sec
        sbc $13a8
        sta $0986

loc_1037:
        lda $b4
        and #$02
        beq loc_1068
        ldx $bf
        lda $0947,x
        cmp #$07
        bcs loc_1068
        lda $0947,x
        tax
        dex
        lda $1311,x
        pha
        lda $131f,x
        ldy $094e
        sta $d403,y
        ldy $bf
        pla
        sta $096f,y
        lda $1318,x
        clc
        adc $0928,y
        jmp loc_1179

loc_1068:
        ldx $bf
        lda $0962,x
        and #$08
        beq loc_1082
        lda $0937,x
        clc
        adc #$00
        sta $0987,x
        lda $0931,x
        adc #$00
        sta $098a,x

loc_1082:
        ldx $bf
        lda $0962,x
        and #$04
        beq loc_10ad
        lda $0922,x
        and #$7f
        cmp #$00
        bcc loc_10ad
        lda $091f,x
        cmp #$10
        bcs loc_10ad
        lda $0947,x
        and #$01
        beq loc_10ad
        lda $0934,x
        beq loc_10ad
        dec $0934,x
        sta $098a,x

loc_10ad:
        lda $b4
        and #$10
        beq loc_111d
        lda $b2
        and #$0f
        asl
        asl
        tax
        lda $1332,x
        sta smc_10e9                                // SMC: modifies $10e9
        sta smc_10d9                                // SMC: modifies $10d9
        lda $1333,x
        sta smc_10ea                                // SMC: modifies $10ea
        sta smc_10da                                // SMC: modifies $10da
        lda $1334,x
        sta smc_10f0                                // SMC: modifies $10f0
        lda $1335,x
        sta smc_10f1                                // SMC: modifies $10f1
.label smc_10d9 = * + 1
.label smc_10da = * + 2
        lda $133a                                   // !SMC: modified by $10c0, $10c9
        sta smc_10e4                                // SMC: modifies $10e4
        ldx $bf
        lda $0947,x
.label smc_10e4 = * + 1
        cmp #$08                                    // !SMC: modified by $10db
        bcs loc_111a
        tay
.label smc_10e9 = * + 1
.label smc_10ea = * + 2
        lda $133a,y                                 // !SMC: modified by $10bd, $10c6
        sta $096f,x
        dey
.label smc_10f0 = * + 1
.label smc_10f1 = * + 2
        lda $1343,y                                 // !SMC: modified by $10cf, $10d5
        sta $095e
        ldy $094e
        lda $b2
        and #$10
        beq loc_110a
        ldx $bf
        lda #$00
        sta $ff00
        jmp ($fffc)

dat_1108:
        .byte $79,$11                               // y.

loc_110a:
        ldx $bf
        lda $095e
        clc
        adc #$0d
        sta $098a,x
        lda #$00
        sta $0987,x

loc_111a:
        jmp loc_115b

loc_111d:
        lda $b4
        and #$80
        beq loc_115b
        ldx $bf
        lda $0947,x
        cmp #$02
        bcs loc_1140
        lda #$48
        sta $098a,x
        lda #$00
        sta $0987,x
        ldx $bf
        lda #$81
        sta $096f,x
        jmp loc_115b

loc_1140:
        lda $0947,x
        cmp #$04
        bcs loc_115b
        lda $0937,x
        sta $0987,x
        lda $0931,x
        sta $098a,x
        lda txt_0925,x
        and #$fe
        sta $096f,x

loc_115b:
        ldx $bf
        ldy $094e
        lda $096f,x
        sta $d404,y
        lda $0987,x
        sta $d400,y
        lda $098a,x
        sta $d401,y
        dex
        bmi loc_1178
        jmp loc_0a1b

loc_1178:
        rts

loc_1179:
        tay
        ldx $bf
        lda dat_118b,y
        sta $0987,x
        lda $11eb,y
        sta $098a,x
        jmp loc_115b

dat_118b:
        .byte $0c                                   // .

// --- Region $15f0-$15f7 ---
.pc = $15f0 "Segment $15f0"
        .byte $82,$3a                               // nop #$3a // ILLEGAL
        sec
        .byte $37,$35                               // rla $35,x // ILLEGAL
        .byte $33,$31                               // rla ($31),y // ILLEGAL

dat_15f7:
        .byte $3a                                   // :

// --- Region $2900-$2af5 ---
.pc = $2900 "main_2900"
main_2900: {
        lda #$00
        sta $d020
        sta $03f4
        jsr $e544
        lda #$00
        jsr sub_090c
        lda #$00
        sta smc_2a3a                                // SMC: modifies $2a3a
        lda #$1b
        sta smc_2a3b                                // SMC: modifies $2a3b
        sei
        lda #$f1
        sta $d01a
        lda #$00
        sta $dc0e
        lda #$7e
        ldy #$29
        sta $0314
        sty $0315
        ldx #$00
loop1:
        lda dat_1ec0,x
        sta $0450,x
        lda dat_2800,x
        sta $05e0,x
        lda #$a0
        sta $06e0,x
        inx
        bne loop1
        ldx #$3f
loop2:
        lda $1fc0,x
        sta $0550,x
        dex
        bpl loop2
        ldx #$00
loop3:
        lda #$0c
        sta $d800,x
        sta $d8e0,x
        lda #$00
        sta $d9e0,x
        sta $dae0,x
        inx
        bne loop3
        lda #$1b
        sta $d011
        lda #$0d
        sta $d022
        lda #$03
        sta $03f2
        sta $03f0
        sta $03f3
        cli
        jmp loc_2ae2
}
irq_297e: {
        inc $d019
        lda #$d8
        sta $d016
        lda #$18
        sta $d018
        ldx #$03
loop1:
        dex
        bne loop1
        ldx #$00
loop2:
        ldy #$08
loop3:
        lda $1e00,x
        sta $d023
        sta $03ff
        inx
        dey
        beq loop2
        cpx #$40
        bcs $29b3
        txa
        ldx #$05
loop4:
        dex
        bne loop4
        tax
        bit $02
        bit $02
        clc
        bcc loop3
        nop
        lda #$8a
        sta $d012
        lda #$c6
        sta $0314
        lda #$29
        sta $0315
        jmp $ea81
}
irq_29c6: {
        inc $d019
        lda #$c8
        sta $d016
        lda #$14
        sta $d018
        ldx #$03
loop1:
        dex
        bne loop1
        ldx #$00
loop2:
        ldy #$08
loop3:
        lda $1e40,x
        sta $d021
        sta $03ff
        inx
        dey
        beq loop2
        cpx #$30
        bcs $29fb
        txa
        ldx #$05
loop4:
        dex
        bne loop4
        bit $02
        bit $02
        tax
        clc
        bcc loop3
        lda #$c8
        sta $d012
        lda #$71
        sta $0314
        lda #$2a
        sta $0315
        jmp $ea81
}
// Referenced by: jsr from $2a9d

sub_2a0d:
        lda $03f2
        sta $03ef

loc_2a13:
        jsr sub_2a1f
        dec $03ef
        bpl loc_2a13
        rts

dat_2a1c:
        .byte $4c,$31,$ea                           // L1.

// Referenced by: jsr from $2a13
sub_2a1f: {
        ldx $03f0
        dex
        bpl done
        jsr sub_2a2c
done:
        stx $03f0
        rts
}
// Referenced by: jsr from $2a25

sub_2a2c:
        ldx #$00

loc_2a2e:
        lda $0721,x
        sta $0720,x
        inx
        cpx #$28
        bne loc_2a2e

loc_2a39:
.label smc_2a3a = * + 1
.label smc_2a3b = * + 2
        lda $1c0d                                   // !SMC: modified by $2912, $2917, $2a55, $2a5a
        beq loc_2a53
        cmp #$41
        bcs loc_2a60
        clc
        adc #$80
        sta $0747
        inc smc_2a3a
        bne loc_2a50
        inc smc_2a3b

loc_2a50:
        ldx #$07
        rts

loc_2a53:
        lda #$00
        sta smc_2a3a                                // SMC: modifies $2a3a
        lda #$1b
        sta smc_2a3b                                // SMC: modifies $2a3b
        jmp loc_2a39

loc_2a60:
        sec
        sbc #$40
        sta $03f2
        inc smc_2a3a
        bne loc_2a6e
        inc smc_2a3b

loc_2a6e:
        jmp loc_2a39
irq_2a71: {
        inc $d019
        lda $03f0
        sta $d016
        lda #$14
        sta $d018
        ldx #$03
loop1:
        dex
        bne loop1
        ldx #$00
loop2:
        lda $1e80,x
        ldy $d012
loop3:
        cpy $d012
        beq loop3
        sta $d021
        inx
        iny
        cpx #$12
        bne loop2
        jsr sub_0912
        jsr sub_2a0d
        jsr sub_2ad3
        lda #$42
        sta $d012
        lda #$7e
        sta $0314
        lda #$29
        sta $0315
        jmp $ea31
}

// Referenced by: jsr from $2ad9
sub_2ab5: {
        ldx $03f3
        lda $1ea0,x
        ldx #$15
loop:
        sta $da38,x
        dex
        bpl loop
        inc $03f3
        lda $03f3
        cmp #$20
        bne done
        lda #$00
        sta $03f3
done:
        rts
}
// Referenced by: jsr from $2aa0

sub_2ad3:
        ldx $03f4
        dex
        bne loc_2ade
        jsr sub_2ab5
        ldx #$04

loc_2ade:
        stx $03f4
        rts

loc_2ae2:
        lda $dc01
        cmp #$ef
        bne loc_2ae2
        sei
        jsr $fda3
        jsr $fd15
        jsr $ff5b
        jmp $fce2

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

// --- Region $0801-$090b ---
.pc = $0801 "dat_0801"

dat_0801:
        // === BASIC loader stub ===
        .byte $0b,$08                                                     // [corrected] was: .byte $0c,$08                               // next line pointer ($080c)
        .byte $14,$00                                                     // [corrected] was: .byte $00,$00                               // line number 0
        .byte $9e                                   // SYS token
        .byte $32,$30,$35,$39,$00
        .byte $a0                                                         // [corrected] was: .byte $00                                   // end of line
        .byte $00,$ba                                                     // [corrected] was: .byte $00,$00                               // end of BASIC program
        .byte $bd,$ed,$19,$9d,$fc,$00,$ca,$d0,$f7,$4c,$bb,$19,$80,$00,$0a,$bd // .........L......
        .byte $c4,$f0,$c8,$f6,$79,$09,$d1,$61,$0e,$0f,$07,$05,$5e,$18,$34,$3b // ....y..a....^.4;
        .byte $02,$01,$11,$49,$65,$08,$31,$24,$38,$06,$02,$03,$fe,$84,$12,$c3 // ...Ie.1$8.......
        .byte $51,$61,$9c,$d1,$e0,$22,$2a,$01,$31,$08,$70,$f5,$04,$06,$7d,$0a // Qa..."*.1.p...}.
        .byte $30,$2b,$46,$d0,$02,$0b,$1d,$fb,$ff,$57,$28,$10,$09,$04,$01,$e7 // 0+F......W(.....
        .byte $7b,$c4,$21,$10,$b0,$24,$4a,$22,$f0,$2d,$b9,$c3,$5a,$9c,$11,$08 // {.!..$J".-..Z...
        .byte $1a,$f9,$1d,$a2,$74,$3f,$a7,$a4,$fa,$47,$ff,$4a,$39,$11,$5b,$1a // ....t?...G.J9.[.
        .byte $56,$cd,$29,$f9,$0a,$6c,$5d,$68,$46,$b8,$2b,$ca,$f5,$10,$f1,$fb // V.)..l]hF.+.....
        .byte $48,$b1,$3d,$70,$39,$68,$17,$8f,$7d,$2c,$d4,$93,$8f,$80,$90,$6c // H.=p9h..},.....l
        .byte $d5,$ee,$a0,$07,$b9,$83,$f2,$99,$b5,$88,$59,$10,$f7,$20,$8e,$f7 // ..........Y.. ..
        .byte $4c,$8a,$9d,$2b,$ce,$e8,$e0,$f3,$d0,$f8,$eb,$0f,$eb,$ed,$ba,$3a // L..+...........:
        .byte $bc,$90,$60,$ad,$d5,$b1,$bb,$f0,$07,$c9,$e7,$9c,$04,$4c,$98,$e7 // ..`..........L..
        .byte $00,$aa
        .text "GVH$"
        .byte $ee
        .byte $49,$ad,$a2,$02,$ce,$af
        .byte $30,$a0,$f8
        .byte $fc,$53,$86,$a9,$bf,$9e,$16,$b1,$4e,$64,$a3,$ad,$69,$cc,$cd,$15 // .S......Nd..i...
        .byte $ae,$33,$14,$cf,$9b,$56,$47,$4b,$7b,$9f,$9d,$8d,$48,$b7,$ff,$88 // .3...VGK{...H...
        .byte $30,$06,$66,$56,$e7,$7f,$41,$0c,$bc,$9d,$b4,$b9,$a7,$cf // 0.fV..A.......

// --- Region $0916-$098d ---
.pc = $0916 "Program $0916"
        .byte $00,$07,$0e,$0f,$07,$05,$21,$18,$34,$01,$01,$01,$01,$01,$01 // ......!.4......

txt_0925:
        .text "AA!1$81$8"
        .byte $06,$02,$03,$11,$08,$1a,$11,$08,$1a,$c3,$61,$9c,$00,$00,$00,$e0 // ..........a.....
        .byte $00,$00,$01,$08,$00,$01,$08,$00,$70,$02,$02,$02,$06,$00,$0a,$30 // ........p......0
        .fill 12, $00
        .byte $02,$02,$00,$1d,$fb,$ff,$00,$00,$10,$10,$10,$01,$01,$01,$00,$00 // ................
        .byte $00,$00,$00,$00,$00,$40,$41,$21,$00,$00,$00,$00,$00,$00,$00,$00 // .....@A!........
        .byte $00,$00,$00,$00,$00,$00,$00,$24,$00,$00,$f0,$2d,$00,$c3,$00,$9c // .......$...-....
        .byte $11,$08,$1a,$00                       // ....

// --- Region $118c-$15ef ---
.pc = $118c "Segment $118c"
        .byte $1c,$2d,$3e,$51,$66,$7b,$91,$a9,$c3,$dd,$fa,$18,$38,$5a,$7d,$a3 // .->Qf{......8Z}.
        .byte $cc,$f6,$23,$53,$86,$bb,$e0,$30,$70,$b4,$fb,$47,$98,$ed,$47,$a7 // ..#S...0p..G..G.
        .byte $0c,$77,$e9,$61,$e1,$68,$f7,$8f,$30,$da,$8f,$4e,$18,$ef,$d2,$c3 // .w.a.h..0..N....
        .byte $c3,$d1,$ef,$1f,$60,$b5,$1e,$9c,$31,$df,$a5,$87,$86,$a2,$df,$3e // ....`...1......>
        .byte $c1,$6b,$3c,$39,$63,$be,$4b,$0f,$0c,$45,$bf,$7d,$83,$d6,$79,$73 // .k<9c.K..E.}..ys
        .byte $c7,$7c,$97,$1e,$18,$8b,$7e,$fa,$06,$ac,$f3,$e6,$8f,$f8,$2e,$01 // .|....~.........
        .fill 11, $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_1227:
        .text "!#%'*,/258;?CGKOTY"
        .byte $5e,$64,$6a,$70,$77,$7e,$86,$8e,$96,$9f,$a8,$b3,$bd,$c8,$d4,$e1 // ^djpw~..........
        .byte $ee,$fd,$c9,$01,$a7,$01,$9a,$01,$7b,$01,$66,$01,$51,$01,$3c,$01 // ........{.f.Q.<.
        .byte $29,$01,$1c,$01,$0a,$01,$fb,$00,$ea,$00,$dd,$00,$d2,$00,$c7,$00 // )...............
        .byte $bc,$00,$af,$00,$a6,$00,$9e,$00,$94,$00,$8c,$00,$83,$00,$7e,$00 // ..............~.
        .byte $75,$00,$6e,$00,$83,$8b,$93,$12,$12,$12,$a7,$04,$ab,$c0,$19,$19 // u.n.............
        .byte $18,$14,$3d,$72,$a7,$b4,$14,$14,$14,$14,$ba,$b4,$bd,$c0,$14,$14 // ..=r............
        .byte $14,$14,$a7,$04,$ab,$c0,$19,$19,$18,$14,$a3,$18,$c0,$14,$dc,$14 // ................
        .byte $ef,$14,$02,$15,$4a,$15,$6d,$15,$ac,$15,$d1,$15,$ea,$15,$23,$16 // ....J.m.......#.
        .byte $3a,$16,$68,$16,$c0,$16,$e3,$16,$f7,$16,$17,$17,$2b,$17,$40,$17 // :.h.........+.@.
        .byte $57,$17,$6d,$17,$92,$17,$a8,$17,$b8,$17,$d1,$17,$e3,$17,$f5,$17 // W.m.............
        .byte $59,$18,$68,$18,$80,$18,$a3,$18,$a3,$18,$a3,$18,$a3,$18,$a3,$18 // Y.h.............
        .byte $a3,$18,$a3,$18,$a3,$18,$a3,$18,$a3,$18,$a3,$18,$a3,$18,$a3,$18 // ................
        .byte $a3,$18,$a3,$18,$a3,$18,$a3,$18,$a3,$18,$a3,$18,$a3,$18,$a3,$18 // ................
        .byte $a3,$18,$a3,$18,$a3,$18,$a3,$18,$15   // .........

txt_1312:
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $0c,$00,$00,$00,$00,$00,$00,$02,$02,$02,$02,$02,$02,$02,$41,$15 // ..............A.
        .byte $41,$15,$00,$00,$00,$00,$00,$00,$00,$00,$3a,$13,$43,$13,$4b,$13 // A.........:.C.K.
        .byte $54,$13,$08,$81                       // T...

txt_133c:
        .text "A"
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .text "$"
        .byte $fb,$fa,$f9,$f8,$f7,$f6,$f5,$08,$81,$41,$40,$80,$40,$80,$80,$80 // .........A@.@...
        .byte $24,$ff,$01,$22,$00,$20,$14,$20,$6c,$70,$74,$78,$7c,$80,$84,$88 // $..". . lptx|...
        .fill 8, $13
        .byte $02,$07,$03,$00,$02,$07,$04,$00,$02,$0c,$07,$03,$02,$0c,$07,$04 // ................
        .byte $02,$09,$05,$00,$02,$07,$05,$00,$02,$10,$0c,$07,$02,$18,$0c,$00 // ................
        .byte $90,$13,$9a,$13,$b0,$fe,$fe,$fe,$60,$1f,$02,$04,$06,$24,$30,$f1 // ........`....$0.
        .byte $f1,$f1,$10,$4f,$02,$04,$06,$08,$20,$20,$60,$02,$00,$08,$0d,$04 // ...O....  `.....
        .byte $70,$08,$60,$0c,$50,$08,$0e,$10,$60   // p.`.P...`

txt_13b5:
        .text " P0"
        .byte $40                                   // @ character
        .byte $02,$06,$10,$20,$20,$18,$30,$14,$00,$00,$00,$00,$00,$00,$00,$00 // ...  .0.........
        .byte $08,$41,$07,$07,$10,$01,$00,$10,$08,$41,$08,$08,$10,$00,$00,$10 // .A.......A......
        .byte $00,$21,$08,$88,$10,$00,$00,$04,$00,$23,$b0,$8d,$a0,$00,$00,$00 // .!.......#......
        .byte $42,$41,$09,$a9,$b8,$43,$31,$02,$01,$41,$08,$99,$10,$00,$21,$80 // BA...C1..A....!.
        .byte $08,$41,$09,$9c,$a0,$43,$51,$05,$00,$15,$0a,$a9,$40,$00,$00,$00 // .A...CQ.....@...
        .byte $07,$41,$09,$9a,$20,$00,$51,$00,$01,$41,$00,$dc,$e8,$53,$53,$00 // .A.. .Q..A...SS.
        .byte $01,$15,$02,$87,$11,$51,$53,$81,$01,$11,$00,$88,$10,$53,$51,$80 // .....QS......SQ.
        .byte $07,$41,$c0,$dd,$e1,$53,$51,$01,$00,$00,$18,$16,$00,$08,$04,$00 // .A...SQ.........
        .byte $14,$06,$18,$16,$89,$16,$16,$8c,$16,$16,$87,$16,$16,$85,$16,$16 // ................
        .byte $89,$16,$16,$8c,$16,$16,$87,$16,$16,$85,$16,$16,$89,$16,$16,$8c // ................
        .byte $16,$16,$87,$16,$16,$85,$16,$16,$89,$16,$16,$8c,$16,$16,$87,$16 // ................
        .byte $16,$85,$16,$16,$80,$18,$80,$18,$ff,$89,$17,$17,$8c,$17,$17,$87 // ................
        .byte $17,$17,$85,$17,$17,$89,$17,$17,$8c,$17,$17,$87,$17,$17,$85,$17 // ................
        .byte $17,$80,$19,$89,$17,$17,$8c,$17,$17,$87,$17,$17,$85,$17,$17,$80 // ................
        .byte $19,$89,$17,$17,$8c,$17,$17,$87,$17,$17,$85,$17,$17,$ff,$80,$18 // ................
        .byte $80,$18,$80,$18,$80,$1a,$80,$1a,$80,$1a,$ff,$8c,$1b,$1b,$1b,$1b // ................
        .byte $fe,$80,$1c,$fe,$8c,$1c,$fe,$c2,$86,$24,$c2,$82,$24,$c1,$84,$2b // .........$..$..+
        .byte $c2,$84,$24,$c2,$86,$24,$c2,$82,$24,$c1,$84,$2b,$c2,$82,$24,$c2 // ..$..$..$..+..$.
        .byte $82,$24,$ff,$c6,$82,$18,$0c,$18,$24,$18,$18,$24,$0c,$18,$0c,$18 // .$......$..$....
        .byte $24,$18,$18,$24,$0c,$ff,$c6,$82,$18,$0c,$18,$24,$18,$18,$24,$0c // $..$.......$..$.
        .byte $19,$0d,$19,$25,$19,$19,$25,$0d,$ff,$c3,$82,$70 // ...%..%....p

txt_1505:
        .text "0000000000000000"
        .byte $71                                   // q

txt_1516:
        .text ",,,,,,,,,,,,,,,,"
        .byte $74                                   // t

txt_1527:
        .text "................"
        .byte $75                                   // u

txt_1538:
        .text "........"
        .byte $71                                   // q

txt_1541:
        .text "........"
        .byte $ff,$c4,$90,$e0,$f0,$24,$48,$e0,$f0,$48,$24,$e0,$f0,$24,$48,$e0 // .....$H..H$..$H.
        .byte $f0,$48,$24,$e0,$f0,$24,$48,$e0,$f0,$48,$24,$e0,$f0,$24,$48,$e0 // .H$..$H..H$..$H.
        .byte $f0
        .byte $48,$24,$ff,$c5,$82
        .byte $3a,$84
        .byte $3a,$82
        .text ":=:="
        .byte $84
        .byte $41
        .byte $82
        .text "A?=:"
        .byte $86
        .byte $3d,$84
        .byte $41,$41,$41,$82
        .byte $42,$84
        .byte $41,$86
        .byte $3f,$84,$3d,$84,$3f,$82,$44,$44,$84,$42,$41,$82,$3f,$86,$3d,$84 // ?.=.?.DD.BA.?.=.
        .byte $3f,$41,$3d,$82,$3f,$84,$44,$82,$3f,$84,$44,$82,$3f,$92,$e0,$f6 // ?A=.?.D.?.D.?...
        .byte $44,$2c,$ff,$c2,$86,$24,$c2,$82,$24,$c1,$84,$2b,$c2,$84,$24,$c2 // D,...$..$..+..$.
        .byte $82,$24,$c1,$82,$2b,$c2,$82,$24,$c2,$82,$24,$c1,$82,$2b,$c2,$82 // .$..+..$..$..+..
        .byte $24,$c1,$82,$2b,$c1,$82,$2b,$ff,$c2,$86,$24,$c2,$82,$24,$c1,$84 // $..+..+...$..$..
        .byte $2b,$c2,$84,$24,$c2,$82,$24,$c1,$82   // +..$..$..

txt_15e2:
        .text "+++++++"
        .byte $ff,$c5,$82,$3a,$81,$3a,$3a           // ...:.::

// --- Region $15f8-$1a98 ---
.pc = $15f8 "Segment $15f8"
        .byte $84
        .byte $3a,$82
        .text ":=:=?"
        .byte $90
        .byte $41,$88
        .byte $3f,$3d,$82
        .byte $44,$44
        .byte $84,$42,$41,$82,$3f,$86,$3d,$84,$3f,$41,$3d,$82,$3f,$84,$44,$82 // .BA.?.=.?A=.?.D.
        .byte $3f,$84,$44,$82,$3f,$92,$e0,$f6,$44,$2c,$ff,$f1,$f4,$c7,$a0,$70 // ?.D.?...D,.....p
        .byte $3a,$71,$3d,$73,$36,$71,$90,$38,$82   // :q=s6q.8.

txt_1631:
        .text "DD8DD8DD"
        .byte $ff,$c5,$82,$43,$43,$84,$3e,$3a,$39,$8a,$37,$c5,$82,$37,$39,$3a // ...CC.>:9.7..79:
        .byte $84,$3e,$3e,$82,$3e,$84,$3c,$92,$3a,$84,$3c,$3c,$82,$3c,$84,$3a // .>>.>.<.:.<<.<.:
        .byte $3c,$3c,$3c,$82
        .byte $3c,$3e,$3f,$90
        .byte $43,$84
        .text ">:95"
        .byte $ff,$f1
        .byte $f4,$c7,$a0,$70,$37,$84,$37,$37,$37,$82,$37,$81,$37,$37,$82,$37 // ...p7.777.7.77.7
        .byte $84,$37,$37,$82                       // .77.

txt_167d:
        .text "777"
        .byte $a0                                   // ' ' | $80 (end-of-string marker)
        .byte $71,$3a,$84,$3a,$3a,$3a,$82,$3a,$81,$3a,$3a,$82,$3a,$84,$3a,$3a // q:.:::.:.::.:.::
        .byte $82                                   // .

txt_1692:
        .text ":::"
        .byte $a0                                   // ' ' | $80 (end-of-string marker)
        .byte $71,$3c,$84,$3c,$3c,$3c,$82,$3c,$81,$3c,$3c,$82,$3c,$84,$3c,$3c // q<.<<<.<.<<.<.<<
        .byte $82                                   // .

txt_16a7:
        .text "<<<"
        .byte $a0                                   // ' ' | $80 (end-of-string marker)
        .byte $71,$3f,$84,$3f,$3f,$3f,$82,$3f,$81,$3f,$3f,$82,$3f,$84,$3f,$3f // q?.???.?.??.?.??
        .byte $82,$3f,$3f,$3f,$ff,$c8,$82,$1f       // .???....

txt_16c3:
        .text " !"
        .byte $22                                   // double quote character
        .text "#$%&'()*+,-./0123456789:;<=>"
        .byte $ff,$ca,$a0,$30,$90                   // ...0.

txt_16e7:
        .text "30"
        .byte $a0                                   // ' ' | $80 (end-of-string marker)
        .byte $a0,$2e,$a0,$2d,$90                   // ...-.

txt_16ef:
        .text "05"
        .byte $a0                                   // ' ' | $80 (end-of-string marker)
        .byte $33,$90,$32,$2e,$ff,$c2,$88           // 3.2....

txt_16f9:
        .text "#######"
        .byte $82,$23,$84,$23,$82,$23,$88           // .#.#.#.

txt_1707:
        .text "#######"
        .byte $82,$23,$82,$23,$82,$23,$82,$23,$ff,$ca,$a0,$33,$90 // .#.#.#.#...3.

txt_171b:
        .text "73"
        .byte $a0                                   // ' ' | $80 (end-of-string marker)
        .byte $a0,$32,$a0,$29,$90                   // .2.).

txt_1723:
        .text "-0"
        .byte $a0                                   // ' ' | $80 (end-of-string marker)
        .byte $30,$90,$2e,$29,$ff,$f1,$f4,$cb,$82   // 0..).....

txt_172f:
        .text "HO7<O<<O<O<OO<O<"
        .byte $ff,$cc,$82                           // ...

txt_1742:
        .text ">>J>"
        .byte $c1                                   // 'A' | $80 (end-of-string marker)
        .byte $2b,$cc                               // +.

txt_1749:
        .text "J>>J>>J"
        .byte $c1                                   // 'A' | $80 (end-of-string marker)
        .byte $2b,$cc,$3e,$4a,$3e,$ff,$cc,$82       // +.>J>...

txt_1759:
        .text ">>J>"
        .byte $c1                                   // 'A' | $80 (end-of-string marker)
        .byte $2b,$cc                               // +.

txt_1760:
        .text "J>>"
        .byte $c1                                   // 'A' | $80 (end-of-string marker)

txt_1764:
        .text "++++++++"
        .byte $ff,$f1,$f4,$c7,$82,$71,$24,$73,$24,$76,$24,$71,$30,$73,$30,$76 // .....q$s$v$q0s0v
        .byte $30,$71,$3c,$73,$3c,$71,$3c,$76,$30,$73,$30,$71,$30,$76,$24,$73 // 0q<s<q<v0s0q0v$s
        .byte $24,$71,$24,$76,$18,$ff,$ca,$a0,$37,$88 // $q$v....7.

txt_1796:
        .text ":757"
        .byte $b0                                   // '0' | $80 (end-of-string marker)
        .byte $90,$35,$a0,$37,$88                   // .5.7.

txt_17a0:
        .text ":7:<"
        .byte $b0                                   // '0' | $80 (end-of-string marker)
        .byte $90,$3a,$ff,$c6,$84,$18,$82,$24,$0c,$18,$24,$84,$18,$82,$24,$0c // .:.....$..$...$.
        .byte $18,$24,$ff,$c2,$82,$24,$c6,$24,$18,$c1,$82,$18,$c6,$18,$24,$c2 // .$...$.$......$.
        .byte $82,$24,$c6,$24,$18,$c1,$82,$18,$c6,$18,$24,$ff,$ca,$98,$39,$8c // .$.$......$...9.
        .byte $3c,$3b,$98,$98,$37,$98,$3b,$8c,$3c,$3b,$98,$98,$39,$ff,$ca,$98 // <;..7.;.<;..9...
        .byte $34,$8c,$39,$32,$98,$98,$34,$98,$37,$8c,$39,$37,$98,$98,$35,$ff // 4.92..4.7.97..5.
        .byte $c3,$82,$77                           // ..w

txt_17f8:
        .text "9<"
        .byte $40                                   // @ character
        .text "<"
        .byte $40                                   // @ character
        .text "EHE"
        .byte $40                                   // @ character
        .text "E"
        .byte $40                                   // @ character
        .text "<9<"
        .byte $40                                   // @ character
        .text "<"
        .byte $40                                   // @ character
        .text "EHE"
        .byte $40                                   // @ character
        .text "E"
        .byte $40                                   // @ character
        .text "<<"
        .byte $40                                   // @ character
        .text "C"
        .byte $40                                   // @ character
        .text "CHLHCHC"
        .byte $40                                   // @ character
        .text "<"
        .byte $40                                   // @ character
        .text "C"
        .byte $40                                   // @ character
        .text "CHLHCHC"
        .byte $40                                   // @ character
        .text "7;>;>CGC>C>;7;>;>CGC>C>;59<9<AEA<A<959<9<AEA<A<9"
        .byte $ff,$cb,$82                           // ...

txt_185b:
        .text "000000000000"
        .byte $ff,$ca,$8a,$18,$82,$1a,$86,$1b,$18,$c0,$98,$00,$ca,$8a,$18,$82 // ................
        .byte $1a,$86,$1b,$18,$98,$1e,$82,$18,$ff,$c6,$82,$18,$0c,$18,$24,$18 // ..............$.
        .byte $18,$24,$0c,$18,$0c,$18,$24,$18,$18,$24,$0c,$1f,$13,$1f,$2b,$1f // .$....$..$....+.
        .byte $1f,$2b,$13,$1f,$13,$1f,$2b,$1f,$1f,$2b,$13,$ff,$c0,$b0,$18,$b0 // .+....+..+......
        .byte $18,$a0,$18,$ff,$80,$00,$80,$05,$8a,$04,$80,$06,$80,$09,$80,$0a // ................
        .byte $81,$0a,$80,$0b,$80,$0c,$8c,$0d,$80,$06,$80,$09,$8c,$0e,$8c,$0e // ................
        .byte $83,$11,$84,$11,$89,$11,$85,$11,$86,$11,$83,$11,$8c,$11,$82,$11 // ................
        .byte $85,$14,$83,$14,$86,$14,$88,$14,$80,$06,$80,$09,$80,$0b,$8c,$0d // ................
        .byte $9a,$0d,$80,$06,$80,$09,$80,$0c,$80,$0c,$80,$06,$80,$09,$80,$0b // ................
        .byte $8c,$0d,$9a,$0d,$80,$06,$80,$09,$80,$0c,$80,$0c,$ff,$8a,$04,$8a // ................
        .byte $04,$80,$01,$01,$01,$01,$80,$01,$01,$01,$01,$80,$01,$07,$01,$01 // ................
        .byte $80,$01,$07,$01,$08,$80,$01,$07,$01,$08,$80,$01,$07,$01,$08,$80 // ................
        .byte $01,$01,$01,$07,$80,$01,$01,$01,$08,$80,$07,$08,$80,$01,$07,$01 // ................
        .byte $08,$80,$01,$07,$01,$08,$80,$01,$07,$01,$08,$80,$01,$07,$01,$08 // ................
        .byte $80,$0f,$0f,$80,$0f,$0f,$80,$01,$07,$01,$08,$80,$01,$07,$01,$08 // ................
        .byte $80,$01,$07,$01,$08,$80,$01,$07,$01,$08,$80,$01,$07,$01,$08,$80 // ................
        .byte $01,$07,$01,$08,$80,$01,$07,$01,$08,$80,$01,$01,$01,$07,$80,$01 // ................
        .byte $01,$01,$08,$80,$15,$80,$01,$07,$01,$08,$80,$01,$07,$01,$08,$80 // ................
        .byte $01,$07,$01,$08,$80,$01,$07,$01,$08,$80,$01,$07,$01,$08,$80,$01 // ................
        .byte $07,$01,$08,$80,$01,$01,$01,$07,$80,$01,$01,$01,$08,$80,$15,$ff // ................
        .byte $8a,$02,$86,$1d,$88,$03,$8a,$02,$86,$1d,$88,$03,$8a,$02,$86,$1d // ................
        .byte $88,$03,$8a,$02,$86,$1d,$88,$03,$8a,$02,$86,$1d,$88,$03,$8a,$02 // ................
        .byte $8d,$02,$86,$02,$88,$03,$8b,$02,$8e,$02,$87,$02,$89,$03,$87,$02 // ................
        .byte $8a,$02,$8c,$02,$8f,$02,$87,$02,$02,$8a,$02,$02,$8c,$02,$02,$8f // ................
        .byte $02,$02,$87,$02,$02,$8a,$02,$86,$1d,$88,$03,$8a,$02,$86,$1d,$88 // ................
        .byte $03,$8c,$02,$02,$8f,$02,$02,$85,$02,$02,$88,$02,$8a,$02,$8c,$10 // ................
        .byte $80,$42,$12,$13,$80,$42,$12,$13,$85,$02,$83,$02,$86,$02,$88,$02 // .B...B..........
        .byte $8a,$02,$86,$1d,$88,$03,$8a,$02,$86,$1d,$88,$03,$87,$02,$8a,$02 // ................
        .byte $8c,$02,$8f,$02,$87,$02,$8a,$02,$8c,$02,$8f,$02,$8a,$02,$86,$1d // ................
        .byte $88,$03,$8a,$02,$86,$1d,$88,$03,$87,$02,$02,$8a,$02,$02,$8c,$02 // ................
        .byte $02,$8f,$02,$02,$87,$02,$02,$8a,$02,$02,$8c,$02,$02,$8f,$02,$02 // ................
        .byte $8a,$02,$86,$1d,$88,$03,$8a,$02,$86,$1d,$88,$03,$87,$02,$8a,$02 // ................
        .byte $8c,$02,$8f,$02,$87,$02,$8a,$02,$8c,$02,$8f,$02,$8a,$02,$86,$1d // ................
        .byte $88,$03,$8a,$02,$86,$1d,$88,$03,$87,$02,$02,$8a,$02,$02,$8c,$02 // ................
        .byte $02,$8f,$02,$02,$87,$02,$02,$8a,$02,$02,$8c,$02,$02,$8f,$02,$02 // ................
        .byte $ff                                   // .

dat_1a98:
        // === Fill data (1 bytes, $1a98-$1a98) ===
        .byte $00                                   // .

// --- Region $1ad0-$1e6e ---
.pc = $1ad0 "dat_1ad0"

dat_1ad0:
        .byte $01,$00,$02,$00,$04,$00,$08,$00,$10,$00,$20,$00,$40,$00,$80,$00 // .......... .@...
        .byte $50,$60,$70,$80,$90,$a0,$b0,$c0,$f8,$f8,$f8,$f8,$f8,$f8,$f8,$f8 // P`p.............
        .fill 8, $01
        .byte $90,$91,$92,$93,$94,$95,$96,$97       // ........

txt_1b00:
        .text "           A "

txt_1b0d:
        .encoding "screencode_mixed"
        .text "welcome to 'kings of the beach', cracked by esi/usa, imported and pal-fixed by make and came of lazer"
        .encoding "petscii_upper"

txt_1b72:
        .text " !    "

txt_1b78:
        .encoding "screencode_mixed"
        .text "for trading the latezt warez, write to: lazer, plk"
        .encoding "petscii_upper"

txt_1baa:
        .text " 056764 "
        .byte $04                                   // .

txt_1bb3:
        .text ", 4600 "
        .byte $04,$0f,$12,$14,$0d,$15,$0e,$04       // ........

txt_1bc2:
        .text " 30, "
        .byte $17,$05,$13,$14,$05,$12,$0e,$20,$07,$05,$12,$0d,$01,$0e,$19 // ....... .......

txt_1bd6:
        .text " !    "

txt_1bdc:
        .encoding "screencode_mixed"
        .text "greetinx bumping to: moskwa tv/bb"
        .encoding "petscii_upper"

txt_1bfd:
        .text ", 711, "
        .byte $05,$13,$09                           // ...

txt_1c07:
        .text ", 2000 "

txt_1c0e:
        .encoding "screencode_mixed"
        .text "ad, cosmos, byterappers, sqn, pulsar, chaos, ikari, orion, f4cg, sharks, action, crazy, tkom, gp, dcs, htl, ctx, fbr germany, duplex, defence, dynamix, poltergeist, babygang, sodom, legend"
        .encoding "petscii_upper"

txt_1cca:
        .text ", ... !!!    "
        .byte $06,$15,$03,$0b,$20,$0f,$16,$05,$12   // .... ....

txt_1ce0:
        .text " !   "

txt_1ce5:
        .encoding "screencode_mixed"
        .text "see ya lazer"
        .encoding "petscii_upper"

txt_1cf1:
        .text " !"

dat_1cf3:
        // === Fill data (44 bytes, $1cf3-$1d1e) ===
        .fill 44, $20
        .byte $00                                   // .

dat_1d20:
        .text "                                                                                                                                                                                                                                "
        .byte $00                                   // string terminator
        .fill 12, $00
        .byte $06,$0e,$05,$03,$0d,$00,$06,$0e,$05,$03,$0d,$01,$01,$07,$0a,$08 // ................
        .byte $02,$09,$00,$07,$0a,$08,$02,$09,$00,$00,$00,$00,$00,$00,$00,$00 // ................
        .byte $00,$0b,$0b,$0c,$0b,$0c,$0f,$0b,$0c,$0f,$07,$0b,$0c,$0f,$07,$01 // ................
        .byte $0f,$0c,$0b,$00,$00,$00,$00,$00,$00,$00,$05,$03,$0d,$01,$0d,$03 // ................
        .byte $05,$06,$00,$00,$00,$00,$00,$00,$00,$00,$02,$0a,$01,$01,$01,$0d // ................
        .byte $03,$0b,$00,$00,$00,$00,$00,$00,$00,$00,$06,$0e,$03,$01,$03,$0e // ................
        .byte $06,$0b                               // ..

// --- Region $1e88-$1ea7 ---
.pc = $1e88 "dat_1e88"

dat_1e88:
        .byte $06,$04,$0a,$07,$0a,$04,$06,$00,$00,$00,$00,$00,$00,$00,$00,$00 // ................
        .fill 9, $00
        .byte $0b,$0c,$0f,$01,$0f,$0c,$0b           // .......

// --- Region $1ec0-$2000 ---
.pc = $1ec0 "dat_1ec0"

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

txt_1eec:
        .text " !"
        .byte $22                                   // double quote character
        .text "#$%&'()*+,-./0123456789:;<=>?"
        .byte $00                                   // string terminator
        .byte $00,$00,$00,$00,$00,$00,$00           // .......

txt_1f14:
        .byte $40                                   // @ character
        .text "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
        .byte $5b,$5c,$5d,$5e,$5f,$00,$00,$00,$00,$00,$00,$00,$00,$60,$61,$62 // [\]^_........`ab
        .byte $63,$64,$65,$66,$67,$68,$69,$6a,$6b,$6c,$6d,$6e,$6f,$70,$71,$72 // cdefghijklmnopqr
        .byte $73,$74,$75,$76,$77,$78,$79,$7a,$7b,$7c,$7d,$7e,$7f,$00,$00,$00 // stuvwxyz{|}~....
        .byte $00,$00,$00,$00,$00,$80,$81,$82,$83,$84,$85,$86,$87,$88,$89,$8a // ................
        .byte $8b,$8c,$8d,$8e,$8f,$90,$91,$92,$93,$94,$95,$96,$97,$98,$99,$9a // ................
        .byte $9b,$9c,$9d,$9e,$9f,$00,$00,$00,$00,$00,$00,$00,$00,$a0,$a1,$a2 // ................
        .byte $a3,$a4,$a5,$a6,$a7,$a8,$a9,$aa,$ab,$ac,$ad,$ae,$af,$b0,$b1,$b2 // ................
        .byte $b3,$b4,$b5,$b6,$b7,$b8,$b9,$ba,$bb,$bc,$bd,$be,$bf,$00,$00,$00 // ................
        .byte $00,$00,$00,$00,$00,$c0,$c1,$c2,$c3,$c4,$c5,$c6,$c7,$c8,$c9,$ca // ................
        .byte $cb,$cc,$cd,$ce,$cf,$d0,$d1,$d2,$d3,$d4,$d5,$d6,$d7,$d8,$d9,$da // ................
        .byte $db,$dc,$dd,$de,$df,$00,$00,$00,$00,$00,$00,$00,$00,$e0,$e1,$e2 // ................
        .byte $e3,$e4,$e5,$e6,$e7,$e8,$e9,$ea,$eb,$ec,$ed,$ee,$ef,$f0,$f1,$f2 // ................
        .byte $f3,$f4,$f5,$f6,$f7,$f8,$f9,$fa,$fb,$fc,$fd,$fe,$ff,$20,$20,$20 // .............   
        .byte $00                                   // .

chr_2000:
        // === Charset data (1 bytes, $2000-$2000) ===
        .byte $00                                   // char 0 (partial)

// --- Region $201c-$20ff ---
.pc = $201c "dat_201c"

dat_201c:
        .byte $01,$01,$01,$07                       // char 3 (partial)
        .byte $00,$00,$00,$00,$55,$aa,$aa,$ff       // char 4 @+4
        .byte $00,$00,$00,$00,$54,$ac,$ac,$fc       // char 5 @+5
        .byte $00,$00,$00,$00,$05,$06,$06,$1f       // char 6 @+6
        .byte $00,$00,$00,$00,$55,$aa,$aa,$ff       // char 7 @+7
        .byte $00,$00,$00,$00,$55,$aa,$aa,$ff       // char 8 @+8
        .byte $00,$00,$00,$00,$55,$aa,$aa,$ff       // char 9 @+9
        .byte $00,$00,$00,$00,$55,$aa,$aa,$ff       // char 10 @+10
        .byte $00,$00,$00,$00,$55,$aa,$aa,$ff       // char 11 @+11
        .byte $00,$00,$00,$00,$55,$ab,$ab,$fc       // char 12 @+12
        .byte $00,$00,$00,$00,$05,$06,$06,$07       // char 13 @+13
        .byte $00,$00,$00,$00,$55,$aa,$aa,$ff       // char 14 @+14
        .byte $00,$00,$00,$00,$55,$aa,$aa,$ff       // char 15 @+15
        .byte $00,$00,$00,$00,$55,$aa,$aa,$ff       // char 16 @+16
        .byte $00,$00,$00,$00,$55,$aa,$aa,$ff       // char 17 @+17
        .byte $00,$00,$00,$00,$55,$aa,$aa,$ff       // char 18 @+18
        .byte $00,$00,$00,$00,$41,$c1,$c1,$c1       // char 19 @+19
        .byte $00,$00,$00,$00,$55,$aa,$aa,$ff       // char 20 @+20
        .byte $00,$00,$00,$00,$55,$aa,$aa,$ff       // char 21 @+21
        .byte $00,$00,$00,$00,$55,$aa,$aa,$ff       // char 22 @+22
        .byte $00,$00,$00,$00,$55,$aa,$aa,$ff       // char 23 @+23
        .byte $00,$00,$00,$00,$55,$aa,$aa,$ff       // char 24 @+24
        .byte $00,$00,$00,$00,$55,$aa,$aa,$ff       // char 25 @+25
        .byte $00,$00,$00,$00,$55,$aa,$aa,$ff       // char 26 @+26
        .byte $00,$00,$00,$00,$55,$aa,$aa,$ff       // char 27 @+27
        .byte $00,$00,$00,$00,$55,$aa,$aa,$ff       // char 28 @+28
        .byte $00,$00,$00,$00,$55,$aa,$aa,$ff       // char 29 @+29
        .byte $00,$00,$00,$00,$55,$aa,$aa,$ff       // char 30 @+30
        .byte $00,$00,$00,$00,$50,$b0,$b0,$f0       // char 31 @+31

// --- Region $2118-$2262 ---
.pc = $2118 "dat_2118"

dat_2118:
        .byte $06,$05,$06,$1f,$1a,$1a,$1a,$6a       // char 35 '#'
        .byte $aa,$55,$aa,$ff,$aa,$aa,$aa,$ab       // char 36 '$'
        .byte $b0,$70,$b0,$c0,$c0,$c0,$c0,$01       // char 37 '%'
        .byte $1a,$15,$1a,$7f,$6a,$6a,$6a,$aa       // char 38 '&'
        .byte $aa,$55,$aa,$ff,$aa,$aa,$aa,$af       // char 39 '''
        .byte $aa,$55,$aa,$ff,$aa,$aa,$aa,$ff       // char 40 '('
        .byte $aa,$55,$aa,$ff,$aa,$aa,$aa,$ff       // char 41 ')'
        .byte $aa,$55,$aa,$ff,$aa,$aa,$aa,$fa       // char 42 '*'
        .byte $aa,$55,$aa,$ff,$aa,$aa,$aa,$aa       // char 43 '+'
        .byte $ac,$5c,$ac,$f0,$b0,$b0,$b0,$c0       // char 44 ','
        .byte $1a,$15,$1a,$1f,$6a,$6a,$6a,$7f       // char 45 '-'
        .byte $aa,$55,$aa,$ff,$aa,$aa,$aa,$ff       // char 46 '.'
        .byte $aa,$55,$aa,$ff,$aa,$aa,$aa,$ff       // char 47 '/'
        .byte $aa,$55,$aa,$ff,$aa,$aa,$aa,$fe       // char 48 '0'
        .byte $aa,$55,$aa,$ff,$aa,$aa,$aa,$aa       // char 49 '1'
        .byte $ab,$57,$ab,$ff,$ac,$ac,$ac,$bc       // char 50 '2'
        .byte $06,$05,$06,$07,$1a,$1a,$1a,$1a       // char 51 '3'
        .byte $aa,$55,$aa,$ff,$aa,$aa,$aa,$aa       // char 52 '4'
        .byte $aa,$55,$aa,$ff,$aa,$aa,$aa,$ff       // char 53 '5'
        .byte $aa,$55,$aa,$ff,$aa,$aa,$aa,$ff       // char 54 '6'
        .byte $aa,$55,$aa,$ff,$aa,$aa,$aa,$ff       // char 55 '7'
        .byte $aa,$55,$aa,$ff,$aa,$aa,$aa,$ff       // char 56 '8'
        .byte $aa,$55,$aa,$ff,$aa,$aa,$aa,$fe       // char 57 '9'
        .byte $aa,$55,$aa,$ff,$aa,$aa,$aa,$aa       // char 58 ':'
        .byte $aa,$55,$aa,$ff,$aa,$aa,$aa,$ff       // char 59 ';'
        .byte $aa,$55,$aa,$ff,$aa,$aa,$aa,$ff       // char 60 '<'
        .byte $aa,$55,$aa,$ff,$aa,$aa,$aa,$ea       // char 61 '='
        .byte $a6,$55,$a6,$ff,$ab,$ab,$ab,$ab       // char 62 '>'
        .byte $c0,$c0,$c0,$c0,$00,$00,$00,$00       // char 63 '?'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 64 '@'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 65 'A'
        .byte $00,$00,$00,$01,$01,$01,$01,$06       // char 66 'B'
        .byte $6a,$6a,$6a,$aa,$aa,$aa,$aa,$aa       // char 67 'C'
        .byte $ab,$ab,$ab,$ac,$ac,$ac,$ac,$b0       // char 68 'D'
        .byte $01,$01,$01,$06,$06,$06,$06,$1a       // char 69 'E'
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$aa,$aa       // char 70 'F'
        .byte $ac,$ac,$b0,$b0,$b0,$b0,$c0,$c0       // char 71 'G'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 72 'H'
        .byte $00,$00,$00,$00,$00,$00,$01,$01       // char 73 'I'
        .byte $1a,$1a,$6a,$6a,$6a,$6a,$aa,$aa       // char 74 'J'
        .byte $aa,$aa,$aa,$ab,$ab,$ab,$ab,$ac       // char 75 'K'
        .byte $c0,$c0,$c0                           // char 76 (partial)

// --- Region $227c-$22a9 ---
.pc = $227c "dat_227c"

dat_227c:
        .byte $01,$01,$06,$1a                       // char 79 (partial)
        .byte $06,$1a,$1a,$6a,$aa,$aa,$aa,$aa       // char 80 'P'
        .byte $aa,$aa,$aa,$ab,$ac,$ac,$b0,$c0       // char 81 'Q'
        .byte $b0,$c0,$c0,$01,$01,$01,$01,$06       // char 82 'R'
        .byte $6a,$6a,$6a,$aa,$aa,$aa,$aa,$aa       // char 83 'S'
        .byte $aa,$aa,$ab,$ab,$ab,$ab,$ac,$ac       // char 84 'T'
        .byte $c0,$c0                               // char 85 (partial)

// --- Region $22c8-$22f7 ---
.pc = $22c8 "dat_22c8"

dat_22c8:
        .byte $06,$06,$06,$1a,$1a,$1a,$1a,$6a       // char 89 'Y'
        .byte $aa,$aa,$aa,$aa,$ab,$ab,$ab,$ab       // char 90 'Z'
        .byte $c0,$c0,$c0,$c0,$00,$00,$00,$00       // char 91 '['
        .byte $00,$00,$00,$00,$01,$01,$01,$01       // char 92 '\'
        .byte $6a,$6a,$6a,$6a,$aa,$aa,$aa,$aa       // char 93 ']'
        .byte $ac,$ac,$ac,$ac,$b0,$b0,$b0,$b0       // char 94 '^'

// --- Region $2310-$24ef ---
.pc = $2310 "dat_2310"

dat_2310:
        .byte $06,$06,$06,$1a,$1a,$1a,$1a,$6a       // char 98 'b'
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$aa,$ab       // char 99 'c'
        .byte $b0,$b0,$b0,$c0,$c0,$c0,$c0,$01       // char 100 'd'
        .byte $1a,$1a,$1a,$6a,$6a,$6a,$6a,$aa       // char 101 'e'
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$aa,$aa       // char 102 'f'
        .byte $c0,$c0,$d5,$aa,$aa,$aa,$aa,$aa       // char 103 'g'
        .byte $00,$00,$55,$aa,$aa,$aa,$aa,$aa       // char 104 'h'
        .byte $01,$01,$55,$aa,$aa,$aa,$aa,$aa       // char 105 'i'
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$aa,$aa       // char 106 'j'
        .byte $ac,$ac,$ac,$b0,$b0,$b0,$b0,$c0       // char 107 'k'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 108 'l'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 109 'm'
        .byte $00,$00,$01,$01,$06,$1a,$1a,$6a       // char 110 'n'
        .byte $1a,$6a,$aa,$aa,$aa,$aa,$aa,$ab       // char 111 'o'
        .byte $aa,$ab,$ac,$ac,$b0,$c0,$c0,$00       // char 112 'p'
        .byte $c0,$00,$00,$00,$00,$00,$00,$00       // char 113 'q'
        .byte $06,$06,$06,$1a,$1a,$1a,$1a,$6a       // char 114 'r'
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$aa,$aa       // char 115 's'
        .byte $ac,$ac,$b0,$b0,$b0,$b5,$aa,$aa       // char 116 't'
        .byte $00,$00,$00,$00,$00,$55,$aa,$aa       // char 117 'u'
        .byte $00,$00,$00,$00,$00,$50,$b0,$c0       // char 118 'v'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 119 'w'
        .byte $00,$00,$00,$01,$01,$01,$01,$06       // char 120 'x'
        .byte $6a,$6a,$6a,$aa,$aa,$aa,$aa,$aa       // char 121 'y'
        .byte $ab,$aa,$aa,$aa,$aa,$aa,$aa,$aa       // char 122 'z'
        .byte $55,$aa,$aa,$aa,$aa,$aa,$aa,$aa       // char 123 '{'
        .byte $55,$aa,$aa,$aa,$aa,$aa,$aa,$aa       // char 124 '|'
        .byte $aa,$aa,$aa,$aa,$ab,$ab,$ab,$ab       // char 125 '}'
        .byte $c0,$c0,$c0,$c0,$00,$00,$00,$00       // char 126 '~'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 127
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 128
        .byte $00,$00,$00,$01,$01,$01,$01,$06       // char 129
        .byte $6a,$6a,$6a,$aa,$aa,$aa,$aa,$aa       // char 130
        .byte $ab,$ab,$ab,$ac,$ac,$ac,$ac,$b0       // char 131
        .byte $01,$01,$01,$06,$06,$06,$06,$1a       // char 132
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$aa,$aa       // char 133
        .byte $aa,$aa,$aa,$aa,$bf,$b0,$b0,$c0       // char 134
        .byte $aa,$aa,$aa,$aa,$ff,$00,$00,$00       // char 135
        .byte $aa,$aa,$aa,$aa,$ff,$00,$00,$01       // char 136
        .byte $aa,$aa,$aa,$aa,$ea,$6a,$6a,$aa       // char 137
        .byte $aa,$aa,$aa,$ab,$ab,$ab,$ab,$ac       // char 138
        .byte $c0,$c0,$c0,$00,$00,$00,$00,$00       // char 139
        .byte $00,$00,$00,$00,$00,$00,$01,$01       // char 140
        .byte $01,$01,$06,$1a,$1a,$6a,$aa,$aa       // char 141
        .byte $aa,$aa,$aa,$aa,$aa,$ab,$ac,$ac       // char 142
        .byte $ac,$ac,$b0,$c0,$c0,$00,$00,$00       // char 143
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 144
        .byte $00,$00,$00,$01,$01,$01,$01,$06       // char 145
        .byte $6a,$6a,$6a,$aa,$aa,$aa,$aa,$aa       // char 146
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$af,$ac       // char 147
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$ff,$00       // char 148
        .byte $aa,$aa,$aa,$ab,$ab,$ab,$ff,$00       // char 149
        .byte $c0,$c0,$c0,$00,$00,$00,$00,$00       // char 150
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 151
        .byte $06,$06,$06,$1a,$1a,$1a,$1a,$6a       // char 152
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$aa,$ab       // char 153
        .byte $aa,$aa,$aa,$aa,$aa,$da,$c6,$01       // char 154
        .byte $aa,$aa,$aa,$ab,$aa,$aa,$aa,$aa       // char 155
        .byte $aa,$aa,$aa,$ff,$c0,$b0,$ac,$ab       // char 156
        .byte $ac,$ac,$ac,$fc,$00,$30,$20,$10       // char 157

// --- Region $2508-$259f ---
.pc = $2508 "dat_2508"

dat_2508:
        .byte $06,$06,$06,$1a,$1a,$1a,$1a,$6a       // char 161
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$aa,$ab       // char 162
        .byte $b0,$b0,$b0,$c0,$c0,$c0,$c0,$01       // char 163
        .byte $1a,$1a,$1a,$6a,$6a,$6a,$6a,$aa       // char 164
        .byte $aa,$aa,$aa,$ab,$ab,$ab,$ab,$ac       // char 165
        .byte $c0,$c0,$c0,$00,$00,$00,$00,$00       // char 166
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 167
        .byte $01,$01,$01,$06,$06,$06,$06,$1a       // char 168
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$aa,$aa       // char 169
        .byte $ac,$ac,$ac,$b0,$b0,$b0,$b0,$c0       // char 170
        .byte $00,$00,$00,$00,$01,$01,$06,$1a       // char 171
        .byte $06,$1a,$1a,$6a,$aa,$aa,$aa,$aa       // char 172
        .byte $aa,$aa,$aa,$ab,$ac,$ac,$b0,$c0       // char 173
        .byte $b0,$c0,$c0,$00,$00,$00,$00,$00       // char 174
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 175
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 176
        .byte $06,$06,$06,$1a,$1a,$1a,$1a,$6a       // char 177
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$aa,$aa       // char 178
        .byte $b0,$b0,$b0,$b0,$c0,$c0,$c0,$c0       // char 179

// --- Region $25bb-$26e7 ---
.pc = $25bb "dat_25bb"

dat_25bb:
        .byte $01,$01,$01,$01,$06                   // char 183 (partial)
        .byte $6a,$6a,$6a,$aa,$aa,$aa,$aa,$aa       // char 184
        .byte $ab,$ab,$ab,$ac,$ac,$ac,$ac,$b0       // char 185
        .byte $00,$00,$00,$00,$00,$00,$00,$01       // char 186
        .byte $6a,$1a,$1a,$6a,$6a,$6a,$6a,$aa       // char 187
        .byte $aa,$aa,$aa,$aa,$ab,$ab,$ab,$ac       // char 188
        .byte $56,$d0,$e0,$f0,$00,$00,$00,$00       // char 189
        .byte $c0,$00,$00,$00,$00,$00,$00,$00       // char 190
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 191
        .byte $00,$00,$00,$01,$01,$01,$01,$06       // char 192
        .byte $6a,$6a,$6a,$aa,$aa,$aa,$aa,$aa       // char 193
        .byte $ab,$ab,$ab,$ab,$aa,$aa,$aa,$aa       // char 194
        .byte $01,$00,$00,$55,$aa,$aa,$aa,$aa       // char 195
        .byte $ff,$00,$00,$55,$aa,$aa,$aa,$aa       // char 196
        .byte $fc,$00,$00,$55,$aa,$aa,$aa,$aa       // char 197
        .byte $00,$00,$00,$55,$aa,$aa,$aa,$aa       // char 198
        .byte $00,$00,$00,$50,$b0,$b0,$b0,$c1       // char 199
        .byte $1a,$1a,$1a,$6a,$6a,$6a,$6a,$aa       // char 200
        .byte $aa,$aa,$aa,$ab,$ab,$ab,$ab,$ac       // char 201
        .byte $c0,$c0,$c1,$06,$06,$06,$06,$1a       // char 202
        .byte $1a,$6a,$aa,$aa,$aa,$aa,$aa,$aa       // char 203
        .byte $aa,$ab,$ac,$ad,$aa,$aa,$aa,$aa       // char 204
        .byte $c0,$00,$00,$55,$aa,$aa,$aa,$aa       // char 205
        .byte $00,$00,$00,$55,$aa,$aa,$aa,$aa       // char 206
        .byte $00,$00,$00,$55,$aa,$aa,$aa,$ab       // char 207
        .byte $00,$00,$00,$41,$c1,$c1,$c1,$06       // char 208
        .byte $6a,$6a,$6a,$aa,$aa,$aa,$aa,$aa       // char 209
        .byte $ab,$ab,$ab,$ab,$aa,$aa,$aa,$aa       // char 210
        .byte $00,$00,$00,$55,$aa,$aa,$aa,$aa       // char 211
        .byte $00,$00,$00,$55,$aa,$aa,$aa,$aa       // char 212
        .byte $00,$00,$00,$55,$aa,$aa,$aa,$aa       // char 213
        .byte $00,$00,$00,$54,$ac,$ac,$ac,$b0       // char 214
        .byte $06,$06,$06,$1a,$1a,$1a,$1a,$6a       // char 215
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$aa,$ab       // char 216
        .byte $b0,$b0,$b0,$c0,$c0,$c0,$c0,$00       // char 217
        .byte $01,$01,$01,$06,$06,$06,$06,$1a       // char 218
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$aa,$aa       // char 219
        .byte $ac,$ac,$ac,$b0,$b0,$b0,$b0,$c0       // char 220

// --- Region $2700-$27e2 ---
.pc = $2700 "dat_2700"

dat_2700:
        .byte $06,$06,$06,$1a,$1a,$1a,$1f,$00       // char 224
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$ff,$00       // char 225
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$ff,$00       // char 226
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$ff,$00       // char 227
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$ff,$00       // char 228
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$ff,$00       // char 229
        .byte $aa,$aa,$aa,$ab,$ab,$ab,$ff,$00       // char 230
        .byte $c1,$c1,$c1,$06,$06,$06,$07,$00       // char 231
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$ff,$00       // char 232
        .byte $ac,$ac,$ac,$b0,$b0,$b0,$f0,$00       // char 233
        .byte $1a,$1a,$1a,$6a,$6a,$6a,$7f,$00       // char 234
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$ff,$00       // char 235
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$ff,$00       // char 236
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$ff,$00       // char 237
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$ff,$00       // char 238
        .byte $ab,$ab,$ab,$ac,$ac,$ac,$fc,$00       // char 239
        .byte $06,$06,$06,$1a,$1a,$1a,$1f,$00       // char 240
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$ff,$00       // char 241
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$ff,$00       // char 242
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$ff,$00       // char 243
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$ff,$00       // char 244
        .byte $aa,$aa,$aa,$aa,$aa,$aa,$ff,$00       // char 245
        .byte $b0,$b0,$b0,$c1,$c1,$c1,$c1,$00       // char 246
        .byte $6a,$6a,$6a,$aa,$aa,$aa,$ff,$00       // char 247
        .byte $ab,$ab,$ab,$ac,$ac,$ac,$fc,$00       // char 248
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 249
        .byte $1a,$1a,$1a,$6a,$6a,$6a,$7f,$00       // char 250
        .byte $aa,$aa,$aa,$ab,$ab,$ab,$ff,$00       // char 251
        .byte $c0,$c0,$c0                           // char 252 (partial)

// --- Region $2800-$28ff ---
.pc = $2800 "dat_2800"

dat_2800:
        .fill 11, $a0
        .byte $90,$92,$8f,$95,$84,$8c,$99,$a0,$90,$92,$85,$93,$85,$8e,$94,$93 // ................

dat_281b:
        // === Fill data (63 bytes, $281b-$2859) ===
        .fill 63, $a0
        .byte $8b,$89,$8e,$87,$93,$a0,$8f,$86,$a0,$94,$88,$85,$a0,$82,$85,$81 // ................
        .byte $83,$88                               // ..

dat_286c:
        // === Fill data (62 bytes, $286c-$28a9) ===
        .fill 62, $a0
        .byte $89,$8d,$90,$8f,$92,$94,$85,$84,$a0,$93,$85,$90,$94,$ae,$b1,$b9 // ................
        .byte $b8,$b9,$a0,$a0,$a0,$a0,$a0,$a0,$a0,$a0,$a0,$a0,$a0,$a0 // ..............

dat_28c8:
        .text "                                                        "
