// ============================================
// output - Disassembled Source
// ============================================
// KickAssembler syntax
// Generated by Restore 64 v0.2.1 alpha build 298, 2026-04-01 10:59:16
// https://restore64.dev by datucker / Rabenauge
//
// Load address: $0800  End: $777f  (28544 bytes)
// Crunched with Exomizer v2/v3 — depacked by emulation
// Packer entry: $080b (via BASIC SYS 2059)
// Entry point:  $5c58 (23640)
// IRQ handler:  $5ea2 (irq_5ea2)
//
// Code: 12669 bytes, Data: 15875 bytes
// Labels: 547, Subroutines: 20
//
// Cross-references: all OK
// ============================================


// --- Region $0810-$0810 ---
.pc = $0810 "sub_0810"
// Referenced by: jsr from $41f2

sub_0810:
        brk

// --- Region $1000-$1006 ---
.pc = $1000 "sub_1000"
// Referenced by: jsr from $1a0f, $5e2c

sub_1000:
        jmp loc_1087
// Referenced by: jsr from $5eae

sub_1003:
        jmp loc_10ec

dat_1006:
        .byte $4c                                   // L

// --- Region $1087-$15a5 ---
.pc = $1087 "loc_1087"

loc_1087:
        asl
        asl
        asl
        tay
        lda $1adf,y
        sta $1011
        lda $1ae0,y
        sta $1012
        lda #$0f
        sta $1017
        ldx #$00

loc_109e:
        iny
        iny
        lda $1adf,y
        sta $1039,x
        lda $1ae0,y
        sta $103c,x
        lda #$01
        sta $1018,x
        sta $1010
        lda #$00
        sta $1036,x
        sta $1033,x
        sta $103f,x
        sta $1024,x
        sta $1030,x
        sta $1083,x
        inx
        cpx #$03
        bne loc_109e
        sta $1086
        sta $1016
        sta $100f
        sta $100e

loc_10d9:
        sta $d404
        sta $d40b
        sta $d412
        sta $1013
// Referenced by: jsr from $11ce, $11e7

sub_10e5:
        sta $1014
        sta $1015
        rts

loc_10ec:
        lda $100e
        bne loc_10d9
        cld
        ldx #$02
        lda $1014
        beq loc_1109
        ldy $1017
        beq loc_1109
        dec $1015
        bne loc_1109
        sta $1015
        dec $1017

loc_1109:
        dec $1010
        bpl loc_1116
        lda $1012
        sta $1010
        bne loc_112a

loc_1116:
        dec $100f
        bpl loc_112a
        lda $1011
        sta $100f
        dec $1018
        dec $1019
        dec $101a

loc_112a:
        stx $100c
        lda $1018,x
        beq loc_1135
        jmp loc_136d

loc_1135:
        sta $105d,x
        sta $101e,x
        sta $1051,x
        sta $106c,x
        lda $1042,x
        ldy dat_17ef,x
        and #$fe
        sta $d404,y
        lda $1039,x
        sta $fe
        lda $103c,x
        sta $ff
        ldy $1036,x
        lda ($fe),y
        bpl loc_119d
        cmp #$ff
        bne loc_116c
        iny
        lda ($fe),y
        sta $1036,x
        tay
        lda ($fe),y
        bpl loc_119d

loc_116c:
        cmp #$c0
        bcs loc_117d
        and #$3f
        sta $1030,x
        inc $1036,x
        iny
        lda ($fe),y
        bpl loc_11f6

loc_117d:
        cmp #$e0
        bcs loc_118e
        and #$1f
        sta $1024,x
        inc $1036,x
        iny
        lda ($fe),y
        bpl loc_11f6

loc_118e:
        cmp #$fb
        bcs loc_11a1
        and #$1f
        sta $103f,x
        inc $1036,x
        iny
        lda ($fe),y

loc_119d:
        bpl loc_11f6
        cmp #$fb

loc_11a1:
        bne loc_11c5
        inc $1036,x
        iny
        lda ($fe),y
        sta $100f
        sta $1011
        inc $1036,x
        iny
        lda ($fe),y
        sta $1012
        lda #$00
        sta $1010
        inc $1036,x
        iny
        lda ($fe),y
        bpl loc_11f6

loc_11c5:
        cmp #$fc
        bne loc_11d8
        lda $1013
        bne loc_11ea
        jsr sub_10e5
        lda #$0f
        sta $1017
        bne loc_11ea

loc_11d8:
        cmp #$fd
        bne loc_11f2
        inc $1036,x
        iny
        lda $1013
        bne loc_11ea
        lda ($fe),y
        jsr sub_10e5

loc_11ea:
        inc $1036,x
        iny
        lda ($fe),y
        bpl loc_11f6

loc_11f2:
        inc $100e
        rts

loc_11f6:
        tay
        lda $1b41,y
        sta $fe
        lda $1b51,y
        sta $ff
        ldy $1033,x
        bne loc_120d
        tya
        sta $104e,x
        sta $1027,x

loc_120d:
        lda ($fe),y
        bpl loc_1238
        cmp #$b0
        bcs loc_122a
        and #$3f

loc_1217:
        sta $101b,x
        iny
        lda ($fe),y
        bpl loc_1297
        cmp #$b0
        bcs loc_122a
        and #$3f
        adc $101b,x
        bne loc_1217

loc_122a:
        cmp #$c0
        bcs loc_123a
        asl
        asl
        asl
        asl
        sta $1027,x
        iny
        lda ($fe),y

loc_1238:
        bpl loc_1297

loc_123a:
        cmp #$e0
        bcs loc_1252
        and #$1f
        adc $1024,x
        tax
        lda $17f5,x
        ldx $100c
        sta $1021,x
        iny
        lda ($fe),y
        bpl loc_1297

loc_1252:
        cmp #$f8
        bcs loc_126b
        and #$1f

loc_1258:
        sta $104e,x
        iny
        lda ($fe),y
        bpl loc_1297
        cmp #$f8
        bcs loc_126b
        and #$1f
        adc $104e,x
        bne loc_1258

loc_126b:
        bne loc_1277
        lda #$00
        sta $d417
        iny
        lda ($fe),y
        bpl loc_1297

loc_1277:
        cmp #$f9
        bne loc_1288
        lda $1086
        eor #$01
        sta $1086
        iny
        lda ($fe),y
        bpl loc_1297

loc_1288:
        cmp #$fa
        bne loc_12a3
        lda $1083,x
        eor #$01
        sta $1083,x
        iny
        lda ($fe),y

loc_1297:
        cmp #$60
        bcs loc_12c4
        adc $1030,x
        sta $102d,x
        bpl loc_12d0

loc_12a3:
        iny
        lda ($fe),y
        sta $105a,x
        iny
        lda ($fe),y
        sta $105d,x
        iny
        lda ($fe),y
        clc
        adc $1030,x
        sta $102d,x
        iny
        lda ($fe),y
        adc $1030,x
        sta $1060,x
        bpl loc_12d0

loc_12c4:
        and #$1f
        sta $1018,x
        lda #$00
        sta $102a,x
        beq loc_12dc

loc_12d0:
        lda $1021,x
        sta $102a,x
        lda $101b,x
        sta $1018,x

loc_12dc:
        iny
        lda ($fe),y
        cmp #$ff
        bne loc_12f2
        lda $103f,x
        bne loc_12ed
        inc $1036,x
        bne loc_12f0

loc_12ed:
        dec $103f,x

loc_12f0:
        ldy #$00

loc_12f2:
        tya
        sta $1033,x
        ldy $102d,x
        jsr sub_1599
        ldy $102a,x
        lda $1963,y
        sta $1042,x
        lda $1965,y
        sta $fe
        lda $1966,y
        sta $ff
        lda $1083,x
        bne loc_131f
        lda $1969,y
        sta $106f,x
        and #$0f
        sta $1073,x

loc_131f:
        lda $196a,y
        sta $104b,x
        lda $1086
        bne loc_134c
        lda $196b,y
        beq loc_134c
        tay
        lda $1a51,y
        sta $1072
        lda $1a52,y
        sta $1076
        lda $1a53,y
        clc
        adc $17f2,x
        sta $d417
        lda $1a54,y
        sta $1016

loc_134c:
        ldy dat_17ef,x
        lda $fe
        sta $d405,y
        lda $1027,x
        beq loc_1362
        lda $ff
        and #$0f
        ora $1027,x
        bne loc_1364

loc_1362:
        lda $ff

loc_1364:
        sta $d406,y
        lda $1042,x
        jmp loc_14bf

loc_136d:
        lda $104b,x
        and #$02
        beq loc_137e
        lda $1057,x
        sec
        sbc #$01
        bcc loc_13af
        bcs loc_13a9

loc_137e:
        lda $104b,x
        and #$04
        beq loc_138f
        lda $1057,x
        clc
        adc #$01
        bcs loc_13af
        bcc loc_13a9

loc_138f:
        lda $104b,x
        and #$09
        beq loc_13af
        lsr
        lda $101e,x
        bcc loc_13a0
        cmp #$05
        bcc loc_13af

loc_13a0:
        lsr
        bcc loc_13a5
        eor #$ff

loc_13a5:
        clc
        adc $1057,x

loc_13a9:
        sta $1057,x
        jmp loc_13d7

loc_13af:
        ldy $105d,x
        beq loc_13c2
        lda $101e,x
        cmp $105a,x
        bcc loc_13c2
        jsr sub_15b4
        jmp loc_13d7

loc_13c2:
        ldy $102a,x
        lda $196c,y
        beq loc_13d7
        lsr
        tay
        lda $101e,x
        cmp $1a37,y
        bcc loc_13d7
        jsr sub_161a

loc_13d7:
        ldy $102a,x
        lda $196d,y
        beq loc_13eb
        tay
        lda $101e,x
        bne loc_13e8
        jsr sub_16db

loc_13e8:
        jsr sub_16ef

loc_13eb:
        ldy $102a,x
        lda $196b,y
        beq loc_1406
        tay
        lda $101e,x
        bne loc_13fe
        ldx #$03
        jsr sub_16db

loc_13fe:
        ldx #$03
        jsr sub_16ef
        ldx $100c

loc_1406:
        ldy $104e,x
        beq loc_1415
        lda $104b,x
        and #$10
        bne loc_1415
        jsr sub_1571

loc_1415:
        lda $104b,x
        bpl loc_141d
        jsr sub_1501

loc_141d:
        lda $104b,x
        and #$20
        beq loc_1465
        lda $101e,x
        cmp #$02
        bcc loc_1465
        lda $100f
        sta $fe
        lda $1018,x
        sta $ff
        ldy $1010
        dey
        bpl loc_1440
        ldy $1012
        bne loc_144d

loc_1440:
        dec $fe
        bpl loc_144d
        lda $1011
        sta $fe
        dec $ff
        beq loc_145d

loc_144d:
        dey
        bpl loc_1455
        ldy $1012
        bne loc_1465

loc_1455:
        dec $fe
        bpl loc_1465
        dec $ff
        bne loc_1465

loc_145d:
        lda #$00
        ldy dat_17ef,x
        sta $d406,y

loc_1465:
        lda $101e,x
        bne loc_1480
        inc $101e,x
        lda $104b,x
        and #$40
        beq loc_14b9
        ldy dat_17ef,x
        lda #$81
        sta $d404,y
        lda #$fc
        bne loc_14d7

loc_1480:
        inc $101e,x
        bne loc_1488
        dec $101e,x

loc_1488:
        ldy $102a,x
        lda $1968,y
        bne loc_149f
        lda $104b,x
        bmi loc_14b9
        lda $101e,x
        cmp $1967,y
        bcs loc_14b0
        bcc loc_14b9

loc_149f:
        cmp $1018,x
        bcc loc_14b9
        lda $104b,x
        bpl loc_14b0
        lda $1042,x
        and #$fe
        bcs loc_14bc

loc_14b0:
        ldy $102a,x
        lda $1964,y
        sta $1042,x

loc_14b9:
        lda $1042,x

loc_14bc:
        ldy dat_17ef,x

loc_14bf:
        sta $d404,y
        lda $106f,x
        sta $d402,y
        lda $1073,x
        sta $d403,y
        lda $1054,x
        sta $d400,y
        lda $1057,x

loc_14d7:
        sta $d401,y
        dex
        bmi loc_14e0
        jmp loc_112a

loc_14e0:
        lda $1072
        sta $d415
        lsr
        lsr
        lsr
        sta $fe
        lda $1076
        lsr
        ror
        ror
        ror
        ora $fe
        sta $d416
        lda $1017
        ora $1016
        sta $d418
        rts
// Referenced by: jsr from $141a

sub_1501:
        ldy $102a,x
        lda $1964,y
        sta smc_153a                                // SMC: modifies $153a
        tay
        lda $190b,y
        sta $fe
        lda $1910,y
        sta $ff
        lda $101e,x
        bne loc_1520
        sta $1045,x
        sta $1048,x

loc_1520:
        ldy $1045,x
        lda ($fe),y
        cmp #$fe
        beq loc_1539
        bcc loc_1531
        iny
        lda ($fe),y
        tay
        lda ($fe),y

loc_1531:
        sta $1042,x
        iny
        tya
        sta $1045,x

loc_1539:
.label smc_153a = * + 1
        ldy #$01                                    // !SMC: modified by $1507
        lda $1915,y
        sta $fe
        lda $191a,y
        sta $ff
        ldy $1048,x
        lda ($fe),y
        cmp #$fd
        bcc loc_155a
        beq loc_1568
        cmp #$fe
        beq loc_1567
        iny
        lda ($fe),y
        tay
        lda ($fe),y

loc_155a:
        sta $1057,x
        lda #$00
        sta $1054,x
        iny
        tya
        sta $1048,x

loc_1567:
        rts

loc_1568:
        inc $1048,x
        ldy $102d,x
        jmp sub_1599

// Referenced by: jsr from $1412
sub_1571: {
        lda $18cb,y
        sta $fe
        lda $18d4,y
        sta $ff
        ldy $1051,x
        iny
        lda ($fe),y
        bpl skip2
        cmp #$81
        beq skip1
        bcs skip2
        rts
skip1:
        iny
        lda ($fe),y
        tay
skip2:
        tya
        sta $1051,x
        lda ($fe),y
        clc
        adc $102d,x
        tay
}
// Referenced by: jsr from $12f9, $15e9, $168b; jmp from $156e

sub_1599:
        lda $180c,y
        sta $1054,x
        lda $186c,y
        sta $1057,x
        rts

// --- Region $15b4-$17ee ---
.pc = $15b4 "sub_15b4"

// Referenced by: jsr from $13bc
sub_15b4: {
        sty $fe
        lda #$00
        asl $fe
        rol
        asl $fe
        rol
        sta $ff
        ldy $1060,x
        tya
        cmp $102d,x
        bcs skip
        lda $1054,x
        sec
        sbc $fe
        sta $1054,x
        lda $1057,x
        sbc $ff
        sta $1057,x
        lda $1054,x
        sec
        sbc $180c,y
        lda $1057,x
        sbc $186c,y
        bcs done
loop:
        jsr sub_1599
        lda #$00
        sta $105d,x
        sta $106c,x
        tya
        sta $102d,x
done:
        rts
skip:
        lda $1054,x
        clc
        adc $fe
        sta $1054,x
        lda $1057,x
        adc $ff
        sta $1057,x
        lda $180c,y
        sec
        sbc $1054,x
        lda $186c,y
        sbc $1057,x
        bcc loop
        rts
}

// Referenced by: jsr from $13d4
sub_161a: {
        lda $106c,x
        bne skip1
        lda $1a3c,y
        sta $fe
        lda $102d,x
        clc
        adc $1a3b,y
        tay
        sta $ff
        lda $180c,y
        sec
        ldy $102d,x
        sbc $180c,y
        sta $1066,x
        ldy $ff
        lda $186c,y
        ldy $102d,x
        sbc $186c,y
        sta $1069,x
        ldy $fe
        beq done1
loop1:
        lsr $1069,x
        ror $1066,x
        dey
        bne loop1
done1:
        lda #$00
        sta $1063,x
        inc $106c,x
        rts
skip1:
        lda $101e,x
        cmp $1a38,y
        bcc skip2
        cmp $1a3e,y
        bcs skip2
        lda $1066,x
        clc
        adc $1a3d,y
        sta $1066,x
        lda $1069,x
        adc #$00
        sta $1069,x
skip2:
        lda $1a39,y
        sta $fe
        lda $1a3a,y
        sta $ff
        ldy $102d,x
        jsr sub_1599
loop2:
        ldy $1063,x
        lda ($fe),y
        beq done2
        tay
        bpl skip3
        cmp #$81
        bne skip4
        inc $1063,x
        ldy $1063,x
        lda ($fe),y
        sta $1063,x
        bpl loop2
skip3:
        lda $1054,x
        clc
        adc $1066,x
        sta $1054,x
        lda $1057,x
        adc $1069,x
        sta $1057,x
        dey
        bne skip3
        beq done2
skip4:
        lda $1054,x
        sec
        sbc $1066,x
        sta $1054,x
        lda $1057,x
        sbc $1069,x
        sta $1057,x
        iny
        bne skip4
done2:
        inc $1063,x
        rts
}

// Referenced by: jsr from $13e5, $13fb
sub_16db: {
        lda $1083,x
        bne done
        sta $107b,x
        sta $107f,x
        lda loc_1a55,y
        and #$04
        sta $1077,x
done:
        rts
}
// Referenced by: jsr from $13e8, $1400

sub_16ef:
        lda dat_1a58,y
        beq loc_176a
        sta $ff
        lda $1a57,y
        sta $fe
        sty $100d
        ldy $107b,x
        lda $107f,x
        bne loc_1722
        lda ($fe),y
        bpl loc_1758
        cmp #$fe
        bcc loc_1718
        beq loc_1767
        iny
        lda ($fe),y
        tay
        lda ($fe),y
        bpl loc_1758

loc_1718:
        and #$7f
        sta $107f,x
        iny
        tya
        sta $107b,x

loc_1722:
        dec $107f,x
        bne loc_172a
        inc $107b,x

loc_172a:
        lda $1077,x
        bmi loc_17a8
        bne loc_1744
        lda ($fe),y
        clc
        adc $106f,x
        sta $106f,x
        ldy $100d
        bcc loc_1787
        inc $1073,x
        bcs loc_1787

loc_1744:
        lda $106f,x
        sec
        sbc ($fe),y
        sta $106f,x
        ldy $100d
        bcs loc_17bf
        dec $1073,x
        jmp loc_17bf

loc_1758:
        sta $1073,x
        iny
        lda ($fe),y
        sta $106f,x
        iny
        tya
        sta $107b,x
        rts

loc_1767:
        ldy $100d

loc_176a:
        lda $1077,x
        bmi loc_17a8
        bne loc_17a9
        lda $106f,x
        clc
        adc $1a5f,y
        sta $106f,x
        lda $1073,x
        adc $1a60,y
        sta $1073,x
        lda $106f,x

loc_1787:
        sec
        sbc $1a5b,y
        lda $1073,x
        sbc $1a5c,y
        bmi loc_17a8
        lda $1a56,y
        lsr
        bcs loc_17e9
        lsr
        bcc loc_17e1
        lda $1a59,y
        sta $106f,x
        lda $1a5a,y
        sta $1073,x

loc_17a8:
        rts

loc_17a9:
        lda $106f,x
        sec
        sbc $1a5d,y
        sta $106f,x
        lda $1073,x
        sbc $1a5e,y
        sta $1073,x
        lda $106f,x

loc_17bf:
        sec
        sbc $1a59,y
        lda $1073,x
        sbc $1a5a,y
        bpl loc_17a8
        lda loc_1a55,y
        lsr
        bcs loc_17e9
        lsr
        bcc loc_17e5
        lda $1a5b,y
        sta $106f,x
        lda $1a5c,y
        sta $1073,x
        rts

loc_17e1:
        lda #$01
        bne loc_17eb

loc_17e5:
        lda #$00
        beq loc_17eb

loc_17e9:
        lda #$ff

loc_17eb:
        sta $1077,x
        rts

// --- Region $1a0d-$1a14 ---
.pc = $1a0d "loc_1a0d"

loc_1a0d:
        ora ($08,x)
        jsr sub_1000
        bcc loc_1a55
        rti

// --- Region $1a55-$1a57 ---
.pc = $1a55 "loc_1a55"

loc_1a55:
        ora ($30,x)
        brk

// --- Region $41f0-$59cf ---
.pc = $41f0 "Segment $41f0"
        .byte $80,$40                               // nop #$40 // ILLEGAL
        jsr sub_0810
        .byte $04,$02                               // nop $02 // ILLEGAL
        ora ($80,x)
        rti

dat_41fa:
        .byte $20,$10,$08,$04,$02,$01               //  .....
// Referenced by: jsr from $5eab

sub_4200:
        ldx #$00
        ldy #$03
        lda #$ff
        sta $d015
        stx $d017
        bit $d01b
        sty $d01c
        stx $d01d
        lda #$0f
        sta $d025
        lda #$06
        sta $d026
        lda #$0e
        sta $d027
        sta $d028
        lda #$0d
        sta $d029
        sta $d02a
        lda #$0e
        sta $d02b
        sta $d02c
        lda #$04
        sta $d02d
        sta $d02e
        lda dat_0f80
        sta $d000
        ldx #$7b
        stx $d001
        stx $d005
        stx $d007
        inx
        stx $d009
        stx $d00b
        inx
        stx $d00d
        stx $d00f
        lda #$90
        sta $d003
        lda #$a8
        sta $d010
        lda dat_0f80
        sta $d000
        lda $5a54
        clc
        adc #$04
        sta $5a54
        sta $d004
        sta $d006
        lda $5a55
        clc
        adc #$02
        sta $5a55
        sta $d008
        sta $d00a
        inc $5a56
        lda $5a56
        sta $d00c
        sta $d00e
        ldx #$79

loc_429a:
        cpx $d012
        bcs loc_429a
        lda #$04
        sta $07f8
        lda #$05
        sta $07f9
        lda #$0f
        sta $07fa
        sta $07fb
        sta $07fc
        sta $07fd
        sta $07fe
        sta $07ff
        lda #$0f
        sta $d020
        lda #$c8
        ldx #$1b
        ldy #$00
        sty $d021
        stx $d011
        sta $d016
        ldx #$7a

loc_42d3:
        cpx $d012
        bcs loc_42d3
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        lda $0f81
        sta $d000
        inx

loc_42ef:
        cpx $d012
        bcs loc_42ef
        lda $d004
        clc
        adc #$96
        sta $d004
        sta $d006
        lda $0106
        sta $0100
        lda $0107
        sta $0101
        lda $0108
        sta $0102
        lda $0f82
        sta $d000
        inx

