// ============================================
// output - Disassembled Source
// ============================================
// KickAssembler syntax
// Generated by Restore 64 v0.2.1 alpha build 298, 2026-04-01 10:59:39
// https://restore64.dev by datucker / Rabenauge
//
// Load address: $0800  End: $27ff  (8192 bytes)
// Crunched with Exomizer v2/v3 — depacked by emulation
// Packer entry: $080b (via BASIC SYS 2059)
// Entry point:  $0810 (2064)
// IRQ handler:  $0961 (irq_0961)
// IRQ handler:  $091e (nmi_091e)
//
// Code: 2851 bytes, Data: 5341 bytes
// Labels: 254, Subroutines: 16
//
// Cross-references: all OK
// ============================================


// --- Region $0810-$091e ---
.pc = $0810 "main_0810"

main_0810:
        sei
        lda #$00
        sta $d020
        sta $d021
        sta dat_0ad2
        sta $0ada
        sta $0adb
        sta $0ade
        sta $0adf
        jsr sub_0942
        jsr sub_0956
        lda #$1b
        sta $d011
        lda #$07
        sta $0adc
        lda #$0c
        sta $0286
        jsr $e544
        lda #$80
        sta $0291
        lda #$14
        sta $d018
        ldx #$27

loc_084c:
        lda txt_0f00,x
        and #$3f
        sta $05e0,x
        lda $0f40,x
        and #$3f
        sta $0608,x
        lda $0f80,x
        and #$3f
        sta $0630,x
        lda #$0f
        sta $d9e0,x
        sta $da08,x
        sta $da30,x
        dex
        bpl loc_084c
        lda #$01
        sta $d01a
        ldx #$05

loc_0879:
        lda $0314,x
        sta spr_0918,x
        dex
        bpl loc_0879
        ldx #$61
        ldy #$09
        stx $0314
        sty $0315
        ldx #$1e
        ldy #$09
        stx $0318
        sty $0319
        lda #$30
        sta $d012
        cli
        lda #$02

loc_089e:
        cmp dat_0ad2
        bne loc_089e
        lda #$3c

loc_08a5:
        cmp $cb
        bne loc_08a5
        sei
        ldx #$05

loc_08ac:
        lda spr_0918,x
        sta $0314,x
        dex
        bpl loc_08ac
        lda #$f0
        sta $d01a
        jsr sub_0942
        lda #$00
        sta $c6
        sta $0291
        sta $d020
        sta $d021
        ldx #$1c

loc_08cc:
        sta $d400,x
        dex
        bpl loc_08cc
        lda #$08
        sta $d016
        lda #$0f
        sta $0286
        jsr $e544
        jsr $fd15
        jsr $fda3
        ldx #$00

loc_08e7:
        lda $0e08,x
        eor #$56
        sta $0400,x
        ldy #$0a

loc_08f1:
        jsr $eeb3
        dey
        bne loc_08f1
        inx
        cpx #$16
        bne loc_08e7
        lda #$34
        sta $01
        ldx #$03

loc_0902:
        lda spr_091f,x
        sta $fc,x
        dex
        bpl loc_0902
        ldx #$30

loc_090c:
        lda $0923,x
        sta $033c,x
        dex
        bpl loc_090c
        jmp $033c

spr_0918:
        // === Sprite data (6 bytes, $0918-$091d) ===
        .byte $31,$ea,$1f                           // ..##...####.#.#....#####
        .byte $df,$47,$fe                           // ##.#####.#...##########.

nmi_091e:
        rti

// --- Region $0942-$0ad1 ---
.pc = $0942 "sub_0942"
// Referenced by: jsr from $0828, $08ba

sub_0942:
        lda #$00
        ldx #$00
        ldy #$00
        jsr sub_1000
        nop
        nop
        nop
        rts
// Referenced by: jsr from $0980

sub_094f:
        jsr sub_1009
        nop
        nop
        nop
        rts
// Referenced by: jsr from $082b, $0a2e

sub_0956:
        ldx #$00
        ldy #$23
        stx $0ad3
        sty $0ad4
        rts

irq_0961:
        ldx #$03
        ldy #$38

loc_0965:
        cpy $d012
        bne loc_0965
        ldy #$0b

loc_096c:
        dey
        bne loc_096c
        stx $d020
        stx $d021
        ldy #$0b

loc_0977:
        dey
        bne loc_0977
        sty $d020
        sty $d021
        jsr sub_094f
        ldx #$03
        lda #$06
        ldy #$8b

loc_0989:
        cpy $d012
        bne loc_0989
        ldy #$02

loc_0990:
        dey
        bne loc_0990
        stx $d021
        stx $d020
        ldy #$0a

loc_099b:
        dey
        bne loc_099b
        sta $d021
        sta $d020
        ldy #$02

loc_09a6:
        dec $0adc
        dey
        bne loc_09a6
        ldy $0adc
        bpl loc_09b6
        ldy #$07
        sty $0adc

loc_09b6:
        ldx #$0e
        ldy #$af

loc_09ba:
        cpy $d012
        bne loc_09ba
        ldy #$0b

loc_09c1:
        dey
        bne loc_09c1
        stx $d020
        stx $d021
        ldy #$0b

loc_09cc:
        dey
        bne loc_09cc
        sty $d021
        sty $d020
        ldy $0adc
        sty $d016
        ldy #$e3

loc_09dd:
        cpy $d012
        bne loc_09dd
        ldy #$02

loc_09e4:
        dey
        bne loc_09e4
        stx $d020
        stx $d021
        ldy #$0b

loc_09ef:
        dey
        bne loc_09ef
        sta $d020
        sta $d021
        lda #$08
        sta $d016
        lda $0adc
        cmp #$01
        beq loc_0a07
        jmp loc_0ab9

loc_0a07:
        lda $0ad3
        sta $fe
        lda $0ad4
        sta $ff
        ldy #$00

loc_0a13:
        lda $06a9,y
        sta $06a8,y
        iny
        cpy #$9f
        bne loc_0a13
        lda $0ada
        cmp $0adb
        bne loc_0a5b
        ldy #$00
        lda ($fe),y
        cmp #$ff
        bne loc_0a40
        jsr sub_0956
        lda $0ad3
        sta $fe
        lda $0ad4
        sta $ff
        lda #$20
        jmp loc_0a46

loc_0a40:
        inc $fe
        bne loc_0a46
        inc $ff

loc_0a46:
        and #$3f
        sta $0ad9
        tay
        lda txt_0c52,y
        lsr
        lsr
        lsr
        lsr
        sta $0adb
        lda #$00
        sta $0ada

loc_0a5b:
        ldy $0ad9
        cmp #$02
        beq loc_0a8c
        cmp #$01
        beq loc_0a79
        lda txt_2000,y
        pha
        lda $2040,y
        pha
        lda $2080,y
        pha
        lda $20c0,y
        pha
        jmp loc_0a9c

loc_0a79:
        lda $2100,y
        pha
        lda $2140,y
        pha
        lda $2180,y
        pha
        lda $21c0,y
        pha
        jmp loc_0a9c

loc_0a8c:
        lda $2200,y
        pha
        lda $2240,y
        pha
        lda $2280,y
        pha
        lda $22c0,y
        pha

loc_0a9c:
        pla
        sta $0747
        pla
        sta $071f
        pla
        sta $06f7
        pla
        sta $06cf
        inc $0ada
        lda $fe
        sta $0ad3
        lda $ff
        sta $0ad4

loc_0ab9:
        ldx $0ade
        jsr sub_0ae0
        lda $d011
        and #$7f
        sta $d011
        lda #$30
        sta $d012
        inc $d019
        jmp $ea31

// --- Region $0ae0-$0b76 ---
.pc = $0ae0 "sub_0ae0"
// Referenced by: jsr from $0abc

sub_0ae0:
        lda $0adf
        bne loc_0afb
        cpx #$00
        beq loc_0aeb
        ldx #$6a

loc_0aeb:
        stx spr_0b34
        ldy #$23
        sty $0b35
        lda #$01
        sta $0adf
        jmp loc_0b33

