// ============================================
// output - Disassembled Source
// ============================================
// KickAssembler syntax
// Generated by Restore 64 v0.2.1 alpha build 298, 2026-04-01 10:59:22
// https://restore64.dev by datucker / Rabenauge
//
// Load address: $07ee  End: $1dbf  (5586 bytes)
// Crunched with Beta Dynamic v3 — depacked by emulation
// Packer entry: $080b (via BASIC SYS 2059)
// Entry point:  $1870 (6256)
// IRQ handler:  $187c (irq_187c)
// IRQ handler:  $ea31 (irq_ea31)
//
// Code: 1622 bytes, Data: 3964 bytes
// Labels: 205, Subroutines: 12
//
// Cross-references: all OK
// ============================================


// --- Region $0a16-$0a1d ---
.pc = $0a16 "Program $0a16"
        .byte $ff,$ff,$ff                           // isc $ffff,x // ILLEGAL
        .byte $ff,$ff,$ff                           // isc $ffff,x // ILLEGAL

dat_0a1c:
        // === Fill data (2 bytes, $0a1c-$0a1d) ===
        .byte $ff,$ff                               // ..

// --- Region $10d4-$10d7 ---
.pc = $10d4 "loc_10d4"

loc_10d4:
        ora ($ff,x)
        brk

dat_10d7:
        .byte $13                                   // .

// --- Region $10f0-$138d ---
.pc = $10f0 "sub_10f0"

// Referenced by: jsr from $1117; jmp from $1127
sub_10f0: {
        lda #$ff
        sta $109e
        sta $109f
        sta $10a0
        lda #$00
        ldx #$02
loop:
        sta $1046,x
        sta $1049,x
        sta $104c,x
        sta $1649,x
        dex
        bpl loop
        sta $10cb
        rts
}
// Referenced by: jsr from $18ec

sub_1112:
        lda #$01
        sta $10cb
        jsr sub_10f0
        rts

dat_111b:
        .byte $60                                   // `

loc_111c:
        lda $10cb
        cmp #$02
        beq loc_112a
        cmp #$01
        bne loc_112b
        jmp sub_10f0

loc_112a:
        rts

loc_112b:
        inc $109e
        inc $109f
        inc $10a0
        ldx #$02
        dec $10ca
        bpl loc_1141
        lda $1042
        sta $10ca

loc_1141:
        stx $48
        lda $1043,x
        sta $177d
        tay
        lda $10ca
        cmp $1042
        bne loc_1166
        lda $15d3,x
        sta smc_116d                                // SMC: modifies $116d
        lda $15d6,x
        sta smc_116e                                // SMC: modifies $116e
        dec $104c,x
        bmi loc_1169
        jmp loc_12c8

loc_1166:
        jmp loc_12f6

loc_1169:
        ldy $1046,x
.label smc_116d = * + 1
.label smc_116e = * + 2
        lda $10cc,y                                 // !SMC: modified by $1155, $115b
        cmp #$ff
        bne loc_1181
        lda #$00
        sta $104c,x
        sta $1046,x
        sta $1049,x
        jmp loc_1169

loc_1181:
        sta $10bf
        cmp #$80
        bcc loc_1193
        and #$1f
        sta $1779,x
        inc $1046,x
        jmp loc_1169

loc_1193:
        lda $10bf
        cmp #$40
        bcc loc_11a5
        and #$3f
        sta dat_10d7,x
        inc $1046,x
        jmp loc_1169

loc_11a5:
        lda $10bf
        asl
        tay
        lda $15d9,y
        sta $46
        lda $15da,y
        sta $47
        lda #$00
        ldy $1049,x
        sta $109e,x
        lda ($46),y
        sta $43

loc_11c0:
        and #$f0
        cmp #$f0
        bne loc_11cf
        jsr sub_12bb
        sta $d417
        jsr sub_12bb

loc_11cf:
        lda #$00
        sta $10dd,x
        lda $43
        and #$e0
        cmp #$c0
        bne loc_11e6
        lda $43
        and #$1f
        sta $164c,x
        jsr sub_12bb

loc_11e6:
        lda $43
        and #$c0
        cmp #$80
        bne loc_1214
        lda $43
        and #$3f
        sec
        sbc #$01
        sta tbl_lo_104f,x
        jsr sub_12bb
        and #$c0
        cmp #$80
        bne loc_120f
        lda $43
        and #$3f
        clc
        adc tbl_lo_104f,x
        sta tbl_lo_104f,x
        jsr sub_12bb

loc_120f:
        lda $43
        jmp loc_11c0

loc_1214:
        lda tbl_lo_104f,x
        sta $104c,x
        lda #$00
        sta $10a1,x
        lda $43
        clc
        adc $1779,x
        sta $1649,x
        tay
        lda $151c,y
        sta $10e6,x
        sta $4a
        sta $1608,x
        lda $157e,y
        sta $10e9,x
        sta $1666,x
        sta $1669,x
        ldy $177d
        sta $d401,y
        lda $4a
        sta $d400,y
        lda $10dd,x
        bne loc_129a
        lda $164c,x
        asl
        asl
        asl
        tax
        stx $177c
        lda $16ba,x
        sta $d405,y
        lda $16bb,x
        sta $d406,y
        lda $16bc,x
        sta $4b
        lda $16b8,x
        sta $4c
        lda $16b9,x
        ldx $48
        sta tbl_hi_1055,x
        sta $10da,x
        lda #$00
        sta $d402,y
        sta $1519,x
        lda $4c
        sta $109a,x
        and #$0f
        sta $d403,y
        sta $105b,x
        lda #$01
        sta $10c7,x
        lda $4b
        sta $10c4,x

loc_129a:
        inc $1049,x
        ldy $1049,x
        lda ($46),y
        cmp #$ff
        bne loc_12b8

loc_12a6:
        lda #$00
        sta $1049,x
        lda dat_10d7,x
        beq loc_12b5
        dec dat_10d7,x
        bpl loc_12b8

loc_12b5:
        inc $1046,x

loc_12b8:
        jmp loc_14d7
// Referenced by: jsr from $11c6, $11cc, $11e3, $11f8, $120c

sub_12bb:
        inc $1049,x
        iny
        lda ($46),y
        cmp #$ff
        beq loc_12a6
        sta $43
        rts

loc_12c8:
        lda $104c,x
        beq loc_12ee
        lda $164c,x
        asl
        asl
        asl
        tay
        lda $16bc,y
        rol
        lsr
        lsr
        lsr
        sta smc_12e6                                // SMC: modifies $12e6
        lda tbl_lo_104f,x
        sec
        sbc $104c,x
.label smc_12e6 = * + 1
        cmp #$00                                    // !SMC: modified by $12db
        bcs loc_12ee
        lda tbl_hi_1055,x
        bne loc_12f3

loc_12ee:
        lda tbl_hi_1055,x
        and #$fe

loc_12f3:
        sta $10da,x

loc_12f6:
        lda $109a,x
        and #$10
        beq loc_12fd

loc_12fd:
        lda $164c,x
        asl
        asl
        asl
        tay
        lda $16bd,y
        sta $40
        lda $16be,y
        sta $41
        lda $1649,x
        sta $1058,x
        lda $16bf,y
        sta $42
        and #$10
        beq loc_1320
        jmp loc_134c

loc_1320:
        lda $42
        and #$04
        beq loc_134c
        dec $10a1,x
        bpl loc_1330
        lda #$03
        sta $10a1,x

loc_1330:
        ldx $48
        ldy $10a1,x
        lda $1674,y
        clc
        adc $1649,x
        sta $1058,x
        tay
        lda $151c,y
        sta $10e6,x
        lda $157e,y
        sta $10e9,x