loc_4319:
        cpx $d012
        bcs loc_4319
        lda $d008
        clc
        adc #$72
        sta $d008
        sta $d00a
        lda $0f83
        sta $d000
        lda $0109
        sta $0103
        lda $010a
        sta $0104
        lda $010b
        sta $0105
        lda $d00c
        clc
        adc #$92
        sta $d00c
        sta $d00e
        lda $0f84
        sta $d000
        lda $d004
        clc
        adc #$a1
        sta $d004
        sta $d006
        lda $010c
        sta $0106
        lda $010d
        sta $0107
        lda $010e
        sta $0108
        lda $0f85
        sta $d000
        lda $d008
        clc
        adc #$56
        sta $d008
        sta $d00a
        lda $010f
        sta $0109
        lda $0110
        sta $010a
        lda $0111
        sta $010b
        lda $0f86
        sta $d000
        lda $0112
        sta $010c
        lda $0113
        sta $010d
        lda $d00c
        clc
        adc #$24
        sta $d00c
        sta $d00e
        lda $0f87
        sta $d000
        lda $0114
        sta $010e
        lda $0f88
        sta $d000
        lda $d004
        clc
        adc #$64
        sta $d004
        sta $d006
        lda $0115
        sta $010f
        lda $0116
        sta $0110
        lda $0f89
        sta $d000
        lda $d008
        clc
        adc #$28
        sta $d008
        sta $d00a
        lda $0117
        sta $0111
        lda $0118
        sta $0112
        lda $0f8a
        sta $d000
        lda $d00c
        clc
        adc #$77
        sta $d00c
        sta $d00e
        lda $0119
        sta $0113
        lda $011a
        sta $0114
        lda $011b
        sta $0115
        lda $0f8b
        sta $d000
        lda $d004
        clc
        adc #$a6
        sta $d004
        sta $d006
        lda $011c
        sta $0116
        lda $011d
        sta $0117
        lda $0f8c
        sta $d000
        lda $d008
        clc
        adc #$c4
        sta $d008
        sta $d00a
        lda $011e
        sta $0118
        lda $011f
        sta $0119
        lda $0f8d
        sta $d000
        lda $d00c
        clc
        adc #$35
        sta $d00c
        sta $d00e
        lda #$90
        sta $d005
        sta $d007
        lda #$91
        sta $d009
        sta $d00b
        lda #$92
        sta $d00d
        sta $d00f
        lda $0f8e
        sta $d000
        lda $d004
        clc
        adc #$e2
        sta $d004
        sta $d006
        lda $d008
        clc
        adc #$b3
        ldy $0f8f
        sty $d000
        sta $d008
        sta $d00a
        ldy $0f90
        sty $d000
        lda $d00c
        clc
        adc #$64
        sta $d00c
        sta $d00e
        lda $0120
        sta $011a
        lda $0121
        sta $011b
        ldy $0f91
        sty $d000
        lda $d004
        clc
        adc #$83
        sta $d004
        sta $d006
        lda $0122
        sta $011c
        lda $0123
        sta $011d
        lda $0124
        sta $011e
        ldy $0f92
        sty $d000
        lda $d008
        clc
        adc #$cc
        sta $d008
        sta $d00a
        lda $0125
        sta $011f
        lda $0126
        sta $0120
        ldy $0f93
        sty $d000
        lda $d00c
        clc
        adc #$94
        sta $d00c
        sta $d00e
        lda $0127
        sta $0121
        lda $0128
        sta $0122
        lda $0129
        sta $0123
        ldy $0f94
        sty $d000
        lda $d004
        clc
        adc #$56
        sta $d004
        sta $d006
        lda $012a
        sta $0124
        ldy $0f95
        sty $d002
        lda $d008
        clc
        adc #$92
        sta $d008
        sta $d00a
        lda $012b
        sta $0125
        lda $012c
        sta $0126
        lda $012d
        sta $0127
        ldy $0f96
        sty $d002
        lda $d00c
        clc
        adc #$65
        sta $d00c
        sta $d00e
        lda $012e
        sta $0128
        lda $d004
        clc
        ldy $0f97
        sty $d002
        adc #$74
        sta $d004
        sta $d006
        ldy $0f98
        sty $d002
        lda $d008
        clc
        adc #$23
        sta $d008
        sta $d00a
        lda $012f
        sta $0129
        lda $0130
        sta $012a
        ldy $0f99
        sty $d002
        lda $d00c
        clc
        adc #$c2
        sta $d00c
        sta $d00e
        lda $0131
        sta $012b
        lda $0132
        sta $012c
        ldy $0f9a
        sty $d002
        lda $d004
        clc
        adc #$53
        sta $d004
        sta $d006
        lda $0133
        sta $012d
        lda $0134
        sta $012e
        lda $0135
        sta $012f
        ldy $0f9b
        sty $d002
        lda $d008
        clc
        adc #$96
        sta $d008
        sta $d00a
        lda $0136
        sta $0130
        lda $0137
        sta $0131
        lda $0138
        sta $0132
        ldy $0f9c
        sty $d002
        lda $d00c
        clc
        adc #$65
        sta $d00c
        sta $d00e
        lda $0139
        sta $0133
        lda $013a
        sta $0134
        lda $013b
        sta $0135
        ldy $0f9d
        sty $d002
        lda $d004
        clc
        adc #$46
        sta $d004
        sta $d006
        lda $013c
        sta $0136
        lda $013d
        sta $0137
        lda $013e
        sta $0138
        ldy $0f9e
        sty $d002
        lda $d008
        clc
        adc #$d1
        sta $d008
        sta $d00a
        lda $0140
        sta $0139
        lda $0141
        sta $013a
        lda $d00c
        clc
        adc #$76
        ldy $0f9f
        sty $d002
        sta $d00c
        sta $d00e
        ldy $0fa0
        sty $d002
        lda $d004
        clc
        adc #$85
        sta $d004
        sta $d006
        lda $0142
        sta $013b
        lda $0143
        sta $013c
        lda $0fa1
        sta $d002
        lda $d008
        clc
        adc #$34
        sta $d008
        sta $d00a
        lda $0144
        sta $013d
        lda $0fa2
        sta $d002
        lda $d00c
        clc
        adc #$96
        sta $d00c
        sta $d00e
        ldy #$a5
        sty $d001
        sty $d005
        sty $d007
        iny
        sty $d009
        sty $d00b
        iny
        sty $d00d
        sty $d00f
        lda $0fa3
        sta $d002
        lda $d004
        clc
        adc #$46
        sta $d004
        sta $d006
        lda #$08
        sta $07f8
        lda $0145
        sta $013e
        lda $0fa4
        sta $d002
        lda $d008
        clc
        adc #$e2
        sta $d008
        sta $d00a
        lda $0146
        sta $0140
        lda $0147
        sta $0141
        lda $0148
        sta $0142
        lda $0fa5
        sta $d002
        lda $d00c
        clc
        adc #$48
        sta $d00c
        sta $d00e
        lda $0149
        sta $0143
        lda $014a
        sta $0144
        lda $014b
        sta $0145
        lda $0fa6
        sta $d002
        lda $d004
        clc
        adc #$a3
        sta $d004
        sta $d006
        lda $014c
        sta $0146
        lda $d008
        clc
        adc #$34
        ldy $0fa7
        sty $d002
        sta $d008
        sta $d00a
        ldy $0fa8
        sty $d002
        lda $d00c
        clc
        adc #$85
        sta $d00c
        sta $d00e
        lda $014d
        sta $0147
        lda $014e
        sta $0148
        ldy $0fa9
        sty $d002
        lda $d004
        clc
        adc #$76
        sta $d004
        sta $d006
        lda $014f
        sta $0149
        lda $0150
        sta $014a
        lda $0151
        sta $014b
        lda $0faa
        sta $d000
        lda $d008
        clc
        adc #$34
        sta $d008
        sta $d00a
        lda $0152
        sta $014c
        lda $0153
        sta $014d
        lda $0fab
        sta $d000
        lda $d00c
        clc
        adc #$b5
        sta $d00c
        sta $d00e
        lda $0154
        sta $014e
        lda $0155
        sta $014f
        lda $0156
        sta $0150
        lda $0fac
        sta $d000
        lda $d004
        clc
        adc #$73
        sta $d004
        sta $d006
        lda $0157
        sta $0151
        lda $0158
        sta $0152
        lda $0159
        sta $0153
        lda $0fad
        sta $d000
        lda $d008
        clc
        adc #$d1
        sta $d008
        sta $d00a
        lda $015a
        sta $0154
        lda $015b
        sta $0155
        lda $0fae
        sta $d000
        lda $d00c
        clc
        adc #$72
        sta $d00c
        sta $d00e
        lda $d004
        clc
        adc #$e1
        ldy $0faf
        sty $d000
        sta $d004
        sta $d006
        ldy $0fb0
        sty $d000
        lda $d008
        clc
        adc #$63
        sta $d008
        sta $d00a
        lda $015c
        sta $0156
        lda $015d
        sta $0157
        ldy $0fb1
        sty $d000
        lda $d00c
        clc
        adc #$53
        sta $d00c
        sta $d00e
        lda #$ba
        sta $d003
        lda #$0b
        sta $07f9
        lda $015e
        sta $0158
        ldy $0fb2
        sty $d000
        lda $d004
        clc
        adc #$64
        sta $d004
        sta $d006
        lda $015f
        sta $0159
        lda $0160
        sta $015a
        lda $0161
        sta $015b
        lda $0fb3
        sta $d000
        lda $d008
        clc
        adc #$43
        sta $d008
        sta $d00a
        lda $0162
        sta $015c
        lda $0163
        sta $015d
        lda $0fb4
        sta $d000
        lda $d00c
        clc
        adc #$9e
        sta $d00c
        sta $d00e
        lda $0164
        sta $015e
        lda $0165
        sta $015f
        lda $0166
        sta $0160
        ldy $0fb5
        sty $d000
        lda $d004
        clc
        adc #$26
        sta $d004
        sta $d006
        lda $0167
        sta $0161
        lda $0168
        sta $0162
        ldy $0fb6
        sty $d000
        lda $d008
        clc
        adc #$d6
        sta $d008
        sta $d00a
        ldy #$ba
        sty $d005
        lda $d00c
        clc
        adc #$67
        ldx $0fb7
        stx $d000
        sta $d00c
        sta $d00e
        lda $0fb8
        sta $d000
        lda $d004
        clc
        adc #$94
        sta $d004
        sta $d006
        sty $d007
        iny
        sty $d009
        sty $d00b
        iny
        lda $0fb9
        sta $d000
        lda $d008
        clc
        adc #$be
        sta $d008
        sta $d00a
        sty $d00d
        sty $d00f
        lda $0169
        sta $0163
        lda $016a
        sta $0164
        ldy $0fba
        sty $d000
        lda $d00c
        clc
        adc #$84
        sta $d00c
        sta $d00e
        lda $016b
        sta $0165
        lda $016c
        sta $0166
        ldy $0fbb
        sty $d000
        lda $d004
        clc
        adc #$78
        sta $d004
        sta $d006
        lda $016d
        sta $0167
        lda $016e
        sta $0168
        ldy $0fbc
        sty $d000
        lda $d008
        clc
        adc #$d6
        sta $d008
        sta $d00a
        lda $016f
        sta $0169
        lda $0170
        sta $016a
        lda $0171
        sta $016b
        ldy $0fbd
        sty $d000
        lda $d00c
        clc
        adc #$c8
        sta $d00c
        sta $d00e
        lda $0172
        sta $016c
        lda $0173
        sta $016d
        ldy $0fbe
        sty $d000
        lda $d004
        clc
        adc #$67
        sta $d004
        sta $d006
        lda $d008
        clc
        adc #$5d
        sta $d008
        sta $d00a
        ldy $0fbf
        sty $d002
        lda $0174
        sta $016e
        ldy $0fc0
        sty $d002
        lda $d00c
        clc
        adc #$9f
        sta $d00c
        sta $d00e
        lda $0175
        sta $016f
        lda $0176
        sta $0170
        lda $0177
        sta $0171
        ldy $0fc1
        sty $d002
        lda $d004
        clc
        adc #$e2
        sta $d004
        sta $d006
        lda $0178
        sta $0172
        lda $0179
        sta $0173
        lda $017a
        sta $0174
        ldy $0fc2
        sty $d002
        lda $d008
        clc
        adc #$76
        sta $d008
        sta $d00a
        lda $017b
        sta $0175
        lda $017c
        sta $0176
        ldy $0fc3
        sty $d002
        lda $d00c
        clc
        adc #$2f
        sta $d00c
        sta $d00e
        lda $017d
        sta $0177
        lda $017e
        sta $0178
        lda $0200
        sta $0179
        ldy $0fc4
        sty $d002
        lda $d004
        clc
        adc #$74
        sta $d004
        sta $d006
        lda $0201
        sta $017a
        lda $0202
        sta $017b
        ldy $0fc5
        sty $d002
        lda $d008
        clc
        adc #$e0
        sta $d008
        sta $d00a
        lda $0203
        sta $017c
        lda $0204
        sta $017d
        lda $0205
        sta $017e
        ldy $0fc6
        sty $d002
        lda $d00c
        clc
        adc #$93
        sta $d00c
        sta $d00e
        lda $d004
        clc
        adc #$76
        sta $d004
        sta $d006
        ldy $0fc7
        sty $d002
        lda $0206
        sta $0200
        ldy $0fc8
        sty $d002
        lda $d008
        clc
        adc #$63
        sta $d008
        sta $d00a
        lda $0207
        sta $0201
        lda $0208
        sta $0202
        ldy $0fc9
        sty $d002
        lda $d00c
        clc
        adc #$a6
        sta $d00c
        sta $d00e
        lda $0209
        sta $0203
        lda $020a
        sta $0204
        lda $020b
        sta $0205
        ldy $0fca
        sty $d002
        lda $d004
        clc
        adc #$86
        sta $d004
        sta $d006
        lda $020c
        sta $0206
        lda $020d
        sta $0207
        ldy $0fcb
        sty $d002
        lda $d008
        clc
        adc #$d7
        sta $d008
        sta $d00a
        lda $020e
        sta $0208
        lda $020f
        sta $0209
        ldy $0fcc
        sty $d002
        lda $d00c
        clc
        adc #$c5
        sta $d00c
        sta $d00e
        ldx #$cf
        stx $d001
        lda #$0d
        sta $07f8
        stx $d005
        stx $d007
        inx
        ldy $0fcd
        sty $d002
        lda $d004
        clc
        adc #$67
        sta $d004
        sta $d006
        stx $d009
        stx $d00b
        inx
        stx $d00d
        stx $d00f
        ldy $0fce
        sty $d002
        lda $d008
        clc
        adc #$44
        sta $d008
        sta $d00a
        lda $0210
        sta $020a
        lda $0211
        sta $020b
        lda $d00c
        clc
        adc #$85
        ldy $0fcf
        sty $d002
        sta $d00c
        sta $d00e
        ldy $0fd0
        sty $d002
        lda $d004
        clc
        adc #$c3
        sta $d004
        sta $d006
        lda $0212
        sta $020c
        lda $0213
        sta $020d
        lda $0214
        sta $020e
        ldy $0fd1
        sty $d002
        lda $d008
        clc
        adc #$75
        sta $d008
        sta $d00a
        lda $0215
        sta $020f
        lda $0216
        sta $0210
        lda $0217
        sta $0211
        ldy $0fd2
        sty $d002
        lda $d00c
        clc
        adc #$35
        sta $d00c
        sta $d00e
        lda $0218
        sta $0212
        lda $0219
        sta $0213
        lda $021a
        sta $0214
        ldy $0fd3
        sty $d002
        lda $d004
        clc
        adc #$86
        sta $d004
        sta $d006
        lda $021b
        sta $0215
        lda $021c
        sta $0216
        ldy $0fd4
        sty $d000
        lda $d008
        clc
        adc #$98
        sta $d008
        sta $d00a
        lda $021d
        sta $0217
        lda $021e
        sta $0218
        ldy $0fd5
        sty $d000
        lda $d00c
        clc
        adc #$d2
        sta $d00c
        sta $d00e
        lda $021f
        sta $0219
        lda $0220
        sta $021a
        lda $0221
        sta $021b
        ldy $0fd6
        sty $d000
        lda $d004
        clc
        adc #$67
        sta $d004
        sta $d006
        lda $d008
        clc
        adc #$97
        ldy $0fd7
        sty $d000
        sta $d008
        sta $d00a
        ldy $0fd8
        sty $d000
        lda $d00c
        clc
        adc #$77
        sta $d00c
        sta $d00e
        lda $0222
        sta $021c
        lda $0223
        sta $021d
        lda $0224
        sta $021e
        ldy $0fd9
        sty $d000
        lda $d004
        clc
        adc #$69
        sta $d004
        sta $d006
        lda $0225
        sta $021f
        lda $0226
        sta $0220
        ldy $0fda
        sty $d000
        lda $d008
        clc
        adc #$36
        sta $d008
        sta $d00a
        lda $0227
        sta $0221
        lda $0228
        sta $0222
        lda $0229
        sta $0223
        ldy $0fdb
        sty $d000
        lda $d00c
        clc
        adc #$84
        sta $d00c
        sta $d00e
        lda $022a
        sta $0224
        lda $022b
        sta $0225
        ldy $0fdc
        sty $d000
        lda $d004
        clc
        adc #$46
        sta $d004
        sta $d006
        lda $022c
        sta $0226
        lda $022d
        sta $0227
        lda $022e
        sta $0228
        ldy $0fdd
        sty $d000
        lda $d008
        clc
        adc #$59
        sta $d008
        sta $d00a
        lda $d00c
        clc
        adc #$47
        sta $d00c
        sta $d00e
        ldy $0fde
        sty $d000
        lda $d004
        clc
        adc #$65
        sta $d004
        sta $d006
        ldy $0fdf
        sty $d000
        lda $022f
        sta $0229
        lda $0230
        sta $022a
        ldy $0fe0
        sty $d000
        lda $d008
        clc
        adc #$a3
        sta $d008
        sta $d00a
        lda $0231
        sta $022b
        lda $0232
        sta $022c
        ldy $0fe1
        sty $d000
        lda $d00c
        clc
        adc #$63
        sta $d00c
        sta $d00e
        lda $0233
        sta $022d
        lda $0234
        sta $022e
        lda $0235
        sta $022f
        ldy $0fe2
        sty $d000
        lda $d004
        clc
        adc #$48
        sta $d004
        sta $d006
        lda $0236
        sta $0230
        lda $0237
        sta $0231
        ldy $0fe3
        sty $d000
        lda $d008
        clc
        adc #$87
        sta $d008
        sta $d00a
        lda $0238
        sta $0232
        lda $0239
        sta $0233
        ldy $0fe4
        sty $d000
        lda $d00c
        clc
        adc #$b3
        sta $d00c
        sta $d00e
        ldx #$e4
        stx $d003
        lda #$0e
        sta $07f9
        stx $d005
        stx $d007
        ldy $0fe5
        sty $d000
        lda $d004
        clc
        adc #$56
        sta $d004
        sta $d006
        inx
        stx $d009
        stx $d00b
        inx
        stx $d00d
        stx $d00f
        ldy $0fe6
        sty $d000
        lda $d008
        clc
        adc #$36
        sta $d008
        sta $d00a
        lda $d00c
        clc
        adc #$74
        sta $d00c
        sta $d00e
        ldy $0fe7
        sty $d000
        lda $023a
        sta $0234
        ldy $0fe8
        sty $d000
        lda $d004
        clc
        adc #$34
        sta $d004
        sta $d006
        lda $023b
        sta $0235
        lda $023c
        sta $0236
        ldy $0fe9
        sty $d002
        lda $d008
        clc
        adc #$a8
        sta $d008
        sta $d00a
        lda $023d
        sta $0237
        lda $023e
        sta $0238
        lda $02c0
        sta $0239
        ldy $0fea
        sty $d002
        lda $d00c
        clc
        adc #$67
        sta $d00c
        sta $d00e
        lda $02c1
        sta $023a
        lda $02c2
        sta $023b
        ldy $0feb
        sty $d002
        lda $d004
        clc
        adc #$b3
        sta $d004
        sta $d006
        lda $02c3
        sta $023c
        lda $02c4
        sta $023d
        lda $02c5
        sta $023e
        ldy $0fec
        sty $d002
        lda $d008
        clc
        adc #$67
        sta $d008
        sta $d00a
        lda $02c6
        sta $02c0
        lda $02c7
        sta $02c1
        ldy $0fed
        sty $d002
        lda $d00c
        clc
        adc #$e0
        sta $d00c
        sta $d00e
        lda $02c8
        sta $02c2
        lda $02c9
        sta $02c3
        lda $02ca
        sta $02c4
        ldy $0fee
        sty $d002
        lda $d004
        clc
        adc #$86
        sta $d004
        sta $d006
        lda $d008
        clc
        adc #$56
        sta $d008
        sta $d00a
        ldy $0fef
        sty $d002
        lda $02cb
        sta $02c5
        ldy $0ff0
        sty $d002
        lda $d00c
        clc
        adc #$64
        sta $d00c
        sta $d00e
        lda $02cc
        sta $02c6
        lda $02cd
        sta $02c7
        lda $02ce
        sta $02c8
        ldy $0ff1
        sty $d002
        lda $d004
        clc
        adc #$b3
        sta $d004
        sta $d006
        lda $02cf
        sta $02c9
        lda $02d0
        sta $02ca
        ldy $0ff2
        sty $d002
        lda $d008
        clc
        adc #$a7
        sta $d008
        sta $d00a
        lda $02d1
        sta $02cb
        lda $02d2
        sta $02cc
        lda $02d3
        sta $02cd
        ldy $0ff3
        sty $d002
        lda $d00c
        clc
        adc #$b7
        sta $d00c
        sta $d00e
        lda $02d4
        sta $02ce
        lda $02d5
        sta $02cf
        ldy $0ff4
        sty $d002
        lda $d004
        clc
        adc #$a1
        sta $d004
        sta $d006
        lda $02d6
        sta $02d0
        lda $02d7
        sta $02d1
        lda $02d8
        sta $02d2
        ldy $0ff5
        sty $d002
        lda $d008
        clc
        adc #$36
        sta $d008
        sta $d00a
        lda $d00c
        clc
        adc #$86
        sta $d00c
        sta $d00e
        lda $02d9
        sta $02d3
        ldy $0ff6
        sty $d002
        lda $02da
        sta $02d4
        lda $02db
        sta $02d5
        lda $02dc
        sta $02d6
        ldy $0ff7
        sty $d002
        lda $d004
        clc
        adc #$53
        sta $d004
        sta $d006
        ldy $0ff8
        sty $d002
        lda $d008
        clc
        adc #$76
        sta $d008
        sta $d00a
        lda $02dd
        sta $02d7
        lda $02de
        sta $02d8
        ldy $0ff9
        sty $d002
        lda $d00c
        clc
        adc #$93
        sta $d00c
        sta $d00e
        lda $02df
        sta $02d9
        lda $02e0
        sta $02da
        lda $02e1
        sta $02db
        ldy $0ffa
        sty $d002
        lda $d004
        clc
        adc #$64
        sta $d004
        sta $d006
        lda $02e2
        sta $02dc
        lda $02e3
        sta $02dd
        lda $02e4
        sta $02de
        ldy $0ffb
        sty $d002
        lda $d008
        clc
        adc #$46
        sta $d008
        sta $d00a
        lda $02e5
        sta $02df
        lda $02e6
        sta $02e0
        lda $02e7
        sta $02e1
        ldy $0ffc
        sty $d002
        lda $d00c
        clc
        adc #$c3
        sta $d00c
        sta $d00e
        lda $02e8
        sta $02e2
        lda $02e9
        sta $02e3
        lda $02ea
        sta $02e4
        ldy $0ffd
        sty $d002
        lda $02eb
        sta $02e5
        lda $02ec
        sta $02e6
        lda $02ed
        sta $02e7
        lda $02ee
        sta $02e8
        lda $02ef
        sta $02e9
        lda $02f0
        sta $02ea
        lda $02f1
        sta $02eb
        lda $02f2
        sta $02ec
        lda $02f3
        sta $02ed
        lda $02f4
        sta $02ee
        lda $02f5
        sta $02ef
        lda $02f6
        sta $02f0
        lda $02f7
        sta $02f1
        lda $02f8
        sta $02f2
        lda $02f9
        sta $02f3
        lda $02fa
        sta $02f4
        lda $02fb
        sta $02f5
        lda $02fc
        sta $02f6
        lda $02fd
        sta $02f7
        lda $02fe
        sta $02f8
        lda $0340
        sta $02f9
        lda $0341
        sta $02fa
        lda $0342
        sta $02fb
        lda $0343
        sta $02fc
        lda $0344
        sta $02fd
        lda $0345
        sta $02fe
        lda #$0f
        sta $d021
        lda #$3b
        sta $d011
        lda #$d8
        sta $d016
        lda $0346
        sta $0340
        lda $0347
        sta $0341
        lda $0348
        sta $0342
        lda $0349
        sta $0343
        lda $034a
        sta $0344
        lda $034b
        sta $0345
        lda $034c
        sta $0346
        lda $034d
        sta $0347
        lda $034e
        sta $0348
        lda $034f
        sta $0349
        lda $0350
        sta $034a
        lda $0351
        sta $034b
        lda $0352
        sta $034c
        lda $0353
        sta $034d
        lda $0354
        sta $034e
        lda $0355
        sta $034f
        lda $0356
        sta $0350
        lda $0357
        sta $0351
        lda $0358
        sta $0352
        lda $0359
        sta $0353
        lda $035a
        sta $0354
        lda $035b
        sta $0355
        lda $035c
        sta $0356
        lda $035d
        sta $0357
        lda $035e
        sta $0358
        lda $035f
        sta $0359
        lda $0360
        sta $035a
        lda $0361
        sta $035b
        lda $0362
        sta $035c
        lda $0363
        sta $035d
        lda $0364
        sta $035e
        lda $0365
        sta $035f
        lda $0366
        sta $0360
        lda $0367
        sta $0361
        lda $0368
        sta $0362
        lda $0369
        sta $0363
        lda $036a
        sta $0364
        lda $036b
        sta $0365
        lda $036c
        sta $0366
        lda $036d
        sta $0367
        lda $036e
        sta $0368
        lda $036f
        sta $0369
        lda $0370
        sta $036a
        lda $0371
        sta $036b
        lda $0372
        sta $036c
        lda $0373
        sta $036d
        lda $0374
        sta $036e
        lda $0375
        sta $036f
        lda $0376
        sta $0370
        lda $0377
        sta $0371
        lda $0378
        sta $0372
        lda $0379
        sta $0373
        lda $037a
        sta $0374
        lda $037b
        sta $0375
        lda $037c
        sta $0376
        lda $037d
        sta $0377
        lda $037e
        sta $0378
        lda $0383
        sta $037c
        lda $0384
        sta $037d
        lda $0385
        sta $037e
        lda $0380
        sta $0379
        lda $0381
        sta $037a
        lda $0382
        sta $037b
        lda $0386
        sta $0380
        lda $0387
        sta $0381
        lda $0388
        sta $0382
        lda $0389
        sta $0383
        lda $038a
        sta $0384
        lda $038b
        sta $0385
        lda $038c
        sta $0386
        lda $038d
        sta $0387
        lda $038e
        sta $0388
        lda $038f
        sta $0389
        lda $0390
        sta $038a
        lda $0391
        sta $038b
        lda $0392
        sta $038c
        lda $0393
        sta $038d
        lda $0394
        sta $038e
        lda $0395
        sta $038f
        lda $0396
        sta $0390
        lda $0397
        sta $0391
        lda $0398
        sta $0392
        lda $0399
        sta $0393
        lda $039a
        sta $0394
        lda $039b
        sta $0395
        lda $039c
        sta $0396
        lda $039d
        sta $0397
        lda $039e
        sta $0398
        lda $039f
        sta $0399
        lda $03a0
        sta $039a
        lda $03a1
        sta $039b
        lda $03a2
        sta $039c
        lda $03a3
        sta $039d
        lda $03a4
        sta $039e
        lda $03a5
        sta $039f
        lda $03a6
        sta $03a0
        lda $03a7
        sta $03a1
        lda $03a8
        sta $03a2
        lda $03a9
        sta $03a3
        lda $03aa
        sta $03a4
        lda $03ab
        sta $03a5
        lda $03ac
        sta $03a6
        lda $03ad
        sta $03a7
        lda $03ae
        sta $03a8
        lda $03af
        sta $03a9
        lda $03b0
        sta $03aa
        lda $03b1
        sta $03ab
        lda $03b2
        sta $03ac
        lda $03b3
        sta $03ad
        lda $03b4
        sta $03ae
        lda $03b5
        sta $03af
        lda $03b6
        sta $03b0
        lda $03b7
        sta $03b1
        lda $03b8
        sta $03b2
        lda $03b9
        sta $03b3
        lda $03ba
        sta $03b4
        lda $03bb
        sta $03b5
        lda $03bc
        sta $03b6
        lda $03bd
        sta $03b7
        lda $03be
        sta $03b8
        ldy #$00
        lda ($39),y
        and #$3f
        asl
        tax
        lda dat_59d0,x
        clc
        adc $3b
        sta $3d
        lda $59d1,x
        adc #$0d
        sta $3e
        ldy #$00
        lda ($3d),y
        sta $3f
        lda #$01
        asl $3f
        rol
        asl $3f
        rol
        asl $3f
        rol
        sta $40
        ldy $3c
        lda ($3f),y
        sta $03b9
        iny
        lda ($3f),y
        sta $03bc
        ldy #$01
        lda ($3d),y
        sta $3f
        lda #$01
        asl $3f
        rol
        asl $3f
        rol
        asl $3f
        rol
        sta $40
        ldy $3c
        lda ($3f),y
        sta $03ba
        iny
        lda ($3f),y
        sta $03bd
        ldy #$02
        lda ($3d),y
        sta $3f
        lda #$01
        asl $3f
        rol
        asl $3f
        rol
        asl $3f
        rol
        sta $40
        ldy $3c
        lda ($3f),y
        sta $03bb
        iny
        lda ($3f),y
        sta $03be
        lda $3b
        cmp #$78
        bcs loc_557f
        jmp loc_560b