loc_0afb:
        ldy $0b35
        cpy #$00
        beq loc_0b0e
        ldx spr_0b34
        jsr sub_0b37
        dec $0b35
        jmp loc_0b33

loc_0b0e:
        ldx spr_0b34
        ldy #$00
        lda txt_0c52,x
        and #$0f
        beq loc_0b23
        jsr sub_0b37
        inc spr_0b34
        jmp loc_0b33

loc_0b23:
        lda #$00
        sta $0adf
        lda $0ade
        eor #$01
        sta $0ade
        inc dat_0ad2

loc_0b33:
        rts

spr_0b34:
        // === Sprite data (3 bytes, $0b34-$0b36) ===
        .byte $7d,$00,$24                           // .#####.#..........#..#..
// Referenced by: jsr from $0b05, $0b1a

sub_0b37:
        sty $0b36

loc_0b3a:
        lda txt_0b77,x
        sta $fc
        lda txt_0c52,x
        and #$0f
        sta $fd
        beq loc_0b76
        lda $0b36
        cmp #$23
        bne loc_0b56
        lda txt_0d2d,x
        ldy #$00
        sta ($fc),y

loc_0b56:
        inx
        lda $fd
        clc
        adc #$d4
        sta $fd
        ldy $0b36
        lda $0cbc,y
        lsr
        lsr
        lsr
        lsr
        inc $0b36
        ldy #$00
        sta ($fc),y
        ldy $0b36
        cpy #$24
        bne loc_0b3a

loc_0b76:
        rts

// --- Region $1000-$100c ---
.pc = $1000 "sub_1000"
// Referenced by: jsr from $0948

sub_1000:
        jmp loc_10c9

dat_1003:
        .byte $ea,$ea,$ea,$ea,$ea,$ea               // ......
// Referenced by: jsr from $094f

sub_1009:
        jmp loc_1135

txt_100c:
        .text "-"

// --- Region $10c9-$18b3 ---
.pc = $10c9 "loc_10c9"

loc_10c9:
        lda $18ba,y
        tay
        lda $1b91,y
        sta $1043
        lda $1b92,y
        sta $1044
        lda #$0f
        sta $104a
        ldx #$00

loc_10e0:
        iny
        iny
        lda $1b91,y
        sta $1069,x
        sta $106c,x
        lda $1b92,y
        sta $1075,x
        lda $1b93,y
        sta $1078,x
        lda #$01
        sta $1040
        sta $104b,x
        sta $1042
        lda #$00
        sta $1072,x
        sta $106f,x
        sta $107b,x
        sta $1057,x
        iny
        inx
        cpx #$03
        bne loc_10e0
        sta $10c8
        sta $1048
        sta $1049
        sta $1041

loc_1122:
        sta $d404
        sta $d40b
        sta $d412
        sta $1045
// Referenced by: jsr from $1203, $121c

sub_112e:
        sta $1046
        sta $1047
        rts

loc_1135:
        lda $1040
        beq loc_1122
        cld
        ldx #$02
        lda $1046
        beq loc_1152
        ldy $104a
        beq loc_1152
        dec $1047
        bne loc_1152
        sta $1047
        dec $104a

loc_1152:
        dec $1042
        bpl loc_115f
        lda $1044
        sta $1042
        bne loc_1173

loc_115f:
        dec $1041
        bpl loc_1173
        lda $1043
        sta $1041
        dec $104b
        dec $104c
        dec $104d

loc_1173:
        stx $103e
        lda $104b,x
        beq loc_117e
        jmp loc_13ed

loc_117e:
        lda $1075,x
        sta $fe
        lda $1078,x
        sta $ff
        ldy $1072,x
        lda ($fe),y
        bpl loc_11d2
        cmp #$ff
        bne loc_119e
        iny
        lda ($fe),y
        sta $1072,x
        tay
        lda ($fe),y
        bpl loc_11d2

loc_119e:
        cmp #$c0
        bcs loc_11b2
        and #$3f
        adc $1069,x
        sta $106c,x
        inc $1072,x
        iny
        lda ($fe),y
        bpl loc_122d

loc_11b2:
        cmp #$e0
        bcs loc_11c3
        and #$1f
        sta $1057,x
        inc $1072,x
        iny
        lda ($fe),y
        bpl loc_122d

loc_11c3:
        cmp #$fb
        bcs loc_11d6
        and #$1f
        sta $107b,x
        inc $1072,x
        iny
        lda ($fe),y

loc_11d2:
        bpl loc_122d
        cmp #$fb

loc_11d6:
        bne loc_11fa
        inc $1072,x
        iny
        lda ($fe),y
        sta $1041
        sta $1043
        inc $1072,x
        iny
        lda ($fe),y
        sta $1044
        lda #$00
        sta $1042
        inc $1072,x
        iny
        lda ($fe),y
        bpl loc_122d

loc_11fa:
        cmp #$fc
        bne loc_120d
        lda $1045
        bne loc_121f
        jsr sub_112e
        lda #$0f
        sta $104a
        bne loc_121f

loc_120d:
        cmp #$fd
        bne loc_1227
        inc $1072,x
        iny
        lda $1045
        bne loc_121f
        lda ($fe),y
        jsr sub_112e

loc_121f:
        inc $1072,x
        iny
        lda ($fe),y
        bpl loc_122d

loc_1227:
        lda #$00
        sta $1040
        rts

loc_122d:
        tay
        lda $1bd6,y
        sta $fe
        lda $1bea,y
        sta $ff
        lda #$00
        sta $1051,x
        sta $109f,x
        sta $1093,x
        sta $10c5,x
        ldy $106f,x
        bne loc_1257
        sta $1090,x
        sta $1066,x
        sta $105a,x
        sta $105d,x

loc_1257:
        lda ($fe),y
        bpl loc_1299
        cmp #$81
        bcs loc_126a
        iny
        lda ($fe),y
        sta $1066,x
        iny
        lda ($fe),y
        bpl loc_1299

loc_126a:
        cmp #$c0
        bcs loc_1283
        and #$3f

loc_1270:
        sta $104e,x
        iny
        lda ($fe),y
        bpl loc_1299
        cmp #$c0
        bcs loc_1283
        and #$3f
        adc $104e,x
        bne loc_1270

loc_1283:
        cmp #$e0
        bcs loc_129b
        and #$1f
        adc $1057,x
        tax
        lda $18ba,x
        ldx $103e
        sta $1054,x
        iny
        lda ($fe),y

loc_1299:
        bpl loc_12fc

loc_129b:
        cmp #$f8
        bcs loc_12b4
        and #$1f

loc_12a1:
        sta $1090,x
        iny
        lda ($fe),y
        bpl loc_12fc
        cmp #$f8
        bcs loc_12b4
        and #$1f
        adc $1090,x
        bne loc_12a1

loc_12b4:
        bne loc_12c0
        lda #$00
        sta $1048
        iny
        lda ($fe),y
        bpl loc_12fc

loc_12c0:
        cmp #$f9
        bne loc_12cf
        iny
        lda ($fe),y
        sta $105a,x
        iny
        lda ($fe),y
        bpl loc_12fc

loc_12cf:
        cmp #$fa
        bne loc_12de
        iny
        lda ($fe),y
        sta $105d,x
        iny
        lda ($fe),y
        bpl loc_12fc

loc_12de:
        cmp #$fb
        beq loc_12e8
        cmp #$fc
        bne loc_12f0
        lda #$01

loc_12e8:
        sta $10c5,x
        iny
        lda ($fe),y
        bpl loc_12fc

loc_12f0:
        cmp #$fe
        beq loc_12f6
        lda #$00

loc_12f6:
        sta $10c8
        iny
        lda ($fe),y

loc_12fc:
        cmp #$60
        beq loc_1316
        bcs loc_130a
        adc $106c,x
        sta $1063,x
        bpl loc_1335

loc_130a:
        and #$1f
        sta $104b,x
        lda #$00
        sta $1060,x
        beq loc_1341

