// ============================================
// output - Disassembled Source
// ============================================
// KickAssembler syntax
// Generated by Restore 64 v0.2.1 alpha build 298, 2026-04-11 21:37:01
// https://restore64.dev by datucker / Rabenauge
//
// Load address: $0801  End: $cffe  (51198 bytes)
// Crunched with Exomizer — depacked by emulation
// Packer entry: $080d (via BASIC SYS 2061)
// Entry point:  $cbc0 (52160)
// IRQ handler:  $cc3e (irq_cc3e)
// IRQ handler:  $cc79 (irq_cc79)
// IRQ handler:  $ea31 (loc_ea31)
//
// Code: 415 bytes, Data: 50783 bytes
// Labels: 54, Subroutines: 2
//
// Verification: 4 line(s) auto-corrected to .byte for exact byte matching
//
// Cross-references: all OK
// ============================================


// --- Region $8dd0-$8dd0 ---
.pc = $8dd0 "Segment $8dd0"
        brk

// --- Region $cb00-$cb8e ---
.pc = $cb00 "loc_cb00"

loc_cb00:
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop

loc_cb13:
        lda #$00
        sta $3d
        lda #$c9
        sta $3e

loc_cb1b:
        dec $37
        lda $37
        and #$07
        cmp #$07
        bne loc_cb41
        ldx #$00

loc_cb27:
        lda $07c1,x
        sta $07c0,x
        inx
        cpx #$27
        bne loc_cb27
        ldy #$00
        lda ($3d),y
        beq loc_cb13
        sta $07e6
        inc $3d
        bne loc_cb41

dat_cb3f:
        .byte $e6,$3e                               // .>

loc_cb41:
        lda $37
        and #$07
        ora #$c0
        tax

loc_cb48:
        lda $d012
        cmp #$f2
        bne loc_cb48
        stx $d016
        ldx #$ff

loc_cb54:
        dex
        bne loc_cb54
        beq loc_cb1b
        brk

dat_cb5a:
        .byte $00,$00,$00,$00,$00,$00               // ......
// Referenced by: jsr from $cbab

sub_cb60:
        ldx #$26

loc_cb62:
        lda $da08,x
        sta $da09,x
        nop
        nop
        nop
        sta $dbc0,x
        dex
        cpx #$ff
        bne loc_cb62
        lda dat_cfa0
        sta $da08
        ldx #$00
        lda dat_cfa0
        tay

loc_cb7f:
        lda $cfa1,x
        sta dat_cfa0,x
        inx
        cpx #$19
        bne loc_cb7f
        tya
        sta $cfb8
        rts

// --- Region $cbab-$cbf7 ---
.pc = $cbab "loc_cbab"

loc_cbab:
        jsr sub_cb60
        jsr $ffe4
        cmp #$20
        bne loc_cbb8
        jmp loc_cbd7

loc_cbb8:
        jmp $ea31

dat_cbbb:
        .byte $00,$00,$00,$00,$00                   // .....

main_cbc0:
        lda #$00
        sta $d020
        sta $d021
        sta $0286
        lda #$93
        jsr $ffd2
        jsr sub_cc00
        jmp loc_cbef

dat_cbd6:
        .byte $00                                   // .

loc_cbd7:
        sei
        lda #$ea
        sta $0315
        lda #$31
        sta $0314
        cli
        jsr $ff81
        jsr $ff84
        jsr $fce2
        brk

dat_cbed:
        .byte $00,$00                               // ..

loc_cbef:
        lda #$08
        jsr $ffd2
        jmp loc_cb00

dat_cbf7:
        .byte $00                                   // .

// --- Region $cc00-$ccd3 ---
.pc = $cc00 "sub_cc00"
// Referenced by: jsr from $cbd0