loc_557f:
        ldy #$01
        lda ($39),y
        and #$3f
        asl
        tax
        lda $3b
        sec
        sbc #$78
        clc
        adc dat_59d0,x
        sta $3d
        lda $59d1,x
        adc #$0d
        sta $3e
        ldy #$00
        lda ($3d),y
        sta $3f
        lda #$01
        asl $3f
        rol
        asl $3f
        rol
        asl $3f
        rol
        sta $40
        ldy $3c
        lda ($3f),y
        ora $03b9
        sta $03b9
        iny
        lda ($3f),y
        ora $03bc
        sta $03bc
        ldy #$01
        lda ($3d),y
        sta $3f
        lda #$01
        asl $3f
        rol
        asl $3f
        rol
        asl $3f
        rol
        sta $40
        ldy $3c
        lda ($3f),y
        ora $03ba
        sta $03ba
        iny
        lda ($3f),y
        ora $03bd
        sta $03bd
        ldy #$02
        lda ($3d),y
        sta $3f
        lda #$01
        asl $3f
        rol
        asl $3f
        rol
        asl $3f
        rol
        sta $40
        ldy $3c
        lda ($3f),y
        ora $03bb
        sta $03bb
        iny
        lda ($3f),y
        ora $03be
        sta $03be

loc_560b:
        lda $3c
        clc
        adc #$02
        and #$07
        sta $3c
        bne loc_5629
        lda $3b
        clc
        adc #$28
        cmp #$c8
        bne loc_5627
        lda #$50
        inc $39
        bne loc_5627
        inc $3a

loc_5627:
        sta $3b

loc_5629:
        ldy #$00
        lda ($39),y
        bne loc_563d
        ldx #$00
        ldy #$75
        lda #$00
        stx $39
        sty $3a
        sta $3b
        sta $3c

loc_563d:
        ldx $0ffc
        inx
        stx $0ffd
        ldx $0ffb
        inx
        stx $0ffc
        ldx $0ffa
        inx
        stx $0ffb
        ldx $0ff9
        inx
        stx $0ffa
        ldx $0ff8
        inx
        stx $0ff9
        ldx $0ff7
        inx
        stx $0ff8
        ldx $0ff6
        inx
        stx $0ff7
        ldx $0ff5
        inx
        stx $0ff6
        ldx $0ff4
        inx
        stx $0ff5
        ldx $0ff3
        inx
        stx $0ff4
        ldx $0ff2
        inx
        stx $0ff3
        ldx $0ff1
        inx
        stx $0ff2
        ldx $0ff0
        inx
        stx $0ff1
        ldx $0fef
        inx
        stx $0ff0
        ldx $0fee
        inx
        stx $0fef
        ldx $0fed
        inx
        stx $0fee
        ldx $0fec
        inx
        stx $0fed
        ldx $0feb
        inx
        stx $0fec
        ldx $0fea
        inx
        stx $0feb
        ldx $0fe9
        inx
        stx $0fea
        ldx $0fe8
        inx
        stx $0fe9
        ldx $0fe7
        inx
        stx $0fe8
        ldx $0fe6
        inx
        stx $0fe7
        ldx $0fe5
        inx
        stx $0fe6
        ldx $0fe4
        inx
        stx $0fe5
        ldx $0fe3
        inx
        stx $0fe4
        ldx $0fe2
        inx
        stx $0fe3
        ldx $0fe1
        inx
        stx $0fe2
        ldx $0fe0
        inx
        stx $0fe1
        ldx $0fdf
        inx
        stx $0fe0
        ldx $0fde
        inx
        stx $0fdf
        ldx $0fdd
        inx
        stx $0fde
        ldx $0fdc
        inx
        stx $0fdd
        ldx $0fdb
        inx
        stx $0fdc
        ldx $0fda
        inx
        stx $0fdb
        ldx $0fd9
        inx
        stx $0fda
        ldx $0fd8
        inx
        stx $0fd9
        ldx $0fd7
        inx
        stx $0fd8
        ldx $0fd6
        inx
        stx $0fd7
        ldx $0fd5
        inx
        stx $0fd6
        ldx $0fd4
        inx
        stx $0fd5
        ldx $0fd3
        inx
        stx $0fd4
        ldx $0fd2
        inx
        stx $0fd3
        ldx $0fd1
        inx
        stx $0fd2
        ldx $0fd0
        inx
        stx $0fd1
        ldx $0fcf
        inx
        stx $0fd0
        ldx $0fce
        inx
        stx $0fcf
        ldx $0fcd
        inx
        stx $0fce
        ldx $0fcc
        inx
        stx $0fcd
        ldx $0fcb
        inx
        stx $0fcc
        ldx $0fca
        inx
        stx $0fcb
        ldx $0fc9
        inx
        stx $0fca
        ldx $0fc8
        inx
        stx $0fc9
        ldx $0fc7
        inx
        stx $0fc8
        ldx $0fc6
        inx
        stx $0fc7
        ldx $0fc5
        inx
        stx $0fc6
        ldx $0fc4
        inx
        stx $0fc5
        ldx $0fc3
        inx
        stx $0fc4
        ldx $0fc2
        inx
        stx $0fc3
        ldx $0fc1
        inx
        stx $0fc2
        ldx $0fc0
        inx
        stx $0fc1
        ldx $0fbf
        inx
        stx $0fc0
        ldx $0fbe
        inx
        stx $0fbf
        ldx $0fbd
        inx
        stx $0fbe
        ldx $0fbc
        inx
        stx $0fbd
        ldx $0fbb
        inx
        stx $0fbc
        ldx $0fba
        inx
        stx $0fbb
        ldx $0fb9
        inx
        stx $0fba
        ldx $0fb8
        inx
        stx $0fb9
        ldx $0fb7
        inx
        stx $0fb8
        ldx $0fb6
        inx
        stx $0fb7
        ldx $0fb5
        inx
        stx $0fb6
        ldx $0fb4
        inx
        stx $0fb5
        ldx $0fb3
        inx
        stx $0fb4
        ldx $0fb2
        inx
        stx $0fb3
        ldx $0fb1
        inx
        stx $0fb2
        ldx $0fb0
        inx
        stx $0fb1
        ldx $0faf
        inx
        stx $0fb0
        ldx $0fae
        inx
        stx $0faf
        ldx $0fad
        inx
        stx $0fae
        ldx $0fac
        inx
        stx $0fad
        ldx $0fab
        inx
        stx $0fac
        ldx $0faa
        inx
        stx $0fab
        ldx $0fa9
        inx
        stx $0faa
        ldx $0fa8
        inx
        stx $0fa9
        ldx $0fa7
        inx
        stx $0fa8
        ldx $0fa6
        inx
        stx $0fa7
        ldx $0fa5
        inx
        stx $0fa6
        ldx $0fa4
        inx
        stx $0fa5
        ldx $0fa3
        inx
        stx $0fa4
        ldx $0fa2
        inx
        stx $0fa3
        ldx $0fa1
        inx
        stx $0fa2
        ldx $0fa0
        inx
        stx $0fa1
        ldx $0f9f
        inx
        stx $0fa0
        ldx $0f9e
        inx
        stx $0f9f
        ldx $0f9d
        inx
        stx $0f9e
        ldx $0f9c
        inx
        stx $0f9d
        ldx $0f9b
        inx
        stx $0f9c
        ldx $0f9a
        inx
        stx $0f9b
        ldx $0f99
        inx
        stx $0f9a
        ldx $0f98
        inx
        stx $0f99
        ldx $0f97
        inx
        stx $0f98
        ldx $0f96
        inx
        stx $0f97
        ldx $0f95
        inx
        stx $0f96
        ldx $0f94
        inx
        stx $0f95
        ldx $0f93
        inx
        stx $0f94
        ldx $0f92
        inx
        stx $0f93
        ldx $0f91
        inx
        stx $0f92
        ldx $0f90
        inx
        stx $0f91
        ldx $0f8f
        inx
        stx $0f90
        ldx $0f8e
        inx
        stx $0f8f
        ldx $0f8d
        inx
        stx $0f8e
        ldx $0f8c
        inx
        stx $0f8d
        ldx $0f8b
        inx
        stx $0f8c
        ldx $0f8a
        inx
        stx $0f8b
        ldx $0f89
        inx
        stx $0f8a
        ldx $0f88
        inx
        stx $0f89
        ldx $0f87
        inx
        stx $0f88
        ldx $0f86
        inx
        stx $0f87
        ldx $0f85
        inx
        stx $0f86
        ldx $0f84
        inx
        stx $0f85
        ldx $0f83
        inx
        stx $0f84
        ldx $0f82
        inx
        stx $0f83
        ldx $0f81
        inx
        stx $0f82
        ldx dat_0f80
        inx
        stx $0f81
        ldy dat_403e
.label smc_59ac = * + 1
.label smc_59ad = * + 2
        lda txt_5a57,y                              // !SMC: modified by $59c3, $59c9, $5c6f
        clc
        adc #$44
        sta dat_0f80
        iny
        bne loc_59cc
        lda $403f
        eor #$02
        sta $403f
        tax
        lda $5a50,x
        sta smc_59ac                                // SMC: modifies $59ac
        lda $5a51,x
        sta smc_59ad                                // SMC: modifies $59ad

loc_59cc:
        sty dat_403e
        rts

// --- Region $5c58-$5f16 ---
.pc = $5c58 "main_5c58"
// Referenced by: jmp from $7433

main_5c58:
        sei
        jsr $fda3
        jsr $ff5b
        ldx #$3f

loc_5c61:
        lda $39,x
        sta $2fc0,x
        dex
        bpl loc_5c61
        lda #$35
        sta $01
        lda #$5a
        sta smc_59ad                                // SMC: modifies $59ad
        ldx #$00
        stx $4f
        stx $5fd4
        stx $3b
        stx $3c
        stx dat_403e
        stx $403f
        stx $d011
        stx $d020
        stx $d021
        stx scr_0800
        lda #$fc
        sta $d01b
        ldy #$30
        ldx #$00
        stx $3d
        sty $3e
        ldx #$10
        ldy #$00
        tya

loc_5ca1:
        sta $0500,y
        sta $0600,y
        sta $06f8,y
        sta ($3d),y
        iny
        bne loc_5ca1
        inc $3e
        dex
        bne loc_5ca1
        lda #$00
        ldx #$30
        ldy #$38
        sta $3d
        stx $3e
        sta $3f
        sty $40
        ldy #$08
        lda #$ff
        sta ($3d),y
        sta ($3f),y
        iny
        lda #$c0

loc_5ccd:
        sta ($3d),y
        sta ($3f),y
        iny
        cpy #$1f
        bne loc_5ccd
        lda #$ff
        sta ($3d),y
        sta ($3f),y
        iny
        sta ($3d),y
        sta ($3f),y
        ldy #$2f
        sta ($3d),y
        sta ($3f),y
        iny
        sta ($3d),y
        sta ($3f),y
        iny
        lda #$03

loc_5cef:
        sta ($3d),y
        sta ($3f),y
        iny
        cpy #$47
        bne loc_5cef
        lda #$ff
        sta ($3d),y
        sta ($3f),y
        lda #$01
        sta $0568
        lda #$03
        sta $07c0
        lda #$06
        sta $058f
        lda #$08
        sta $07e7
        ldy #$25

loc_5d14:
        lda #$04
        sta $0569,y
        lda #$05
        sta $07c1,y
        dey
        bpl loc_5d14
        lda #$00

loc_5d23:
        tay
        lda #$02
        sta $0590,y
        sta $0658,y
        sta $06f8,y
        lda #$07
        sta $05b7,y
        sta $067f,y
        sta $071f,y
        lda #$0c
        sta $d990,y
        sta $da58,y
        sta $daf8,y
        sta $d9b7,y
        sta $da7f,y
        sta $db1f,y
        tya
        clc
        adc #$28
        cmp #$c8
        bne loc_5d23
        ldy #$00
        lda #$64

loc_5d5a:
        sta dat_0f80,y
        clc
        adc #$01
        iny
        cpy #$7e
        bne loc_5d5a
        ldy #$00

loc_5d67:
        lda $2a00,y
        sta $0400,y
        lda $2a40,y
        sta $0440,y
        iny
        bne loc_5d67
        ldy #$00
        ldx #$00

loc_5d7a:
        lda dat_2b40,y
        sta $d801,x
        lsr
        lsr
        lsr
        lsr
        sta $d800,x
        lda $2b60,y
        sta $d841,x
        lsr
        lsr
        lsr
        lsr
        sta $d840,x
        iny
        inx
        inx
        bne loc_5d7a
        lda #$ff
        ldx #$27

loc_5d9d:
        sta $0540,x
        sta $d940,x
        dex
        bpl loc_5d9d
        lda #$80
        ldx #$30
        ldy #$00

loc_5dac:
        sta $40c0,y
        pha
        txa
        sta $4080,y
        eor #$08
        sta txt_4040,y
        pla
        clc
        adc #$01
        pha
        and #$07
        bne loc_5dca
        pla
        clc
        adc #$e8
        bcc loc_5dcb
        inx
.label loc_5dca = * + 1
        bit $68

loc_5dcb:
        iny
        cpy #$40
        bne loc_5dac
        ldy #$00
        lda #$10

loc_5dd4:
        ldx #$1e

loc_5dd6:
        sta $060d,y
        clc
        adc #$78
        sta $06ad,y
        sec
        sbc #$77
        pha
        lda #$01
        sta $da0d,y
        sta $daad,y
        pla
        iny
        dex
        bne loc_5dd6
        tax
        tya
        clc
        adc #$0a
        tay
        txa
        cpy #$a0
        bcc loc_5dd4
        ldx #$00

loc_5dfd:
        txa
        and #$07
        tay
        lda dat_6e25,y
        sta $4100,x
        inx
        bne loc_5dfd
        ldx #$27
        lda #$0c

loc_5e0e:
        sta $d968,x
        sta $dbc0,x
        dex
        bpl loc_5e0e
        ldx #$00
        stx $39
        ldy #$75
        sty $3a
        lda #$7f
        sta $dc0d
        bit $dc0d
        jsr sub_5e6e
        lda #$00
        jsr sub_1000
        ldx #$a2
        ldy #$5e
        lda #$76
        stx $fffe
        sty $ffff
        sta $d012
        lda $d011
        and #$7f
        sta $d011

loc_5e46:
        lda $d011
        bpl loc_5e46
        lda #$3b
        sta $d011
        lda #$c8
        sta $d016
        lda #$1c
        sta $d018
        lda #$0f
        sta $d020
        sta $d021
        lda #$01
        sta $d01a
        asl $d019
        cli
        jmp loc_5f2f

// Referenced by: jsr from $5e27
sub_5e6e: {
        ldx #$3f
loop:
        lda #$00
        sta $03c0,x
        sta $0380,x
        sta $0340,x
        sta $02c0,x
        sta $0200,x
        sta $0140,x
        sta $0100,x
        dex
        bpl loop
        lda #$80
        sta $03c0
        sta $03c9
        sta $03d2
        sta $03db
        sta $03e4
        sta $03ed
        sta $03f6
        rts
}

irq_5ea2:
        sta smc_5ec7                                // SMC: modifies $5ec7
        stx smc_5ec9                                // SMC: modifies $5ec9
        sty smc_5ecb                                // SMC: modifies $5ecb
        jsr sub_4200
        jsr sub_1003
        jsr sub_6fd2
        lda #$7f
        sta $dc00
        lda $dc00
        and $dc01
        and #$10
        beq loc_5ecd
        asl $d019
.label smc_5ec7 = * + 1
        lda #$38                                    // !SMC: modified by $5ea2
.label smc_5ec9 = * + 1
        ldx #$f4                                    // !SMC: modified by $5ea5
.label smc_5ecb = * + 1
        ldy #$04                                    // !SMC: modified by $5ea8
        rti

loc_5ecd:
        sei
        lda #$37
        sta $01
        ldx #$30
        ldy #$00
        sty $3d
        stx $3e
        tya
        ldx #$10

loc_5edd:
        sta ($3d),y
        iny
        bne loc_5edd
        inc $3e
        dex
        bne loc_5edd
        ldx #$00

loc_5ee9:
        sta txt_4040,x
        inx
        cpx #$c0
        bne loc_5ee9
        ldx #$3f

loc_5ef3:
        lda $2fc0,x
        sta $39,x
        dex
        bpl loc_5ef3
        ldx #$1f

loc_5efd:
        lda $fd30,x
        sta $0314,x
        dex
        bpl loc_5efd
        jsr $fda3
        jsr $ff5b
        ldx #$00
        stx $d020
        stx $d021
        jmp $fce2

// --- Region $5f2f-$5f7b ---
.pc = $5f2f "loc_5f2f"

loc_5f2f:
        lda $d018
        eor #$02
        sta $d018
        and #$02
        bne loc_5f3e
        ldx #$40
.label loc_5f3e = * + 1
        bit $80a2
        stx $6cd1
        stx $6d24
        lda $5fde
        clc
        adc #$70
        cmp #$30
        bcs loc_5f5f
        tax
        lda dat_5f7c,x
        ldy #$19

loc_5f56:
        sta $da87,y
        sta $daaf,y
        dey
        bpl loc_5f56

loc_5f5f:
        lda $5fd4
        asl
        cmp #$28
        bne loc_5f6c
        lda #$00
        sta $5fd4

loc_5f6c:
        tax
        lda $5fac,x
        sta smc_5f7a                                // SMC: modifies $5f7a
        lda $5fad,x
        sta smc_5f7b                                // SMC: modifies $5f7b
.label smc_5f7a = * + 1
.label smc_5f7b = * + 2
        jmp loc_6289                                // !SMC: modified by $5f70, $5f76

// --- Region $6289-$6e25 ---
.pc = $6289 "loc_6289"

loc_6289:
        ldx #$23
        lda #$00
        jsr sub_6d5d
        ldx #$23
        jsr sub_6dc1
        lda #$1c
        sta $d018
        lda #$00

loc_629c:
        sta $4d
        cmp #$10
        bcs $630f
        clc
        adc $4f
        tay
        lda $2e00,y
        asl
        asl
        asl
        sta $4b
        lda #$2c
        adc #$00
        sta $4c
        clc
        lda $4d
        adc #$20
        adc $4f
        tay
        lda $2e00,y
        asl
        asl
        asl
        sta $41
        lda #$2c
        adc #$00
        sta $42
        lda $4d
        asl
        asl
        asl
        ora #$07
        tax
        ldy #$07

loc_62d4:
        lda ($4b),y
        sta $3298,x
        lda ($41),y
        sta $3658,x
        dex
        dey
        bpl loc_62d4
        clc
        lda $4d
        eor #$0f
        adc #$10
        adc $4f
        tay
        lda $2e00,y
        asl
        asl
        asl
        sta $4b
        lda #$2c
        adc #$00
        sta $4c
        lda $4d
        eor #$0f
        asl
        asl
        asl
        ora #$07
        tax
        ldy #$07

loc_6306:
        lda ($4b),y
        sta $3478,x
        dex
        dey
        bpl loc_6306
        ldx $4d
        ldy #$00

loc_6313:
        lda dat_63b4,y
        sta $da64,x
        sta $db04,x
        txa
        eor #$ff
        tax
        lda dat_63b4,y
        sta $d9c4,x
        txa
        eor #$ff
        tax
        iny
        cpy #$04
        beq $6332
        dex
        bpl loc_6313
        lda #$39

loc_6334:
        cmp $d012
        bne loc_6334
        lda #$38

loc_633b:
        cmp $d012
        bne loc_633b
        lda $4d
        clc
        adc #$01
        cmp #$14
        beq loc_634c
        jmp loc_629c

loc_634c:
        ldx #$ff
        lda #$38

loc_6350:
        cmp $d012
        bne loc_6350

loc_6355:
        cmp $d012
        beq loc_6355
        dex
        bne loc_6350
        lda $4f
        clc
        adc #$30
        cmp #$f0
        beq loc_636c
        tax
        lda $2e00,x
        bne loc_636e

loc_636c:
        ldx #$00

loc_636e:
        stx $4f
        ldx #$06

loc_6372:
        ldy #$04

loc_6374:
        lda #$38

loc_6376:
        cmp $d012
        bne loc_6376

loc_637b:
        cmp $d012
        beq loc_637b
        dey
        bne loc_6374
        ldy #$0f
        lda $63b8,x

loc_6388:
        sta $da64,y
        sta $dab4,y
        sta $db04,y
        dey
        bpl loc_6388
        dex
        bpl loc_6372
        ldx #$23
        lda #$00
        jsr sub_6d5d
        ldy #$0f
        lda #$01

loc_63a2:
        sta $da64,y
        sta $dab4,y
        sta $db04,y
        dey
        bpl loc_63a2
        inc $5fd4
        jmp loc_5f2f

dat_63b4:
        .byte $06,$0e,$03,$0f,$00,$06               // ......

loc_63ba:
        asl $0d03
        ora ($0d,x)
        lda #$00
        sta $5fd5
        sta $5fd6
        ldx #$05

loc_63c9:
        lda $6052,x
        sta $5fe1,x
        lda $6058,x
        sta $5fea,x
        lda $605e,x
        sta txt_5ff3,x
        dex
        bpl loc_63c9
        ldx #$08

loc_63e0:
        lda $6064,x
        sta $5ffc,x
        lda $606d,x
        sta $6009,x
        dex
        bpl loc_63e0

loc_63ef:
        lda #$00
        sta $5fd9
        sta txt_5fda
        sta $5fdb
        sta $5fdc
        sta $5fdd
        sta $5fde
        sta $5fdf
        sta $5fe0
        sta $5fd7
        sta $5fd8
        jsr sub_6d52
        inc $5fd4
        jmp loc_5f2f

loc_6418:
        lda #$30
        sta $5fd5
        lda #$1b
        sta $5fd6
        ldx #$08

loc_6424:
        lda $6076,x
        sta $5fe1,x
        lda $607f,x
        sta $5fea,x
        lda txt_6088,x
        sta txt_5ff3,x
        dex
        bpl loc_6424
        ldx #$0c

loc_643b:
        lda $6091,x
        sta $5ffc,x
        lda $609e,x
        sta $6009,x
        dex
        bpl loc_643b
        jmp loc_63ef

loc_644d:
        lda #$55
        sta $5fd5
        lda #$36
        sta $5fd6
        ldx #$05

loc_6459:
        lda $60ab,x
        sta $5fe1,x
        lda $60b1,x
        sta $5fea,x
        lda $60b7,x
        sta txt_5ff3,x
        dex
        bpl loc_6459
        ldx #$08

loc_6470:
        lda $60bd,x
        sta $5ffc,x
        lda $60c6,x
        sta $6009,x
        dex
        bpl loc_6470
        jmp loc_63ef

loc_6482:
        lda #$74
        sta $5fd5
        lda #$66
        sta $5fd6
        ldx #$08

loc_648e:
        lda $60cf,x
        sta $5fe1,x
        lda $60d8,x
        sta $5fea,x
        lda #$10
        sta txt_5ff3,x
        dex
        bpl loc_648e
        lda #$80
        sta $5ffb
        ldx #$09

loc_64a9:
        lda $60e1,x
        sta $5ffc,x
        lda $60eb,x
        sta $6009,x
        dex
        bpl loc_64a9
        jmp loc_63ef

loc_64bb:
        lda #$8e
        sta $5fd5
        lda #$66
        sta $5fd6
        ldx #$08

loc_64c7:
        lda $60f5,x
        sta $5fe1,x
        lda $60fe,x
        sta $5fea,x
        lda #$10
        sta txt_5ff3,x
        dex
        bpl loc_64c7
        lda #$80
        sta $5ffb
        ldx #$06

loc_64e2:
        lda $6107,x
        sta $5ffc,x
        lda $610e,x
        sta $6009,x
        dex
        bpl loc_64e2
        jmp loc_63ef

loc_64f4:
        lda #$a8
        sta $5fd5
        lda #$66
        sta $5fd6
        ldx #$08

loc_6500:
        lda $6115,x
        sta $5fe1,x
        lda $611e,x
        sta $5fea,x
        lda #$10
        sta txt_5ff3,x
        dex
        bpl loc_6500
        lda #$80
        sta $5ffb
        ldx #$07

loc_651b:
        lda $6127,x
        sta $5ffc,x
        lda $612f,x
        sta $6009,x
        dex
        bpl loc_651b
        jmp loc_63ef

loc_652d:
        lda #$be
        sta $5fd5
        lda #$66
        sta $5fd6
        ldx #$08

loc_6539:
        lda $6115,x
        sta $5fe1,x
        lda $611e,x
        sta $5fea,x
        lda #$10
        sta txt_5ff3,x
        dex
        bpl loc_6539
        lda #$80
        sta $5ffb
        ldx #$08

loc_6554:
        lda $6137,x
        sta $5ffc,x
        lda $6140,x
        sta $6009,x
        dex
        bpl loc_6554
        jmp loc_63ef

loc_6566:
        ldy $5fd5
        lda $5fd7
        beq loc_658e

loc_656e:
        ldx $6148,y
        bmi loc_6582
        lda $6149,y
        clc
        adc $5fd9,x
        sta $5fd9,x
        iny
        iny
        jmp loc_656e

loc_6582:
        dec $5fd7
        bne loc_65bf
        iny
        sty $5fd5
        jmp loc_65bf

loc_658e:
        ldx $6148,y
        bmi loc_65a2
        lda $6149,y
        clc
        adc $5fd9,x
        sta $5fd9,x
        iny
        iny
        jmp loc_658e

loc_65a2:
        cpx #$80
        bne loc_65af
        jsr sub_6d52
        inc $5fd4
        jmp loc_5f2f

loc_65af:
        cpx #$81
        beq loc_65bb
        txa
        and #$7f
        sta $5fd7
        bne loc_65bf

loc_65bb:
        iny
        sty $5fd5

loc_65bf:
        lda $5fd8
        bne loc_65e1
        ldy $5fd6
        lda $6220,y
        sta $5fd8
        lda $6221,y
        sta $5fdf
        lda $6222,y
        sta $5fe0
        iny
        iny
        iny
        sty $5fd6
        bne loc_65e4

loc_65e1:
        dec $5fd8

loc_65e4:
        ldy #$00

loc_65e6:
        lda $5fe1,y
        cmp #$80
        beq loc_65f3
        jsr sub_6651
        iny
        bne loc_65e6

loc_65f3:
        jsr sub_6d52
        lda $5fdf
        sta $41
        lda $5fe0
        sta $43
        ldy #$00
        ldx #$00