loc_1316:
        iny
        lda ($fe),y
        sta $109c,x
        iny
        lda ($fe),y
        sta $109f,x
        iny
        lda ($fe),y
        clc
        adc $106c,x
        sta $1063,x
        iny
        lda ($fe),y
        adc $106c,x
        sta $10a2,x

loc_1335:
        lda $1054,x
        sta $1060,x
        lda $104e,x
        sta $104b,x

loc_1341:
        iny
        lda ($fe),y
        cmp #$ff
        bne loc_1357
        lda $107b,x
        bne loc_1352
        inc $1072,x
        bne loc_1355

loc_1352:
        dec $107b,x

loc_1355:
        ldy #$00

loc_1357:
        tya
        sta $106f,x
        lsr $1084,x
        asl $1084,x
        lda $1084,x
        ldy dat_18b4,x
        sta $d404,y
        ldy $1060,x
        lda $1a7f,y
        sta $fe
        lda $1a7e,y
        sta $108d,x
        and #$08
        beq loc_138f
        lda $1063,x
        sec
        sbc $106c,x
        sta $1063,x
        lda $10a2,x
        sbc $106c,x
        sta $10a2,x

loc_138f:
        lda $10c5,x
        bmi loc_13ac
        lda $108d,x
        and #$01
        bne loc_139e
        lda $1a77,y

loc_139e:
        sta $1084,x
        lda $1a7d,y
        sta $10b1,x
        and #$0f
        sta $10b5,x

loc_13ac:
        lda $105a,x
        bne loc_13b4
        lda $1a79,y

loc_13b4:
        sta $107e,x
        lda $105d,x
        bne loc_13bf
        lda $1a7a,y

loc_13bf:
        sta $1081,x
        ldy $fe
        beq loc_13e7
        lda $10c8
        bmi loc_13e7
        lda $1afa,y
        sta $10b4
        lda $1afb,y
        sta $10b8
        lda $1afc,y
        clc
        adc $18b7,x
        sta $1048
        lda $1afd,y
        sta $1049

loc_13e7:
        jsr sub_1615
        jmp loc_1544

loc_13ed:
        lda $108d,x
        and #$04
        beq loc_1403
        lda $1051,x
        cmp #$00
        bcc loc_1403
        lda $1099,x
        beq loc_1403
        dec $1099,x

loc_1403:
        lda $108d,x
        and #$02
        beq loc_1431
        jsr sub_1615
        lda $1051,x
        cmp #$00
        bcc loc_1431
        cmp #$20
        bcs loc_1431
        lsr
        bcc loc_1460
        rol
        sec
        sbc #$00
        lsr
        sta $fe
        inc $fe
        lda $1099,x
        sec
        sbc $fe
        bcc loc_1431
        sta $1099,x
        bcs loc_1460

loc_1431:
        ldy $109f,x
        beq loc_1444
        lda $1051,x
        cmp $109c,x
        bcc loc_1444
        jsr sub_167c
        jmp loc_1460

loc_1444:
        ldy $1060,x
        lda $1a80,y
        beq loc_1460
        lsr
        tay
        lda $1051,x
        lsr
        bne loc_1457
        sta $10ae,x

loc_1457:
        rol
        cmp $1ae8,y
        bcc loc_1460
        jsr sub_16e1

loc_1460:
        ldy $1060,x
        lda $1a81,y
        beq loc_1475
        tay
        lda $1051,x
        lsr
        bne loc_1472
        jsr sub_17a3

loc_1472:
        jsr sub_17b7

loc_1475:
        ldy $1060,x
        lda $1a7f,y
        beq loc_1491
        tay
        lda $1051,x
        lsr
        bne loc_1489
        ldx #$03
        jsr sub_17a3

loc_1489:
        ldx #$03
        jsr sub_17b7
        ldx $103e

loc_1491:
        ldy $1090,x
        beq loc_14a0
        lda $108d,x
        and #$10
        bne loc_14a0
        jsr sub_161a

loc_14a0:
        lda $108d,x
        bpl loc_14b4
        lda $1051,x
        lsr
        bne loc_14b1
        sta $1087,x
        sta $108a,x

loc_14b1:
        jsr sub_15b3

loc_14b4:
        lda $108d,x
        and #$20
        beq loc_14f9
        lda $1051,x
        cmp #$03
        bcc loc_14f9
        lda $1041
        sta $fe
        lda $104b,x
        sta $ff
        ldy $1042
        dey
        bpl loc_14d7
        ldy $1044
        bne loc_14e4

loc_14d7:
        dec $fe
        bpl loc_14e4
        lda $1043
        sta $fe
        dec $ff
        beq loc_14f4

loc_14e4:
        dey
        bpl loc_14ec
        ldy $1044
        bne loc_14f9

loc_14ec:
        dec $fe
        bpl loc_14f9
        dec $ff
        bne loc_14f9

loc_14f4:
        lda #$00
        sta $1081,x

loc_14f9:
        ldy $1060,x
        lda $1051,x
        cmp #$02
        bcs loc_1519
        lsr
        bne loc_1539
        lda $108d,x
        and #$40
        beq loc_1539
        ldy dat_18b4,x
        lda #$81
        sta $1084,x
        lda #$f9
        bne loc_155c

loc_1519:
        lda $1051,x
        cmp $1a7b,y
        bcc loc_1539
        lda $1a7c,y
        beq loc_1538
        cmp $104b,x
        bcc loc_1539
        lda $108d,x
        bpl loc_1538
        lsr $1084,x
        asl $1084,x
        bcc loc_1544

loc_1538:
        iny

loc_1539:
        lda $108d,x
        bmi loc_1544
        lda $1a77,y
        sta $1084,x

loc_1544:
        ldy dat_18b4,x
        lda $10b5,x
        sta $d403,y
        lda $10b1,x
        sta $d402,y
        lda $1096,x
        sta $d400,y
        lda $1099,x

loc_155c:
        sta $d401,y
        lda $1081,x
        sta $d406,y
        lda $107e,x
        sta $d405,y
        lda $10c5,x
        beq loc_1578
        bmi loc_157e
        lsr $1084,x
        asl $1084,x

loc_1578:
        lda $1084,x
        sta $d404,y

loc_157e:
        inc $1051,x
        bne loc_1586
        dec $1051,x

loc_1586:
        dex
        bmi loc_158c
        jmp loc_1173

loc_158c:
        lda $10b4
        sta $d415
        lsr
        lsr
        lsr
        sta $fe
        lda $10b8
        lsr
        ror
        ror
        ror
        ora $fe
        sta $d416
        lda $1048
        sta $d417
        lda $104a
        ora $1049
        sta $d418
        rts
// Referenced by: jsr from $14b1

sub_15b3:
        ldy $1060,x
        lda $1a78,y
        sta $103f
        tay
        lda $1a34,y
        sta $fe
        lda $1a38,y
        sta $ff
        ldy $1087,x
        lda ($fe),y
        cmp #$fe
        beq loc_15e0
        bcc loc_15d8
        iny
        lda ($fe),y
        tay
        lda ($fe),y

loc_15d8:
        sta $1084,x
        iny
        tya
        sta $1087,x

loc_15e0:
        ldy $103f
        lda $1a3c,y
        sta $fe
        lda $1a40,y
        sta $ff
        ldy $108a,x
        lda ($fe),y
        cmp #$fd
        bcc loc_1606
        beq loc_1612
        cmp #$fe
        beq loc_1611
        iny
        lda ($fe),y
        tay
        lda ($fe),y
        cmp #$fd
        beq loc_1612

loc_1606:
        sta $1099,x
        sta $1096,x
        iny
        tya
        sta $108a,x

loc_1611:
        rts

loc_1612:
        inc $108a,x
// Referenced by: jsr from $13e7, $140a, $1746

sub_1615:
        ldy $1063,x
        bpl loc_1642
// Referenced by: jsr from $149d