sub_cc00:
        sei
        lda #$3e
        sta $0314
        lda #$cc
        sta $0315
        lda $d011
        and #$7f
        sta $d011
        lda #$90
        sta $d012
        lda #$81
        sta $d019
        sta $d01a
        lda $dc0e
        and #$fe
        sta $dc0e
        lda $d016
        and #$f7
        ora #$07
        sta $d016
        lda #$e0
        sta $fb
        lda #$cc
        sta $fc
        dec $fb
        cli
        rts
irq_cc3e: {
        lda $d019
        and #$01
        beq skip2
        dec $fd
        bpl skip1
        lda #$07
        sta $fd
skip1:
        dec $fd
        lda $d016
        and #$f0
        ora $fd
        sta $d016
        lda #$79
        sta $0314
        lda #$cc
        sta $0315
        lda #$a4
        sta $d012
skip2:
        lda #$81
        sta $d019
        sta $d01a
        lda $dc0d
        pla
        tay
        pla
        tax
        pla
        rti
}

irq_cc79:
        lda $d019
        and #$01
        beq loc_ccc8
        lda $d016
        ora #$07
        sta $d016
        lda $fd
        bne loc_ccb9
        tay

loc_cc8d:
        iny
        lda $0608,y
        dey
        sta $0608,y
        lda #$01
        sta $dbc0,y
        iny
        cpy #$28
        bne loc_cc8d
        ldy #$00
        inc $fb
        bne loc_cca7
        inc $fc

loc_cca7:
        lda ($fb),y
        bne loc_ccb6
        lda #$e0
        sta $fb
        lda #$cc
        sta $fc
        jmp loc_cca7

loc_ccb6:
        sta $062f

loc_ccb9:
        lda #$3e
        sta $0314
        lda #$cc
        sta $0315
        lda #$90
        sta $d012

loc_ccc8:
        lda #$81
        sta $d019
        sta $d01a
        jmp loc_cbab

txt_ccd3:
        .encoding "screencode_mixed"
        .text "i"
        .encoding "petscii_upper"

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

// --- Region $0801-$0b8d ---
.pc = $0801 "dat_0801"