loc_6604:
        lda $5ffc,y
        bmi loc_6620
        asl $43
        rol $41
        bcs loc_661d
        lda $5ffc,y
        sta $6031,x
        inx
        lda $6009,y
        sta $6031,x
        inx

loc_661d:
        iny
        bne loc_6604

loc_6620:
        lda #$ff
        sta $6031,x
        ldy #$00

loc_6627:
        sty $4e
        ldx $6031,y
        bmi loc_664e
        lda $6016,x
        sta $41
        lda $601f,x
        sta $42
        ldx $6032,y
        lda $6016,x
        sta $43
        lda $601f,x
        sta $44
        jsr sub_6c75
        ldy $4e
        iny
        iny
        bne loc_6627

loc_664e:
        jmp loc_5f2f
// Referenced by: jsr from $65ed

sub_6651:
        ldx $5fd9
        lda $7300,x
        ldx $5fea,y
        sta $43
        stx $41
        eor $41
        sta $44
        lda $41
        bpl loc_666d
        lda #$00
        sec
        sbc $41
        sta $41

loc_666d:
        lda $43
        bpl loc_6678
        lda #$00
        sec
        sbc $43
        sta $43

loc_6678:
        lda #$00
        lsr $41
        bcc loc_6681
        clc
        adc $43

loc_6681:
        ror
        lsr $41
        bcc loc_6689
        clc
        adc $43

loc_6689:
        ror
        lsr $41
        bcc loc_6691
        clc
        adc $43

loc_6691:
        ror
        lsr $41
        bcc loc_6699
        clc
        adc $43

loc_6699:
        ror
        lsr $41
        bcc loc_66a1
        clc
        adc $43

loc_66a1:
        ror
        lsr $41
        bcc loc_66a9
        clc
        adc $43

loc_66a9:
        ror
        lsr $41
        bcc loc_66b1
        clc
        adc $43

loc_66b1:
        ror
        ldx $44
        bpl loc_66bb
        eor #$ff
        clc
        adc #$01

loc_66bb:
        sta $42
        lda $5fd9
        clc
        adc #$c0
        tax
        lda $7300,x
        ldx txt_5ff3,y
        sta $43
        stx $41
        eor $41
        sta $44
        lda $41
        bpl loc_66dd
        lda #$00
        sec
        sbc $41
        sta $41

loc_66dd:
        lda $43
        bpl loc_66e8
        lda #$00
        sec
        sbc $43
        sta $43

loc_66e8:
        lda #$00
        lsr $41
        bcc loc_66f1
        clc
        adc $43

loc_66f1:
        ror
        lsr $41
        bcc loc_66f9
        clc
        adc $43

loc_66f9:
        ror
        lsr $41
        bcc loc_6701
        clc
        adc $43

loc_6701:
        ror
        lsr $41
        bcc loc_6709
        brk

loc_6707:
        adc $43

loc_6709:
        ror
        lsr $41
        bcc loc_6711
        clc
        adc $43

loc_6711:
        ror
        lsr $41
        bcc loc_6719
        clc
        adc $43

loc_6719:
        ror
        lsr $41
        bcc loc_6721
        clc
        adc $43

loc_6721:
        ror
        ldx $44
        bpl loc_672b
        eor #$ff
        clc
        adc #$01

loc_672b:
        clc
        adc $42
        sta $601f,y
        lda $5fd9
        clc
        adc #$c0
        tax
        lda $7300,x
        ldx $5fea,y
        sta $43
        stx $41
        eor $41
        sta $44
        lda $41
        bpl loc_6751
        lda #$00
        sec
        sbc $41
        sta $41

loc_6751:
        lda $43
        bpl loc_675c
        lda #$00
        sec
        sbc $43
        sta $43

loc_675c:
        lda #$00
        lsr $41
        bcc loc_6765
        clc
        adc $43

loc_6765:
        ror
        lsr $41
        bcc loc_676d
        clc
        adc $43

loc_676d:
        ror
        lsr $41
        bcc loc_6775
        clc
        adc $43

loc_6775:
        ror
        lsr $41
        bcc loc_677d
        clc
        adc $43

loc_677d:
        ror
        lsr $41
        bcc loc_6785
        clc
        adc $43

loc_6785:
        ror
        lsr $41
        bcc loc_678d
        clc
        adc $43

loc_678d:
        ror
        lsr $41
        bcc loc_6795
        clc
        adc $43

loc_6795:
        ror
        ldx $44
        bpl loc_679f
        eor #$ff
        clc
        adc #$01

loc_679f:
        sta $42
        ldx $5fd9
        lda $7300,x
        ldx txt_5ff3,y
        sta $43
        stx $41
        eor $41
        sta $44
        lda $41
        bpl loc_67bd
        lda #$00
        sec
        sbc $41
        sta $41

loc_67bd:
        lda $43
        bpl loc_67c8
        lda #$00
        sec
        sbc $43
        sta $43

loc_67c8:
        lda #$00
        lsr $41
        bcc loc_67d1
        clc
        adc $43

loc_67d1:
        ror
        lsr $41
        bcc loc_67d9
        clc
        adc $43

loc_67d9:
        ror
        lsr $41
        bcc loc_67e1
        clc
        adc $43

loc_67e1:
        ror
        lsr $41
        bcc loc_67e9
        clc
        adc $43

loc_67e9:
        ror
        lsr $41
        bcc loc_67f1
        clc
        adc $43

loc_67f1:
        ror
        lsr $41
        bcc loc_67f9
        clc
        adc $43

loc_67f9:
        ror
        lsr $41
        bcc loc_6801
        clc
        adc $43

loc_6801:
        ror
        ldx $44
        bpl loc_680b
        eor #$ff
        clc
        adc #$01

loc_680b:
        sec
        sbc $42
        sta $6028,y
        lda txt_5fda
        clc
        adc #$c0
        tax
        lda $7300,x
        ldx $6028,y
        sta $43
        stx $41
        eor $41
        sta $44
        lda $41
        bpl loc_6831
        lda #$00
        sec
        sbc $41
        sta $41

loc_6831:
        lda $43
        bpl loc_683c
        lda #$00
        sec
        sbc $43
        sta $43

loc_683c:
        lda #$00
        lsr $41
        bcc loc_6845
        clc
        adc $43

loc_6845:
        ror
        lsr $41
        bcc loc_684d
        clc
        adc $43

loc_684d:
        ror
        lsr $41
        bcc loc_6855
        clc
        adc $43

loc_6855:
        ror
        lsr $41
        bcc loc_685d
        clc
        adc $43

loc_685d:
        ror
        lsr $41
        bcc loc_6865
        clc
        adc $43

loc_6865:
        ror
        lsr $41
        bcc loc_686d
        clc
        adc $43

loc_686d:
        ror
        lsr $41
        bcc loc_6875
        clc
        adc $43

loc_6875:
        ror
        ldx $44
        bpl loc_687f
        eor #$ff
        clc
        adc #$01

loc_687f:
        sta $42
        ldx txt_5fda
        lda $7300,x
        ldx $5fe1,y
        sta $43
        stx $41
        eor $41
        sta $44
        lda $41
        bpl loc_689d
        lda #$00
        sec
        sbc $41
        sta $41

loc_689d:
        lda $43
        bpl loc_68a8
        lda #$00
        sec
        sbc $43
        sta $43

loc_68a8:
        lda #$00
        lsr $41
        bcc loc_68b1
        clc
        adc $43

loc_68b1:
        ror
        lsr $41
        bcc loc_68b9
        clc
        adc $43

loc_68b9:
        ror
        lsr $41
        bcc loc_68c1
        clc
        adc $43

loc_68c1:
        ror
        lsr $41
        bcc loc_68c9
        clc
        adc $43

loc_68c9:
        ror
        lsr $41
        bcc loc_68d1
        clc
        adc $43

loc_68d1:
        ror
        lsr $41
        bcc loc_68d9
        clc
        adc $43

loc_68d9:
        ror
        lsr $41
        bcc loc_68e1
        clc
        adc $43

loc_68e1:
        ror
        ldx $44
        bpl loc_68eb
        eor #$ff
        clc
        adc #$01

loc_68eb:
        sec
        sbc $42
        sta $6016,y
        ldx txt_5fda
        lda $7300,x
        ldx $6028,y
        sta $43
        stx $41
        eor $41
        sta $44
        lda $41
        bpl loc_690d
        lda #$00
        sec
        sbc $41
        sta $41

loc_690d:
        lda $43
        bpl loc_6918
        lda #$00
        sec
        sbc $43
        sta $43

loc_6918:
        lda #$00
        lsr $41
        bcc loc_6921
        clc
        adc $43

loc_6921:
        ror
        lsr $41
        bcc loc_6929
        clc
        adc $43

loc_6929:
        ror
        lsr $41
        bcc loc_6931
        clc
        adc $43

loc_6931:
        ror
        lsr $41
        bcc loc_6939
        clc
        adc $43

loc_6939:
        ror
        lsr $41
        bcc loc_6941
        clc
        adc $43

loc_6941:
        ror
        lsr $41
        bcc loc_6949
        clc
        adc $43

loc_6949:
        ror
        lsr $41
        bcc loc_6951
        clc
        adc $43

loc_6951:
        ror
        ldx $44
        bpl loc_695b
        eor #$ff
        clc
        adc #$01

loc_695b:
        sta $42
        lda txt_5fda
        clc
        adc #$c0
        tax
        lda $7300,x
        ldx $5fe1,y
        sta $43
        stx $41
        eor $41
        sta $44
        lda $41
        bpl loc_697d
        lda #$00
        sec
        sbc $41
        sta $41

loc_697d:
        lda $43
        bpl loc_6988
        lda #$00
        sec
        sbc $43
        sta $43

loc_6988:
        lda #$00
        lsr $41
        bcc loc_6991
        clc
        adc $43

loc_6991:
        ror
        lsr $41
        bcc loc_6999
        clc
        adc $43

loc_6999:
        ror
        lsr $41
        bcc loc_69a1
        clc
        adc $43

loc_69a1:
        ror
        lsr $41
        bcc loc_69a9
        clc
        adc $43

loc_69a9:
        ror
        lsr $41
        bcc loc_69b1
        clc
        adc $43

loc_69b1:
        ror
        lsr $41
        bcc loc_69b9
        clc
        adc $43

loc_69b9:
        ror
        lsr $41
        bcc loc_69c1
        clc
        adc $43

loc_69c1:
        ror
        ldx $44
        bpl loc_69cb
        eor #$ff
        clc
        adc #$01

loc_69cb:
        clc
        adc $42
        sta $6028,y
        ldx $5fdb
        lda $7300,x
        ldx $6016,y
        sta $43
        stx $41
        eor $41
        sta $44
        lda $41
        bpl loc_69ed
        lda #$00
        sec
        sbc $41
        sta $41

loc_69ed:
        lda $43
        bpl loc_69f8
        lda #$00
        sec
        sbc $43
        sta $43

loc_69f8:
        lda #$00
        lsr $41
        bcc loc_6a01
        clc
        adc $43

loc_6a01:
        ror
        lsr $41
        bcc loc_6a09
        clc
        adc $43

loc_6a09:
        ror
        lsr $41
        bcc loc_6a11
        clc
        adc $43

loc_6a11:
        ror
        lsr $41
        bcc loc_6a19
        clc
        adc $43

loc_6a19:
        ror
        lsr $41
        bcc loc_6a21
        clc
        adc $43

loc_6a21:
        ror
        lsr $41
        bcc loc_6a29
        clc
        adc $43

loc_6a29:
        ror
        lsr $41
        bcc loc_6a31
        clc
        adc $43

loc_6a31:
        ror
        ldx $44
        bpl loc_6a3b
        eor #$ff
        clc
        adc #$01

loc_6a3b:
        sta $42
        lda $5fdb
        clc
        adc #$c0
        tax
        lda $7300,x
        ldx $601f,y
        sta $43
        stx $41
        eor $41
        sta $44
        lda $41
        bpl loc_6a5d
        lda #$00
        sec
        sbc $41
        sta $41

loc_6a5d:
        lda $43
        bpl loc_6a68
        lda #$00
        sec
        sbc $43
        sta $43

loc_6a68:
        lda #$00
        lsr $41
        bcc loc_6a71
        clc
        adc $43

loc_6a71:
        ror
        lsr $41
        bcc loc_6a79
        clc
        adc $43

loc_6a79:
        ror
        lsr $41
        bcc loc_6a81
        clc
        adc $43

loc_6a81:
        ror
        lsr $41
        bcc loc_6a89
        clc
        adc $43

loc_6a89:
        ror
        lsr $41
        bcc loc_6a91
        clc
        adc $43

loc_6a91:
        ror
        lsr $41
        bcc loc_6a99
        clc
        adc $43

loc_6a99:
        ror
        lsr $41
        bcc loc_6aa1
        clc
        adc $43

loc_6aa1:
        ror
        ldx $44
        bpl loc_6aab
        eor #$ff
        clc
        adc #$01

loc_6aab:
        clc
        adc $42
        ldx $6016,y
        sta $6016,y
        stx $42
        lda $5fdb
        clc
        adc #$c0
        tax
        lda $7300,x
        ldx $42
        sta $43
        stx $41
        eor $41
        sta $44
        lda $41
        bpl loc_6ad5
        lda #$00
        sec
        sbc $41
        sta $41

loc_6ad5:
        lda $43
        bpl loc_6ae0
        lda #$00
        sec
        sbc $43
        sta $43

loc_6ae0:
        lda #$00
        lsr $41
        bcc loc_6ae9
        clc
        adc $43

loc_6ae9:
        ror
        lsr $41
        bcc loc_6af1
        clc
        adc $43

loc_6af1:
        ror
        lsr $41
        bcc loc_6af9
        clc
        adc $43

loc_6af9:
        ror
        lsr $41
        bcc loc_6b01
        clc
        adc $43

loc_6b01:
        ror
        lsr $41
        bcc loc_6b09
        clc
        adc $43

loc_6b09:
        ror
        lsr $41
        bcc loc_6b11
        clc
        adc $43

loc_6b11:
        ror
        lsr $41
        bcc loc_6b19
        clc
        adc $43

loc_6b19:
        ror
        ldx $44
        bpl loc_6b23
        eor #$ff
        clc
        adc #$01

loc_6b23:
        sta $42
        ldx $5fdb
        lda $7300,x
        ldx $601f,y
        sta $43
        stx $41
        eor $41
        sta $44
        lda $41
        bpl loc_6b41
        lda #$00
        sec
        sbc $41
        sta $41

loc_6b41:
        lda $43
        bpl loc_6b4c
        lda #$00
        sec
        sbc $43
        sta $43

loc_6b4c:
        lda #$00
        lsr $41
        bcc loc_6b55
        clc
        adc $43

loc_6b55:
        ror
        lsr $41
        bcc loc_6b5d
        clc
        adc $43

loc_6b5d:
        ror
        lsr $41
        bcc loc_6b65
        clc
        adc $43

loc_6b65:
        ror
        lsr $41
        bcc loc_6b6d
        clc
        adc $43

loc_6b6d:
        ror
        lsr $41
        bcc loc_6b75
        clc
        adc $43

loc_6b75:
        ror
        lsr $41
        bcc loc_6b7d
        clc
        adc $43

loc_6b7d:
        ror
        lsr $41
        bcc loc_6b85
        clc
        adc $43

loc_6b85:
        ror
        ldx $44
        bpl loc_6b8f
        eor #$ff
        clc
        adc #$01

loc_6b8f:
        sec
        sbc $42
        sta $601f,y
        lda $6028,y
        asl
        php
        ror
        plp
        ror
        clc
        adc $5fde
        clc
        adc #$80
        lsr
        sta $6028,y
        lda $6016,y
        ldx $6028,y
        sta $43
        stx $41
        eor $41
        sta $44
        lda $43
        bpl loc_6bc1
        lda #$00
        sec
        sbc $43
        sta $43

loc_6bc1:
        lda #$00
        lsr $41
        bcc loc_6bca
        clc
        adc $43

loc_6bca:
        ror
        lsr $41
        bcc loc_6bd2
        clc
        adc $43

loc_6bd2:
        ror
        lsr $41
        bcc loc_6bda
        clc
        adc $43

loc_6bda:
        ror
        lsr $41
        bcc loc_6be2
        clc
        adc $43

loc_6be2:
        ror
        lsr $41
        bcc loc_6bea
        clc
        adc $43

loc_6bea:
        ror
        lsr $41
        bcc loc_6bf2
        clc
        adc $43

loc_6bf2:
        ror
        lsr $41
        bcc loc_6bfa
        clc
        adc $43

loc_6bfa:
        ror
        ldx $44
        bpl loc_6c04
        eor #$ff
        clc
        adc #$01

loc_6c04:
        clc
        adc #$78
        clc
        adc $5fdc
        sta $6016,y
        lda $601f,y
        ldx $6028,y
        sta $43
        stx $41
        eor $41
        sta $44
        lda $43
        bpl loc_6c27
        lda #$00
        sec
        sbc $43
        sta $43

loc_6c27:
        lda #$00
        lsr $41
        bcc loc_6c30
        clc
        adc $43

loc_6c30:
        ror
        lsr $41
        bcc loc_6c38
        clc
        adc $43

loc_6c38:
        ror
        lsr $41
        bcc loc_6c40
        clc
        adc $43

loc_6c40:
        ror
        lsr $41
        bcc loc_6c48
        clc
        adc $43

loc_6c48:
        ror
        lsr $41
        bcc loc_6c50
        clc
        adc $43

loc_6c50:
        ror
        lsr $41
        bcc loc_6c58
        clc
        adc $43

loc_6c58:
        ror
        lsr $41
        bcc loc_6c60
        clc
        adc $43

loc_6c60:
        ror
        ldx $44
        bpl loc_6c6a
        eor #$ff
        clc
        adc #$01

loc_6c6a:
        clc
        adc #$20
        clc
        adc $5fdd
        sta $601f,y
        rts

// Referenced by: jsr from $6645
sub_6c75: {
        lda $41
        cmp $43
        bcc skip1
        ldy $43
        sta $43
        sty $41
        lda $42
        ldy $44
        sta $44
        sty $42
skip1:
        lda #$00
        sta $49
        sta $4a
        lda $43
        sec
        sbc $41
        sta $47
        lsr $47
        ror
        lsr $47
        ror
        lsr $47
        ror
        lsr $47
        ror
        and #$f0
        sta $45
        lda $44
        cmp $42
        bcc skip2
        lda $44
        sec
        sbc $42
        sta $48
        lsr $48
        ror
        lsr $48
        ror
        lsr $48
        ror
        lsr $48
        ror
        and #$f0
        sta $46
        lda #$11
        sta $4d
loop1:
        ldy $42
        ldx $41
        lda $40c0,y
        sta $4b
        lda $4080,y
        sta $4c
        txa
        and #$f8
        tay
        lda $4100,x
        ora ($4b),y
        sta ($4b),y
        clc
        lda $49
        adc $45
        sta $49
        lda $41
        adc $47
        sta $41
        clc
        lda $4a
        adc $46
        sta $4a
        lda $42
        adc $48
        sta $42
        dec $4d
        bne loop1
        rts
skip2:
        lda $42
        sec
        sbc $44
        sta $48
        lsr $48
        ror
        lsr $48
        ror
        lsr $48
        ror
        lsr $48
        ror
        and #$f0
        sta $46
        lda #$11
        sta $4d
loop2:
        ldy $42
        ldx $41
        lda $40c0,y
        sta $4b
        lda $4080,y
        sta $4c
        txa
        and #$f8
        tay
        lda $4100,x
        ora ($4b),y
        sta ($4b),y
        clc
        lda $49
        adc $45
        sta $49
        lda $41
        adc $47
        sta $41
        sec
        lda $4a
        sbc $46
        sta $4a
        lda $42
        sbc $48
        sta $42
        dec $4d
        bne loop2
        rts
}
// Referenced by: jsr from $640f, $65a6, $65f3

sub_6d52:
        ldx #$23
        lda $d018
        and #$02
        beq sub_6dc1
        lda #$00
// Referenced by: jsr from $628d, $639b; branch from $6dbe

sub_6d5d:
        sta $30d8,x
        sta $30fc,x
        sta $31a4,x
        sta $31c8,x
        sta $31ec,x
        sta $3210,x
        sta $3270,x
        sta $3294,x
        sta $32b8,x
        sta $32dc,x
        sta $3300,x
        sta $3360,x
        sta $3384,x
        sta $33a8,x
        sta $33cc,x
        sta $33f0,x
        sta $3450,x
        sta $3474,x
        sta $3498,x
        sta $34bc,x
        sta $34e0,x
        sta $3540,x
        sta $3564,x
        sta $3588,x
        sta $35ac,x
        sta $35d0,x
        sta $3654,x
        sta $3678,x
        sta $369c,x
        sta $36c0,x
        sta $3758,x
        sta $377c,x
        dex
        bpl sub_6d5d
        rts
// Referenced by: jsr from $6292; branch from $6d59, $6e22

sub_6dc1:
        sta $38d8,x
        sta $38fc,x
        sta $39a4,x
        sta $39c8,x
        sta $39ec,x
        sta $3a10,x
        sta $3a70,x
        sta $3a94,x
        sta $3ab8,x
        sta $3adc,x
        sta $3b00,x
        sta $3b60,x
        sta $3b84,x
        sta $3ba8,x
        sta $3bcc,x
        sta $3bf0,x
        sta $3c50,x
        sta $3c74,x
        sta $3c98,x
        sta $3cbc,x
        sta $3ce0,x
        sta $3d40,x
        sta $3d64,x
        sta $3d88,x
        sta $3dac,x
        sta $3dd0,x
        sta $3e54,x
        sta $3e78,x
        sta $3e9c,x
        sta $3ec0,x
        sta $3f58,x
        sta $3f7c,x
        dex
        bpl sub_6dc1
        rts

dat_6e25:
        // === Data block (1 bytes, $6e25-$6e25) ===
        .byte $80                                   // .

// --- Region $6fd2-$72f8 ---
.pc = $6fd2 "sub_6fd2"
// Referenced by: jsr from $5eb1

sub_6fd2:
        lda #$00
        sta $d010
        sta $d01b
        lda #$ff
        sta $d01c
        lda #$0f
        sta $d025
        lda #$00
        sta $d026
        lda #$0b
        sta $d027
        sta $d028
        sta $d029
        sta $d02a
        sta $d02b
        sta $d02c
        sta $d02d
        sta $d02e
        lda #$be
        sta $07f8
        sta $07ff
        lda #$bd
        sta $07f9
        sta $07fe
        lda #$bc
        sta $07fa
        sta $07fb
        sta $07fc
        sta $07fd
        lda dat_72f9
        clc
        adc #$04
        sta dat_72f9
        lda $72fa
        clc
        adc $72fc
        sta $72fa
        bne loc_703e
        lda #$07
        eor $72fc
        sta $72fc

loc_703e:
        lda $72fb
        clc
        adc #$07
        sta $72fb
        tax
        lda $7300,x
        clc
        adc #$80
        lsr
        lsr
        lsr
        lsr
        clc
        adc #$32
        sta $3d
        lda $72fd
        clc
        adc #$03
        sta $72fd
        lda $72fe
        clc
        adc $72ff
        sta $72fe
        bne loc_7074
        lda #$01
        eor $72ff
        sta $72ff

loc_7074:
        ldx dat_72f9
        lda $7300,x
        clc
        adc #$80
        sta $3e
        lda $72fa
        clc
        adc #$e0
        tax
        lda $7300,x
        clc
        adc #$80
        adc $3e
        ror
        lsr
        lsr
        lsr
        clc
        adc $3d
        sta $d001
        lda $72fe
        clc
        adc #$40
        tax
        lda $7300,x
        clc
        adc #$80
        lsr
        sta $3e
        ldx $72fd
        lda $7300,x
        clc
        adc #$80
        lsr
        clc
        adc #$28
        clc
        adc $3e
        sta $d000
        ror $d010
        lda dat_72f9
        clc
        adc #$18
        tax
        lda $7300,x
        clc
        adc #$80
        sta $3e
        lda $72fa
        clc
        adc #$c0
        tax
        lda $7300,x
        clc
        adc #$80
        adc $3e
        ror
        lsr
        lsr
        lsr
        clc
        adc $3d
        sta $d003
        lda $72fe
        clc
        adc #$38
        tax
        lda $7300,x
        clc
        adc #$80
        lsr
        sta $3e
        lda $72fd
        clc
        adc #$10
        tax
        lda $7300,x
        clc
        adc #$80
        lsr
        clc
        adc #$28
        clc
        adc $3e
        sta $d002
        ror $d010
        lda dat_72f9
        clc
        adc #$30
        tax
        lda $7300,x
        clc
        adc #$80
        sta $3e
        lda $72fa
        clc
        adc #$a0
        tax
        lda $7300,x
        clc
        adc #$80
        adc $3e
        ror
        lsr
        lsr
        lsr
        clc
        adc $3d
        sta $d005
        lda $72fe
        clc
        adc #$30
        tax
        lda $7300,x
        clc
        adc #$80
        lsr
        sta $3e
        lda $72fd
        clc
        adc #$20
        tax
        lda $7300,x
        clc
        adc #$80
        lsr
        clc
        adc #$28
        clc
        adc $3e
        sta $d004
        ror $d010
        lda dat_72f9
        clc
        adc #$48
        tax
        lda $7300,x
        clc
        adc #$80
        sta $3e
        lda $72fa
        clc
        adc #$80
        tax
        lda $7300,x
        clc
        adc #$80
        adc $3e
        ror
        lsr
        lsr
        lsr
        clc
        adc $3d
        sta $d007
        lda $72fe
        clc
        adc #$28
        tax
        lda $7300,x
        clc
        adc #$80
        lsr
        sta $3e
        lda $72fd
        clc
        adc #$30
        tax
        lda $7300,x
        clc
        adc #$80
        lsr
        clc
        adc #$28
        clc
        adc $3e
        sta $d006
        ror $d010
        lda dat_72f9
        clc
        adc #$60
        tax
        lda $7300,x
        clc
        adc #$80
        sta $3e
        lda $72fa
        clc
        adc #$60
        tax
        lda $7300,x
        clc
        adc #$80
        adc $3e
        ror
        lsr
        lsr
        lsr
        clc
        adc $3d
        sta $d009
        lda $72fe
        clc
        adc #$20
        tax
        lda $7300,x
        clc
        adc #$80
        lsr
        sta $3e
        lda $72fd
        clc
        adc #$40
        tax
        lda $7300,x
        clc
        adc #$80
        lsr
        clc
        adc #$28
        clc
        adc $3e
        sta $d008
        ror $d010
        lda dat_72f9
        clc
        adc #$78
        tax
        lda $7300,x
        clc
        adc #$80
        sta $3e
        lda $72fa
        clc
        adc #$40
        tax
        lda $7300,x
        clc
        adc #$80
        adc $3e
        ror
        lsr
        lsr
        lsr
        clc
        adc $3d
        sta $d00b
        lda $72fe
        clc
        adc #$18
        tax
        lda $7300,x
        clc
        adc #$80
        lsr
        sta $3e
        lda $72fd
        clc
        adc #$50
        tax
        lda $7300,x
        clc
        adc #$80
        lsr
        clc
        adc #$28
        clc
        adc $3e
        sta $d00a
        ror $d010
        lda dat_72f9
        clc
        adc #$90
        tax
        lda $7300,x
        clc
        adc #$80
        sta $3e
        lda $72fa
        clc
        adc #$20
        tax
        lda $7300,x
        clc
        adc #$80
        adc $3e
        ror
        lsr
        lsr
        lsr
        clc
        adc $3d
        sta $d00d
        lda $72fe
        clc
        adc #$10
        tax
        lda $7300,x
        clc
        adc #$80
        lsr
        sta $3e
        lda $72fd
        clc
        adc #$60
        tax
        lda $7300,x
        clc
        adc #$80
        lsr
        clc
        adc #$28
        clc
        adc $3e
        sta $d00c
        ror $d010
        lda dat_72f9
        clc
        adc #$a8
        tax
        lda $7300,x
        clc
        adc #$80
        sta $3e
        ldx $72fa
        lda $7300,x
        clc
        adc #$80
        adc $3e
        ror
        lsr
        lsr
        lsr
        clc
        adc $3d
        sta $d00f
        lda $72fe
        clc
        adc #$08
        tax
        lda $7300,x
        clc
        adc #$80
        lsr
        sta $3e
        lda $72fd
        clc
        adc #$70
        tax
        lda $7300,x
        clc
        adc #$80
        lsr
        clc
        adc #$28
        clc
        adc $3e
        sta $d00e
        ror $d010
        rts