loc_134c:
        lda $41
        and #$f0
        sta $109d
        lda $10c7,x
        bne loc_1372
        lda $1519,x
        sec
        sbc $109d
        sta $1519,x
        lda $105b,x
        sbc #$00
        sta $105b,x
        cmp #$06
        bcs loc_139d
        lda #$01
        bne loc_139a

loc_1372:
        lda $1519,x
        clc
        adc $109d
        sta $1519,x
        lda $105b,x
        adc #$00
        sta $105b,x
        cmp #$0a
        bcc loc_139d
        lda #$00
        beq loc_1398

dat_138c:
        .byte $9d,$19                               // ..

// --- Region $1398-$1507 ---
.pc = $1398 "loc_1398"

loc_1398:
        lda #$00

loc_139a:
        sta $10c7,x

loc_139d:
        ldx $48
        ldy $177d
        lda $1519,x
        sta $d402,y
        lda $105b,x
        sta $d403,y
        lda $42
        and #$20
        beq loc_13c2
        ldx $48
        lda $1666,x
        sec
        sbc #$02
        sta $1666,x
        sta $10e9,x

loc_13c2:
        lda $42
        and #$01
        beq loc_1420
        ldx $48
        stx $10d6
        lda $10c4,x
        and #$03
        asl
        tax
        lda $1678,x
        sta smc_13e1                                // SMC: modifies $13e1
        lda $1679,x
        sta smc_13e5                                // SMC: modifies $13e5
.label smc_13e1 = * + 1
        lda #$7c                                    // !SMC: modified by $13d7
        sta $44
.label smc_13e5 = * + 1
        lda #$16                                    // !SMC: modified by $13dd
        sta $45
        lda #$1f
        sta $d418
        ldx $48
        lda $109e,x
        ldy #$09
        cmp ($44),y
        bcc loc_13ff
        ldy #$04
        lda ($44),y
        jmp loc_1420

loc_13ff:
        dey
        cmp ($44),y
        bcs loc_1412
        cpy #$06
        bne loc_13ff
        ldy #$00
        lda ($44),y
        jmp loc_1420

dat_140f:
        .byte $4c,$26,$14                           // L&.

loc_1412:
        dey
        dey
        dey
        dey
        dey
        lda $10c1,x
        clc
        adc ($44),y
        jmp loc_1420

loc_1420:
        sta $10c1,x
        sta $d416
        lda $42
        and #$10
        bne loc_142f
        jmp loc_1499

loc_142f:
        lda $40
        and #$0f
        asl
        asl
        tax
        lda $15eb,x
        sta smc_1465                                // SMC: modifies $1465
        sta smc_1455                                // SMC: modifies $1455
        lda $15ec,x
        sta smc_1466                                // SMC: modifies $1466
        sta smc_1456                                // SMC: modifies $1456
        lda $15ed,x
        sta smc_146c                                // SMC: modifies $146c
        lda $15ee,x
        sta smc_146d                                // SMC: modifies $146d
.label smc_1455 = * + 1
.label smc_1456 = * + 2
        lda $161b                                   // !SMC: modified by $143c, $1445
        sta smc_1460                                // SMC: modifies $1460
        ldx $48
        lda $109e,x
.label smc_1460 = * + 1
        cmp #$0f                                    // !SMC: modified by $1457
        bcs loc_1496
        tay
.label smc_1465 = * + 1
.label smc_1466 = * + 2
        lda $161b,y                                 // !SMC: modified by $1439, $1442
        sta $10da,x
        dey
.label smc_146c = * + 1
.label smc_146d = * + 2
        lda $1630,y                                 // !SMC: modified by $144b, $1451
        sta $10c0
        ldy $177d
        lda $40
        and #$10
        beq loc_1486
        ldx $48
        lda $1058,x
        clc
        adc $10c0
        jmp loc_14f5

loc_1486:
        ldx $48
        lda $10c0
        clc
        adc #$0d
        sta $10e9,x
        lda #$00
        sta $10e6,x

loc_1496:
        jmp loc_14d7

loc_1499:
        lda $42
        and #$80
        beq loc_14d7
        ldx $48
        lda $109e,x
        cmp #$02
        bcs loc_14bc
        lda #$5f
        sta $10e9,x
        lda #$00
        sta $10e6,x
        ldx $48
        lda #$81
        sta $10da,x
        jmp loc_14d7

loc_14bc:
        lda $109e,x
        cmp #$04
        bcs loc_14d7
        lda $1608,x
        sta $10e6,x
        lda $1666,x
        sta $10e9,x
        lda tbl_hi_1055,x
        and #$fe
        sta $10da,x

loc_14d7:
        ldx $48
        ldy $177d
        lda $10da,x
        sta $d404,y
        lda $10e6,x
        sta $d400,y
        lda $10e9,x
        sta $d401,y
        dex
        bmi loc_14f4
        jmp loc_1141

loc_14f4:
        rts

loc_14f5:
        tay
        ldx $48
        lda $151c,y
        sta $10e6,x
        lda $157e,y
        sta $10e9,x
        jmp loc_14d7

dat_1507:
        .byte $c5                                   // .

// --- Region $1870-$19e5 ---
.pc = $1870 "main_1870"

main_1870:
        lda #$00
        sta $d011
        beq loc_1890

txt_1877:
        .text "4 TSS"

irq_187c:
.label smc_187d = * + 1
.label smc_187e = * + 2
        jsr sub_1985                                // !SMC: modified by $187f, $1882
        sta smc_187d                                // SMC: modifies $187d
        sty smc_187e                                // SMC: modifies $187e
        stx $d012
        lda #$01
        sta $d019
        jmp $ea7e

loc_1890:
        sta $d020
        sta $d021
        sta $0277
        sta $d022
        sta $d023
        sta $0286
        jsr $e544
        sei
        ldx #$00

loc_18a8:
        lda $0fc0,x
        sta $d000,x
        inx
        cpx #$2f
        bne loc_18a8
        ldx #$00

loc_18b5:
        lda #$28
        sta $07f8,x
        inx
        cpx #$08
        bne loc_18b5
        ldx #$00

loc_18c1:
        lda tbl_1780,x
        sta $0478,x
        lda #$08
        sta $d878,x
        inx
        cpx #$f0
        bne loc_18c1
        lda #$12
        sta $d018
        lda #$01
        sta $dc0d
        lda #$20
        sta $d012
        lda #$7c
        ldy #$18
        sta $0314
        sty $0315
        lda #$00
        jsr sub_1112
        lda #$1b
        sta $d011
        lda #$01
        sta $d019
        cli
        ldy #$10

loc_18fc:
        jsr sub_196c
        dey
        bne loc_18fc

loc_1902:
        jsr sub_1919
        ldy #$10

loc_1907:
        jsr sub_196c
        dey
        bne loc_1907
        jsr sub_192e
        jsr sub_1943
        jsr sub_1a0b
        jmp loc_1902
// Referenced by: jsr from $1902; branch from $192b

sub_1919:
        ldx #$00

loc_191b:
        inc $07f8,x
        inx
        cpx #$08
        bne loc_191b
        jsr sub_196c
        lda $07f8
        cmp #$2f
        bne sub_1919
        rts
// Referenced by: jsr from $190d; branch from $1940

sub_192e:
        ldx #$00

loc_1930:
        dec $07f8,x
        inx
        cpx #$08
        bne loc_1930
        jsr sub_196c
        lda $07f8
        cmp #$28
        bne sub_192e
        rts
// Referenced by: jsr from $1910

sub_1943:
        ldx #$00

loc_1945:
.label smc_1946 = * + 1
.label smc_1947 = * + 2
        lda txt_1b00,x                              // !SMC: modified by $194c, $1951, $1963
        bne loc_1955
        lda #$00
        sta smc_1946                                // SMC: modifies $1946
        lda #$1b
        sta smc_1947                                // SMC: modifies $1947
        rts