sub_161a:
        lda $1990,y
        sta $fe
        lda $19a3,y
        sta $ff
        ldy $1093,x
        iny
        lda ($fe),y
        bpl loc_1637
        cmp #$81
        beq loc_1633
        bcs loc_1637
        rts

loc_1633:
        iny
        lda ($fe),y
        tay

loc_1637:
        tya
        sta $1093,x
        lda ($fe),y
        clc
        adc $1063,x
        tay

loc_1642:
        lda $18d1,y
        sta $1096,x
        sec
        sbc $18d0,y
        sta $fe
        lda $1931,y
        sta $1099,x
        sbc $1930,y
        ldy $1066,x
        beq loc_167b
        lsr
        ror $fe
        lsr
        ror $fe
        lsr
        sta $ff
        ror $fe

loc_1667:
        lda $1096,x
        sec
        sbc $fe
        sta $1096,x
        lda $1099,x
        sbc $ff
        sta $1099,x
        dey
        bne loc_1667

loc_167b:
        rts

// Referenced by: jsr from $143e
sub_167c: {
        sty $fe
        lda #$00
        asl $fe
        rol
        asl $fe
        rol
        sta $ff
        ldy $10a2,x
        tya
        cmp $1063,x
        bcs skip
        lda $1096,x
        sec
        sbc $fe
        sta $1096,x
        lda $1099,x
        sbc $ff
        sta $1099,x
        lda $1096,x
        sec
        sbc $18d1,y
        lda $1099,x
        sbc $1931,y
        bcs done
loop:
        lda #$00
        sta $109f,x
        sta $10ae,x
        tya
        sta $1063,x
        jmp loc_1642
skip:
        lda $1096,x
        clc
        adc $fe
        sta $1096,x
        lda $1099,x
        adc $ff
        sta $1099,x
        lda $18d1,y
        sec
        sbc $1096,x
        lda $1931,y
        sbc $1099,x
        bcc loop
done:
        rts
}

// Referenced by: jsr from $145d
sub_16e1: {
        lda $10ae,x
        bne skip1
        sta $10a5,x
        inc $10ae,x
        lda $1aed,y
        sta $fe
        lda $1063,x
        clc
        adc $1aec,y
        tay
        sta $ff
        lda $18d1,y
        sec
        ldy $1063,x
        sbc $18d1,y
        sta $10a8,x
        ldy $ff
        lda $1931,y
        ldy $1063,x
        sbc $1931,y
        sta $10ab,x
        ldy $fe
        beq done1
loop1:
        lsr $10ab,x
        ror $10a8,x
        dey
        bne loop1
done1:
        rts
skip1:
        lda $1051,x
        cmp $1ae9,y
        bcc skip2
        cmp $1aef,y
        bcs skip2
        lda $10a8,x
        clc
        adc $1aee,y
        sta $10a8,x
        lda $10ab,x
        adc #$00
        sta $10ab,x
skip2:
        sty $103f
        jsr sub_1615
        ldy $103f
        lda $1aea,y
        sta $fe
        lda $1aeb,y
        sta $ff
loop2:
        ldy $10a5,x
        lda ($fe),y
        beq done2
        tay
        bpl skip3
        cmp #$81
        bne skip4
        inc $10a5,x
        ldy $10a5,x
        lda ($fe),y
        sta $10a5,x
        bpl loop2
skip3:
        lda $1096,x
        clc
        adc $10a8,x
        sta $1096,x
        lda $1099,x
        adc $10ab,x
        sta $1099,x
        dey
        bne skip3
        beq done2
skip4:
        lda $1096,x
        sec
        sbc $10a8,x
        sta $1096,x
        lda $1099,x
        sbc $10ab,x
        sta $1099,x
        iny
        bne skip4
done2:
        inc $10a5,x
        rts
}

// Referenced by: jsr from $146f, $1486
sub_17a3: {
        lda $10c5,x
        bmi done
        sta $10bd,x
        sta $10c1,x
        lda $1afe,y
        and #$04
        sta $10b9,x
done:
        rts
}
// Referenced by: jsr from $1472, $148b

sub_17b7:
        lda $1b01,y
        beq loc_182f
        sta $ff
        lda $1b00,y
        sta $fe
        sty $103f
        ldy $10bd,x
        lda $10c1,x
        bne loc_17e8
        lda ($fe),y
        bpl loc_181d
        cmp #$fe
        bcc loc_17e0
        beq loc_182c
        iny
        lda ($fe),y
        tay
        lda ($fe),y
        bpl loc_181d

loc_17e0:
        and #$7f
        sta $10c1,x
        jsr sub_1826

loc_17e8:
        dec $10c1,x
        bne loc_17f0
        inc $10bd,x

loc_17f0:
        lda $10b9,x
        bmi loc_186d
        bne loc_180a
        lda ($fe),y
        clc
        adc $10b1,x
        sta $10b1,x
        ldy $103f
        bcc loc_184c
        inc $10b5,x
        bcs loc_184c

loc_180a:
        lda $10b1,x
        sec
        sbc ($fe),y
        sta $10b1,x
        ldy $103f
        bcs loc_1884
        dec $10b5,x
        bcc loc_1884

loc_181d:
        sta $10b5,x
        iny
        lda ($fe),y
        sta $10b1,x
// Referenced by: jsr from $17e5

sub_1826:
        iny
        tya
        sta $10bd,x
        rts

loc_182c:
        ldy $103f

loc_182f:
        lda $10b9,x
        bmi loc_186d
        bne loc_186e
        lda $10b1,x
        clc
        adc $1b08,y
        sta $10b1,x
        lda $10b5,x
        adc $1b09,y
        sta $10b5,x
        lda $10b1,x

loc_184c:
        sec
        sbc $1b04,y
        lda $10b5,x
        sbc $1b05,y
        bmi loc_186d
        lda $1aff,y
        lsr
        bcs loc_18ae
        lsr
        bcc loc_18a6
        lda $1b02,y
        sta $10b1,x
        lda $1b03,y
        sta $10b5,x

loc_186d:
        rts

loc_186e:
        lda $10b1,x
        sec
        sbc $1b06,y
        sta $10b1,x
        lda $10b5,x
        sbc $1b07,y
        sta $10b5,x
        lda $10b1,x

loc_1884:
        sec
        sbc $1b02,y
        lda $10b5,x
        sbc $1b03,y
        bpl loc_186d
        lda $1afe,y
        lsr
        bcs loc_18ae
        lsr
        bcc loc_18aa
        lda $1b04,y
        sta $10b1,x
        lda $1b05,y
        sta $10b5,x
        rts

loc_18a6:
        lda #$01
        bne loc_18b0

loc_18aa:
        lda #$00
        beq loc_18b0

loc_18ae:
        lda #$ff

loc_18b0:
        sta $10b9,x
        rts

// --- Region $19b0-$19b4 ---
.pc = $19b0 "Segment $19b0"
        ora $1919,y
        .byte $1a                                   // nop // ILLEGAL
        .byte $1a                                   // nop // ILLEGAL

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

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

spr_0800:
        // === Sprite data (16 bytes, $0800-$080f) ===
        .byte $67,$12,$cf                           // .##..###...#..#.##..####
        .byte $0a,$67,$88                           // ....#.#..##..####...#...
        .byte $5b,$c3,$35                           // .#.##.####....##..##.#.#
        .byte $e0,$5d,$89                           // ###......#.###.##...#..#
        .byte $93,$c2,$1b                           // #..#..####....#....##.##
        .byte $aa

// --- Region $091f-$0941 ---
.pc = $091f "spr_091f"

spr_091f:
        // === Sprite data (33 bytes, $091f-$093f) ===
        .byte $00,$28,$01                           // ..........#.#..........#
        .byte $08,$a0,$00                           // ....#...#.#.............
        .byte $b1,$fc,$91                           // #.##...#######..#..#...#
        .byte $fe,$c8,$d0                           // #######.##..#...##.#....
        .byte $f9,$e6,$fd                           // #####..####..##.######.#
        .byte $e6,$ff,$a5                           // ###..##.#########.#..#.#
        .byte $fd,$c9,$ff                           // ######.###..#..#########
        .byte $d0,$ef,$a9                           // ##.#....###.#####.#.#..#
        .byte $37,$85,$01                           // ..##.####....#.#.......#
        .byte $a9,$00,$4c                           // #.#.#..#.........#..##..
        .byte $e2,$fc,$4c                           // ###...#.######...#..##..
        .byte $01,$08                               // ..