dat_0801:
        // === BASIC loader stub ===
        .byte $0b,$08                                                     // [corrected] was: .byte $0c,$08                               // next line pointer ($080c)
        .byte $14,$00                                                     // [corrected] was: .byte $00,$00                               // line number 0
        .byte $9e                                   // SYS token
        .byte $32,$30,$36,$31,$00
        .byte $00                                   // end of line
        .byte $00,$a0                                                     // [corrected] was: .byte $00,$00                               // end of BASIC program
        .byte $00,$78,$e6,$01,$ba,$bd,$e1,$0a,$9d,$fc,$00,$ca,$d0,$f7,$4c,$af // .x............L.
        .byte $0a,$80,$00,$3c,$dc,$07,$19,$8b,$bc,$be,$f1,$56,$08,$54,$0b,$0b // ...<.......V.T..
        .byte $0f,$06
        .byte $4e,$73
        .byte $3c,$1a,$d1,$14
        .text "05VH"
        .byte $9f
        .byte $2d,$36,$98
        .byte $32,$4a,$a5,$01,$9f,$8c,$0c,$2f,$f8,$e5,$e4,$06,$a9,$fc,$17,$02 // 2J...../........
        .byte $33,$c4,$04,$51,$27,$91,$03,$95,$9c,$0c,$14,$37,$16,$85,$fa,$0a // 3..Q'......7....
        .byte $0e,$19,$0d,$0f,$79,$c8,$11,$b4,$17,$92,$49,$13,$6c,$78,$14,$09 // ....y.....I.lx..
        .byte $16,$07,$af,$a9,$95,$17,$25,$b7,$16,$15,$10,$e6,$21,$16,$68,$93 // ......%.....!.h.
        .byte $78,$4b,$01,$99,$71,$dc,$59,$34,$8e,$1d,$d0,$8c,$99,$84,$ee,$b8 // xK..q.Y4........
        .byte $89,$83,$6f,$5f,$26,$53,$8d,$b7,$93,$94,$b9,$d9,$3e,$87,$92,$c5 // ..o_&S......>...
        .byte $95,$82,$cd,$8f,$98,$88,$85,$f4,$84,$b3,$8c,$93,$6b,$a0,$8a,$8b // ............k...
        .byte $81,$f0,$a7,$6f,$80,$08,$00,$20,$40,$90,$ea,$1c,$bf,$3d,$65,$a9 // ...o... @....=e.
        .byte $85,$ad,$3e,$c6,$e2,$51,$c9,$08,$cb,$1c,$a0,$bd,$c1,$b3,$4a,$d3 // ..>..Q........J.
        .byte $37,$12,$27,$c9,$2c,$90,$1c,$b1,$f0,$8d,$db,$8d,$f5,$b6,$3d,$5a // 7.'.,.........=Z
        .byte $7b,$3e,$a5,$37,$29,$07,$1f,$09,$c0,$aa,$ad,$12,$fa,$c9,$f2,$5e // {>.7)..........^
        .byte $f9,$8e,$16,$5f,$2d,$ff,$ca,$d0,$fd,$f0,$df,$c2,$8a,$a2,$26,$83 // ..._-.........&.
        .byte $bd,$9a,$9a,$09,$be,$ea,$09,$9d,$89,$ec,$ca,$e0,$ff,$d0,$ef,$fb // ................
        .byte $22,$8d,$08,$da,$a2,$00,$ad,$3f,$99,$a8,$bd,$a1,$3a,$9d,$a0,$5a // "......?....:..Z
        .byte $e8,$e0,$d8,$66,$f5,$98,$8d,$b8,$cf,$cf,$60,$c2,$d0,$0f,$92,$60 // ...f......`....`
        .byte $ed,$e4,$ff,$c9,$97,$95,$03,$29,$d7,$cb,$4c,$31,$ea,$7d,$d6,$03 // .......)..L1.}..
        .byte $af,$6b,$6c,$21,$4c,$2c,$86,$02,$d7,$93,$54,$20,$8a,$cc,$4c,$ef // .kl!L,....T ..L.
        .byte $cb,$bf,$32,$ea,$34,$8a,$31,$15,$58,$23,$81,$ae,$84,$24,$74,$e2 // ..2.4.1.X#...$t.
        .byte $fc,$de,$a2,$3f,$08,$20,$d2,$ff,$4c,$7c,$11,$cb,$16,$11,$d0,$78 // ...?. ..L|.....x
        .byte $7b,$24,$ad,$0a,$ab,$7f,$4a,$11,$aa,$f4,$f0,$26,$a4,$fe,$9b,$0e // {$....J....&....
        .byte $dc,$b7,$18,$f7,$85,$ad,$80,$c2,$c0,$fb,$58,$3b,$60,$ea,$20,$23 // ..........X;`. #
        .byte $ac,$10,$04,$9d,$07,$85,$ee,$c6,$28,$d0,$c5,$f0,$e9,$05,$fd,$e7 // ........(.......
        .byte $21,$79,$5e,$e0,$a4,$f5,$01,$0d,$dc,$6e,$a8,$2c,$aa,$68,$40,$5c // !y^......n.,.h@\
        .byte $6b,$cc,$29,$01,$f0,$48,$ad,$fd,$09,$07,$8d,$27,$16,$a5,$a5,$fd // k.)..H.....'....
        .byte $d0,$2d,$a8,$f5,$b9,$d2,$88,$4a,$08,$a5,$01,$99,$d3,$db,$c8,$4b // .-.....J.......K
        .byte $c0,$28,$ee,$f5,$a0,$00,$f2,$19,$02,$e6,$39,$b1,$dd,$d0,$0b,$79 // .(........9....y
        .byte $e0,$72,$fb,$ca,$85,$fc,$4c,$a7,$79,$2f,$c9,$06,$3e,$aa,$14,$ad // .r....L.y/..>...
        .byte $cc,$25,$53,$1b,$90,$15,$53,$e5,$a9,$81,$69,$7e,$8d,$1a,$4b,$d0 // .%S...S...i~..K.
        .byte $4c,$ab,$cb,$f9,$70,$3e,$fc,$12,$a8,$20,$fa,$17,$e1,$09,$0c,$04 // L...p>... ......
        .byte $02,$0f,$fc,$ac,$10,$db,$f2,$64,$0e,$3b,$8c,$3a,$f4,$06,$47,$25 // .......d.;.:..G%
        .byte $3d,$31,$30,$60,$2b,$bf,$09,$99,$10,$3d,$d1,$e8,$cc,$52,$0f,$0e // =10`+....=...R..
        .byte $5a,$04,$d5,$03
        .byte $52,$0d,$02,$d7,$0e
        .text "K,U1987"
        .byte $78,$0a,$86,$e1,$20,$92,$9d,$3a,$3f,$8b,$4d,$83,$4b,$05,$dc,$b3 // x... ..:?.M.K...
        .byte $31,$15,$95,$4e,$a4,$cb,$03,$b9,$18,$47,$25,$01,$02,$19,$ae,$13 // 1..N.....G%.....
        .byte $14,$0f,$10,$93,$14,$05,$cb,$2c,$0e,$4b,$06,$0c,$cb,$37,$00,$01 // .......,.K...7..
        .byte $03,$20,$01,$0f,$0d,$4f,$29,$08,$b9,$07,$6a,$05,$ae,$14,$55,$12 // . ...O)...j...U.
        .byte $01,$04,$21,$78,$70,$20,$21,$00,$00,$dc,$08,$7e,$0a,$0e,$0c,$e0 // ..!xp !....~....
        .byte $a0,$02,$84,$01,$87,$60,$00,$1c,$48,$4a,$ec,$91,$2a,$42,$cc,$8c // .....`..HJ..*B..
        .byte $88,$00,$1a,$9e,$6a,$60,$ac,$82,$4a,$00,$ec,$40,$e4,$6a,$a4,$48 // ....j`..J..@.j.H
        .byte $00,$e8,$98,$29,$0f,$f0,$14,$8a,$4a,$be,$33,$03,$2a,$26,$9f,$ca // ...)....J.3.*&..
        .byte $10,$fa,$79,$67,$03,$aa,$a5,$9f,$79,$9b,$03,$99,$9c,$03,$8a,$99 // ..yg....y.......
        .byte $68,$03,$a2,$04,$20,$00,$01,$99,$34,$03,$c8,$c0,$34,$d0,$d2,$a0 // h... ...4...4...
        .byte $00,$4c,$35,$01,$10,$ff,$cf,$a9,$00,$85,$9f,$e0,$01,$90,$1f,$46 // .L5............F
        .byte $fd,$d0,$15,$48,$ad,$19,$01,$d0,$03,$ce,$1a,$01,$ce,$19,$01,$ad // ...H............
        .byte $af,$0a,$90,$13,$6a,$85,$fd,$68,$2a,$26,$9f,$ca,$d0,$e1,$60,$ca // ....j..h*&....`.
        .byte $c6,$ff,$c6,$af,$88,$b1,$ae,$91,$fe,$98,$d0,$f8,$8a,$d0,$f0,$88 // ................
        .byte $e8,$20,$08,$01,$4a,$c8,$90,$f8,$f0,$2b,$c0,$11,$b0,$56,$be,$33 // . ..J....+...V.3
        .byte $03,$20,$00,$01,$79,$67,$03,$85,$a7,$a5,$9f,$79,$9b,$03,$48,$d0 // . ..yg.....y..H.
        .byte $06,$a4,$a7,$c0,$04,$90,$02,$a0,$03,$be,$a2,$01,$20,$00,$01,$79 // ............ ..y
        .byte $a5,$01,$a8,$a5,$a7,$e5,$fe,$90,$02,$c6,$ff,$49,$ff,$85,$fe,$c0 // ...........I....
        .byte $01,$90,$91,$be,$34,$03,$20,$00,$01,$79,$68,$03,$90,$03,$e6,$9f // ....4. ..yh.....
        .byte $18,$65,$fe,$85,$ae,$a5,$9f,$79,$9c,$03,$65,$ff,$85,$af,$68,$aa // .e.....y..e...h.
        .byte $a4,$a7,$90,$95,$c6,$01,$58,$4c,$c0,$cb,$02,$04,$04,$30,$20,$10 // ......XL.....0 .