loc_1955:
        sta $0608,x
        inx
        cpx #$28
        bne loc_1945
        lda smc_1946
        clc
        adc #$28
        sta smc_1946                                // SMC: modifies $1946
        bcc loc_196b
        inc smc_1947

loc_196b:
        rts

// Referenced by: jsr from $18fc, $1907, $1923, $1938
sub_196c: {
        tya
        pha
        ldx #$08
loop1:
        ldy #$00
loop2:
        lda $dc01
        and #$10
        beq skip
        dey
        bne loop2
        dex
        bne loop1
        pla
        tay
        rts
skip:
        jmp loc_1aaa
}
// Referenced by: jsr from $187c

sub_1985:
        sei
        lda #$d8
        sta $d016
        lda $1a03
        sta $d021
        lda $1a02
        sta $d022
        lda $1a01
        sta $d023

loc_199d:
        lda $d012
        cmp #$82
        bne loc_199d
        lda #$c8
        sta $d016

loc_19a9:
        lda $d012
        cmp #$a2
        bne loc_19a9
        lda #$00
        sta $d021
        lda #$bc
        ldy #$19
        ldx #$bb
        rts

loc_19bc:
        sei
        ldx #$00
        lda #$c7
        sta $d016

loc_19c4:
        lda $19fb,x
        ldy $19f1,x

loc_19ca:
        dey
        bne loc_19ca
        sta $d021
        sta $d021
        inx
        cpx #$10
        bne loc_19c4
        jsr sub_1a4e
        jsr loc_111c
        lda #$85
        ldy #$19
        ldx #$20
        rts

dat_19e5:
        .byte $0f                                   // .

// --- Region $1a0b-$1ae3 ---
.pc = $1a0b "sub_1a0b"
// Referenced by: jsr from $1913

sub_1a0b:
.label smc_1a0c = * + 1
        ldx #$00                                    // !SMC: modified by $1a34
        lda $19ed,x
        sta $1a01
        sta $1a07
        lda $19e9,x
        sta $1a02
        sta $1a06
        lda dat_19e5,x
        sta $1a03
        sta $1a05
        inc smc_1a0c
        lda smc_1a0c
        cmp #$04
        bne loc_1a37
        lda #$00
        sta smc_1a0c                                // SMC: modifies $1a0c

loc_1a37:
        rts

dat_1a38:
        .byte $00                                   // .

loc_1a39:
        inc dat_1a38
        lda dat_1a38
        cmp #$20
        bne loc_1a4d
        lda #$00
        sta dat_1a38
        lda #$04
        sta $1a4f

loc_1a4d:
        rts

// Referenced by: jsr from $19d8
sub_1a4e: {
        ldy #$04
        cpy #$00
        beq loc_1a39
loop:
        jsr sub_1a5b
        dey
        bne loop
        rts
}
// Referenced by: jsr from $1a54

sub_1a5b:
        dec $19c0
        lda $19c0
        cmp #$bf
        beq loc_1a67
        rts

dat_1a66:
        .byte $03                                   // .

loc_1a67:
        ldx #$00

loc_1a69:
        lda $06d1,x
        sta $06d0,x
        inx
        cpx #$27
        bne loc_1a69
        lda #$c7
        sta $19c0
        ldx dat_1a66
        lda $1c00,x
        bne loc_1a8c
        lda #$00
        sta dat_1a66
        lda #$1c
        sta $1a7e
        rts

loc_1a8c:
        cmp #$40
        bcs loc_1a96
        sta $06f7
        jmp loc_1aa1

loc_1a96:
        sec
        sbc #$40
        beq loc_1a9e
        sta $1a49

loc_1a9e:
        sta $1a4f

loc_1aa1:
        inc dat_1a66
        bne loc_1aa9
        inc $1a7e

loc_1aa9:
        rts

loc_1aaa:
        sei
        lda #$f0
        sta $d01a
        lda #$31
        ldy #$ea
        sta $0314
        sty $0315
        cli
        jsr $fda3
        jsr $e518
        jsr $e544
        lda #$f4
        ldy #$ae
        sta $2d
        sta $ae
        sty $2e
        sty $af
        ldx #$00

loc_1ad2:
        lda dat_1ae3,x
        sta $0400,x
        inx
        cpx #$19
        bne loc_1ad2
        sei
        inc $01
        jmp $0400

dat_1ae3:
        .byte $a2                                   // .

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

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

chr_0800:
        // === Charset data (534 bytes, $0800-$0a15) ===
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 0 @+0
        .byte $f0,$c4,$8c,$80,$9c,$fc,$00,$ff       // char 1 @+1
        .byte $83,$89,$89,$81,$8c,$fc,$01,$ff       // char 2 @+2
        .byte $f0,$c7,$8f,$8f,$8f,$87,$c0,$ff       // char 3 @+3
        .byte $81,$88,$8c,$8c,$8c,$fc,$01,$ff       // char 4 @+4
        .byte $80,$8f,$8f,$81,$8f,$ff,$00,$ff       // char 5 @+5
        .byte $c0,$8f,$8f,$83,$8f,$ff,$0f,$ff       // char 6 @+6
        .byte $c0,$87,$8f,$8f,$8c,$f8,$04,$ff       // char 7 @+7
        .byte $8c,$8c,$8c,$80,$8c,$fc,$0c,$ff       // char 8 @+8
        .byte $e3,$e3,$e3,$e3,$e3,$e3,$e3,$ff       // char 9 @+9
        .byte $e0,$f8,$f8,$f8,$f8,$f8,$01,$ff       // char 10 @+10
        .byte $8c,$89,$83,$87,$83,$89,$8c,$ff       // char 11 @+11
        .byte $8f,$8f,$8f,$8f,$8f,$ff,$80,$ff       // char 12 @+12
        .byte $9e,$8c,$80,$8c,$8c,$fc,$0c,$ff       // char 13 @+13
        .byte $8c,$8c,$84,$80,$88,$fc,$0c,$ff       // char 14 @+14
        .byte $c1,$8c,$8c,$8c,$8c,$8c,$c1,$ff       // char 15 @+15
        .byte $81,$8c,$8c,$81,$8f,$ff,$0f,$ff       // char 16 @+16
        .byte $c1,$8c,$8c,$8c,$8c,$89,$c1,$fc       // char 17 @+17
        .byte $81,$8c,$8c,$89,$83,$f3,$08,$ff       // char 18 @+18
        .byte $c7,$c7,$e3,$f1,$f8,$f8,$01,$ff       // char 19 @+19
        .byte $80,$e3,$e3,$e3,$e3,$e3,$e3,$ff       // char 20 @+20
        .byte $8c,$8c,$8c,$8c,$8c,$8c,$c0,$ff       // char 21 @+21
        .byte $8c,$8c,$8c,$8c,$89,$83,$cf,$ff       // char 22 @+22
        .byte $8c,$8c,$8c,$8c,$80,$f8,$1c,$ff       // char 23 @+23
        .byte $8c,$88,$c3,$e3,$e3,$f9,$0c,$ff       // char 24 @+24
        .byte $89,$89,$89,$c1,$e1,$ff,$01,$ff       // char 25 @+25
        .byte $80,$f8,$f1,$e3,$c7,$ff,$00,$ff       // char 26 @+26
        .byte $e0,$e3,$e3,$e3,$e3,$e3,$e0,$ff       // char 27 @+27
        .byte $f0,$e2,$c7,$83,$c7,$ff,$00,$ff       // char 28 @+28
        .byte $83,$e3,$e3,$e3,$e3,$e3,$83,$ff       // char 29 @+29
        .byte $ff,$e7,$c3,$81,$e7,$cf,$e7,$e7       // char 30 @+30
        .byte $ff,$ff,$d3,$80,$00,$8c,$df,$ff       // char 31 @+31
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff       // char 32 ' '
        .byte $c3,$c3,$c3,$e7,$e7,$ff,$e7,$ff       // char 33 '!'
        .byte $ff,$93,$93,$ff,$ff,$ff,$ff,$ff       // char 34 '"'
        .byte $c9,$80,$c9,$c9,$c9,$80,$c9,$ff       // char 35 '#'
        .byte $c7,$c7,$e3,$e1,$e8,$e8,$01,$eb       // char 36 '$'
        .byte $ff,$8c,$a9,$93,$e4,$ca,$98,$ff       // char 37 '%'
        .byte $c3,$89,$89,$c3,$c0,$89,$84,$ff       // char 38 '&'
        .byte $f3,$e7,$cf,$ff,$ff,$ff,$ff,$ff       // char 39 '''
        .byte $f8,$f1,$e3,$e3,$e3,$f1,$f8,$ff       // char 40 '('
        .byte $8f,$c7,$e3,$e3,$e3,$c7,$8f,$ff       // char 41 ')'
        .byte $ff,$ff,$ff,$ff,$ff,$f7,$18,$f7       // char 42 '*'
        .byte $ff,$e3,$e3,$80,$e3,$e3,$ff,$ff       // char 43 '+'
        .byte $ff,$ff,$ff,$ff,$ff,$cf,$cf,$9f       // char 44 ','
        .byte $ff,$ff,$ff,$80,$ff,$ff,$ff,$ff       // char 45 '-'
        .byte $ff,$ff,$ff,$ff,$ff,$cf,$cf,$ff       // char 46 '.'
        .byte $fc,$f8,$f1,$e3,$c7,$8f,$9f,$ff       // char 47 '/'
        .byte $c1,$8c,$84,$80,$88,$8c,$c1,$ff       // char 48 '0'
        .byte $c3,$c3,$e3,$e3,$e3,$e3,$e3,$ff       // char 49 '1'
        .byte $c1,$8c,$fc,$f0,$c3,$ff,$00,$ff       // char 50 '2'
        .byte $c3,$f1,$f1,$c3,$f1,$ff,$01,$ff       // char 51 '3'
        .byte $f1,$e1,$c1,$89,$80,$f9,$f9,$ff       // char 52 '4'
        .byte $c1,$8f,$8f,$c1,$fc,$8c,$c1,$ff       // char 53 '5'
        .byte $e3,$c7,$c7,$81,$8c,$8c,$c1,$ff       // char 54 '6'
        .byte $80,$fc,$fc,$fc,$f9,$f9,$f9,$ff       // char 55 '7'
        .byte $c1,$8c,$8c,$c1,$8c,$8c,$c1,$ff       // char 56 '8'
        .byte $c1,$8c,$8c,$8c,$c0,$fc,$fc,$ff       // char 57 '9'
        .byte $ff,$e7,$e7,$ff,$ff,$e7,$e7,$ff       // char 58 ':'
        .byte $ff,$e7,$e7,$ff,$ff,$e7,$e7,$cf       // char 59 ';'
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$00       // char 60 '<'
        .byte $ff,$ff,$c3,$ff,$c3,$ff,$ff,$ff       // char 61 '='
        .byte $ff,$00,$ff,$ff,$ff,$ff,$ff,$ff       // char 62 '>'
        .byte $87,$e3,$e3,$c7,$c7,$ff,$c7,$ff       // char 63 '?'
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff       // char 64 '@'
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff       // char 65 'A'
        .byte $ff,$ff,$ff,$ff,$ff,$ff               // char 66 (partial)