// --- Region $0ad2-$0adf ---
.pc = $0ad2 "dat_0ad2"

dat_0ad2:
        .byte $03,$31,$23,$31,$ea,$47,$fe,$20,$01,$02,$07,$00,$01,$01 // .1#1.G. ......

// --- Region $0b77-$0e1e ---
.pc = $0b77 "txt_0b77"

txt_0b77:
        .text "()*+,-.V"
        .byte $7e,$a6,$ce,$f6,$1e,$1f,$20,$21,$22,$fa,$d2,$aa,$ab,$ab,$d3,$fb // ~..... !".......
        .byte $23,$4b,$73,$9b,$9c,$9d,$9e,$9f,$77,$4f,$4f,$27,$ff,$d7,$af,$87 // #Ks.....wOO'....
        .byte $88,$89,$8a,$8b,$8c,$8d,$8e,$8f,$b7,$df,$07,$2f,$57,$7f,$7e,$7d // .........../W.~}
        .byte $7c,$7b,$7a,$79,$79,$51,$29,$01,$d9,$b1,$b2,$b3,$b4,$b5,$b6,$de // |{zyyQ).........
        .byte $b8,$b9,$e1,$09
        .text "11YZ"
        .byte $5b
        .byte $5c,$5d
        .byte $35,$0d,$e5,$bd,$95
        .byte $96,$be,$e6,$0e,$0f,$10,$11,$e9,$c1,$99,$71,$72,$73,$74,$75,$76 // ..........qrstuv
        .byte $77,$00,$90,$91,$92,$93,$94,$95,$96,$97,$6f,$47,$1f,$f7,$cf,$a7 // w.........oG....
        .byte $7f,$80,$81,$82,$83,$84,$85,$ad,$d5,$fd,$fc,$fb,$fa,$f9,$21,$22 // ..............!"
        .byte $23,$24,$4c,$74,$75,$76,$77,$78,$79,$7a,$7b,$53,$2b,$03,$db,$da // #$Ltuvwxyz{S+...
        .byte $d9,$d8,$d7,$ff                       // ....

txt_0c13:
        .text "'OPQR*TUVW"
        .byte $06,$de,$b6,$8e,$66,$3e,$3d,$65,$8d,$b5,$dd,$05,$2d,$2e,$2f,$07 // ....f>=e....-./.

txt_0c2d:
        .text "123456"
        .byte $0e,$e6,$be,$bd,$bc,$bb,$ba,$b9,$b8,$e0,$08,$30,$58,$80,$81,$82 // ...........0X...
        .byte $83,$84,$85,$86,$87,$88,$60,$61,$62,$63,$64,$65,$66,$67,$00 // ......`abcdefg.

txt_0c52:
        .text "444444444"
        .byte $14                                   // .

txt_0c5c:
        .text "$4%55554444444555"
        .byte $15
        .byte $25,$15,$15
        .byte $35,$25,$15
        .text "%%4$"
        .byte $14,$14,$14,$14
        .byte $34
        .byte $24,$14,$24,$14,$24,$34,$14           // $.$.$4.

txt_0c84:
        .text "55555555"
        .byte $15,$15,$15,$25,$15,$35,$04,$04,$04,$04,$04,$04,$04,$04,$04,$04 // ...%.5..........
        .byte $04,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05,$04,$04,$04,$04,$04 // ................
        .byte $04,$05,$05,$05,$05,$04,$04,$04,$04,$04,$04,$04,$04,$04,$04,$00 // ................
        .byte $05,$b5,$c5,$f5,$d5,$15,$15,$15,$15,$15,$15,$14,$14,$14,$14,$14 // ................
        .fill 12, $14
        .byte $15,$15,$15,$d5,$f5,$c5,$b5,$05,$05,$05,$05,$05,$05,$05,$05,$05 // ................
        .byte $04,$04,$04,$04,$04,$04,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05 // ................
        .byte $05,$04,$04,$04,$04,$04,$04,$04,$04,$04,$04,$05,$05,$05,$05,$05 // ................
        .byte $05,$05,$05,$05,$05,$05,$05,$04,$04,$04,$04,$04,$04,$04,$04,$04 // ................
        .fill 20, $05
        .byte $00                                   // .

txt_0d2d:
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $6e,$5d,$5d,$5d,$5d,$5d,$6d,$40,$40,$40,$7d,$5d,$5d,$70,$6e,$6e // n]]]]]m@@@}]]pnn
        .byte $5d,$5d,$5d,$5d,$5d,$6d,$40,$40,$40,$7d,$5d,$5d,$5d,$5d,$5d,$5d // ]]]]]m@@@}]]]]]]
        .byte $5d,$70                               // ]p

txt_0d55:
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .text " "
        .byte $5d,$5d,$5d,$5d,$5d,$7d
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $6d,$6d,$5d,$5d,$5d
        .byte $5d,$70                               // ]p

txt_0d6f:
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .text " "
        .byte $40                                   // @ character
        .byte $6e,$5d,$5d,$5d,$5d,$6d,$40,$40,$40,$7d,$5d,$5d,$5d,$5d,$70,$6e // n]]]]m@@@}]]]]pn
        .byte $5d,$5d,$6d,$40,$40,$7d,$5d,$5d,$5d,$70 // ]]m@@}]]]p

txt_0d90:
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $00                                   // string terminator

txt_0d97:
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $7d,$5d,$5d,$5d,$5d,$5d,$5d,$70
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $6e,$5d,$5d
        .byte $7d,$40,$40,$40,$70,$6d,$40,$40,$6e,$5d,$6d // }@@@pm@@n]m

txt_0db9:
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .text " "
        .byte $7d,$5d,$5d,$5d,$6e,$40,$40,$40,$70,$5d,$5d,$6d // }]]]n@@@p]]m

txt_0dcb:
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .text " "
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $7d,$20,$5d,$5d,$5d,$5d,$5d,$6e,$70,$5d,$5d,$5d,$5d,$5d,$6d // } ]]]]]np]]]]]m

txt_0de0:
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .text " "
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $7d,$5d,$5d,$6e
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $70,$5d,$5d,$5d,$5d,$6d

txt_0df7:
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $7d,$70                               // }p

spr_0e00:
        // === Sprite data (31 bytes, $0e00-$0e1e) ===
        .byte $40,$40,$40                           // .#.......#.......#......
        .byte $40,$40,$40                           // .#.......#.......#......
        .byte $40,$00,$55                           // .#...............#.#.#.#
        .byte $59,$52,$53                           // .#.##..#.#.#..#..#.#..##
        .byte $7a,$51,$44                           // .####.#..#.#...#.#...#..
        .byte $57,$46,$5e                           // .#.#.###.#...##..#.####.
        .byte $5f,$55,$45                           // .#.#####.#.#.#.#.#...#.#
        .byte $6c,$76,$54                           // .##.##...###.##..#.#.#..
        .byte $43,$52,$79                           // .#....##.#.#..#..####..#
        .byte $41,$59,$41                           // .#.....#.#.##..#.#.....#

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

// --- Region $0f00-$0fa8 ---
.pc = $0f00 "txt_0f00"

txt_0f00:
        .text "      WOW + ROLE PROUDLY PRESENT :      <<<<<<<<<<<<<<<<<<<<<<<<             BOMBMANIA PRV.             <<<<<<<<<<<<<<<<<<<<<<<<          RELEASED BY RESTIVE!          "
        .byte $00                                   // string terminator