// --- Region $c900-$caff ---
.pc = $c900 "txt_c900"

txt_c900:
        .encoding "screencode_mixed"
        .text "call the golden shower of warez"
        .encoding "petscii_upper"

txt_c91f:
        .text "  805-687-6222  "

txt_c92f:
        .encoding "screencode_mixed"
        .text "for the latest from twb!! don't call the vmb anymore"
        .encoding "petscii_upper"

txt_c963:
        .text "!!! "

txt_c967:
        .encoding "screencode_mixed"
        .text "we are setting a new one up!! members are: "
        .encoding "petscii_upper"
        .byte $84,$95,$92,$81,$8e,$20,$93,$8c,$99,$84,$85,$20,$89,$83,$81,$92 // ..... ..... ....
        .byte $95,$93,$20,$8d,$81,$93,$94,$85,$92,$a0,$87,$95,$92,$95,$20,$82 // .. ........... .
        .byte $8f,$98,$88,$85,$81,$84,$20,$81,$8c,$93,$a0,$8a,$8b,$81 // ...... .......

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

dat_c9eb:
        .text "                                                                                                                                                                                                                                                                                     "

// --- Region $cbf8-$cbff ---
.pc = $cbf8 "Segment $cbf8"
        .byte $cb,$00,$00,$00,$00,$00,$00,$00       // ........