// --- Region $0a1e-$0bc0 ---
.pc = $0a1e "Program $0a1e"
        .fill 33, $ff
        .byte $01,$7f,$bf,$ff,$fd,$ff,$df,$ff,$fb,$fb,$f7,$bf,$fe,$ff,$ff,$7f // ................
        .byte $bd,$ff,$ef,$ef,$f7,$ff,$ff,$7f,$bf,$bf,$ff,$ff,$fb,$ff,$fb,$ff // ................
        .byte $ef,$7f,$ff,$ff,$ff,$fd,$ff,$ff,$df,$f7,$fb,$ff,$ff,$df,$ff,$bf // ................
        .byte $ff,$ff,$fd,$ff,$7b,$ff,$b7,$ff,$bf,$ff,$bf,$fb,$ff,$ff,$ff,$bf // ....{...........
        .byte $01,$77,$be,$fb,$ed,$f7,$df,$bf,$fb,$fb,$f5,$bf,$ee,$3f,$f7,$7f // .w...........?..
        .byte $bd,$bf,$ef,$ef,$f6,$7d,$fd,$5f,$bf,$b7,$ed,$df,$fb,$7f,$fb,$df // .....}._........
        .byte $ed,$7f,$f7,$7f,$b7,$7d,$5d,$ff,$df,$f7,$fb,$fe,$fe,$de,$b7,$bf // .....}].........
        .byte $ff,$ff,$ed,$fe,$5a,$ff,$b7,$ef,$b7,$7f,$be,$fb,$eb,$fb,$df,$bf // ....Z...........
        .byte $01                                   // .

spr_0ac0:
        .byte $77,$be,$fa,$6d                       // char 20 (partial)
        .byte $d7,$df,$bf,$7b,$7b,$d5,$af,$ce       // char 21 @+21
        .byte $3f,$f5,$7b,$ad,$bf,$af,$ef,$f6       // char 22 @+22
        .byte $7d,$ed,$5f,$b7,$b7,$ed,$5e,$fb       // char 23 @+23
        .byte $5f,$fb,$9d,$ec,$5d,$f7,$77,$b6       // char 24 @+24
        .byte $7d,$5d,$fd,$d7,$f7,$7b,$fe,$dc       // char 25 @+25
        .byte $de,$b5,$bb,$bb,$ff,$ed,$fe,$5a       // char 26 @+26
        .byte $bf,$b7,$eb,$b7,$6f,$2e,$fb,$eb       // char 27 @+27
        .byte $bb,$de,$be,$01,$56,$ba,$ea           // char 28 (partial)

txt_0b03:
        .byte $2d                                   // char 28 (partial)
        .byte $55,$d7,$b7,$7b,$7b,$d5,$ad,$ce       // char 29 @+29
        .byte $3d,$75,$7b,$a9,$95,$ae,$ca,$f6       // char 30 @+30
        .byte $79,$6d,$5d,$b5,$b6,$ed,$5e,$6b       // char 31 @+31
        .byte $5b,$b3,$9d,$6c,$5d,$b7,$57,$b6       // char 32 ' '
        .byte $5d,$5d,$dd,$d7,$f7,$6b,$5a,$dc       // char 33 '!'
        .byte $de,$b5,$bb,$f3,$f6,$ed,$6e,$5a       // char 34 '"'
        .byte $be,$b5,$eb,$b5,$6e,$2a,$ee,$eb       // char 35 '#'
        .byte $3b,$54,$9a,$01,$42,$08,$88,$08       // char 36 '$'
        .byte $40,$04,$00,$02,$02,$00,$80,$40       // char 37 '%'
        .byte $10,$00,$02,$20,$84,$00,$02,$02       // char 38 '&'
        .byte $10,$08,$00,$00,$80,$84,$08,$40       // char 39 '''
        .byte $00,$01,$08,$00,$40,$11,$00,$10       // char 40 '('
        .byte $00,$41,$01,$10,$22,$02,$08,$00       // char 41 ')'
        .byte $00,$01,$02,$02,$10,$20,$08,$02       // char 42 '*'
        .byte $08,$80,$21,$00,$22,$00,$40,$80       // char 43 '+'
        .byte $01,$00,$10,$01,$02,$00,$80,$08       // char 44 ','
        .byte $00,$00,$00,$02,$00,$00,$80,$00       // char 45 '-'
        .byte $00,$00,$02,$20,$80,$00,$00,$02       // char 46 '.'
        .byte $00,$08,$00,$00,$00,$80,$08,$00       // char 47 '/'
        .byte $00,$01,$00,$00,$40,$01,$00,$00       // char 48 '0'
        .byte $00,$40,$01,$00,$20,$02,$00,$00       // char 49 '1'
        .byte $00,$01,$00,$02,$00,$20,$00,$02       // char 50 '2'
        .byte $00,$80,$01,$00,$02,$00,$00,$80       // char 51 '3'
        .byte $00,$00,$10,$01                       // char 52 (partial)

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