// --- Region $100d-$10c8 ---
.pc = $100d "Segment $100d"
        .text "MUSIC BY MARTIJN"
        .text " SCHUTTEN, PLAYE"
        .text "R BY FALCO PAUL "
        .byte $2d,$00,$00,$01,$00,$01,$02,$0c,$00,$00,$00,$f4,$40,$0f,$11,$19 // -...........@...
        .byte $19,$38,$40,$80,$82,$82,$ff,$16,$63,$42,$00,$00,$00,$00,$00,$00 // .8@.....cB......
        .byte $00,$00,$00,$16,$63                   // ....c

txt_1062:
        .text "B<,U"
        .byte $00                                   // string terminator
        .byte $00,$00,$01,$01,$01,$19,$0d,$0d,$30,$1f,$00,$01,$01,$04,$9c,$ab // ........0.......
        .byte $bb,$1b,$1b,$1b,$00,$00,$00,$00,$e5,$ff,$5a,$4e,$6f,$11,$40,$80 // ..........ZNo.@.
        .byte $04,$00,$09,$01,$00,$09,$a0,$00,$00,$01,$0c,$00,$03,$01,$00,$89 // ................
        .byte $4e,$18,$20,$0d,$8e,$00,$00,$00,$00,$00,$00,$41,$00,$8b,$07,$00 // N. ........A....
        .byte $03,$7f,$00,$0b,$00,$00,$00,$01,$00,$01,$08,$fc,$00,$5c,$08,$04 // .............\..
        .byte $00,$04,$00,$04,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 // ................
        .byte $00,$00                               // ..

// --- Region $18b4-$19af ---
.pc = $18b4 "dat_18b4"

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

txt_18bd:
        .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_196d:
        .text "!#%'*,/258;?CGKOTY"
        .byte $5e,$64,$6a,$70,$77,$7e,$86,$8e,$96,$9f,$a8,$b3,$bd,$c8,$d4,$e1 // ^djpw~..........
        .byte $ee,$fd,$b7,$bc,$bd,$be,$bf,$c0,$c1,$c2,$c3,$c4,$c5,$c6,$d8,$ea // ................
        .byte $fc,$0e,$20,$32,$33,$19,$19,$19,$19,$19,$19,$19,$19,$19,$19,$19 // .. 23...........
        .byte $19                                   // .

// --- Region $19b5-$27ff ---
.pc = $19b5 "dat_19b5"

dat_19b5:
        .byte $1a,$1a,$03,$02,$01,$00,$80,$00,$00,$00,$00,$00,$00,$00,$00,$00 // ................
        .byte $00,$00,$00,$00,$00,$04,$04,$04,$04,$09,$09,$09,$09,$04,$04,$04 // ................
        .byte $04,$81,$00,$00,$00,$00,$00,$03,$03,$03,$03,$08,$08,$08,$08,$03 // ................
        .byte $03,$03,$03,$81,$00,$00,$00,$00,$00,$05,$05,$05,$05,$09,$09,$09 // ................
        .byte $09,$05,$05,$05,$05,$81,$00,$00,$00,$00,$00,$04,$04,$04,$04,$07 // ................
        .byte $07,$07,$07,$04,$04,$04,$04,$81,$00,$00,$00,$00,$00,$05,$05,$05 // ................
        .byte $05,$08,$08,$08,$08,$05,$05,$05,$05,$81,$00,$00,$00,$00,$00,$03 // ................
        .byte $03,$03,$03,$07,$07,$07,$07,$03,$03,$03,$03,$81,$00,$00,$00,$44 // ...............D
        .byte $4b,$55,$69,$1a,$1a,$1a,$1a,$49,$50,$5f,$70,$1a,$1a,$1a,$1a,$21 // KUi....IP_p....!
        .byte $41,$41,$11,$fe,$fd,$fe,$81,$41,$40,$80,$fe,$05,$05,$03,$28,$fe // AA.....A@.....(.
        .byte $81,$40,$40,$80,$80,$40,$40,$80,$10,$fe,$32,$10,$0f,$32,$31,$0e // .@@..@@...2..21.
        .byte $0d,$30,$0a,$fe,$81,$11,$80,$10,$10,$80,$fe,$f0,$1e,$f0,$1c,$1b // .0..............
        .byte $f0,$fe,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$41,$01,$00 // .............A..
        .byte $ec,$00,$00,$08,$80,$20,$00,$00,$11,$00,$00,$5a,$00,$01,$08,$a0 // ..... .....Z....
        .byte $00,$20,$00,$81,$03,$00,$f8,$00,$00,$00,$b8,$70,$00,$00,$11,$02 // . .........p....
        .byte $00,$c8,$00,$00,$08,$b8,$70,$00,$00,$21,$20,$00,$78,$00,$00,$07 // ......p..! .x...
        .byte $40,$00,$00,$80,$81,$80,$ff,$6f,$a0,$00,$00,$00,$10,$00,$00,$41 // @......o.......A
        .byte $40,$00,$da,$00,$00,$07,$60,$30,$10,$60,$41,$40,$00,$dd,$00,$00 // @.....`0.`A@....
        .byte $07,$60,$30,$10,$60,$41,$40,$e5,$4e,$20,$00,$0e,$00,$00,$00,$40 // .`0.`A@.N .....@
        .byte $41,$40,$00,$5f,$00,$20,$04,$20,$00,$20,$50,$0a,$f0,$00,$1b,$01 // A@._. . . P.....
        .byte $02,$00,$e0,$12,$f0,$00,$1b,$01,$02,$00,$e0,$00,$01,$02,$01,$00 // ................
        .byte $ff,$fe,$ff,$81,$00,$40,$05,$f0,$40,$04,$01,$00,$00,$c0,$01,$40 // .....@..@......@
        .byte $06,$04,$00,$06,$00,$80,$00,$f0,$10,$04,$01,$00,$00,$28,$00,$70 // .............(.p
        .byte $00,$03,$00,$01,$00,$10,$07,$f0,$10,$04,$01,$8a,$1b,$58,$00,$c3 // .............X..
        .byte $00,$42,$00,$01,$00,$00,$00,$00,$00,$04,$01,$00,$00,$01,$03,$00 // .B..............
        .byte $0c,$12,$00,$52,$00,$00,$00,$00,$00,$00,$00,$00,$00,$10,$02,$80 // ...R............
        .byte $0a,$41,$00,$41,$00,$00,$00,$00,$00,$00,$00,$00,$00,$20,$02,$12 // .A.A......... ..
        .byte $0d,$42,$00,$42,$00,$f0,$07,$f0,$10,$00,$00,$00,$00,$00,$01,$ff // .B.B............