// --- Region $ccd4-$ce00 ---
.pc = $ccd4 "Segment $ccd4"
        .byte $0d,$10,$0f,$12,$14,$05,$04,$20,$02,$19,$20,$12 // ....... .. .

txt_cce0:
        .text "     "

txt_cce5:
        .encoding "screencode_mixed"
        .text "the wildboys presents"
        .encoding "petscii_upper"

txt_ccfa:
        .text ":   "
        .byte $06,$09,$12,$05,$14,$12,$01,$10       // ........

txt_cd06:
        .text "++  "

txt_cd0a:
        .encoding "screencode_mixed"
        .text "imported on december"
        .encoding "petscii_upper"

txt_cd1e:
        .text " 7, 1987 "
        .byte $07,$12,$05,$05,$14,$13,$20,$14,$0f,$3a,$14,$13,$2c,$15,$13,$13 // ...... ..:..,...
        .byte $10,$05,$2c,$12,$01,$04,$2c,$15,$03,$06,$2c,$01,$14,$03,$2c,$18 // ..,...,...,...,.
        .byte $10,$02,$2c,$01,$02,$19,$13,$13,$2c,$14,$0f,$10,$2c,$14,$05,$06 // ..,.....,...,...
        .byte $2c,$0e,$06,$0c                       // ,...

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

dat_cd85:
        .text "                                                                                           "

txt_cde0:
        .encoding "screencode_mixed"
        .text "rom the great rad"
        .encoding "petscii_upper"

txt_cdf1:
        .text "!              "
        .byte $00                                   // string terminator

// --- Region $cfa0-$cfb9 ---
.pc = $cfa0 "dat_cfa0"

dat_cfa0:
        .byte $01,$01,$01,$01,$01,$0e,$0e,$0e,$0e,$0e,$0e,$0e,$0e,$00,$02,$02 // ................
        .byte $02,$02,$02,$02,$02,$02,$01,$01,$01   // .........

dat_cfb9:
        // === Fill data (1 bytes, $cfb9-$cfb9) ===
        .byte $00                                   // .