// --- Region $0bff-$0fe1 ---
.pc = $0bff "dat_0bff"

dat_0bff:
        .byte $01,$fa,$e9,$ea,$ea                   // char 60 (partial)
        .byte $e5,$ea,$e5,$e5,$aa,$56,$aa,$aa       // char 61 '='
        .byte $55,$aa,$55,$55,$ff,$bf,$bf,$bf       // char 62 '>'
        .byte $bf,$bf,$bf,$bf,$fa,$e9,$e5,$e5       // char 63 '?'
        .byte $e5,$e5,$e5,$e5,$aa,$56,$aa,$aa       // char 64 '@'
        .byte $55,$aa,$55,$55,$ff,$bf,$bf,$bf       // char 65 'A'
        .byte $be,$be,$be,$be,$fa,$e9,$a5,$95       // char 66 'B'
        .byte $95,$95,$95,$95,$ff,$bf,$af,$af       // char 67 'C'
        .byte $6b,$ab,$5b,$5b,$fa,$e9,$ea,$ea       // char 68 'D'
        .byte $e5,$ea,$e9,$fa,$ff,$bf,$bf,$bf       // char 69 'E'
        .byte $be,$be,$be,$fe,$af,$6b,$ab,$ab       // char 70 'F'
        .byte $5b,$ab,$5b,$5b,$aa,$55,$aa,$aa       // char 71 'G'
        .byte $55,$aa                               // char 72 (partial)

txt_0c5e:
        .byte $55,$55,$aa,$55,$aa,$aa               // char 72 (partial)
        .byte $55,$aa,$55,$aa,$fa,$e9,$aa,$aa       // char 73 'I'
        .byte $55,$aa,$55,$55,$e0,$e5,$e0,$e0       // char 74 'J'
        .byte $e0,$e0,$e0,$e0,$00,$55,$00,$00       // char 75 'K'
        .byte $00,$00,$00,$00,$bf,$bf,$bf,$bf       // char 76 'L'
        .byte $bf,$bf,$bf,$bf,$e0,$e0,$ea,$ef       // char 77 'M'
        .byte $ea,$ef,$ea,$ea                       // char 78 (partial)

txt_0c90:
        .byte $55,$55,$55,$55                       // char 78 (partial)
        .byte $55,$55,$55,$55,$be,$be,$be,$be       // char 79 'O'
        .byte $be,$be,$be,$be                       // char 80 (partial)

txt_0ca0:
        .byte $55,$55,$55,$55                       // char 80 (partial)
        .byte $55,$55,$55,$55,$00,$55,$00,$00       // char 81 'Q'
        .byte $00,$00,$02,$0a,$00,$55,$00,$00       // char 82 'R'
        .byte $00,$00,$aa,$ff,$00,$55,$00,$00       // char 83 'S'
        .byte $00,$00,$a8,$fa,$0b,$5b,$0b,$0b       // char 84 'T'
        .byte $0b,$0b,$0b,$0b,$ff,$ff,$ff,$fa       // char 85 'U'
        .byte $e8,$e0,$e0,$e0,$ff,$ff,$ff,$aa       // char 86 'V'
        .byte $02,$00,$00,$00,$fe,$fe,$fe,$fe       // char 87 'W'
        .byte $be,$be,$be,$be                       // char 88 (partial)

txt_0ce0:
        .byte $55,$55,$55,$55                       // char 88 (partial)
        .byte $55,$55,$55,$55,$0b,$5b,$0b,$0b       // char 89 'Y'
        .byte $0b,$2b,$af,$ff,$ff,$ff,$ff,$ff       // char 90 'Z'
        .byte $ff,$ff,$ff,$ff,$55,$aa,$55,$55       // char 91 '['
        .byte $00,$55,$00,$00,$ff,$ff,$ff,$ff       // char 92 '\'
        .byte $ff,$ff,$ff,$ff,$d5,$d5,$d5,$d5       // char 93 ']'
        .byte $d5,$d5,$d5,$d5,$00,$00,$aa,$ff       // char 94 '^'
        .byte $aa,$ff,$aa,$aa,$af,$2a,$aa,$ff       // char 95 '_'
        .byte $aa,$ff,$aa,$aa,$a0,$80,$aa,$ff       // char 96 '`'
        .byte $aa,$ff,$aa,$aa,$00,$00,$aa,$ff       // char 97 'a'
        .byte $aa,$ff,$aa,$aa,$be,$be,$be,$be       // char 98 'b'
        .byte $be,$be,$be,$be,$00,$00,$aa,$ff       // char 99 'c'
        .byte $aa,$ff,$aa,$aa,$0b,$0b,$ab,$fb       // char 100 'd'
        .byte $ab,$fb,$ab,$ab,$ff,$ff,$ff,$fe       // char 101 'e'
        .byte $fe,$fe,$fe,$fe,$ff,$ff,$aa,$ff       // char 102 'f'
        .byte $aa,$ff,$aa,$aa,$ff,$ff,$af,$eb       // char 103 'g'
        .byte $ab,$fb,$ab,$ab,$ff,$ff,$fa,$eb       // char 104 'h'
        .byte $ea,$ef,$ea,$ea,$fe,$fe,$fe,$be       // char 105 'i'
        .byte $be,$be,$be,$be                       // char 106 (partial)

txt_0d70:
        .byte $55,$55,$55,$55                       // char 106 (partial)
        .byte $55,$55,$55,$55,$0b,$0b,$ab,$fb       // char 107 'k'
        .byte $ab,$fb,$ab,$ab,$e0,$e0,$ea,$ef       // char 108 'l'
        .byte $ea,$ef,$ea,$ea                       // char 109 (partial)

txt_0d88:
        .byte $55,$55,$55,$55                       // char 109 (partial)
        .byte $55,$55,$55,$55,$55,$55,$55,$55       // char 110 'n'
        .byte $55,$55,$55,$55,$ff,$ff,$fa,$e9       // char 111 'o'
        .byte $e5,$e5,$e5,$e5,$ff,$ff,$aa,$56       // char 112 'p'
        .byte $55,$55,$55,$55,$ff,$ff,$ff,$be       // char 113 'q'
        .byte $be,$be,$be,$be,$ff,$ff,$ab,$fa       // char 114 'r'
        .byte $aa,$fe,$aa,$aa,$ff,$ff,$ff,$ff       // char 115 's'
        .byte $ff,$ff,$ff,$ff,$55,$aa,$55,$55       // char 116 't'
        .byte $00,$aa,$ff,$ff,$ff,$ff,$ff,$ff       // char 117 'u'
        .byte $ff,$ff,$ff,$ff,$d5,$d5,$d5,$d5       // char 118 'v'
        .byte $d5,$d5,$d5,$d5,$55,$aa,$55,$55       // char 119 'w'
        .byte $00,$55,$00,$00,$55,$aa,$55,$55       // char 120 'x'
        .byte $00                                   // char 121 (partial)