txt_1b75:
        .encoding "screencode_mixed"
        .text "g"
        .text "@"
        .text "@"
        .text "@"
        .text "@"
        .text "@"
        .text "@"
        .text "@"
        .text "@"
        .text "@"
        .text "@"
        .text "@"
        .text "@"
        .text " a m"
        .encoding "petscii_upper"
        .byte $74,$00,$24,$00,$05,$30,$03,$20,$01,$63,$fe,$02,$0c,$01,$9c,$1b // t.$..0. .c......
        .byte $01,$ab,$1b,$01,$bb,$1b,$98,$01,$01,$05,$8c,$0b,$0b,$8c,$0f,$10 // ................
        .byte $0b,$13,$10,$ff,$04,$8c,$02,$02,$06,$0a,$0a,$8c,$0a,$0a,$11,$0a // ................
        .byte $0a,$0a,$11,$ff,$04,$8c,$03,$03,$03,$03,$04,$04,$04,$04,$04,$04 // ................
        .byte $09,$0e,$8c,$0c,$0c,$12,$03,$03,$03,$03,$03,$03,$03,$03,$ff,$0b // ................
        .byte $fe,$00,$43,$6d,$74,$82,$a1,$b2,$b2,$b2,$ae,$c2,$45,$e2,$2f,$e2 // ..Cmt.......E./.
        .byte $48,$6f,$80,$03,$1b,$1c,$1c,$1c,$1c,$1c,$1c,$1c,$1c,$1c,$1d,$1d // Ho..............
        .byte $1e,$1e,$1d,$1e,$1f,$1f,$1f,$20,$64,$ff,$8c,$c2,$e1,$21,$9c,$28 // ....... d....!.(
        .byte $88,$28,$86,$26,$28,$84,$26,$a0,$98,$23,$88,$21,$8c,$21,$9c,$28 // .(.&(.&..#.!.!.(
        .byte $88,$28,$86,$26,$28,$84,$26,$a0,$98,$23,$88,$23,$8c,$24,$9c,$21 // .(.&(.&..#.#.$.!
        .byte $88,$21,$86,$26,$21,$84,$26,$a0,$98,$23,$88,$21,$8c,$24,$9c,$21 // .!.&!.&..#.!.$.!
        .byte $88,$21,$86,$26,$21,$84,$26,$a0,$98,$23,$88,$21,$ff,$a0,$c9,$ec // .!.&!.&..#.!....
        .byte $24,$a0,$ee,$21,$a0,$a0,$ec,$1f,$a0,$ec,$24,$a0,$ee,$21,$a0,$a0 // $..!......$..!..
        .byte $ec,$1f,$a0,$ed,$21,$a0,$ee,$21,$a0,$a0,$ec,$1f,$a0,$ed,$21,$a0 // ....!..!......!.
        .byte $ee,$21,$a0,$a0,$ec,$1f,$ff,$a0,$a0,$a0,$a0,$c6,$48,$ff,$9c,$c1 // .!..........H...
        .byte $00,$84,$00,$a0,$00,$a0,$00,$84,$00,$9c,$00,$ff,$8c,$24,$9c,$21 // .............$.!
        .byte $88,$23,$86,$23,$21,$84,$1f,$a0,$98,$1c,$88,$24,$8c,$24,$9c,$21 // .#.#!......$.$.!
        .byte $88,$23,$86,$23,$21,$84,$1f,$a0,$a0,$21,$ff,$a0,$ed // .#.#!....!...

txt_1ca3:
        .text "!#"
        .byte $a0                                   // ' ' | $80 (end-of-string marker)
        .byte $a0,$ec,$1f,$a0,$ed                   // .....

txt_1cab:
        .text "!#"
        .byte $a0                                   // ' ' | $80 (end-of-string marker)
        .byte $a0,$f1,$21,$ff,$86,$c7,$09,$82,$15,$64,$84,$09,$88,$09,$84,$c3 // ..!......d......
        .byte $00,$c7,$09,$86,$02,$82,$0e,$64,$02,$84,$02,$02,$82,$02,$84,$c3 // .......d........
        .byte $00,$c7,$02,$86,$c7,$04,$82,$10,$64,$84,$04,$88,$04,$84,$c3,$00 // ........d.......
        .byte $c7,$04,$86,$04,$82,$10,$64,$04,$84,$04,$04,$82,$04,$84,$c3,$00 // ......d.........
        .byte $c7,$04,$86,$c7,$05,$82,$11,$64,$84,$05,$88,$05,$84,$c3,$00,$c7 // .......d........
        .byte $05,$86,$02,$82,$0e,$64,$02,$84,$02,$02,$82,$02,$84,$c3,$00,$c7 // .....d..........
        .byte $02,$86,$c7,$04,$82,$10,$64,$84,$04,$88,$04,$84,$c3,$00,$c7,$04 // ......d.........
        .byte $86,$04,$82,$10,$64,$04,$84,$04,$04,$82,$04,$84,$c3,$00,$c7,$04 // ....d...........
        .byte $ff,$86,$c7,$09,$82,$15,$64,$84,$09,$88,$09,$84,$c3,$00,$c7,$09 // ......d.........
        .byte $86,$02,$82,$0e,$64,$02,$84,$02,$02,$82,$02,$84,$c3,$00,$c7,$02 // ....d...........
        .byte $86,$c7,$04,$82,$10,$64,$84,$04,$88,$04,$84,$c3,$00,$c7,$04,$86 // .....d..........
        .byte $04,$82,$10,$64,$04,$84,$04,$04,$82,$04,$84,$c3,$00,$c7,$04,$86 // ...d............
        .byte $c7,$05,$82,$11,$64,$84,$05,$88,$05,$84,$c3,$00,$c7,$05,$86,$02 // ....d...........
        .byte $82,$0e,$64,$02,$84,$02,$02,$82,$02,$84,$c3,$00,$c7,$02,$86,$c7 // ..d.............
        .byte $04,$82,$10,$64,$84,$04,$88,$04,$84,$c3,$00,$c7,$04,$86,$04,$82 // ...d............
        .byte $10,$64,$04,$84,$04,$04,$82,$04,$82,$c4,$00,$84,$00,$82,$00,$ff // .d..............
        .byte $a0,$c9,$ec,$24,$ee,$21,$a0,$a0,$ec,$1f,$a0,$ed,$21,$ee,$21,$a0 // ...$.!......!.!.
        .byte $a0,$ec,$1f,$ff,$82,$c5               // ......

txt_1dc4:
        .text "($!($!($-($($!($*&!*&!*&-*&*&!*&(#"
        .byte $1f,$28,$23,$1f                       // .(#.

txt_1dea:
        .text "(#+(#(#"
        .byte $1f
        .text "(#(#"
        .byte $1f
        .byte $28,$23,$1f

txt_1dfa:
        .text "(#+(#(#"
        .byte $1f                                   // .

txt_1e02:
        .text "(#)$!)$!)$-)$)$!)$*&!*&!*&-*&*&!*&(#"
        .byte $1f,$28,$23,$1f                       // .(#.

txt_1e2a:
        .text "(#+(#(#"
        .byte $1f
        .text "(#(#"
        .byte $1f
        .byte $28,$23,$1f

txt_1e3a:
        .text "(#+(#(#"
        .byte $1f,$28,$23,$ff,$86,$c7,$09,$82,$15,$84,$c4,$00,$84,$c7,$09,$88 // .(#.............
        .byte $09,$84,$c4,$00,$84,$c7,$09,$86,$02,$82,$0e,$84,$c4,$00,$82,$c7 // ................
        .byte $02,$84,$02,$02,$82,$02,$84,$c4,$00,$84,$c7,$02,$86,$04,$82,$10 // ................
        .byte $84,$c4,$00,$84,$c7,$04,$88,$04,$84,$c4,$00,$84,$c7,$04,$86,$04 // ................
        .byte $82,$10,$84,$c4,$00,$82,$c7,$04,$84,$04,$04,$82,$04,$84,$c4,$00 // ................
        .byte $84,$c7,$04,$86,$05,$82,$11,$84,$c4,$00,$84,$c7,$05,$88,$05,$84 // ................
        .byte $c4,$00,$84,$c7,$05,$86,$02,$82,$0e,$84,$c4,$00,$82,$c7,$02,$84 // ................
        .byte $02,$02,$82,$02,$84,$c4,$00,$84,$c7,$02,$86,$04,$82,$10,$84,$c4 // ................
        .byte $00,$84,$c7,$04,$88,$04,$84,$c4,$00,$84,$c7,$04,$86,$04,$82,$10 // ................
        .byte $84,$c4,$00,$82,$c7,$04,$84,$04,$04,$82,$04,$86,$c4,$00,$82,$00 // ................
        .byte $ff,$94,$ca,$60,$00,$1e,$32,$34,$84,$32,$88,$30,$84,$2f,$8c,$2d // ...`..24.2.0./.-
        .byte $88,$2f,$84,$30,$98,$2f,$88,$2b,$94,$28,$88,$28,$2b,$94,$2d,$84 // ./.0./.+.(.(+.-.
        .byte $2f,$88,$30,$8c,$60,$00,$1e,$30,$32,$84,$30,$2f,$88,$30,$b8,$2f // /.0.`..02.0/.0./
        .byte $84,$30,$88,$32,$94,$60,$00,$1e,$32,$34,$84,$32,$88,$30,$84,$2f // .0.2.`..24.2.0./
        .byte $8c,$2d,$88,$2f,$84,$30,$98,$2f,$88,$2b,$94,$28,$88,$28,$2b,$94 // .-./.0./.+.(.(+.
        .byte $2d,$84,$2f,$88,$30,$8c,$60,$00,$1e,$30,$32,$84,$30,$2f,$88,$30 // -./.0.`..02.0/.0
        .byte $b8,$2f,$84,$2d,$88,$2f,$ff,$94,$30,$84,$2f,$88,$2d,$8c,$32,$84 // ./.-./..0./.-.2.
        .byte $30,$88,$2f,$84,$2b,$a4,$94,$28,$84,$2d,$88,$2f,$94,$30,$84,$2f // 0./.+..(.-./.0./
        .byte $88,$2d,$8c,$32,$84,$30,$88,$2f,$84,$2d,$a0,$a4,$2d,$ff,$a0,$ed // .-.2.0./.-..-...