// --- Region $7428-$7495 ---
.pc = $7428 "loc_7428"

loc_7428:
        jsr $ff5b
        lda $02a6
        bne loc_7433
        jsr sub_7436

loc_7433:
        jmp main_5c58
// Referenced by: jsr from $7430

sub_7436:
        lda #$20
        ldx #$f3
        ldy #$74
        sta $5222
        stx $5223
        sty $5224
        lda #$d2
        ldx #$6f
        sta $5eaf
        stx $5eb0
        lda #$03
        ldx #$10
        sta $5eb2
        stx $5eb3
        lda #$20
        ldx #$e2
        ldy #$74
        sta loc_6334
        stx $6335
        sty $6336
        sta loc_6372
        stx $6373
        sty loc_6374
        lda #$24
        sta $6337
        sta $633e
        lda #$4c
        ldx #$ce
        ldy #$74
        sta loc_634c
        stx $634d
        sty $634e
        sta $6375
        lda #$83
        ldx #$63
        sta loc_6376
        stx $6377
        rts

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

// --- Region $0800-$080f ---
.pc = $0800 "scr_0800"

scr_0800:
        // === Screen RAM (16 bytes, $0800-$080f) ===
        .encoding "screencode_mixed"
        .fill 13, $00                               // scrcode: @@@@@@@@@@@@@
        .text "bm1"
        .encoding "petscii_upper"

// --- Region $0811-$0f30 ---
.pc = $0811 "scr_0811"

scr_0811:
        // === Screen RAM (1007 bytes, $0811-$0bff) ===
        .encoding "screencode_mixed"
        .text "cj"
        .byte $1d,$69,$ad,$69,$ad                   // scrcode: .....
        .text "@@@x"
        .byte $6b,$ae,$69,$ad                       // scrcode: ....
        .text "@@@@@@cj@@@@@@@0@cf-"
        .byte $e9,$ad,$69,$6d                       // scrcode: ....
        .text "@"
        .text "af*"
        .byte $d6,$9a                               // scrcode: ..
        .encoding "petscii_upper"

txt_083e:
        .text "VZ"
        .byte $b1                                   // '1' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .byte $f1,$b1,$f1,$b1,$f1,$b1,$f1,$69,$ad,$69,$ad,$69,$ad,$69,$ad,$b1 // scrcode: ................
        .byte $f1,$b1,$f1,$b1,$f1,$b3,$f8,$69,$ad,$69,$ad,$69,$ad,$e9,$ed,$b1 // scrcode: ................
        .byte $f1,$b1,$f1,$b1,$f1,$b2,$f2,$69       // scrcode: ........
        .byte $ad,$69,$ad,$69,$fd                   // scrcode: .....
        .text "9=@afj&z"
        .byte $d6,$9a,$b1,$f1,$b1,$f1,$b1,$f1,$b2,$fc,$69,$ad,$69,$ad,$69,$ad // scrcode: ................
        .byte $69,$ed,$69,$ad,$69,$ad,$69,$ed       // scrcode: ........
        .text "y"
        .byte $1d,$b1                               // scrcode: ..
        .byte $f1,$b1,$f1,$b1,$f1,$b3,$f2,$69,$ae,$6b,$ac,$70,$c3 // scrcode: .............
        .text "n=@@@@@@aj@@bm!"
        .byte $71,$b1,$f1                           // scrcode: ...
        .text "y"
        .byte $ad,$69,$ad,$69,$ad,$69,$ad,$a0       // scrcode: ........
        .byte $d0,$90,$d0,$90,$d0,$90,$e0,$69,$6d,$69,$6d,$69,$6d,$69,$ad,$69 // scrcode: ................
        .byte $ae,$6b,$a8,$50,$40                   // scrcode: .....
        .text "@@"
        .encoding "petscii_upper"

txt_08d0:
        .text "VZVZVZVZ"
        .encoding "screencode_mixed"
        .byte $69,$ad,$69,$ad,$69,$ae,$6b,$a8,$56,$5a,$56,$59,$71,$c1 // scrcode: ..............
        .text "j:"
        .byte $b4,$f7,$b9,$f1,$b1,$f1,$b1,$f1,$e9,$ad,$69,$ae,$6b,$a4,$68,$90 // scrcode: ................
        .byte $56,$5a,$57,$5b                       // scrcode: ....
        .encoding "petscii_upper"

txt_08fc:
        .text "WZVZ"
        .byte $b2                                   // '2' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .byte $a2                                   // scrcode: .
        .text "!!!"
        .byte $61,$b1,$f1                           // scrcode: ...
        .text "9"
        .byte $ed,$69,$ae,$6b,$ac,$68,$a0,$a0,$c0,$c3,$c2,$b1,$e1,$91,$d1,$a9 // scrcode: ................
        .byte $6d,$69,$ae,$6b,$ac,$68,$a0,$a0,$c0,$c2,$cd,$a1,$f1,$b1,$f1,$e9 // scrcode: ................
        .byte $ed,$69,$ae,$6b,$ac,$68,$a0           // scrcode: .......
        .encoding "petscii_upper"

txt_0930:
        .text "VZVYUYUY"
        .byte $b1                                   // '1' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .byte $e1                                   // scrcode: .
        .text "qqqrs(y"
        .byte $1d                                   // scrcode: .
        .text "y"
        .byte $1d                                   // scrcode: .
        .text "y"
        .byte $1e,$1b                               // scrcode: ..
        .text "x"
        .encoding "petscii_upper"

txt_0948:
        .text "VZVX"
        .byte $a0                                   // ' ' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .byte $c0                                   // scrcode: .
        .text "@@"
        .byte $a0,$c0,$c0,$cc,$98,$f4,$b4,$f4,$a9,$6d,$69,$6e,$6b,$6c,$68,$60 // scrcode: ................
        .encoding "petscii_upper"

txt_0960:
        .text "VZW"
        .byte $5c                                   // backslash character
        .byte $b0                                   // '0' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .byte $c3                                   // scrcode: .
        .text "n:"
        .byte $b2,$f3,$b1,$b1,$b1,$f1,$b1,$f1,$e9,$ad,$69,$ad,$69,$ae,$6b,$a8 // scrcode: ................
        .text "&"
        .byte $da,$96                               // scrcode: ..
        .encoding "petscii_upper"

txt_097b:
        .text "ZVZVZ"
        .byte $b1                                   // '1' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .byte $f1,$b1,$f1,$b1,$f2,$bc,$e0,$6a,$af,$68,$90,$40 // scrcode: ............
        .text "@@@"
        .byte $b0,$c2                               // scrcode: ..
        .text "m!"
        .byte $b1,$f1,$b1,$f1                       // scrcode: ....
        .encoding "petscii_upper"

txt_0998:
        .text "VZU"
        .byte $5c                                   // backslash character
        .byte $b0                                   // '0' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .byte $c2                                   // scrcode: .
        .text "n"
        .encoding "petscii_upper"

txt_099f:
        .text ":VZWZUYUY"
        .byte $b0                                   // '0' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .byte $80                                   // scrcode: .
        .text "@@@@@@"
        .encoding "petscii_upper"

txt_09b0:
        .text "VZVZVZUX"
        .byte $b1                                   // '1' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .byte $f1,$b3,$fc,$a0,$40                   // scrcode: .....
        .text "@@"
        .byte $50,$80                               // scrcode: ..
        .text "@@@@@@"
        .byte $d6                                   // scrcode: .
        .encoding "petscii_upper"

txt_09c9:
        .text "ZVZVZUX"
        .encoding "screencode_mixed"
        .byte $60,$80                               // scrcode: ..
        .text "@@@@@@"
        .byte $56,$5a,$56,$5a,$56,$9a,$e5           // scrcode: .......
        .text "8"
        .byte $b1,$f2,$bc,$f0,$80,$40               // scrcode: ......
        .text "@@"
        .byte $50,$40                               // scrcode: ..
        .text "@@@@@@"
        .byte $91,$d2,$93,$e0,$b0,$40               // scrcode: ......
        .text "@@"
        .encoding "petscii_upper"

txt_09f8:
        .text "UYUYUZWX0"
        .byte $00                                   // string terminator
        .encoding "screencode_mixed"
        .text "@@@@@@p@@@@@@@"
        .byte $b4,$f4,$b8,$fc,$a0,$40               // scrcode: ......
        .text "@@"
        .byte $d6,$9a                               // scrcode: ..
        .encoding "petscii_upper"

txt_0a1a:
        .text "VZVZUXVYT"
        .byte $a0                                   // ' ' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .byte $c0                                   // scrcode: .
        .text "@@@"
        .byte $40                                   // scrcode: .
        .text "@@@@@@@"
        .byte $b2,$f8,$a0,$f0,$40,$80               // scrcode: ......
        .text "@@"
        .byte $b0,$c0                               // scrcode: ..
        .text "@@@@@@@cj"
        .byte $1d,$69,$ad,$69,$ae                   // scrcode: .....
        .text "@@@@"
        .text "@bam@@@@@cba@cj"
        .byte $1d,$a9,$ad,$69,$ad                   // scrcode: .....
        .text "@@@@@@@c@cj"
        .byte $1d                                   // scrcode: .
        .text ")"
        .byte $ad,$69,$ad                           // scrcode: ...
        .text "@@@@"
        .text "@cam"
        .byte $b1,$f1,$b1,$f1,$b1,$f1,$b1,$fd,$6b,$a8,$6c,$a0,$50,$90,$50,$af // scrcode: ................
        .byte $b1,$f1,$b1,$f1,$b1,$f1,$b3,$fc       // scrcode: ........
        .text "@cfi%y"
        .byte $d5,$99                               // scrcode: ..
        .text "i9-q"
        .text "rsrqaaaaaaaa@@bbnj6*@@@&"
        .byte $d6,$9a,$56,$5a                       // scrcode: ....
        .text "bmie"
        .byte $b1,$f1,$b3,$f2                       // scrcode: ....
        .text "@cji"
        .text "%y"
        .byte $d5,$99                               // scrcode: ..
        .text "ie9-qqqq"
        .byte $69,$ae,$6b,$ac,$70,$83,$8e,$bd,$b9,$c9 // scrcode: ..........
        .text "m!"
        .byte $b1,$f1,$b1,$f1,$6a,$ad,$69,$ad,$69,$ae,$6b,$a8,$56,$5a,$57,$5c // scrcode: ................
        .byte $70,$c3                               // scrcode: ..
        .text "n:"
        .byte $b0,$c3                               // scrcode: ..
        .text "m1"
        .byte $f1,$f1,$b1,$f1,$a0,$c0,$c2,$cd,$e1,$b1,$b1,$f1,$e9,$ad,$69,$ae // scrcode: ................
        .byte $6b,$ac,$68,$a0                       // scrcode: ....
        .encoding "petscii_upper"

txt_0b08:
        .text "VZW"
        .byte $5c                                   // backslash character
        .byte $b0                                   // '0' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .byte $c0                                   // scrcode: .
        .text "@@"
        .byte $b2,$e2                               // scrcode: ..
        .text "qqqqqq"
        .byte $a0,$c0,$c2,$cd,$c9,$85               // scrcode: ......
        .encoding "petscii_upper"

txt_0b1e:
        .text "EE"
        .byte $b2                                   // '2' | $80 (end-of-string marker)
        .byte $e2                                   // scrcode: .

txt_0b22:
        .text "!!"
        .byte $b1                                   // '1' | $80 (end-of-string marker)
        .byte $f1,$b1,$f1                           // scrcode: ...

txt_0b28:
        .text "UYUZWZVZ"
        .encoding "screencode_mixed"
        .text "qqq!"
        .byte $f1,$f1,$b1,$fe                       // scrcode: ....
        .text "y"
        .byte $1d                                   // scrcode: .
        .text "z"
        .byte $1f                                   // scrcode: .
        .text "xx"
        .byte $1c                                   // scrcode: .
        .text " @@@@@af*bcn!"
        .byte $71,$f1,$b1,$f1,$69,$ad,$6a,$af,$68,$a8,$6c,$a0 // scrcode: ............
        .byte $b0,$c3,$cd,$f1,$b1,$f1,$b1,$f1,$d6,$9a // scrcode: ..........
        .encoding "petscii_upper"

txt_0b62:
        .text "VZVZVZVZ"
        .encoding "screencode_mixed"
        .byte $96,$e6                               // scrcode: ..
        .text "nnnn"
        .byte $a0,$e3,$ad,$e1,$b1,$f1,$b1,$f1,$b2,$f3,$b1,$b1,$b1,$f1,$b1,$fd // scrcode: ................
        .encoding "petscii_upper"

spr_0b80:
        .text "UZWXXZVZ"
        .encoding "screencode_mixed"
        .text "qqq!"
        .byte $b1,$f1,$b1,$f1                       // scrcode: ....
        .text "!1n@@@@@"
        .byte $45,$45,$4b,$4c,$80,$c0               // scrcode: ......
        .text "@@"
        .byte $d6,$9a                               // scrcode: ..
        .encoding "petscii_upper"

txt_0ba2:
        .text "VZVZWX"
        .byte $b1                                   // '1' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .byte $f1,$8e,$80,$c0                       // scrcode: ....
        .text "@@@"
        .byte $bb,$f8,$bc,$f0,$a0,$40               // scrcode: ......
        .text "@@"
        .byte $70,$80                               // scrcode: ..
        .text "@@@@@@"
        .byte $56,$5a,$56,$5a,$96,$fe               // scrcode: ......
        .text "@@"
        .byte $b1,$f1,$b3,$fc,$a0,$80               // scrcode: ......
        .text "@@&"
        .text "z"
        .byte $d6,$9a                               // scrcode: ..
        .encoding "petscii_upper"

txt_0bd4:
        .text "VZUX"
        .byte $d6                                   // 'V' | $80 (end-of-string marker)
        .byte $9a,$56,$5a,$56,$5b                   // scrcode: .....

txt_0bde:
        .text "TX"
        .byte $b2                                   // '2' | $80 (end-of-string marker)
        .encoding "screencode_mixed"
        .byte $c0,$80,$c0                           // scrcode: ...
        .text "@@@@"
        .byte $b0                                   // scrcode: .
        .text "@@@@@@@@cj=)"
        .byte $1d                                   // scrcode: .
        .text "y"
        .byte $1d                                   // scrcode: .
        .text "@@@@@@k."
        .encoding "petscii_upper"

scr_0c00:
        // === Screen RAM (817 bytes, $0c00-$0f30) ===
        .encoding "screencode_mixed"
        .text "@@@@@cj!"
        .byte $bc,$f8,$b4,$fb,$be,$f1,$b1,$f1       // scrcode: ........
        .text "y"
        .byte $1d                                   // scrcode: .
        .text "y"
        .byte $1d                                   // scrcode: .
        .text "y"
        .byte $1d                                   // scrcode: .
        .text ")=@@@@@@@k@@bmi=!q"
        .byte $1d,$fd,$ad,$7d,$6d,$7d,$6e,$7f       // scrcode: ........
        .text "@@@@@@"
        .byte $e5,$9a                               // scrcode: ..
        .text "@@@l("
        .byte $74,$b4,$f4,$f1,$b1,$71,$71,$71,$71,$71,$71 // scrcode: ...........
        .text "@@@@"
        .byte $e5,$9a,$56,$5a                       // scrcode: ....
        .text "@@@@"
        .byte $5b,$f1,$b1,$f1                       // scrcode: ....
        .text "@@@@"
        .byte $9b,$ae,$69,$ad,$b2,$e3               // scrcode: ......
        .text "qqq-9e&y"
        .byte $d5,$99,$55,$59,$55,$5a               // scrcode: ......
        .text "qqqqq"
        .byte $22                                   // scrcode: "
        .text "8@"
        .byte $68,$b4,$e0                           // scrcode: ...
        .text "@@@@@"
        .byte $56,$5a,$56,$5a,$56,$9a,$d6           // scrcode: .......
        .text "*"
        .byte $b4,$f4,$b4,$f4,$b4,$f8,$bc,$e0,$71,$71,$71,$71,$71,$71,$71,$71 // scrcode: ................
        .byte $56,$5a,$56,$5a,$56,$9a,$e5           // scrcode: .......
        .text "@"
        .byte $b1,$f1,$b1,$f1,$b1,$f1,$5b           // scrcode: .......
        .text "@"
        .byte $69,$ad,$69,$ad,$69,$ae,$9b           // scrcode: .......
        .text "@imc@@@@@"
        .byte $57,$58,$94,$e0                       // scrcode: ....
        .text "@@@@fa@@@@@@"
        .byte $71,$72,$73,$78,$a0,$c0               // scrcode: ......
        .text "@@"
        .encoding "petscii_upper"

dat_0cd0:
        // === Fill data (48 bytes, $0cd0-$0cff) ===
        .fill 48, $80
        .encoding "screencode_mixed"
        .text "@ab@ac@ab@ac@ab@ab@ab@ac@ab@@d@ef@ab@ab@"
        .text "ghigjkglmnopgokghqghqnopgrstuvnwxgrsgoy@"
        .text "zh"
        .byte $1b,$1c,$1d,$1e,$1f                   // scrcode: .....
        .text " !z"
        .byte $22                                   // scrcode: "
        .text "#z"
        .encoding "petscii_upper"

txt_0d5d:
        .text "$%&'()'("
        .encoding "screencode_mixed"
        .text "z"
        .encoding "petscii_upper"

txt_0d66:
        .text "*+,-./01"
        .byte $1f                                   // scrcode: .

txt_0d6f:
        .text "2.3-.45"
        .byte $00                                   // string terminator
        .encoding "screencode_mixed"
        .text "@"
        .encoding "petscii_upper"

txt_0d78:
        .text "67897:;<=;>8;78?"
        .byte $40                                   // @ character
        .text "A"
        .byte $00                                   // string terminator

txt_0d8b:
        .byte $40                                   // @ character
        .text "A;B8C78DE"
        .byte $00                                   // string terminator

txt_0d96:
        .text ";78CF8?"
        .byte $00                                   // string terminator
        .encoding "screencode_mixed"
        .text "@@"
        .byte $47                                   // scrcode: .
        .text "@@"
        .byte $47                                   // scrcode: .
        .text "@@@@@@@@@@@"
        .byte $47                                   // scrcode: .
        .text "@@@@@@@@"
        .byte $47                                   // scrcode: .
        .text "@@@@@@@@"
        .byte $47                                   // scrcode: .
        .text "@@"
        .byte $47                                   // scrcode: .
        .text "@"
        .text "@@@a"
        .byte $48                                   // scrcode: .
        .text "@ac@ac@ab@ac@ab@"
        .byte $49                                   // scrcode: .
        .text "c@"
        .byte $4a,$4b                               // scrcode: ..
        .text "@ab@ab@ab@"
        .byte $4c,$4d                               // scrcode: ..
        .text "@"
        .byte $4e                                   // scrcode: .
        .text "b@g"
        .byte $4f,$50                               // scrcode: ..
        .text "g"
        .byte $51                                   // scrcode: .
        .text "knopglmnopglm"
        .byte $52,$53                               // scrcode: ..
        .text "q@"
        .byte $54                                   // scrcode: .
        .text "in"
        .byte $51                                   // scrcode: .
        .text "s"
        .byte $55,$51                               // scrcode: ..
        .text "sg"
        .byte $51                                   // scrcode: .
        .text "s"
        .byte $56,$57                               // scrcode: ..
        .text "s"
        .byte $58,$59                               // scrcode: ..
        .byte $5a                                   // scrcode: .
        .text "@,"
        .byte $5b,$5c,$5d,$5e,$1e                   // scrcode: .....
        .text "z"
        .byte $5f,$60,$61,$62                       // scrcode: ....
        .text "!z"
        .byte $63,$60                               // scrcode: ..
        .text ","
        .byte $64                                   // scrcode: .
        .text "!"
        .byte $65,$66,$67,$68,$69,$6a               // scrcode: ......
        .text "z"
        .byte $6b                                   // scrcode: .
        .text "."
        .byte $6c,$6b                               // scrcode: ..
        .text "."
        .byte $6d,$6e                               // scrcode: ..
        .text ".,"
        .byte $6f                                   // scrcode: .
        .text "."
        .byte $70,$71                               // scrcode: ..
        .byte $1b                                   // scrcode: .
        .text "@"
        .encoding "petscii_upper"

txt_0e40:
        .text "C7897:;78"
        .byte $00                                   // string terminator
        .encoding "screencode_mixed"
        .byte $72                                   // scrcode: .
        .text "=;"
        .byte $73                                   // scrcode: .
        .text "8"
        .byte $74,$75                               // scrcode: ..
        .text "=;"
        .byte $76,$40,$43                           // scrcode: ...
        .text "7"
        .byte $77                                   // scrcode: .
        .text ";78"
        .byte $78,$79                               // scrcode: ..
        .text "8"
        .byte $7a                                   // scrcode: .
        .text "78"
        .byte $7b,$7c,$7d                           // scrcode: ...
        .text ";78@"
        .byte $47                                   // scrcode: .
        .text "@@"
        .byte $47                                   // scrcode: .
        .text "@@@@@@"
        .text "@@@@@"
        .byte $47                                   // scrcode: .
        .text "@@@@@"
        .byte $47                                   // scrcode: .
        .text "@@@@@@@@"
        .byte $47                                   // scrcode: .
        .text "@@"
        .byte $47                                   // scrcode: .
        .text "@@@@@@@e"
        .byte $7e                                   // scrcode: .
        .text "@@@@@d@"
        .text "@"
        .byte $7f                                   // scrcode: .
        .text "@@@@"
        .byte $80                                   // scrcode: .
        .text "@@@@@@@@@"
        .byte $7f                                   // scrcode: .
        .text "@@"
        .byte $7f                                   // scrcode: .
        .text "@ab@ab@ab@g"
        .byte $81,$82                               // scrcode: ..
        .text "@@@"
        .byte $83,$84                               // scrcode: ..
        .text "v@"
        .text "@"
        .byte $85,$86,$87                           // scrcode: ...
        .text "@@"
        .byte $88                                   // scrcode: .
        .text "@"
        .byte $83                                   // scrcode: .
        .text "@@"
        .byte $89,$8a,$8b,$83                       // scrcode: ....
        .text "@"
        .byte $85,$86,$87,$85                       // scrcode: ....
        .text "ghighighi@4"
        .byte $8c                                   // scrcode: .
        .text ".@@@"
        .byte $8d,$8e                               // scrcode: ..
        .text "1@"
        .text "@"
        .byte $8f,$90,$91                           // scrcode: ...
        .text "@@"
        .byte $92                                   // scrcode: .
        .text "@"
        .byte $8d                                   // scrcode: .
        .text "@@"
        .byte $93,$94,$95,$8d                       // scrcode: ....
        .text "@"
        .byte $8f,$90,$91,$8f                       // scrcode: ....
        .text "zh"
        .byte $1b                                   // scrcode: .
        .text "zh"
        .byte $1b                                   // scrcode: .
        .text "zh"
        .byte $1b                                   // scrcode: .
        .text "@?"
        .byte $96                                   // scrcode: .
        .text "8@@@"
        .byte $97                                   // scrcode: .
        .text "@@@"
        .text "@@"
        .byte $98,$45                               // scrcode: ..
        .text "@@"
        .byte $99                                   // scrcode: .
        .text "@"
        .byte $97                                   // scrcode: .
        .text "@@@@@"
        .byte $97                                   // scrcode: .
        .text "@@"
        .byte $98,$45                               // scrcode: ..
        .text "@"
        .encoding "petscii_upper"

txt_0f26:
        .text "678678678"
        .byte $00                                   // string terminator
        .byte $47                                   // scrcode: .

// --- Region $0f4e-$0f55 ---
.pc = $0f4e "dat_0f4e"

dat_0f4e:
        .encoding "screencode_mixed"
        .byte $47                                   // scrcode: .
        .text "@@"
        .byte $47                                   // scrcode: .
        .text "@@"
        .byte $47                                   // scrcode: .
        .encoding "petscii_upper"

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

// --- Region $0f80-$0fff ---
.pc = $0f80 "dat_0f80"