txt_0de5:
        .byte $55,$2a,$2f,$55,$aa,$55,$55           // char 121 (partial)
        .byte $00,$55,$80,$a0,$be,$be,$be,$be       // char 122 'z'
        .byte $be,$bf,$bf,$bf,$55,$aa,$55,$55       // char 123 '{'
        .byte $80,$aa,$ff,$ff,$5b,$ab,$5b,$5b       // char 124 '|'
        .byte $2b,$af,$ff,$ff,$fe,$fe,$fe,$fe       // char 125 '}'
        .byte $fe,$fe,$fe,$fe,$55,$aa,$55,$55       // char 126 '~'
        .byte $00,$55,$00,$00,$5b,$ab,$5b,$5b       // char 127
        .byte $0b,$5b,$0b,$0b,$e5,$ea,$e5,$e5       // char 128
        .byte $e0,$e5,$e0,$e0                       // char 129 (partial)

txt_0e28:
        .byte $55,$55,$55,$55                       // char 129 (partial)
        .byte $55,$55,$55,$55,$be,$be,$be,$be       // char 130
        .byte $be,$be,$be,$be                       // char 131 (partial)

txt_0e38:
        .byte $55,$55,$55,$55                       // char 131 (partial)
        .byte $55,$55,$55,$55,$5b,$5b,$5b,$5b       // char 132
        .byte $5b,$5b,$5b,$5b,$e5,$ea,$e5,$e5       // char 133
        .byte $e8,$fa,$ff,$ff,$be,$be,$be,$be       // char 134
        .byte $be,$fe,$fe,$fe                       // char 135 (partial)

txt_0e58:
        .byte $55,$55,$55,$55                       // char 135 (partial)
        .byte $55,$55,$55,$55,$5b,$5b,$5b,$5b       // char 136
        .byte $5b,$5b,$5b,$5b,$e5,$e5,$e5,$e5       // char 137
        .byte $e5,$e5,$e5,$e5                       // char 138 (partial)

txt_0e70:
        .byte $55,$55,$55,$55                       // char 138 (partial)
        .byte $55,$55,$55,$55,$be,$be,$be,$be       // char 139
        .byte $be,$bf,$bf,$bf,$56,$aa,$56,$56       // char 140
        .byte $0a,$ab,$ff,$ff                       // char 141 (partial)

txt_0e88:
        .byte $55,$55,$aa,$55                       // char 141 (partial)
        .byte $aa,$aa,$55,$aa,$ff,$ff,$ff,$ff       // char 142
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff       // char 143
        .byte $ff,$ff,$ff,$ff,$d5,$d5,$d5,$d5       // char 144
        .byte $d5,$d5,$d5,$d5,$00,$00,$00,$00       // char 145
        .byte $00,$00,$55,$00,$bf,$bf,$bf,$bf       // char 146
        .byte $bf,$bf,$bf,$bf,$e0,$e0,$e0,$e0       // char 147
        .byte $e0,$e0,$e5,$e0,$00,$00,$00,$00       // char 148
        .byte $00,$00,$55,$00,$af,$2a,$00,$00       // char 149
        .byte $00,$00,$55,$00,$ff,$aa,$00,$00       // char 150
        .byte $00,$00,$55,$00,$f8,$a8,$00,$00       // char 151
        .byte $00,$00,$55,$00,$00,$00,$00,$00       // char 152
        .byte $00,$00,$55,$00,$0b,$0b,$0b,$0b       // char 153
        .byte $0b,$0b,$5b,$0b,$e5,$ea,$e5,$e5       // char 154
        .byte $e0,$e5,$e0,$e0                       // char 155 (partial)

txt_0ef8:
        .byte $55,$55,$55,$55                       // char 155 (partial)
        .byte $55,$55,$55,$55                       // char 156 (partial)

spr_0f00:
        .byte $be,$be,$be,$be                       // char 156 (partial)
        .byte $be,$be,$be,$be                       // char 157 (partial)

txt_0f08:
        .byte $55,$55,$55,$55                       // char 157 (partial)
        .byte $55,$55,$55,$55,$0a,$02,$00,$00       // char 158
        .byte $00,$00,$55,$00,$ff,$aa               // char 159 (partial)

txt_0f1a:
        .byte $55,$55                               // char 159 (partial)
        .byte $55,$55,$55,$55,$ff,$aa,$00,$00       // char 160
        .byte $00,$00,$55,$00,$fa,$a8,$00,$00       // char 161
        .byte $00,$00,$55,$00                       // char 162 (partial)

txt_0f30:
        .byte $55,$55,$55,$55                       // char 162 (partial)
        .byte $55,$55,$55,$55,$55,$55,$55,$55       // char 163
        .byte $55,$55,$55,$55,$ff,$ff,$bf,$bf       // char 164
        .byte $bf,$bf,$bf,$bf,$e5,$e5,$ea,$e5       // char 165
        .byte $ea,$ea,$e9,$fa                       // char 166 (partial)

txt_0f50:
        .byte $55,$55,$aa,$55                       // char 166 (partial)
        .byte $aa,$aa,$56,$aa,$bf,$bf,$bf,$bf       // char 167
        .byte $bf,$bf,$bf,$ff,$e5,$e5,$ea,$e9       // char 168
        .byte $fa,$fa,$fe,$ff                       // char 169 (partial)

txt_0f68:
        .byte $55,$55,$55,$55                       // char 169 (partial)
        .byte $55,$55,$55,$55,$55,$55,$55,$55       // char 170
        .byte $55,$55,$55,$55,$55,$55,$55,$55       // char 171
        .byte $55,$55,$55,$55,$5b,$5b,$ab,$6b       // char 172
        .byte $af,$af,$bf,$ff,$be,$be,$be,$be       // char 173
        .byte $be,$bf,$bf,$ff                       // char 174 (partial)

txt_0f90:
        .byte $55,$55,$aa,$55                       // char 174 (partial)
        .byte $aa,$aa,$e9,$fa                       // char 175 (partial)

txt_0f98:
        .byte $55,$55,$55,$55                       // char 175 (partial)
        .byte $55,$55,$55,$55,$bf,$bf,$bf,$bf       // char 176
        .byte $bf,$bf,$bf,$ff,$ff,$ff,$ff,$ff       // char 177
        .byte $ff,$ff,$ff,$ff,$00,$00,$00,$00       // char 178
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 179
        .byte $00,$00,$00,$00,$f0,$90,$28,$90       // char 180
        .byte $58,$90,$88,$90,$b8,$90,$e8,$90       // char 181
        .byte $18,$90,$48,$90,$c1,$0b,$00,$00       // char 182
        .byte $00,$ff,$c8,$00,$12,$01,$01,$00       // char 183
        .byte $00,$ff,$00,$00,$f0,$f0               // char 184 (partial)

// --- Region $1000-$10d3 ---
.pc = $1000 "dat_1000"

dat_1000:
        .byte $8d,$95,$93,$89,$83,$a0,$82,$99,$a0,$8a,$94,$a0,$ae,$ae,$ae,$a0 // ................
        .byte $90,$8c,$81,$99,$85,$92,$a0,$82,$99,$a0,$83,$84,$a0,$a8,$83,$a9 // ................
        .byte $b1,$b9,$b8,$b8,$a0,$8d,$81,$8e,$89,$81,$83,$93,$a0,$8f,$86,$a0 // ................
        .byte $8e,$8f,$89,$93,$85,$4c,$12,$11,$4c,$1c,$11 // .....L..L..

txt_103b:
        .text " BY JT "
        .byte $02,$00,$07,$0e,$02,$02,$02,$05,$00,$00,$01,$1f,$1f // .............

tbl_lo_104f:
        .byte $01,$1f,$1f                           // address table low bytes

txt_1052:
        .text "LMD"