txt_1f71:
        .text "!#"
        .byte $a0                                   // ' ' | $80 (end-of-string marker)
        .byte $a0,$ec,$1f,$a0,$ed                   // .....

txt_1f79:
        .text "!#"
        .byte $a0                                   // ' ' | $80 (end-of-string marker)
        .byte $a0,$f1,$21,$ff,$86,$c7,$05,$82,$11,$84,$c4,$00,$84,$c7,$05,$88 // ..!.............
        .byte $05,$84,$c4,$00,$84,$c7,$05,$86,$07,$82,$07,$84,$c4,$00,$84,$c7 // ................
        .byte $07,$88,$07,$84,$c4,$00,$84,$c7,$07,$86,$04,$82,$10,$84,$c4,$00 // ................
        .byte $84,$c7,$04,$88,$04,$84,$c4,$00,$84,$c7,$04,$86,$04,$82,$10,$84 // ................
        .byte $c4,$00,$84,$c7,$04,$88,$04,$86,$c4,$00,$82,$00,$86,$c7,$05,$82 // ................
        .byte $11,$84,$c4,$00,$84,$c7,$05,$88,$05,$84,$c4,$00,$84,$c7,$05,$86 // ................
        .byte $07,$82,$07,$84,$c4,$00,$84,$c7,$07,$88,$07,$84,$c4,$00,$84,$c7 // ................
        .byte $07,$86,$09,$82,$15,$84,$c4,$00,$84,$c7,$09,$88,$09,$84,$c4,$00 // ................
        .byte $84,$c7,$09,$00                       // ....

txt_2000:
        .text "U        .                 "
        .byte $70,$20,$6e,$20,$55,$20,$6c           // p n U l

txt_2022:
        .text ", U  ,UIU     U"
        .byte $6e,$55,$70,$70,$70,$55,$70           // nUpppUp

txt_2038:
        .text "UU     UGU"
        .byte $6b
        .text "UUUUU"
        .byte $6b,$6e
        .byte $20,$5d,$5d,$70,$70
        .byte $55,$70
        .byte $55
        .byte $70,$20,$6b,$47,$6e,$6e,$4a,$55,$4a,$5d,$20,$5d // p kGnnJUJ] ]

txt_205e:
        .text "   H "
        .byte $5b                                   // [

txt_2064:
        .text "JW  GHG"
        .byte $7a,$20,$64,$20,$20,$47,$5d,$55,$20,$6d,$6d,$6b,$20,$6b // z d  G]U mmk k

txt_2079:
        .text "J..NFM JJ"
        .byte $6d,$4a,$4a,$47,$6b,$4a,$5d,$6d,$20,$6b,$4a,$5d,$5d,$4a,$6b,$4a // mJJGkJ]m kJ]]JkJ
        .byte $5d                                   // ]

txt_2093:
        .text "UJJJJUJ "
        .byte $6d,$20,$7d                           // m }

txt_209e:
        .text "   . "
        .byte $5b                                   // [

txt_20a4:
        .text "JN  JKJ"
        .byte $6a,$2c,$63,$2e,$4e,$4a,$71,$6d,$6d,$20,$6d // j,c.NJqmm m

txt_20b6:
        .text "J JJ.,MDN      J    F     "
        .byte $7d                                   // }

txt_20d1:
        .text "           R"

dat_20dd:
        // === Fill data (35 bytes, $20dd-$20ff) ===
        .fill 35, $20
        .text "D         .     "
        .fill 15, $20
        .text "I  , "
        .byte $5b

txt_2125:
        .text "     D     "
        .byte $40                                   // @ character
        .text " "
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .text " "
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .text "     DWDDDDDDDD "
        .byte $6e                                   // n

txt_214b:
        .text "  IIDDDDU"
        .byte $40                                   // @ character
        .text "   I "
        .byte $6e                                   // n

txt_215b:
        .text "    J   "
        .byte $5b                                   // [

txt_2164:
        .byte $40                                   // @ character
        .text "N    "
        .byte $03,$6f,$20,$64                       // .o d

txt_216e:
        .text " NN "
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .text "U"
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .text ".. F UF"
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .text "  "
        .byte $5d,$72                               // ]r

txt_218c:
        .text "F J"
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .text " KF"
        .byte $40                                   // @ character
        .text "FJJF"
        .byte $6d                                   // m

txt_219b:
        .text "        "
        .byte $5b,$5b                               // [[

txt_21a5:
        .text "W    F  "
        .byte $63                                   // c

txt_21ae:
        .text "  "
        .byte $40                                   // @ character
        .text " "
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .text " "
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .byte $71                                   // q

txt_21b8:
        .byte $40                                   // @ character
        .byte $40                                   // @ character
        .text "., D .     "
        .byte $40                                   // @ character
        .text " "
        .byte $40                                   // @ character
        .text "  KJ             F  R"

dat_21dd:
        // === Fill data (35 bytes, $21dd-$21ff) ===
        .fill 35, $20
        .byte $49                                   // I

dat_2201:
        // === Fill data (35 bytes, $2201-$2223) ===
        .fill 35, $20
        .text "I     I     I II"
        .byte $6e,$6e,$49,$6e                       // nnIn

txt_2238:
        .text "II     I"
        .byte $7d,$6e,$49,$20,$73,$49,$73           // }nI sIs

txt_2247:
        .text "II    I"
        .byte $5d,$49,$49,$6e,$49,$4b,$20,$5d,$48,$5d,$4b,$5d // ]IInIK ]H]K]

txt_225a:
        .text "     K    I     H     H K"
        .byte $73,$5b,$49,$49,$4b,$73,$73           // s[IIKss

txt_227a:
        .text "     K "
        .byte $71,$4b,$40,$7d,$4b,$20,$73,$6d       // qK@}K sm

txt_2289:
        .text "  K "
        .byte $5d,$7d,$4b,$4b,$73,$20,$20,$7d,$7d,$4b,$4b,$49,$73 // ]}KKs  }}KKIs

txt_229a:
        .text "I         K     K     K "
        .byte $7d,$4b,$71                           // }Kq

txt_22b5:
        .text "KK KK             K         "
        .byte $6d                                   // m

txt_22d2:
        .text "       K"

dat_22da:
        // === Fill data (38 bytes, $22da-$22ff) ===
        .fill 38, $20

txt_2300:
        .encoding "screencode_mixed"
        .text "wow and role are back with  bombmania preview, bought and smacked down by restive! i am waiting to see the promising full game! get all the other warez from us"
        .encoding "petscii_upper"

txt_239f:
        .text "! .......  "

txt_23aa:
        .encoding "screencode_mixed"
        .text "shouts out to"
        .encoding "petscii_upper"

txt_23b7:
        .text "... "

txt_23bb:
        .encoding "screencode_mixed"
        .text "chromance, hitmen, scs+trc, excess, afl, dytec, onslaught, motiv8, laxity and f4cg!  cu in another release"
        .encoding "petscii_upper"

txt_2425:
        .text "....    11/97"

dat_2432:
        // === Fill data (189 bytes, $2432-$24ee) ===
        .fill 189, $20

dat_24ef:
        // === Fill data (785 bytes, $24ef-$27ff) ===
        .fill 785, $ff