dat_0f80:
        .encoding "screencode_mixed"
        .byte $5f,$60,$61,$62,$63,$64,$65,$66,$67,$68,$6a,$6b,$6c,$6d,$6e,$6f // scrcode: ................
        .byte $70,$72,$73,$74,$75,$76,$77,$79,$7a,$7b,$7c,$7d,$7e,$7f,$81,$82 // scrcode: ................
        .byte $83,$84,$85,$86,$87,$88,$89,$8a       // scrcode: ........
        .byte $8c,$8d,$8e,$8f,$90,$91,$92,$93,$94,$95,$96,$97,$98,$99,$9a,$9b // scrcode: ................
        .byte $9c,$9d,$9e,$9f,$a0,$a1,$a2,$a3,$a4,$a5,$a6,$a7,$a8,$a9,$aa,$ab // scrcode: ................
        .byte $ac,$ad,$ae,$af,$b0,$b1,$b2,$b3       // scrcode: ........
        .byte $b4,$b5,$b6,$b7,$b8,$b9,$ba,$bb,$bc,$bd,$be,$bf,$c0,$c1,$c2,$c3 // scrcode: ................
        .byte $c4,$c5,$c6,$c7,$c8,$c9,$ca,$cb,$cc,$cd,$ce,$cf,$d0,$d1,$d2,$d3 // scrcode: ................
        .byte $d4,$d5,$d6,$d7,$d8,$d9,$da,$db       // scrcode: ........
        .byte $dc,$dd,$de,$df,$e0,$e1               // scrcode: ......
        .text "@@"
        .encoding "petscii_upper"

// --- Region $1007-$1086 ---
.pc = $1007 "Segment $1007"
        .byte $e2,$10,$4c,$f2,$11,$00,$50,$00,$00,$01,$01,$00,$00,$00,$00,$00 // ..L...P.........
        .byte $0f,$01,$01,$01,$2a,$03,$09,$32,$02,$02,$4d,$0b,$6e,$00,$00,$00 // ....*..2..M.n...
        .byte $00,$00,$00,$4d,$0b,$6e,$15,$18,$39,$00,$00,$00,$00,$00,$00,$00 // ...M.n..9.......
        .byte $00,$00,$e7,$09,$31,$1a,$1b,$1b,$00,$00,$00,$40,$10,$20,$00,$02 // ....1......@. ..
        .byte $05,$00,$02,$05,$60,$b0,$60,$00,$01,$06,$00,$00,$02,$86,$00,$31 // ....`.`........1
        .byte $03,$0a,$1c,$00,$00,$00,$00,$00,$00,$1c,$00,$47,$00,$00,$02,$00 // ...........G....
        .byte $00,$3a,$00,$00,$00,$00,$00,$00,$da,$01,$09,$d4,$0a,$08,$09,$00 // .:..............
        .byte $00,$01,$01,$04,$00,$00,$01,$0e,$00,$00,$09,$00,$00,$00,$00,$00 // ................

// --- Region $15a6-$15b3 ---
.pc = $15a6 "txt_15a6"

txt_15a6:
        .text "MUSIC BY VOGUE"

// --- Region $17ef-$1a0c ---
.pc = $17ef "dat_17ef"

dat_17ef:
        .byte $00,$07,$0e,$01,$02,$04,$00,$0b,$16   // .........

txt_17f8:
        .text "!,7BMX"
        .byte $63,$6e,$79,$84,$8f,$9a,$a5,$b0,$bb,$c6,$d1,$dc,$e7,$f2,$0c,$1c // cny.............
        .byte $2d,$3e,$51,$66,$7b,$91,$a9,$c3,$dd,$fa,$18,$38,$5a,$7d,$a3,$cc // ->Qf{......8Z}..
        .byte $f6,$23,$53,$86,$bb,$f4,$30,$70,$b4,$fb,$47,$98,$ed,$47,$b0,$0c // .#S...0p..G..G..
        .byte $77,$e9,$61,$e1,$68,$f7,$8f,$30,$da,$8f,$4e,$18,$ef,$d2,$c3,$c3 // w.a.h..0..N.....
        .byte $d1,$ef,$1f,$60,$b5,$1e,$9c,$31,$df,$a5,$87,$86,$a2,$df,$3e,$c1 // ...`...1......>.
        .byte $6b,$3c,$39,$63,$be,$4b,$0f,$0c,$45,$bf,$7d,$83,$d6,$79,$73,$c7 // k<9c.K..E.}..ys.
        .byte $7c,$97,$1e,$18,$8b,$7e,$fa,$06,$ac,$f3,$e6,$8f,$f8,$2e,$01,$01 // |....~..........
        .fill 10, $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_18a8:
        .text "!#%'*,/258;?CGKOTY"
        .byte $5e,$64,$6a,$70,$77,$7e,$86,$8e,$96,$9f,$a8,$b3,$bd,$c8,$d4,$e1 // ^djpw~..........
        .byte $ee,$fd,$de,$e3,$e8,$ed,$f2,$f7,$fc,$01,$06,$18,$18,$18,$18,$18 // ................
        .byte $18,$18,$19,$19,$03,$07,$00,$81,$00,$05,$09,$00,$81,$00,$05,$0a // ................
        .byte $00,$81,$00,$00,$0c,$00,$81,$00,$03,$08,$00,$81,$00,$05,$08,$00 // ................
        .byte $81,$00,$04,$07,$00,$81,$00,$05,$09,$00,$81,$00,$00,$05,$07,$81 // ................
        .byte $00,$1f
        .text "-9CU"
        .byte $19,$19,$19,$19,$19
        .text "&3>L"
        .byte $5c                                   // backslash
        .byte $19,$19,$19,$19,$19,$81,$10,$10,$80,$10,$80,$fe,$32,$0c,$08,$32 // ............2..2
        .byte $08,$32,$fe,$81,$10,$40,$10,$10,$fe,$32,$0a,$08,$07,$06,$fe,$81 // .2...@...2......
        .byte $10,$80,$10,$fe,$32,$10,$32,$10,$fe,$81,$40,$10,$10,$00,$00,$00 // ....2.2...@.....
        .byte $ff,$01,$32,$08,$08,$0a,$00,$00,$00,$ff,$01,$81,$40,$40,$10,$10 // ..2.........@@..
        .byte $ff,$01,$32,$0a,$08,$07,$06,$ff,$01,$00,$00,$00,$00,$00,$00,$00 // ..2.............
        .byte $00,$00,$00,$00,$41,$01,$00,$f8,$00,$00,$08,$b0,$00,$00,$30,$11 // ....A.........0.
        .byte $02,$00,$88,$00,$20,$07,$b0,$00,$20,$60,$81,$80,$00,$f8,$00,$00 // .... ... `......
        .byte $08,$60,$00,$00,$00,$11,$03,$00,$f7,$00,$02,$27,$b0,$00,$30,$80 // .`.........'..0.
        .byte $11,$00,$00,$f8,$00,$00,$08,$b0,$00,$00,$00,$41,$40,$00,$fd,$00 // ...........A@...
        .byte $05,$02,$60,$40,$00,$20,$41,$40,$00,$ff,$00,$18,$04,$60,$50,$00 // ..`@. A@.....`P.
        .byte $20,$41,$40,$00,$ff,$00,$18,$02,$60,$c0,$00,$20,$41,$40,$00,$49 //  A@.....`.. A@.I
        .byte $00,$01,$27,$60,$00                   // ..'`.

txt_19cf:
        .text " P! "
        .byte $00                                   // string terminator
        .byte $9c,$00,$00,$09,$60,$00,$20,$80,$41,$40,$00,$6c,$00,$0a,$27,$60 // ....`. .A@.l..'`
        .byte $00
        .text "00A"
        .byte $40                                   // @ character
        .byte $00
        .byte $4a,$00,$02
        .byte $27,$20,$00
        .byte $20,$80
        .byte $41,$40
        .byte $00,$5c,$00,$06,$20,$20,$00           // .\..  .

txt_19fb:
        .text "00! "
        .byte $00                                   // string terminator
        .byte $7a,$00,$08,$fc,$20,$00,$10,$f0,$11,$10,$00,$78,$00 // z... ......x.

// --- Region $1a15-$1a54 ---
.pc = $1a15 "dat_1a15"

dat_1a15:
        .byte $00,$4f,$03,$00,$04,$60,$00           // .O...`.

txt_1a1c:
        .text "  !"
        .byte $40                                   // @ character
        .byte $09,$9e,$09,$00,$0f,$20,$00,$20,$90,$17,$16,$00,$dd,$00,$00,$00 // ..... . ........
        .byte $60,$00,$00,$00,$11,$10,$00,$fb,$00,$00,$00,$00,$00,$30,$00,$12 // `............0..
        .byte $f0,$57,$1a,$01,$02,$00,$e0,$10,$18,$57,$1a,$01,$03,$01,$30,$04 // .W.......W....0.
        .byte $18,$57,$1a,$01,$03                   // .W...

// --- Region $1a58-$1ecc ---
.pc = $1a58 "dat_1a58"

dat_1a58:
        .byte $01,$02,$01,$00,$ff,$fe,$ff,$81,$00,$c0,$05,$f0,$10,$04,$00,$c1 // ................
        .byte $1a,$ac,$02,$00,$03,$01,$00,$01,$00,$00,$00,$00,$00,$00,$00,$00 // ................
        .byte $00,$4c,$0a,$44,$0c,$23,$00,$23,$00,$00,$00,$00,$00,$00,$00,$00 // .L.D.#.#........
        .byte $00,$0c,$03,$44,$06,$5c,$00,$55,$00,$11,$01,$f0,$10,$04,$70,$00 // ...D.\.U......p.
        .byte $00,$1c,$00,$44,$15,$00,$00,$08,$00,$ff,$07,$30,$10,$07,$07,$d0 // ...D.......0....
        .byte $1a,$00,$00,$c0,$00,$04,$00,$05,$00,$02,$00,$80,$70,$f0,$07,$c8 // ............p...
        .byte $1a,$02,$00,$00,$00,$00,$00,$00,$00,$04,$80,$03,$c0,$03,$10,$fe // ................
        .byte $90,$20,$88,$18,$84,$10,$ff,$02,$07,$00,$06,$00,$05,$00,$04,$00 // . ..............
        .byte $03,$00,$02,$00,$01,$80,$fe,$01,$00,$e7,$1a,$09,$1b,$31,$1b,$8c // .............1..
        .byte $e3,$04,$e3,$05,$8c,$05,$87,$05,$8c,$05,$87,$05,$8c,$05,$87,$05 // ................
        .byte $8c,$05,$87,$05,$8c,$05,$87,$05,$8c,$0b,$0b,$e7,$05,$0b,$0b,$ff // ................
        .byte $00,$8c,$02,$03,$02,$03,$02,$03,$02,$08,$e3,$06,$8c,$06,$87,$06 // ................
        .byte $8c,$06,$87,$06,$8c,$06,$87,$06,$8c,$06,$87,$06,$8c,$06,$87,$06 // ................
        .byte $8c,$0c,$0c,$e7,$06,$0c,$0c,$ff,$00,$8c,$c0,$01,$01,$0a,$07,$09 // ................
        .byte $0a,$0a,$0d,$01,$01,$c1,$0d,$ff,$00,$61,$65,$fc,$23,$4b,$57,$86 // .........ae.#KW.
        .byte $cd,$f8,$1b,$47,$96,$b2,$54,$7e,$7f,$1b,$1b,$1b,$1c,$1c,$1c,$1c // ...G..T~........
        .byte $1c,$1c,$1d,$1d,$1d,$1d,$1e,$1e,$1e,$98,$c0,$00,$ff,$86,$c0,$00 // ................
        .byte $86,$ca,$e1,$2d,$2d,$2d,$89,$ca,$e6,$2d,$83,$ca,$e1,$2d,$86,$c0 // ...---...-...-..
        .byte $00,$86,$ca,$e6,$2d,$89,$ca,$e1,$2d,$86,$ca,$e7,$2b,$83,$c0,$00 // ....-...-...+...
        .byte $92,$ca,$e7,$2b,$8c,$c0,$00,$86,$c0,$00,$86,$ca,$e1,$2d,$2d,$2d // ...+.........---
        .byte $89,$ca,$e6,$2d,$83,$ca,$e1,$2d,$86,$c0,$00,$86,$ca,$e6,$2d,$86 // ...-...-......-.
        .byte $92,$8c,$ca,$e7,$2b,$8c,$c0,$00,$86,$c0,$00,$86,$ca,$e1,$2d,$2d // ....+.........--
        .byte $2d,$89,$ca,$e6,$2d,$83,$ca,$e1,$2d,$86,$c0,$00,$86,$ca,$e6,$2d // -...-...-......-
        .byte $89,$ca,$e1,$2d,$86,$ca,$e7,$2b,$83,$c0,$00,$92,$ca,$e7,$2b,$8c // ...-...+......+.
        .byte $c0,$00,$86,$c0,$00,$86,$ca,$e1,$2d,$2d,$2d,$89,$ca,$e7,$30,$83 // ........---...0.
        .byte $ca,$e6,$2d,$86,$c0,$00,$86,$ca,$e1,$2d,$86,$92,$8c,$ca,$e7,$2b // ..-......-.....+
        .byte $8c,$c0,$00,$ff,$83,$c1,$0c,$83,$c9,$e1,$2d,$2d,$2d,$83,$c1,$0c // ..........---...
        .byte $83,$c9,$e1                           // ...

txt_1c0b:
        .text "--"
        .byte $c1                                   // 'A' | $80 (end-of-string marker)
        .byte $0c,$83,$c1,$0c,$83,$c9,$e1,$2d,$2d,$2d,$83,$c1,$0c,$83,$c9,$e1 // .......---......

txt_1c1e:
        .text "--"
        .byte $c1                                   // 'A' | $80 (end-of-string marker)
        .byte $0c,$ff,$83,$c1,$0c,$83,$c9,$e7,$2b,$2b,$2b,$83,$c1,$0c,$83,$c9 // ........+++.....
        .byte $e7                                   // .

txt_1c32:
        .text "++"
        .byte $c1                                   // 'A' | $80 (end-of-string marker)
        .byte $0c,$83,$c1,$0c,$83,$c9,$e7,$2b,$2b,$2b,$83,$c1,$0c,$83,$c9,$e7 // .......+++......
        .byte $2b,$c5,$0c,$c1,$0c,$ff,$98,$92,$c7,$09,$86,$c7,$05,$98,$98,$c7 // +...............
        .byte $07,$ff,$89,$c7,$09,$86,$c7,$09,$ca,$15,$83,$c7,$09,$15,$89,$c7 // ................
        .byte $09,$86,$c7,$09,$ca,$15,$86,$c7,$13,$89,$c7,$07,$86,$c7,$07,$83 // ................
        .byte $ca,$13,$c7,$13,$86,$c7,$07,$89,$c7,$07,$86,$fe,$00,$04,$03,$07 // ................
        .byte $ff,$83,$c1,$0c,$83,$c9,$e1,$2d,$2d,$2d,$86,$c5,$0c,$83,$c9,$e1 // .......---......
        .byte $2d,$2d,$83,$c1,$0c,$83,$c9,$e1,$2d,$2d,$2d,$86,$c5,$0c,$83,$c9 // --......---.....
        .byte $e1,$2d,$c5,$0c,$83,$c1,$0c,$83,$c9,$e7,$2b,$2b,$2b,$86,$c5,$0c // .-........+++...
        .byte $83,$c9,$e7,$2b,$2b,$83,$c1,$0c,$83,$c9,$e7,$2b,$2b,$2b,$86,$c5 // ...++......+++..
        .byte $0c,$83,$c9,$e7,$2b,$c5,$0c,$ff,$86,$cd,$34,$8c,$2d,$86,$2b,$86 // ....+.....4.-.+.
        .byte $fe,$00,$60,$28,$2d,$8c,$30,$98,$37,$86,$2d,$2f,$30,$8c,$32,$98 // ..`(-.0.7.-/0.2.
        .byte $fe,$00,$60
        .byte $34,$37,$86
        .text "20/4"
        .byte $8c
        .byte $2d,$86
        .byte $2b,$98
        .byte $2d
        .byte $86,$26,$ff,$83,$c1,$0c,$83,$c9,$e7,$2b,$2b,$2b,$83,$c1,$0c,$83 // .&.......+++....
        .byte $c9,$e7                               // ..

txt_1d07:
        .text "++"
        .byte $c1                                   // 'A' | $80 (end-of-string marker)
        .byte $0c,$83,$c1,$0c,$83,$c9,$e7,$2b,$2b,$2b,$83,$c5,$0c,$0c,$0c,$0c // .......+++......
        .byte $ff,$86,$cd,$34,$8c,$2d,$86,$2b,$86,$fe,$00,$60,$28,$2d,$8c,$30 // ...4.-.+...`(-.0
        .byte $98,$37,$86,$2d,$2f,$30,$8c,$32,$98,$fe,$00,$60,$34,$37,$86,$32 // .7.-/0.2...`47.2
        .byte $30,$2f,$34,$98,$39,$92,$c0,$00,$83,$c5,$0c,$0c,$ff,$83,$ca,$e1 // 0/4.9...........
        .byte $2d,$2d,$86,$2d,$2d,$83,$2d,$86,$2d,$2d,$83,$2d,$86,$2d,$2d,$83 // --.--.-.--.-.--.
        .byte $ca,$e1,$2d,$ca,$e7,$2b,$86,$2b,$2b,$83,$2b,$86,$2b,$2b,$83,$2b // ..-..+.++.+.++.+
        .byte $86,$2b,$2b,$83,$ca,$e1,$28,$28,$86,$28,$28,$83,$28,$86,$28,$28 // .++...((.((.(.((
        .byte $83,$28,$86,$28,$28,$83,$ca,$e1,$28,$ca,$e7,$26,$86,$26,$26,$83 // .(.((...(..&.&&.
        .byte $26,$86,$26,$26,$83,$26,$86,$26,$83,$26,$26,$ff,$98,$98,$c7,$fe // &.&&.&.&.&&.....
        .byte $00,$10,$02,$09,$fe,$00,$10,$00,$07,$fe,$00,$10,$07,$0e,$98,$fe // ................
        .byte $00,$10,$08,$10,$8c,$0e,$0c,$ff,$83,$c1,$0c,$c9,$e1,$2d,$86,$c9 // .............-..
        .byte $e1,$2d,$83,$c1,$0c,$86,$c9,$e1,$2d,$83,$c9,$e1,$2d,$c1,$0c,$c9 // .-......-...-...
        .byte $e1,$2d,$86,$c9,$e1,$2d,$83,$c1,$0c,$86,$c9,$e1,$2d,$83,$c9,$e1 // .-...-......-...
        .byte $2d,$c1,$0c,$c9,$e2,$2b,$86,$c9,$e2,$2b,$83,$c1,$0c,$86,$c9,$e2 // -....+...+......
        .byte $2b,$83,$c9,$e2,$2b,$c1,$0c,$c9,$e2,$2b,$86,$c9,$e2,$2b,$83,$c1 // +...+....+...+..
        .byte $0c,$86,$c9,$e2,$2b,$83,$c9,$e2,$2b,$c1,$0c,$c9,$e7,$2b,$86,$c9 // ....+...+....+..
        .byte $e7,$2b,$83,$c1,$0c,$86,$c9,$e7,$2b,$83,$c9,$e7,$2b,$c1,$0c,$c9 // .+......+...+...
        .byte $e7,$2b,$86,$c9,$e7,$2b,$83,$c1,$0c,$86,$c9,$e7,$2b,$83,$c9,$e7 // .+...+......+...
        .byte $2b,$c1,$0c,$c9,$e1,$28,$86,$c9,$e1,$28,$83,$c1,$0c,$86,$c9,$e1 // +....(...(......
        .byte $28,$83,$c9,$e1,$28,$c1,$0c,$c9,$e7,$2b,$86,$c9,$e7,$2b,$83,$c1 // (...(....+...+..
        .byte $0c,$86,$c9,$e7,$2b,$83,$c9,$e7,$2b,$ff,$98,$98,$98,$cf,$30,$86 // ....+...+.....0.
        .byte $32,$8c,$34,$8c,$fe,$00,$60,$34,$37,$39,$fe,$00,$60,$37,$3b,$39 // 2.4...`479..`7;9
        .byte $98,$98,$86
        .byte $37,$98,$98,$98
        .byte $3c,$86
        .text ";970"
        .byte $98,$98
        .byte $3b
        .byte $98,$3c,$3e,$ff,$ff,$ff,$86,$2d,$2d,$83,$2d,$86,$2d,$2d,$83,$2d // .<>....--.-.--.-
        .byte $86,$2d,$2d,$83,$ca,$e1,$2d,$ca,$e7,$2b,$86,$2b,$2b,$83,$2b,$86 // .--...-..+.++.+.
        .byte $2b,$2b,$83,$2b,$86,$2b,$2b,$83,$ca,$e1,$28,$28,$86,$28,$28,$83 // ++.+.++...((.((.
        .byte $28,$86,$28,$28,$83,$28,$86,$28,$28,$83,$ca,$e1,$28,$ca,$e7,$26 // (.((.(.((...(..&
        .byte $86,$26,$26,$83,$26,$86,$26,$26,$83,$26,$86,$26,$83,$26,$26,$ff // .&&.&.&&.&.&.&&.
        .byte $ff,$ff                               // ..

dat_1ecc:
        // === Fill data (1 bytes, $1ecc-$1ecc) ===
        .byte $00                                   // .

// --- Region $2000-$2000 ---
.pc = $2000 "spr_2000"

spr_2000:
        .byte $00                                   // .

// --- Region $202c-$2040 ---
.pc = $202c "dat_202c"

dat_202c:
        .byte $01,$03,$07,$0f,$00,$1f,$7e,$fa,$f9,$e9,$a5,$94,$00,$f8,$5c,$5e // ......~.......\^
        .byte $97,$97,$a7,$a7                       // ....

dat_2040:
        // === Fill data (1 bytes, $2040-$2040) ===
        .byte $00                                   // .

// --- Region $20f1-$2100 ---
.pc = $20f1 "txt_20f1"

txt_20f1:
        .byte $2f,$35,$b6,$d8,$d8,$da,$d6,$00,$f8,$5c,$9e // /5.......\.

txt_20fc:
        .text "''''"

dat_2100:
        // === Fill data (1 bytes, $2100-$2100) ===
        .byte $00                                   // .

// --- Region $2166-$2180 ---
.pc = $2166 "dat_2166"

dat_2166:
        .byte $01,$02,$1e,$2e,$3e,$7a,$b9,$f9,$e9,$e5,$60,$a0,$80,$80,$80,$08 // ....>z....`.....
        .byte $0a,$0a,$1b,$1b,$1b,$1b,$1b,$1b,$1b,$1b // ..........

dat_2180:
        // === Fill data (1 bytes, $2180-$2180) ===
        .byte $00                                   // .

// --- Region $2230-$2240 ---
.pc = $2230 "dat_2230"

dat_2230:
        .byte $f6,$76,$76,$76,$75,$7d,$bd,$bd       // .vvvu}..

txt_2238:
        .byte $27,$27,$a7,$a7,$a7,$a7,$a7,$67       // ''.....g

dat_2240:
        // === Fill data (1 bytes, $2240-$2240) ===
        .byte $00                                   // .

// --- Region $22a0-$23b0 ---
.pc = $22a0 "dat_22a0"

dat_22a0:
        .byte $07,$07,$0b,$1f,$2f,$7f,$be,$fe,$d8,$d8,$d8,$68,$62,$62,$a9,$89 // ..../......hbb..
        .byte $19,$19,$69,$69,$aa,$ba,$ba,$fe,$1b,$1b,$1b,$5b,$5b,$5b,$5b,$5b // ..ii.......[[[[[
        .byte $00,$00,$00,$07,$0e,$1e,$3a,$39,$00,$00,$00,$fe // ......:9....

txt_22cc:
        .byte $57,$57,$a5,$a9,$00,$00,$00,$00,$01,$43,$c7,$ce,$00,$00,$00,$2f // WW.......C...../
        .byte $f5,$55,$5a,$6a,$00,$00,$00,$f8,$5f,$95,$aa,$02,$00,$00,$00,$00 // .UZj...._.......
        .byte $40,$d0,$b0,$b4,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 // @...............
        .byte $01,$06,$1b,$6f,$00,$00,$00,$2f,$fd,$5a,$d6,$fd,$00,$00,$00,$ff // ...o.../.Z......
        .byte $55,$aa,$82,$68,$00,$00,$00,$40,$f4,$af,$5a,$05,$00,$00,$00,$00 // U..h...@..Z.....
        .byte $00,$40,$d0,$b0,$00,$00,$00,$00,$00,$00,$00,$01,$00,$00,$00,$00 // .@..............
        .byte $0b,$3d,$55,$fd,$00,$00,$00,$7f,$ea,$95,$40,$95,$00,$00,$00,$fe // .=U.......@.....
        .byte $57,$a9,$02,$00,$00,$00,$00,$00,$e0,$7e,$97,$29,$00,$00,$00,$00 // W........~.)....
        .byte $00,$00,$40,$c0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 // ..@.............
        .byte $01,$06,$1b,$6f,$00,$00,$00,$2f,$fd,$5a,$d6,$fd,$00,$00,$00,$fc // ...o.../.Z......
        .byte $57,$a9,$82,$68,$7f,$7f,$7f,$bf,$bf,$bf,$6f,$5b,$67,$67,$67,$67 // W..h......o[gggg
        .byte $57,$d7,$d7,$d7,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 // W...............
        .byte $01,$06,$1b,$6f,$00,$00,$00,$2f,$fd,$5a,$d6,$fd,$00,$00,$00,$ff // ...o.../.Z......
        .byte $55,$aa,$82,$68,$00,$00,$00,$40,$f4,$af,$5a,$05,$00,$00,$00,$00 // U..h...@..Z.....
        .byte $00,$40,$d0,$b0                       // .@..

dat_23b0:
        // === Fill data (1 bytes, $23b0-$23b0) ===
        .byte $00                                   // .

// --- Region $23d8-$24f0 ---
.pc = $23d8 "dat_23d8"

dat_23d8:
        .byte $01,$02,$07,$0b,$0f,$1f,$2f,$7f,$fd,$fd,$fd,$fd,$fd,$f6,$f6,$f5 // ....../.........
        .byte $46,$5a,$5b,$6b,$6c,$ac,$b0,$b0,$fd,$dd,$dd,$df,$ef,$ef,$ef,$cf // FZ[kl...........
        .byte $5b,$9b,$9b,$9b,$ab,$af,$ef,$ef       // [.......