tbl_hi_1055:
        .byte $41,$00,$00,$1d,$11,$11               // address table high bytes
        .byte $06,$00,$00,$f1,$f1,$c1,$82,$0c,$c2,$84,$0c,$c1,$0c,$c2,$82,$0c // ................
        .byte $c1,$84,$0c,$c2,$0c,$c1,$82,$0a,$c2,$0a,$c1,$0f,$c2,$0f,$c1,$0a // ................
        .byte $c2,$0a,$c1,$08,$c2,$84,$08,$c1,$08,$c2,$82,$08,$c1,$84,$08,$c2 // ................
        .byte $0a,$c1,$82,$07,$c2,$07,$c1,$0a,$c2,$0a,$c1,$0b,$c2,$0b,$ff,$06 // ................
        .byte $00,$00,$70,$00,$00,$00,$00,$00,$00,$c7,$82 // ..p........

txt_10a6:
        .text "0000"
        .byte $c5                                   // 'E' | $80 (end-of-string marker)
        .byte $84,$08,$c7,$82                       // ....

txt_10af:
        .text "000000"
        .byte $c5                                   // 'E' | $80 (end-of-string marker)
        .byte $84,$08,$c7,$82,$30,$c7,$82,$24,$ff,$01,$34,$78,$00,$00,$01,$00 // ....0..$..4x....
        .byte $00,$01,$01,$01,$02,$00,$91,$53,$01,$9d,$47,$00,$91,$43 // .......S..G..C

// --- Region $10d8-$10ef ---
.pc = $10d8 "Segment $10d8"
        .byte $02,$02,$41,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$ed,$f6 // ..A.............
        .byte $f6,$05,$02,$02,$00,$00,$00,$00       // ........

// --- Region $138e-$1397 ---
.pc = $138e "Segment $138e"
        .byte $15,$a9,$06,$9d,$5b,$10,$a9,$01,$d0,$02 // ....[.....

// --- Region $1508-$186f ---
.pc = $1508 "Segment $1508"
        .byte $84,$08,$08,$82,$08,$84,$08,$08,$82,$08,$08,$08,$08,$08,$08,$08 // ................
        .byte $ff,$00,$00,$00,$1c,$2d,$3e,$51,$66,$7b,$91,$a9,$c3,$dd,$fa,$18 // .....->Qf{......
        .byte $38,$5a,$7d,$a3,$cc,$f6,$23,$53,$86,$bb,$e0,$30,$70,$b4,$fb,$47 // 8Z}...#S...0p..G
        .byte $98,$ed,$47,$a7,$0c,$77,$e9,$61,$e1,$68,$f7,$8f,$30,$da,$8f,$4e // ..G..w.a.h..0..N
        .byte $18,$ef,$d2,$c3,$c3,$d1,$ef,$1f,$60,$b5,$1e,$9c,$31,$df,$a5,$87 // ........`...1...
        .byte $86,$a2,$df,$3e,$c1,$6b,$3c,$39,$63,$be,$4b,$0f,$0c,$c8,$82 // ...>.k<9c.K....

txt_1567:
        .text "40,4"
        .byte $c5                                   // 'E' | $80 (end-of-string marker)
        .byte $84,$08,$c8,$82                       // ....

txt_1570:
        .text "$(,047"
        .byte $c5                                   // 'E' | $80 (end-of-string marker)
        .byte $84,$08,$c8,$82,$34,$30,$ff,$01,$01,$01,$01,$01,$01,$01,$01,$01 // ....40..........
        .byte $01,$01,$02,$02,$02,$02,$02,$02,$02,$03,$03,$03,$03,$03,$04,$04 // ................
        .byte $04,$04,$05,$05,$05,$06,$06,$07,$07,$07,$08,$08,$09,$09,$0a,$0b // ................
        .byte $0b,$0c,$0d,$0e,$0e,$0f,$10,$11,$12,$13,$15,$16,$17,$19,$1a,$1c // ................
        .byte $1d,$1f                               // ..

txt_15b9:
        .text "!#%'*,/258;?CG"
        .byte $91,$43,$00,$4d,$02,$02,$02,$43,$00,$47,$02,$ff,$cc,$39,$c7,$10 // .C.M...C.G...9..
        .byte $17,$15,$2c,$16,$5e,$10,$00,$17,$6c,$17,$07,$15,$4f,$16,$97,$16 // ..,.^...l...O...
        .byte $a4,$10,$65,$15,$f7,$15,$0b,$16,$1b,$16,$30,$16,$40,$16,$6c,$16 // ..e.......0.@.l.
        .byte $0f,$81                               // ..

txt_15f9:
        .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 $ed,$f6,$f6,$40,$fe,$fb,$f8,$f7,$f7,$f8,$f8,$f7,$f7,$f8,$f8,$f7 // ...@............
        .byte $f7,$f8,$f8,$0f,$81,$41,$40,$80,$80,$40,$80,$80,$40,$80,$80,$40 // .....A@..@..@..@
        .byte $80,$80,$40,$80,$c0,$a0,$00,$ff,$34,$01,$ff,$34,$34,$00,$34,$34 // ..@.....4..44.44
        .byte $00,$34,$34,$00,$34,$34,$00,$34,$07   // .44.44.4.

txt_1641:
        .text "AA  "
        .byte $10,$10,$10,$10,$1d,$11,$11,$01,$00,$00,$c6,$82,$18,$18,$18,$18 // ................
        .byte $c5,$84,$08,$c6,$82,$16,$84,$18,$82,$16,$84,$18,$c5,$08,$c6,$16 // ................
        .byte $ff,$05,$02,$02,$05,$02,$02,$0c,$00,$00,$00,$00,$00,$00,$00,$fe // ................
        .byte $00,$05,$07,$7c,$16,$ae,$16,$88,$f0,$f0,$f0,$38,$1f,$02,$03,$04 // ...|.......8....
        .byte $06                                   // .

txt_1686:
        .text "* PLAYER BY TMC *"
        .byte $c6                                   // 'F' | $80 (end-of-string marker)
        .byte $82,$18,$18,$18,$18,$c5,$84,$08,$c6,$82,$18,$84,$1a,$82,$16,$84 // ................
        .byte $13,$c5,$08,$c6,$16,$ff,$a8,$f0,$f0,$f0,$68,$1f,$02,$03,$04,$06 // ..........h.....
        .fill 8, $00
        .byte $06,$41,$00,$eb,$01,$00,$70,$81,$06,$41,$00,$eb,$00,$00,$70,$81 // .A....p..A....p.
        .byte $08,$09,$08,$d8,$00,$00,$00,$10,$00,$41,$00,$d8,$00,$00,$f0,$80 // .........A......
        .byte $08,$09,$08,$d9,$00,$01,$00,$10,$03,$11,$08,$d9,$00,$12,$00,$10 // ................
        .byte $05,$21,$08,$d8,$20,$00,$00,$04,$08,$15,$08,$d8,$00,$00,$00,$a0 // .!.. ...........
        .byte $c3,$82,$08,$c4                       // ....

txt_1704:
        .byte $22                                   // double quote character
        .text "$+"
        .byte $c3                                   // 'C' | $80 (end-of-string marker)
        .byte $82,$08,$c4                           // ...

txt_170b:
        .byte $22                                   // double quote character
        .text "$)"
        .byte $c3                                   // 'C' | $80 (end-of-string marker)
        .byte $82,$08,$c4                           // ...

txt_1712:
        .byte $22                                   // double quote character
        .text "$'"
        .byte $c3                                   // 'C' | $80 (end-of-string marker)
        .byte $82,$08,$c4                           // ...

txt_1719:
        .text "$)+"
        .byte $c3                                   // 'C' | $80 (end-of-string marker)
        .byte $82,$08,$c4                           // ...

txt_1720:
        .byte $22                                   // double quote character
        .text "$+"
        .byte $c3                                   // 'C' | $80 (end-of-string marker)
        .byte $82,$08,$c4                           // ...

txt_1727:
        .byte $22                                   // double quote character
        .text "$."
        .byte $c3                                   // 'C' | $80 (end-of-string marker)
        .byte $82,$08,$c4                           // ...

txt_172e:
        .byte $22                                   // double quote character
        .text "$0"
        .byte $c3                                   // 'C' | $80 (end-of-string marker)
        .byte $82,$08,$c4,$29,$2a,$2b,$ff,$91,$43,$00,$03,$04,$05,$06,$05,$04 // ...)*+..C.......
        .byte $05,$06,$05,$04,$07,$08,$07,$04,$07,$08,$07,$04,$05,$07,$05,$04 // ................
        .byte $07,$06,$07,$04,$43,$00,$05,$06,$07,$08,$05,$06,$07,$07,$05,$42 // ....C..........B
        .byte $06,$05,$06,$07,$07,$05,$06,$04,$04,$ff,$c0,$88,$00,$c5,$90,$08 // ................
        .byte $08,$08,$08,$08,$88,$08,$ff,$11,$11,$11,$08,$00,$00,$00 // ..............

tbl_1780:
        // === VIC register table (240 bytes, $1780-$186f) ===
        .byte $f5,$f5,$f5,$f5,$f5,$f5,$80,$81,$82,$80,$81,$85,$8d,$8b,$8b,$8b // ................
        .byte $8b,$8b,$8b,$8b,$84,$87,$88,$8c,$89,$8d,$8b,$8b,$8b,$8b,$8a,$f5 // ................
        .fill 14, $f5
        .byte $8e,$8f,$90,$8e,$8f,$93,$8f,$95,$96,$96,$96,$96,$96,$97,$8f,$98 // ................
        .byte $99,$9a,$9b,$8f,$95,$96,$96,$96,$9d,$f5,$f5,$f5,$f5,$f5,$f5,$f5 // ................
        .fill 8, $f5
        .byte $91,$a2,$a3,$a4,$a5,$a6,$a7,$a8,$a9,$aa,$ab,$ac,$aa,$ad,$a5,$af // ................
        .byte $b0,$a5,$a6,$a5,$a8,$ac,$aa,$b5,$aa,$b6,$f5,$f5,$f5,$f5,$f5,$f5 // ................
        .fill 8, $f5
        .byte $de,$bb,$bc,$bd,$9f,$be,$bf,$c0,$c1,$c2,$c3,$c4,$c2,$c6,$c2,$c3 // ................
        .byte $c9,$b8,$ca,$c2,$c3,$c4,$c2,$cf,$bf,$d0,$f5,$f5,$f5,$f5,$f5,$f5 // ................
        .fill 8, $f5
        .byte $d7,$d5,$d6,$d7,$d8,$d9,$da,$da,$db,$dc,$dd,$d7,$dc,$e0,$dc,$e2 // ................
        .byte $da,$da,$e5,$dc,$dd,$d7,$dc,$d9,$da,$da,$da,$e4,$e8,$f5,$f5,$f5 // ................
        .fill 8, $f5
        .byte $e9,$ea,$eb,$ec,$d1,$d1,$d1,$d1,$d1,$ea,$f0,$e9,$d1,$f1,$f2,$d1 // ................
        .byte $d1,$d1,$d1,$d1,$f0,$ec,$d1,$d1,$d1,$d1,$d1,$d1,$f4,$f5,$f5,$f5 // ................
        .byte $f5,$f5                               // ..

// --- Region $19e6-$1a0a ---
.pc = $19e6 "Segment $19e6"
        .byte $07,$0d,$0f,$0e,$0a,$05,$0c,$06,$02,$0b,$0b,$05,$08,$08,$08,$08 // ................
        .byte $08,$08,$01,$08,$08,$08,$08,$08,$08,$08,$01,$06,$0e,$0f,$01,$0f // ................
        .byte $0e,$06,$00,$00,$00                   // .....

// --- Region $1ae4-$1db7 ---
.pc = $1ae4 "Segment $1ae4"
        .byte $00,$bd,$01,$1f,$9d,$01,$08,$e8,$d0,$f7,$ee,$07,$04,$ee,$04,$04 // ................
        .byte $d0,$ed,$c6,$01,$58,$4c,$e2,$fc,$00,$00,$00,$00 // ....XL......

txt_1b00:
        .text "    "

txt_1b04:
        .encoding "screencode_mixed"
        .text "hotline, were cracking is an art"
        .encoding "petscii_upper"

txt_1b24:
        .text "             "
        .byte $10,$12,$05,$13,$05,$0e,$14,$13,$20,$0f,$0e // ........ ..

txt_1b3c:
        .text " 13-10-1988                        "
        .byte $03,$0f,$12,$12,$15,$10,$14,$09,$0f,$0e // ..........

txt_1b69:
        .text "                      "

txt_1b7f:
        .encoding "screencode_mixed"
        .text "done by: the silver surfer"
        .encoding "petscii_upper"

txt_1b99:
        .text "         "
        .byte $0d                                   // string terminator

txt_1ba3:
        .encoding "screencode_mixed"
        .text "usic by jeroen tel"
        .encoding "petscii_upper"

txt_1bb5:
        .text " ... "

txt_1bba:
        .encoding "screencode_mixed"
        .text "intro by tss"
        .encoding "petscii_upper"

txt_1bc6:
        .text "        --- "

txt_1bd2:
        .encoding "screencode_mixed"
        .text "press space to start"
        .encoding "petscii_upper"

txt_1be6:
        .text " ---     "
        .byte $00                                   // string terminator
        .fill 16, $00
        .byte $44                                   // D

txt_1c01:
        .encoding "screencode_mixed"
        .text "  bod of hotline presents"
        .encoding "petscii_upper"

txt_1c1a:
        .text "...   A"
        .byte $03,$0f,$12,$12,$15,$10,$14,$09,$0f,$0e // ..........

txt_1c2b:
        .text "..D  "

txt_1c30:
        .encoding "screencode_mixed"
        .text "this is just another rainbird adventure so you will not be too amazed.. look out for some mega cool stuff from us like"
        .encoding "petscii_upper"

txt_1ca6:
        .text "...  B"

txt_1cac:
        .encoding "screencode_mixed"
        .text "terrorpods,  cybernoid ii, the new trivial pursuit, rugby sim."
        .encoding "petscii_upper"
        .byte $43                                   // C

txt_1ceb:
        .encoding "screencode_mixed"
        .text "and much more"
        .encoding "petscii_upper"

txt_1cf8:
        .text "... "

txt_1cfc:
        .encoding "screencode_mixed"
        .text "a few greets go out to"
        .encoding "petscii_upper"

txt_1d12:
        .text "... E "
        .byte $09,$0b,$01,$12,$09                   // .....

txt_1d1d:
        .text "...   "
        .byte $13,$03,$0f,$15,$13,$05               // ......

txt_1d29:
        .text "... "
        .byte $04,$03,$13                           // ...

txt_1d30:
        .text "... "
        .byte $10,$08,$0f,$05,$0e,$09,$18           // .......

txt_1d3b:
        .text "... "
        .byte $06,$01,$09,$12,$0c,$09,$07,$08,$14   // .........

txt_1d48:
        .text "... 2000 "
        .byte $01,$04                               // ..

txt_1d53:
        .text "... "
        .byte $15,$0e,$09,$03                       // ....

txt_1d5b:
        .text "... "
        .byte $0d                                   // string terminator
        .byte $03,$07                               // ..

txt_1d62:
        .text "... "
        .byte $0d                                   // string terminator
        .byte $05,$03,$08,$01,$0e,$09,$18           // .......

txt_1d6e:
        .text "... "
        .byte $1a,$05,$0e,$09,$14,$08               // ......

txt_1d78:
        .text "... E"

txt_1d7d:
        .encoding "screencode_mixed"
        .text "and no fuking more"
        .encoding "petscii_upper"

txt_1d8f:
        .text "...       "

txt_1d99:
        .encoding "screencode_mixed"
        .text "see ya later"
        .encoding "petscii_upper"

txt_1da5:
        .text "....               "