txt_2400:
        .text "66666655"
        .byte $06,$06,$06,$06,$06
        .byte $46,$46,$46
        .byte $de,$fa,$f9,$e9,$e5,$e5,$e6,$eb,$50,$41,$46,$1a,$6b,$bf,$ff,$eb // ........PAF.k...
        .byte $00,$40,$50,$90,$a4,$e4,$e4,$e4,$6c,$6c,$6c,$6d,$1b,$1b,$1b,$1b // .@P.....lllm....
        .byte $00,$01,$02,$02,$07,$07,$0b,$0b,$7f,$7f,$ff,$fd,$f5,$d6,$da,$58 // ...............X
        .byte $ff,$ff,$ff,$5f,$a7,$89,$02           // ..._...

txt_2447:
        .byte $20,$5a,$d6,$f5,$fd,$fd,$ff,$7f,$9f,$01,$50,$50,$94,$94,$a4,$a4 //  Z........PP....
        .byte $e5,$78,$9c,$9c,$9e,$27,$27,$0b,$0b,$02,$07,$07,$0b,$1f,$1f,$2f // .x...''......../
        .byte $2f,$ff,$ff,$ff,$ff,$f5,$da,$68,$60,$56,$f5,$ff,$ff,$57,$a5,$0a // /......h`V...W..
        .byte $25,$50,$95,$a9,$fa,$fe,$be,$af,$ab,$06,$01,$41,$41,$50,$94,$a4 // %P.........AAP..
        .byte $e5,$e0,$70,$70,$78,$9c,$9c,$9c,$9c,$00,$01,$02,$02,$07,$07,$0b // ..ppx...........
        .byte $0b,$7f,$7f,$ff,$fd,$f5,$d6,$da,$58,$ff,$ff,$ff,$5f,$a7,$89,$02 // ........X..._...

txt_24a7:
        .byte $20,$5a,$d6,$f5,$fd,$fd,$ff,$7f,$9f,$1b,$16,$46,$45,$91,$91,$a4 //  Z.........FE...
        .byte $e4,$d7,$d7,$d7,$57,$57,$97,$97,$97,$00,$01,$02,$02,$07,$07,$0b // ....WW..........
        .byte $0b,$7f,$7f,$ff,$fd,$f5,$d6,$da,$58,$ff,$ff,$ff,$5f,$a7,$89,$02 // ........X..._...

txt_24d7:
        .byte $20,$5a,$d6,$f5,$fd,$fd,$ff,$7f,$9f,$01,$50,$50,$94,$94,$a4,$a4 //  Z........PP....
        .byte $e5,$78,$9c,$9c,$9e,$27,$27,$0b,$0b   // .x...''..

dat_24f0:
        // === Fill data (1 bytes, $24f0-$24f0) ===
        .byte $00                                   // .

// --- Region $2512-$262e ---
.pc = $2512 "dat_2512"

dat_2512:
        .byte $01,$02,$07,$07,$0b,$1f,$7f,$be,$fe,$fa,$fa,$ea,$e6,$a6,$ff,$ff // ................
        .byte $ff,$ff,$d5,$6a,$a8,$80,$f0,$c0,$c0,$ff,$55,$aa,$00,$00,$4f,$4f // ...j......U...OO
        .byte $6f,$6f,$6f,$9f,$9f,$9f,$ff,$ff,$df,$df,$d7,$d7,$d7,$57,$7e,$fe // ooo..........W~.
        .byte $ee,$ef,$ef,$ef,$df,$df,$46,$56,$96,$96,$96,$a6,$e6,$e6,$d7,$df // ......FV........
        .byte $fe,$f8,$f0,$d0,$e0,$c0,$6b,$01,$02,$00,$00,$00,$00,$00,$d8,$d8 // ......k.........
        .byte $d8,$d8,$d8,$d8,$d6,$d6,$1b,$1b,$1b,$1b,$6d,$6c,$ac,$ac,$0b,$1f // ..........ml....
        .byte $1e
        .text "..>>>"
        .byte $68,$60,$62,$a2,$a2,$8a,$89,$89,$19,$6c
        .byte $74,$b0,$d0,$c0,$c0,$c0,$5b,$06,$01,$00,$00,$00,$00,$00,$e5,$e9 // t.....[.........
        .byte $e9,$e9,$7a,$3a,$1f,$00,$07,$07,$1b,$1b,$6d,$ac,$f4,$00,$1d,$1d // ..z:......m.....
        .byte $2d,$2d,$07,$09,$02,$00               // --....

txt_25a8:
        .text "AAFV"
        .byte $ab,$ff,$ff,$ff,$6f,$b4,$d0,$c0
        .byte $40,$00,$ff,$ff
        .byte $ff,$07,$01,$00,$02,$0b,$ff,$ff,$ea,$fa,$fe,$ff,$ff,$7f,$7f,$7f // ................
        .byte $5e,$77,$77,$f7,$f7,$f7,$f7,$d7,$0b,$1f,$1e
        .text "..>>>"
        .byte $68,$60,$62,$a2,$a2,$8a,$89,$89,$19,$6c,$74,$b0,$d0,$c0,$c0,$c0 // h`b......lt.....
        .byte $5b,$06,$01,$00,$00,$00,$00,$00,$e4,$e4,$e9,$f9,$f9,$f9,$f9,$f9 // [...............
        .byte $97,$a7                               // ..

txt_25fa:
        .text "''''''"
        .byte $0b,$1f,$1e
        .text "..>>>"
        .byte $68,$60
        .byte $62,$a2,$a2,$8a,$89,$8a,$19,$6c,$74,$b0,$d0,$c0,$c0,$bf,$5b,$06 // b......lt.....[.
        .byte $01,$00,$00,$00,$00,$ff,$e5,$e9,$e9,$e9,$7a,$3a,$1f,$40,$07,$07 // ..........z:.@..
        .byte $1b,$1b,$6d,$ac,$f4                   // ..m..

// --- Region $264c-$276f ---
.pc = $264c "dat_264c"

dat_264c:
        .byte $01,$02,$07,$0b,$2f,$7e,$7a,$b9,$f9,$e9,$e5,$a4,$69,$69,$89,$89 // ..../~z.....ii..
        .byte $09
        .text "'''T"
        .byte $95,$a5,$ea,$ff,$ff,$ff,$fe,$05

txt_2669:
        .byte $55,$56,$aa,$ff,$ff,$fe,$94,$6f,$af,$bf,$ff,$ff,$fe,$ae,$0e,$55 // UV.....o.......U
        .byte $65,$69,$69,$69,$69,$69,$69,$df,$df,$cb,$cb,$cb,$cb,$cb,$cb,$d9 // eiiiiii.........
        .byte $d9,$d9,$d9,$d9,$d9,$d9,$d9,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$00 // ................
        .byte $00,$00,$00,$00,$00,$00,$00,$7a,$3a,$1f,$00,$00,$00,$00,$00,$78 // .......z:......x
        .byte $70,$e0,$00,$00,$00,$00,$00           // p......

txt_26b0:
        .text "======"
        .byte $1d,$1f

txt_26b8:
        .text "FFFFEQ"
        .byte $91,$95,$c0,$c0,$c0,$c0,$c0,$e0,$70,$b8
        .byte $00,$00,$00,$00,$00,$00,$00,$01,$00,$00,$00,$1f,$3a,$79,$e9,$e4 // ............:y..
        .byte $00,$00,$00,$f8
        .byte $5c,$9e,$a7
        .byte $27,$03,$07,$0b,$1e
        .text ".999"
        .byte $fd,$d5,$5a,$69,$87                   // ..Zi.

txt_26ed:
        .text "'''U"
        .byte $aa,$7f,$e0,$80,$00,$00,$80,$5f,$a7,$f5,$09,$02
        .byte $00,$00,$02,$6f,$6f,$6f,$6f,$bf,$bf,$bf,$bf,$d7,$d7,$d7,$57,$67 // ...oooo.......Wg
        .byte $67,$67,$67                           // ggg

txt_2710:
        .text "======"
        .byte $1d,$1f

txt_2718:
        .text "FFFFEQ"
        .byte $91,$95,$c0,$c0,$c0,$c0,$c0,$e0,$70,$b8
        .byte $00,$00,$00,$00,$00,$00,$00,$01,$f6,$f6,$f6,$f5,$fd,$fd,$ff,$ff // ................

txt_2738:
        .byte $27,$27,$27,$a7,$a7,$57,$5f,$ff       // '''..W_.

txt_2740:
        .text "======"
        .byte $1d,$1f

txt_2748:
        .byte $40                                   // @ character
        .text "EFFEQ"
        .byte $91,$95,$00,$aa
        .byte $55,$ff,$c0,$e0,$70,$b8
        .byte $02,$a9,$57,$fc,$00,$00,$00,$02,$c0,$c0,$40,$1f,$3a,$79,$e9,$e4 // ..W.......@.:y..
        .byte $00,$00,$00,$f8,$5c,$9e,$a7,$27       // ....\..'

// --- Region $2788-$27d7 ---
.pc = $2788 "dat_2788"

dat_2788:
        .byte $0e,$1e,$2e,$7a,$b9,$e9,$e5,$e4,$68,$a0,$82,$82,$82,$09,$09,$27 // ...z....h......'
        .byte $1b,$6d,$b4,$b0,$b0,$d0,$c0,$40,$ff,$00,$00,$00,$00,$00,$00,$00 // .m.....@........
        .byte $fd,$02,$00,$00,$00,$00,$00,$00,$4d,$ed,$ed,$dd,$dd,$f5,$f5,$f6 // ........M.......
        .byte $69,$a9,$89,$89,$89,$89,$89,$89,$cb,$df,$df,$df,$df,$ef,$ef,$ee // i...............
        .byte $da,$da,$da,$5a,$6a,$62,$62,$62,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0 // ...Zjbbb........

// --- Region $27f0-$28af ---
.pc = $27f0 "dat_27f0"

dat_27f0:
        .byte $1f,$0f,$0b,$0b,$06,$06,$01,$01,$5a,$d6,$d5,$f5,$fd,$fd,$7f,$7f // ........Z.......

chr_2800:
        // === Charset data (176 bytes, $2800-$28af) ===
        .byte $5c,$97,$a5,$aa,$6a                   // char 0 (partial)

txt_2805:
        .byte $5a,$55,$d5                           // char 0 (partial)
        .byte $0b,$fd,$55,$aa,$00,$a0,$aa,$55       // char 1 @+1
        .byte $58,$68,$a0,$80,$00,$00,$82,$aa       // char 2 @+2
        .byte $1b,$1b,$1b,$1b,$1b,$5b,$6d,$6c       // char 3 @+3
        .byte $36,$36,$36,$3d,$1d,$2f,$0f,$07       // char 4 @+4
        .byte $1a,$06,$01,$40,$90,$a5,$ea,$ff       // char 5 @+5
        .byte $e0,$7f,$55,$aa,$0a,$a5,$5f,$ff       // char 6 @+6
        .byte $09,$ff,$55,$a7,$5f,$ff,$ff,$ff       // char 7 @+7
        .byte $fd,$fd,$f5,$f6,$f6,$f6,$d6,$da       // char 8 @+8
        .byte $67,$a7,$a7,$a7,$27,$27,$27,$27       // char 9 @+9
        .byte $1f,$0f,$0b,$0b,$06,$06,$01,$01       // char 10 @+10
        .byte $5a,$d6,$d5,$f5,$fd,$fd,$7f,$7f       // char 11 @+11
        .byte $5c,$97,$a5,$aa,$6a                   // char 12 (partial)

txt_2865:
        .byte $5a,$55,$d5                           // char 12 (partial)
        .byte $0b,$fd,$55,$aa,$00,$a0,$aa           // char 13 (partial)

txt_286f:
        .byte $55                                   // char 13 (partial)
        .byte $55,$5a,$aa,$80,$00,$00,$a8,$5a       // char 14 @+14
        .byte $5f,$97,$a7,$a7,$27,$27,$27,$27       // char 15 @+15
        .byte $1f,$0f,$0b,$0b,$06,$06,$01,$01       // char 16 @+16
        .byte $5a,$d6,$d5,$f5,$fd,$fd,$7f,$7f       // char 17 @+17
        .byte $5c,$97,$a5,$aa,$6a                   // char 18 (partial)

txt_2895:
        .byte $5a,$55,$d5                           // char 18 (partial)
        .byte $0b,$fd,$55,$aa,$00,$a0,$aa,$55       // char 19 @+19
        .byte $58,$68,$a0,$80,$00,$00,$82,$aa       // char 20 @+20
        .byte $1b,$1b,$1b,$1b,$1b,$5b,$6d,$6c       // char 21 @+21

// --- Region $28c8-$28d6 ---
.pc = $28c8 "dat_28c8"

dat_28c8:
        .byte $e4,$e4,$e4,$e9,$7a,$3a,$1f,$00       // char 25 @+25
        .byte $1b,$1b,$6d,$6c,$b4,$b0,$d0           // char 26 (partial)

// --- Region $28f0-$2914 ---
.pc = $28f0 "dat_28f0"

dat_28f0:
        .byte $f9,$e9,$e5,$e4,$75,$3a,$1f,$00       // char 30 @+30
        .byte $06,$07,$07,$17,$5d,$6c,$f4,$00       // char 31 @+31
        .byte $fe,$7a,$39,$39,$1d,$0e,$07,$00       // char 32 ' '
        .byte $51,$41,$41,$05,$57,$ab,$fd,$00       // char 33 '!'
        .byte $c0,$c0,$c0,$c0,$40                   // char 34 (partial)

// --- Region $2930-$2b40 ---
.pc = $2930 "dat_2930"

dat_2930:
        .byte $01,$00,$00,$00,$00,$00,$00,$00       // char 38 '&'
        .byte $7f,$9f,$9f,$25,$0a,$00,$00,$00       // char 39 '''
        .byte $fd,$ff,$ff,$ff,$7f,$a7,$0a,$00       // char 40 '('
        .byte $55,$ff,$ff,$ff,$ff,$ff,$ff,$00       // char 41 ')'
        .byte $55,$55,$fd,$d5,$ff,$f8,$80,$00       // char 42 '*'
        .byte $5c,$78,$70,$e0,$80,$00,$00,$00       // char 43 '+'
        .byte $06,$01,$01,$00,$00,$00,$00,$00       // char 44 ','
        .byte $7f,$57,$69,$96,$29,$02,$00,$00       // char 45 '-'
        .byte $ff,$ff,$55,$aa,$80,$aa,$25,$00       // char 46 '.'
        .byte $ff,$57,$65,$a9,$25,$97,$5e,$00       // char 47 '/'
        .byte $58,$68,$60,$58,$d6,$b5,$2f,$00       // char 48 '0'
        .byte $1b,$1b,$1b,$1b,$6d,$ac,$f4,$00       // char 49 '1'
        .byte $01,$00,$00,$00,$00,$00,$00,$00       // char 50 '2'
        .byte $7f,$9f,$9f,$25,$0a,$00,$00,$00       // char 51 '3'
        .byte $fd,$ff,$ff,$ff,$7f,$a7,$0a,$00       // char 52 '4'
        .byte $55,$ff,$ff,$ff,$ff,$ff,$fe,$00       // char 53 '5'
        .byte $56,$d6,$f6,$f6,$da,$b5,$2f,$00       // char 54 '6'

txt_29b8:
        .byte $27,$27,$27,$a7,$9e,$5c,$f8,$00       // char 55 '7'
        .byte $01,$00,$00,$00,$00,$00,$00,$00       // char 56 '8'
        .byte $7f,$9f,$9f,$25,$0a,$00,$00,$00       // char 57 '9'
        .byte $fd,$ff,$ff,$ff,$7f,$a7,$0a,$00       // char 58 ':'
        .byte $55,$ff,$ff,$ff,$ff,$ff,$ff,$00       // char 59 ';'
        .byte $55,$55,$fd,$d5,$ff,$f8,$80,$00       // char 60 '<'
        .byte $5c,$78,$70,$e0,$80,$00,$00,$00       // char 61 '='
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 62 '>'
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 63 '?'
        .byte $ff,$ff,$ff,$ff,$ff,$ef,$e6,$6e       // char 64 '@'
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff       // char 65 'A'
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff       // char 66 'B'
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$6e,$6e       // char 67 'C'
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff       // char 68 'D'
        .byte $ff,$ff,$ff,$ff,$e6,$e6,$6e,$e6       // char 69 'E'
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff       // char 70 'F'
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff       // char 71 'G'
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$6e,$6e       // char 72 'H'
        .byte $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff       // char 73 'I'
        .byte $ff,$ff,$ff,$ff,$e6,$6e,$e6,$e6       // char 74 'J'
        .byte $e6,$6e,$c9,$9c,$9c,$c9,$ff,$a2       // char 75 'K'
        .byte $6e,$6e,$e6,$e6,$cf,$9c,$c9,$9c       // char 76 'L'
        .byte $9c,$cf,$ff,$c9,$6e,$6e,$e6,$6e       // char 77 'M'
        .byte $ff,$c9                               // char 78 (partial)

txt_2a72:
        .byte $2a,$2a,$a2,$a2,$ff,$ff               // char 78 (partial)
        .byte $ff,$ff,$ff,$e6,$6e,$e6,$6e,$e6       // char 79 'O'
        .byte $6e,$e6,$c9,$c9,$c9,$c9,$a2,$2a       // char 80 'P'
        .byte $2a,$6e,$e6,$6e,$c9,$9c,$9c,$c9       // char 81 'Q'
        .byte $c9,$9c,$c9,$9c,$9c,$6e,$e6,$6e       // char 82 'R'
        .byte $c9,$9c,$9c,$2a,$a2,$2a,$ff,$ff       // char 83 'S'
        .byte $ff,$ff,$c9,$c9,$2a,$2a,$2a,$2f       // char 84 'T'
        .byte $e6,$e6,$9c,$9c,$9c,$c9,$a2,$2a       // char 85 'U'
        .byte $a2,$e6,$e6,$e6,$9c,$c9,$c9,$ce       // char 86 'V'
        .byte $69,$9c,$c9,$9c,$c9,$e6,$e6,$6e       // char 87 'W'
        .byte $c9,$9c,$c9,$a2,$a2,$a2,$ff,$ff       // char 88 'X'
        .byte $ff,$c9,$c9,$9c,$a2,$a2,$a2,$2a       // char 89 'Y'
        .byte $e6,$6e,$ff,$ff,$c9,$9c,$2f,$a2       // char 90 'Z'
        .byte $2a,$cf,$c9,$9c,$e6,$6e,$6e,$6e       // char 91 '['
        .byte $e6,$9c,$9f,$c9,$9c,$af,$6e,$6e       // char 92 '\'
        .byte $9f,$c9,$9c,$9c,$e6,$6e,$ff,$ff       // char 93 ']'
        .byte $ff,$c9,$9c,$c9,$ff,$2a,$2a,$2a       // char 94 '^'
        .byte $e6,$6e,$ff,$ff,$ff,$ff,$c9,$9c       // char 95 '_'
        .byte $9c,$9c,$9c,$c9,$6e,$e6,$6e,$6e       // char 96 '`'
        .byte $9c,$9c,$a2,$2a,$2a,$2a,$2a,$2a       // char 97 'a'
        .byte $e6,$6e,$6e,$6e,$6e,$e6,$ff,$ff       // char 98 'b'
        .byte $ff,$c9,$c9,$ff,$ff,$ff,$a2,$a2       // char 99 'c'
        .byte $e6,$e6,$ef,$ff,$ff,$ff,$cf,$9c       // char 100 'd'
        .byte $9c,$9f,$9c,$9c,$a2,$2a,$2a,$2a       // char 101 'e'
        .byte $9c,$c9,$af,$2a,$2a,$2a,$2a,$2a       // char 102 'f'
        .byte $ef,$6e,$6e,$6f,$6e,$6e,$ff,$ff       // char 103 'g'

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

// --- Region $2c01-$2e90 ---
.pc = $2c01 "dat_2c01"

dat_2c01:
        .byte $ba,$7c,$fe,$fe,$fe,$7c,$ba           // char 128 (partial)
        .byte $00,$6c,$c6,$c6,$ba,$c6,$c6,$82       // char 129
        .byte $00,$bc,$c6,$c2,$bc,$c2,$c6,$bc       // char 130
        .byte $00,$5c,$c6,$c2,$c0,$c2,$c6,$5c       // char 131
        .byte $00,$bc,$c2,$c6,$c6,$c6,$c2,$bc       // char 132
        .byte $00,$be,$c0,$c0,$b8,$c0,$c0,$be       // char 133
        .byte $00,$be,$c0,$c0,$b8,$c0,$c0,$80       // char 134
        .byte $00,$5c,$c6,$c0,$ce,$c2,$c6,$5c       // char 135
        .byte $00,$82,$c6,$c6,$ba,$c6,$c6,$82       // char 136
        .byte $00,$08,$18,$18,$18,$18,$18,$08       // char 137
        .byte $00,$f4,$06,$06,$06,$86,$c6,$74       // char 138
        .byte $00,$86,$c6,$d4,$b8,$d4,$c6,$86       // char 139
        .byte $00,$80,$c0,$c0,$80,$c2,$c6,$ba       // char 140
        .byte $00,$6c,$ba,$d6,$82,$c6,$c6,$82       // char 141
        .byte $00,$bc,$c6,$c2,$84,$c6,$c6,$84       // char 142
        .byte $00,$5c,$c6,$c2,$44,$86,$c6,$74       // char 143
        .byte $00,$bc,$c6,$c2,$bc,$c0,$c0,$80       // char 144
        .byte $00,$5c,$c6,$c6,$42,$8c,$c6,$7a       // char 145
        .byte $00,$bc,$c6,$c2,$b8,$c4,$c6,$86       // char 146
        .byte $00,$5c,$c6,$c0,$5c,$06,$c6,$74       // char 147
        .byte $00,$7a,$c6,$86,$06,$06,$06,$02       // char 148
        .byte $00,$82,$c6,$c6,$44,$82,$c6,$7c       // char 149
        .byte $00,$82,$c6,$c4,$82,$c6,$d4,$b8       // char 150
        .byte $00,$82,$c6,$c6,$82,$d6,$ba,$6c       // char 151
        .byte $00,$c6,$c6                           // char 152 (partial)

txt_2cc3:
        .byte $44,$38,$44,$c6,$c6                   // char 152 (partial)
        .byte $00,$c2,$c6,$46,$3a,$06,$0e,$3c       // char 153
        .byte $00,$76,$cc,$08,$20,$60,$c6,$bc       // char 154
        .byte $00,$5c,$68,$60,$60,$60,$68,$5c       // char 155
        .byte $00,$00,$44,$28,$10,$28,$44,$00       // char 156
        .byte $00,$74,$2c,$0c,$0c,$0c,$2c,$74       // char 157
        .byte $00,$10,$38,$6c,$d6,$b6,$30,$10       // char 158
        .byte $00,$00,$30,$60,$de,$60,$30,$00       // char 159
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 160
        .byte $00,$08,$18,$18,$10,$00,$18,$10       // char 161
        .byte $00,$24,$6c,$48,$00,$00,$00,$00       // char 162
        .byte $00,$6c,$6c,$c6,$00,$c6,$6c,$6c       // char 163
        .byte $00,$10,$7e,$d0,$7c,$16,$fc,$10       // char 164
        .byte $00,$c4,$8c,$18,$30,$60,$c4,$8c       // char 165
        .byte $00,$78,$cc,$f8,$56,$cc,$ce,$7a       // char 166
        .byte $00,$08,$18,$10,$00,$00,$00,$00       // char 167
        .byte $00,$18                               // char 168 (partial)

txt_2d42:
        .byte $30,$30,$20,$30,$30,$18               // char 168 (partial)
        .byte $00,$30,$18,$18,$08,$18,$18,$30       // char 169
        .byte $00,$10,$54,$10,$fe,$10,$54,$10       // char 170
        .byte $00,$00,$20,$30,$fc,$30,$10,$00       // char 171
        .byte $00,$00,$00,$00,$00,$10,$30,$20       // char 172
        .byte $00,$00,$00,$00,$7c,$00,$00,$00       // char 173
        .byte $00,$00,$00,$00,$00,$00,$10,$30       // char 174
        .byte $00,$02,$06,$0c,$18,$30,$60,$c0       // char 175
        .byte $00,$5c,$c6,$ce,$54,$e6,$c6,$74       // char 176
        .byte $00,$70,$18,$08,$10,$18,$18,$10       // char 177
        .byte $00,$74,$c6,$06,$74,$c0,$c6,$be       // char 178
        .byte $00,$74,$c6,$06,$1a,$06,$c6,$74       // char 179
        .byte $00,$82,$c6,$c6,$ba,$06,$06,$02       // char 180
        .byte $00,$be,$c6,$c0,$f4,$06,$c6,$74       // char 181
        .byte $00,$5c,$c6,$c0,$bc,$c6,$c6,$7c       // char 182
        .byte $00,$fa,$06,$06,$1a,$06,$06,$04       // char 183
        .byte $00,$74,$c6,$86,$7c,$c2,$c6,$5c       // char 184
        .byte $00,$7c,$86,$c6,$7a,$06,$c6,$74       // char 185
        .byte $00,$00,$10,$30,$00,$10,$30,$00       // char 186
        .byte $00,$00,$10,$30,$00,$10,$30,$20       // char 187
        .byte $00,$00,$18,$30,$60,$30,$18,$00       // char 188
        .byte $00,$00,$00,$7c,$00,$7c,$00,$00       // char 189
        .byte $00,$00,$30,$18,$0c,$18,$30,$00       // char 190
        .byte $00,$74,$c6,$1c,$30,$20,$10           // char 191 (partial)

txt_2dff:
        .byte $30                                   // char 191 (partial)
        .byte $20,$20,$20,$20,$20,$20,$20,$20       // char 192
        .byte $20,$20,$20,$20,$20,$20,$20,$20       // char 193
        .byte $20,$20,$20,$08,$01,$05,$07,$01       // char 194
        .byte $12                                   // char 195 (partial)

txt_2e19:
        .byte $20,$2b,$38,$20,$20,$20,$20           // char 195 (partial)
        .byte $20,$20,$02,$19,$20,$0b,$09,$0e       // char 196
        .byte $07,$13,$0f,$06,$14                   // char 197 (partial)

txt_2e2d:
        .byte $20,$20,$20                           // char 197 (partial)
        .byte $23,$31,$2d,$12,$05,$0c,$05,$01       // char 198
        .byte $13,$05,$04,$20,$02,$19,$20,$20       // char 199
        .byte $20,$04,$01,$12,$0b,$0c,$0f,$12       // char 200
        .byte $04,$2f,$01,$12,$03                   // char 201 (partial)

txt_2e4d:
        .byte $20,$20,$20                           // char 201 (partial)
        .byte $20,$0f,$0e                           // char 202 (partial)

txt_2e53:
        .byte $20,$31,$30,$2f,$31                   // char 202 (partial)
        .byte $30,$2f,$39,$32,$21,$20,$20,$20       // char 203
        .byte $20,$20,$01,$12,$03,$01,$04,$05       // char 204
        .byte $20,$17,$08,$11                       // char 205 (partial)

txt_2e6c:
        .byte $20,$20,$20,$20                       // char 205 (partial)
        .byte $20,$20,$20,$20,$20,$20,$01,$14       // char 206

txt_2e78:
        .byte $20,$20,$20,$20,$20,$20,$20,$20       // char 207

spr_2e80:
        .byte $20,$35,$31,$30,$2d,$36,$38,$39       // char 208
        .byte $2d,$38,$38,$39,$33,$20,$20,$20       // char 209

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

// --- Region $2f00-$2f80 ---
.pc = $2f00 "spr_2f00"

spr_2f00:
        .byte $03,$ff,$00,$0f,$ab,$c0,$0e,$aa       // char 224
        .byte $c0,$3e,$56,$f0                       // char 225 (partial)

txt_2f0c:
        .byte $39,$55,$b0,$f9                       // char 225 (partial)
        .byte $55,$bc,$f9,$55,$bc,$f9,$55,$bc       // char 226
        .byte $f9,$55,$bc,$f9,$55,$bc,$fe,$56       // char 227
        .byte $fc,$fe,$aa,$fc,$ff,$ab,$fc,$ff       // char 228
        .byte $ff,$fc,$ff,$ff,$fc,$ff,$ff,$fc       // char 229
        .byte $3b,$ff,$b0,$3a,$aa,$b0,$0a,$56       // char 230
        .byte $80,$0e,$aa,$c0,$03,$ff,$00,$a7       // char 231

spr_2f40:
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 232
        .byte $00,$00,$00,$00,$00,$fc,$00,$03       // char 233
        .byte $ff,$00,$0f,$ab,$c0,$0e,$9a,$c0       // char 234
        .byte $3e,$56,$f0,$3e,$56,$f0,$3e,$56       // char 235
        .byte $f0,$3e,$56,$f0,$3e,$9a,$f0,$3f       // char 236
        .byte $ab,$f0,$3f,$ff,$f0,$3f,$ff,$f0       // char 237
        .byte $3f,$ff,$f0,$0e,$fe,$c0,$0e,$aa       // char 238
        .byte $c0,$03,$9b,$00,$00,$fc,$00,$00       // char 239

spr_2f80:
        .byte $00                                   // char 240 (partial)

// --- Region $2f99-$3048 ---
.pc = $2f99 "dat_2f99"

dat_2f99:
        .byte $fc,$00,$03,$ef,$00,$03,$9b           // char 243 (partial)
        .byte $00,$0e,$56,$c0,$0e,$56,$c0,$0f       // char 244
        .byte $9b,$c0,$0f,$ef,$c0,$0f,$ff,$c0       // char 245
        .byte $0f,$ff,$c0,$0e,$fe,$c0,$03,$ab       // char 246
        .byte $00,$03,$ef,$00,$00,$fc,$00,$00       // char 247
        .byte $90,$06,$00,$00,$00,$08,$00,$00       // char 248
        .byte $00,$08,$00,$00,$00,$00,$24,$e7       // char 249
        .byte $07,$00,$00,$00,$00,$00,$00,$00       // char 250
        .byte $00,$00,$03,$4c,$00,$00,$00,$00       // char 251
        .byte $00,$00,$00,$00,$00,$00,$00,$00       // char 252
        .byte $8c,$00,$00,$08,$01,$00,$00,$00       // char 253
        .byte $8b,$ff,$00,$00,$00,$00,$00,$00       // char 254
        .byte $06,$a3,$e6,$7a,$d0,$02,$e6,$7b       // char 255

chr_3000:
        .fill 8, $00
        .byte $ff,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0 // ................
        .byte $c0,$c0,$c0,$c0,$c0,$c0,$c0,$ff,$ff,$00,$00,$00,$00,$00,$00,$00 // ................
        .byte $00,$00,$00,$00,$00,$00,$00,$ff,$ff,$03,$03,$03,$03,$03,$03,$03 // ................
        .fill 15, $03
        .byte $ff                                   // .

dat_3048:
        // === Fill data (1 bytes, $3048-$3048) ===
        .byte $00                                   // .

// --- Region $34a1-$34d0 ---
.pc = $34a1 "dat_34a1"

dat_34a1:
        .byte $be,$c0,$c0,$b8,$c0,$c0,$be,$00,$6c,$ba,$d6,$82,$c6,$c6,$82,$00 // ........l.......
        .byte $bc,$c6,$c2,$bc,$c0,$c0,$80,$00,$08,$18,$18,$18,$18,$18,$08,$00 // ................
        .byte $82,$c6,$c6,$44,$82,$c6,$7c,$00,$5c,$c6,$c0,$5c,$06,$c6,$74 // ...D..|.\..\..t

dat_34d0:
        // === Fill data (1 bytes, $34d0-$34d0) ===
        .byte $00                                   // .

// --- Region $3681-$36b0 ---
.pc = $3681 "dat_3681"

dat_3681:
        .byte $bc,$c6,$c2,$bc,$c2,$c6,$bc,$00,$c2,$c6,$46,$3a,$06,$0e,$3c,$00 // ..........F:..<.
        .fill 8, $00
        .byte $6c,$ba,$d6,$82,$c6,$c6,$82,$00,$bc,$c2,$c6,$c6,$c6,$c2,$bc,$00 // l...............
        .byte $5c,$c6,$c0,$ce,$c2,$c6,$5c           // \.....\

dat_36b0:
        // === Fill data (1 bytes, $36b0-$36b0) ===
        .byte $00                                   // .

// --- Region $3700-$3700 ---
.pc = $3700 "spr_3700"

spr_3700:
        .byte $00                                   // .

// --- Region $3740-$3740 ---
.pc = $3740 "spr_3740"

spr_3740:
        .byte $00                                   // .

// --- Region $3780-$3780 ---
.pc = $3780 "spr_3780"

spr_3780:
        .byte $00                                   // .

// --- Region $37c0-$37c0 ---
.pc = $37c0 "spr_37c0"

spr_37c0:
        .byte $00                                   // .

// --- Region $3800-$3848 ---
.pc = $3800 "spr_3800"

spr_3800:
        .fill 8, $00
        .byte $ff,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0 // ................
        .byte $c0,$c0,$c0,$c0,$c0,$c0,$c0,$ff,$ff,$00,$00,$00,$00,$00,$00,$00 // ................
        .byte $00,$00,$00,$00,$00,$00,$00,$ff,$ff,$03,$03,$03,$03,$03,$03,$03 // ................
        .fill 8, $03

spr_3840:
        .byte $03,$03,$03,$03,$03,$03,$03,$ff       // ........

dat_3848:
        // === Fill data (1 bytes, $3848-$3848) ===
        .byte $00                                   // .

// --- Region $403e-$41ef ---
.pc = $403e "dat_403e"

dat_403e:
        .byte $33,$00                               // 3.

txt_4040:
        .text "8888888899999999::::::::;;;;;;;;<<<<<<<<========>>>>>>>>????????0000000011111111222222223333333344444444555555556666666677777777"
        .byte $80,$81,$82,$83,$84,$85,$86,$87,$70,$71,$72,$73,$74,$75,$76,$77 // ........pqrstuvw
        .byte $60,$61,$62,$63,$64,$65,$66,$67       // `abcdefg

txt_40d8:
        .text "PQRSTUVW"
        .byte $40                                   // @ character
        .text "ABCDEFG01234567 !"
        .byte $22                                   // double quote character
        .text "#$%&'"
        .byte $10,$11,$12,$13,$14,$15,$16,$17,$80,$40,$20,$10,$08,$04,$02,$01 // .........@ .....
        .byte $80,$40,$20,$10,$08,$04,$02,$01,$80,$40,$20,$10,$08,$04,$02,$01 // .@ ......@ .....
        .byte $80,$40,$20,$10,$08,$04,$02,$01,$80,$40,$20,$10,$08,$04,$02,$01 // .@ ......@ .....
        .byte $80,$40,$20,$10,$08,$04,$02,$01,$80,$40,$20,$10,$08,$04,$02,$01 // .@ ......@ .....
        .byte $80,$40,$20,$10,$08,$04,$02,$01,$80,$40,$20,$10,$08,$04,$02,$01 // .@ ......@ .....
        .byte $80,$40,$20,$10,$08,$04,$02,$01,$80,$40,$20,$10,$08,$04,$02,$01 // .@ ......@ .....
        .byte $80,$40,$20,$10,$08,$04,$02,$01,$80,$40,$20,$10,$08,$04,$02,$01 // .@ ......@ .....
        .byte $80,$40,$20,$10,$08,$04,$02,$01,$80,$40,$20,$10,$08,$04,$02,$01 // .@ ......@ .....
        .byte $80,$40,$20,$10,$08,$04,$02,$01,$80,$40,$20,$10,$08,$04,$02,$01 // .@ ......@ .....
        .byte $80,$40,$20,$10,$08,$04,$02,$01,$80,$40,$20,$10,$08,$04,$02,$01 // .@ ......@ .....
        .byte $80,$40,$20,$10,$08,$04,$02,$01,$80,$40,$20,$10,$08,$04,$02,$01 // .@ ......@ .....
        .byte $80,$40,$20,$10,$08,$04,$02,$01,$80,$40,$20,$10,$08,$04,$02,$01 // .@ ......@ .....
        .byte $80,$40,$20,$10,$08,$04,$02,$01,$80,$40,$20,$10,$08,$04,$02,$01 // .@ ......@ .....
        .byte $80,$40,$20,$10,$08,$04,$02,$01,$80,$40,$20,$10,$08,$04,$02,$01 // .@ ......@ .....
        .byte $80,$40,$20,$10,$08,$04,$02,$01,$80,$40,$20,$10,$08,$04,$02,$01 // .@ ......@ .....
        .byte $80,$40,$20,$10,$08,$04,$02,$01       // .@ .....

// --- Region $59d0-$5c57 ---
.pc = $59d0 "dat_59d0"

dat_59d0:
        .byte $93,$01,$03,$00,$06,$00,$09,$00,$0c,$00,$0f,$00,$12,$00,$15,$00 // ................
        .byte $18,$00,$1b,$00,$1e,$00,$21,$00,$24,$00,$c8,$00,$cb,$00,$ce,$00 // ......!.$.......
        .byte $d1,$00,$d4,$00,$d7,$00,$da,$00,$dd,$00,$e0,$00,$e3,$00,$e6,$00 // ................
        .byte $e9,$00,$ec,$00,$90,$01,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 // ................
        .byte $93,$01,$96,$01,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$99,$01 // ................
        .fill 8, $00
        .byte $9c,$01,$9f,$01,$a2,$01,$a5,$01,$00,$00,$00,$00,$00,$00,$00,$00 // ................
        .fill 12, $00
        .byte $a8,$01,$ab,$01,$00,$00,$00,$00,$00,$00,$00,$00,$57,$5a,$57,$5b // ............WZW[
        .byte $3d,$be,$df                           // =..

txt_5a57:
        .text "           "
        .fill 10, $1f
        .byte $1e,$1e,$1e,$1e,$1e,$1e,$1e,$1d,$1d,$1d,$1d,$1d,$1d,$1c,$1c,$1c // ................
        .byte $1c,$1c,$1c,$1c,$1b,$1b,$1b,$1b,$1b,$1b,$1b,$1b,$1b,$1b,$1b,$1b // ................
        .byte $1b,$1b,$1b,$1b,$1b,$1b,$1c,$1c,$1c,$1c,$1c,$1d,$1d,$1d,$1d,$1e // ................
        .byte $1e,$1e,$1f,$1f,$1f                   // .....

txt_5aa1:
        .text "  !!!"
        .byte $22                                   // double quote character
        .byte $22                                   // double quote character
        .text "###$$%%%&&'''(((())))**************)))((('''&&%%$##"
        .byte $22                                   // double quote character
        .byte $22                                   // double quote character
        .text "!  "
        .byte $1f,$1e,$1e,$1d,$1c,$1b,$1b,$1a,$19,$19,$18,$17,$17,$16,$15,$15 // ................
        .byte $14,$14,$13,$12,$12,$11,$11,$11,$10,$10,$10,$0f,$0f,$0f,$0f,$0f // ................
        .fill 8, $0f
        .byte $10,$10,$10,$11,$11,$12,$12,$13,$14,$14,$15,$16,$16,$17,$18,$19 // ................
        .byte $1a,$1b,$1c,$1d,$1e,$1f               // ......

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

txt_5b9c:
        .text " !#$%'()*,-./0122345566777888888887776655433210//.-,+*)(&%$#"
        .byte $22                                   // double quote character
        .text "! "
        .byte $1f,$1e,$1d,$1c,$1b,$1a,$19,$18,$17,$16,$15,$15,$14,$13,$12,$12 // ................
        .byte $11,$11,$10,$10,$0f,$0f,$0e,$0e,$0e,$0e,$0d,$0d,$0d,$0d,$0d,$0d // ................
        .byte $0e,$0e,$0e,$0e,$0e,$0f,$0f,$10,$10,$11,$11,$12,$12,$13,$13,$14 // ................
        .byte $15,$15,$16,$17,$18,$18,$19,$1a,$1b,$1b,$1c,$1d,$1e,$1f,$1f // ...............

txt_5c1a:
        .text " !!"
        .byte $22                                   // double quote character
        .text "#$$%%&''(()))***++++++++++++++++****)))(('''&&%%$$##"
        .byte $22                                   // double quote character
        .byte $22                                   // double quote character
        .text "!! "
        .byte $00                                   // string terminator

// --- Region $5f7c-$6288 ---
.pc = $5f7c "dat_5f7c"

dat_5f7c:
        .fill 20, $00
        .byte $06,$06,$06,$06,$04,$04,$04,$04,$0e,$0e,$0e,$0e,$03,$03,$03,$03 // ................
        .byte $0d,$0d,$0d,$0d,$01,$01,$01,$01,$01,$01,$01,$01,$89,$62,$bf,$63 // .............b.c
        .byte $66,$65,$89,$62,$18,$64,$66,$65,$89,$62,$4d,$64,$66,$65,$89,$62 // fe.b.dfe.bMdfe.b
        .byte $82,$64,$66,$65,$bb,$64,$66,$65,$f4,$64,$66,$65,$f4,$64,$66,$65 // .dfe.dfe.dfe.dfe
        .byte $2d,$65,$66,$65,$00,$54,$36,$00,$f3,$70 // -efe.T6..p

txt_5fda:
        .text "W>"
        .byte $a2                                   // '"' | $80 (end-of-string marker)
        .byte $00,$9d,$0b,$a0,$e0,$20,$e0,$20,$e0,$20,$e0,$20,$80,$e0,$e0,$20 // ..... . . . ... 
        .byte $20,$e0,$e0,$20,$20,$80               //  ..  .

txt_5ff3:
        .text "    "
        .byte $e0,$e0,$e0,$e0,$80,$00,$01,$03,$02,$04,$05,$07,$06,$00,$01,$02 // ................
        .byte $03,$80,$01,$03,$02,$00,$05,$07,$06,$04,$04,$05,$06,$07,$80,$1d // ................
        .byte $21,$19,$17,$1a,$1b,$19,$14,$80,$1e,$20,$1b,$1d // !........ ..

txt_6023:
        .text " % $"
        .byte $80,$0a,$17,$0d,$1a,$02,$0f,$05,$13,$80,$00,$01,$01,$03,$03,$02 // ................
        .byte $02,$00,$05,$07,$01,$05,$03,$07,$ff,$06,$03,$07,$ff,$80,$80,$80 // ................
        .fill 11, $80
        .byte $24,$e0,$e0,$e0,$e0,$80,$0c,$0c,$0c,$f4,$f4,$80,$00,$dc,$24,$f0 // $.............$.
        .byte $10,$80,$00,$00,$00,$00,$01,$01,$02,$03,$80,$01,$02,$03,$04,$02 // ................
        .byte $03,$04,$04,$80,$e0,$20,$e0,$20,$e0,$20,$e0,$20,$80,$e0,$e0,$20 // ..... . . . ... 
        .byte $20,$e0,$e0,$20,$20,$80               //  ..  .

txt_6088:
        .text "    "
        .byte $e0,$e0,$e0,$e0,$80,$00,$01,$03,$02,$04,$05,$07,$06,$00,$01,$02 // ................
        .byte $03,$80,$01,$03,$02,$00,$05,$07,$06,$04,$04,$05,$06,$07,$80,$00 // ................
        .byte $e0,$e0,$20,$20,$80,$e0,$00,$00,$00,$00,$80,$00,$e0,$20,$20,$e0 // ..  .........  .
        .byte $80,$00,$00,$00,$00,$01,$02,$03,$04,$80,$01,$02,$03,$04,$02,$03 // ................
        .byte $04,$01,$80,$e0,$e0,$e0,$14,$20,$14,$20,$14,$80,$e0,$00,$20,$e0 // ....... . .... .
        .byte $f0,$00,$10,$20,$80,$00,$01,$00,$01,$02,$03,$04,$05,$06,$80,$01 // ... ............
        .byte $02,$03,$05,$07,$04,$05,$06,$07,$80,$e0,$e0,$e0,$f0,$10,$20,$20 // ..............  
        .byte $20,$80,$20,$00,$f0,$e0,$e0,$f0,$00,$20,$80,$00,$05,$01,$02,$03 //  . ...... ......
        .byte $04,$80,$02,$07,$06,$03,$04,$05,$80,$20,$10,$f0,$e0,$e0,$f0,$10 // ......... ......
        .byte $20,$80,$10,$20,$20,$10,$f0,$e0,$e0,$f0,$80,$00,$01,$02,$03,$04 //  ..  ...........
        .byte $05,$06,$80,$01,$02,$03,$04,$05,$06,$07,$80,$00,$01,$02,$03,$04 // ................
        .byte $05,$06,$07,$80,$01,$02,$03,$04,$05,$06,$07,$00,$03,$a0,$05,$a0 // ................
        .byte $81,$00,$03,$01,$02,$02,$fe,$03,$01,$05,$02,$b0,$00,$03,$01,$02 // ................
        .byte $02,$fe,$03,$01,$ae,$00,$03,$01,$02,$02,$fe,$03,$01,$05,$fe,$8c // ................
        .byte $00,$01,$01,$02,$02,$fe,$03,$01,$05,$fe,$a4,$80,$03,$40,$05,$91 // .............@..
        .byte $81,$00,$02,$01,$03,$02,$04,$05,$06,$03,$ff,$90,$00,$04,$01,$03 // ................
        .byte $02,$02,$03,$fd,$9a,$00,$fe,$01,$fd,$02,$fc,$03,$fc,$05,$fa,$8e // ................
        .byte $80,$03,$a0,$05,$a8,$81,$00,$03,$01,$02,$03,$02,$05,$02,$b8,$00 // ................
        .byte $03,$02,$03,$c0,$00,$fd,$01,$fd,$02,$fd,$03,$fe,$05,$fd,$a4,$80 // ................
        .byte $05,$a8,$81,$01,$04,$00,$01,$02,$02,$05,$05,$03,$fe,$94,$00,$04 // ................
        .byte $01,$01,$02,$02,$05,$fb,$03,$02,$94,$80,$05,$a8,$81,$01,$04,$00 // ................
        .byte $01,$02,$02,$05,$05,$03,$ff,$94,$00,$04,$01,$01,$02,$02,$05,$fb // ................
        .byte $03,$01,$94,$80,$05,$a8,$81,$01,$04,$00,$01,$02,$02,$05,$05,$94 // ................
        .byte $00,$04,$01,$01,$02,$02,$05,$fb,$94,$80,$05,$a8,$81,$01,$04,$00 // ................
        .byte $01,$02,$02,$05,$05,$03,$01,$94,$00,$04,$01,$01,$02,$02,$05,$fb // ................
        .byte $03,$ff,$94,$80,$45,$08,$00,$0a,$40,$00,$04,$50,$00,$10,$f0,$00 // ....E...@..P....
        .byte $02,$c0,$00,$06,$00,$00,$08,$40,$00,$10,$48,$00,$ff,$58,$00,$04 // .......@..H..X..
        .byte $0f,$f0,$0d,$03,$20,$03,$bb,$a0,$04,$99,$80,$0b,$09,$80,$01,$0b // .... ...........
        .byte $e0,$00,$0f,$f0,$03,$07,$30,$ff,$0b,$a0,$0e,$89,$00,$10,$08,$00 // ......0.........
        .byte $14,$89,$00,$15,$00,$00,$03,$04,$00,$03,$4c,$00,$04,$40,$00,$07 // ..........L..@..
        .byte $60,$00,$15,$f0,$00,$07,$90,$00,$03,$f0,$00,$08,$c0,$00,$02,$cd // `...............
        .byte $00,$0f,$89,$00,$04,$80,$00,$ff,$10,$00,$ff,$00,$00 // .............

// --- Region $6e26-$6e2d ---
.pc = $6e26 "Segment $6e26"
        .byte $40,$20,$10,$08,$04,$02,$01           // @ .....

dat_6e2d:
        // === Fill data (1 bytes, $6e2d-$6e2d) ===
        .byte $00                                   // .

// --- Region $72f9-$7400 ---
.pc = $72f9 "dat_72f9"

dat_72f9:
        .byte $78,$d6,$12,$05,$9a,$78,$04,$7f,$7f,$7f,$7f,$7f,$7f,$7e,$7e,$7d // x....x.......~~}
        .byte $7c,$7c,$7b,$7a,$79,$78,$77,$76,$75,$73,$72,$70,$6f,$6d,$6c,$6a // ||{zyxwvusrpomlj
        .byte $68,$66,$64,$62,$60,$5e               // hfdb`^

txt_731f:
        .byte $5c                                   // backslash character
        .text "ZXUSQNLIGDA?<9630.+(%"
        .byte $22                                   // double quote character
        .byte $1f,$1c,$18,$15,$12,$0f,$0c,$09,$06,$03,$ff,$fc,$f9,$f6,$f3,$f0 // ................
        .byte $ed,$ea,$e7,$e3,$e0,$dd,$da,$d7,$d4,$d1,$cf,$cc,$c9,$c6,$c3,$c0 // ................
        .byte $be,$bb,$b8,$b6,$b3,$b1,$ae,$ac,$aa,$a7,$a5,$a3,$a1,$9f,$9d,$9b // ................
        .byte $99,$97,$95,$93,$92,$90,$8f,$8d,$8c,$8a,$89,$88,$87,$86,$85,$84 // ................
        .byte $83,$83,$82,$81,$81,$80,$80,$80,$80,$80,$80,$80,$80,$80,$80,$80 // ................
        .byte $81,$81,$82,$83,$83,$84,$85,$86,$87,$88,$89,$8a,$8c,$8d,$8f,$90 // ................
        .byte $92,$93,$95,$97,$99,$9b,$9d,$9f,$a1,$a3,$a5,$a7,$aa,$ac,$ae,$b1 // ................
        .byte $b3,$b6,$b8,$bb,$be,$c0,$c3,$c6,$c9,$cc,$cf,$d1,$d4,$d7,$da,$dd // ................
        .byte $e0,$e3,$e7,$ea,$ed,$f0,$f3,$f6,$f9,$fc,$00,$03,$06,$09,$0c,$0f // ................
        .byte $12,$15,$18,$1c,$1f                   // .....

txt_73cb:
        .byte $22                                   // double quote character
        .text "%(+.0369<?ADGILNQSUXZ"
        .byte $5c                                   // backslash character
        .byte $5e,$60,$62,$64,$66,$68,$6a,$6c,$6d,$6f,$70,$72,$73,$75,$76,$77 // ^`bdfhjlmoprsuvw
        .byte $78,$79,$7a,$7b,$7c,$7c,$7d,$7e,$7e,$7f,$7f,$7f,$7f,$7f // xyz{||}~~.....

dat_7400:
        // === Fill data (1 bytes, $7400-$7400) ===
        .byte $00                                   // .

// --- Region $7496-$7496 ---
.pc = $7496 "dat_7496"

dat_7496:
        // === Fill data (1 bytes, $7496-$7496) ===
        .byte $00                                   // .

// --- Region $74ce-$777e ---
.pc = $74ce "dat_74ce"

dat_74ce:
        .byte $a9,$02,$a2,$00,$a0,$00,$88,$d0,$fd,$ca,$d0,$f8,$38,$e9,$01,$d0 // ............8...
        .byte $f1,$4c,$5d,$63,$8e,$ff,$74,$a2,$06,$a0,$00,$88,$d0,$fd,$ca,$d0 // .L]c..t.........
        .byte $f8,$ae,$ff,$74,$60,$a2,$18,$ca,$d0,$fd,$8d,$21,$d0,$60,$00,$00 // ...t`......!.`..
        .byte $00,$00                               // ..

txt_7500:
        .text "                "

txt_7510:
        .encoding "screencode_mixed"
        .text "arcade  on  your  screen  once  again  with  another  full - price - killer,  haegar  copyright  by  kingsoft"
        .encoding "petscii_upper"

txt_757d:
        .text ".    "

txt_7582:
        .encoding "screencode_mixed"
        .text "cracked,  trained  and  level - packed  by  darklord  of  arcade.  original  supplied  by  tyree.  call  the  home  of  our  upcoming  wares.  call  the  holiday  inn,  cambodia  at   five - one - zero"
        .encoding "petscii_upper"

txt_764b:
        .text "    "

txt_764f:
        .encoding "screencode_mixed"
        .text "six - eight - nine"
        .encoding "petscii_upper"

txt_7661:
        .text "     "

txt_7666:
        .encoding "screencode_mixed"
        .text "eight - eight - nine - three.  greetings  to  all  our friends,  except  some  nerds  like bod  or  majesty.  special greetings  to  all  in  arcade"
        .encoding "petscii_upper"

txt_76fa:
        .text "...  "

txt_76ff:
        .encoding "screencode_mixed"
        .text "we  rule  you  all  in motherfucking ninteytwo.  signing off,  darklord   and   tyree"
        .encoding "petscii_upper"

txt_7754:
        .text "            ....                           "
