// ============================================
// output - Disassembled Source
// ============================================
// KickAssembler syntax
// Generated by Restore 64 v0.2.1 alpha build 298, 2026-04-11 21:36:49
// https://restore64.dev by datucker / Rabenauge
//
// Load address: $0801  End: $9309  (35593 bytes)
// Crunched with PuCrunch — depacked by emulation
// Packer entry: $080d (via BASIC SYS 2061)
// Entry point:  $9130 (37168)
//
// Code: 249 bytes, Data: 35344 bytes
// Labels: 34, Subroutines: 0
//
// Verification: 4 line(s) auto-corrected to .byte for exact byte matching
//
// Cross-references: all OK
// ============================================


// --- Region $20d0-$20d0 ---
.pc = $20d0 "Segment $20d0"
        brk

// --- Region $49d0-$49d0 ---
.pc = $49d0 "Segment $49d0"
        brk

// --- Region $85d0-$85d0 ---
.pc = $85d0 "Segment $85d0"
        brk

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

// --- Region $9023-$905f ---
.pc = $9023 "loc_9023"

loc_9023:
        ldx #$00

loc_9025:
        lda $9065,x
        sta $0110,x
        inx
        bne loc_9025
        ldx #$34

loc_9030:
        lda loc_90cc,x
        sta $0300,x
        inx
        bne loc_9030
        nop
        nop
        ldx #$ff
        txs
        lda #$ff
        sta $2d
        sec
        sbc #$01
        sta $fe
        lda #$bf
        sta $2e
        sbc #$00
        sta $ff
        lda #$22
        sta $fc
        lda #$90
        sta $fd
        lda $d020
        sta $fb
        jmp $0152

dat_905f:
        .byte $00                                   // .

// --- Region $9082-$90ee ---
.pc = $9082 "loc_9082"

loc_9082:
        ror.abs $003c,x
        pha
        dec $fc
        lda $fc
        cmp #$ff
        bne loc_9090
        dec $fd

loc_9090:
        pla
        rts

loc_9092:
        pha
        lda $d020
        eor #$01
        sta $d020
        dec $fe
        lda $fe
        cmp #$ff
        bne loc_90a5
        dec $ff

loc_90a5:
        pla
        rts

loc_90a7:
        ldy #$00

loc_90a9:
        lda ($fc),y
        cmp #$9c
        bne loc_90c7
        sta $d020
        jsr $0130
        lda ($fc),y
        tax
        jsr $0130
        lda ($fc),y

loc_90bd:
        sta ($fe),y
        jsr $013d
        dex
        bne loc_90bd
        beq loc_90cc

loc_90c7:
        sta ($fe),y
        jsr $013d

loc_90cc:
        ldx $fc
        dex
        stx $fc
        cpx #$ff
        bne loc_90d7
        dec $fd

loc_90d7:
        lda $fe
        cmp #$1f
        lda $ff
        sbc #$08
        bcs loc_90a9
        lda $fb
        sta $d020
        lda #$37
        sta $01
        jmp $fce2

dat_90ed:
        .byte $20,$8e                               //  .

// --- Region $9130-$917e ---
.pc = $9130 "main_9130"

main_9130:
        lda #$00
        sta $d020
        sta $d021
        lda #$93
        jsr $ffd2
        ldx #$00
        lda #$20

loc_9141:
        sta $0400,x
        sta $0500,x
        sta $0600,x
        sta $0700,x
        inx
        bne loc_9141
        ldx #$00

loc_9152:
        lda txt_9200,x
        sta $0400,x
        inx
        bne loc_9152
        ldx #$00
        lda #$01

loc_915f:
        sta $d800,x
        sta $d900,x
        sta $da00,x
        sta $db00,x
        inx
        bne loc_915f
        lda #$13
        jsr $ffd2

loc_9173:
        nop
        jsr $ffe4
        cmp #$00
        beq loc_9173
        jmp loc_9023

dat_917e:
        // === Fill data (1 bytes, $917e-$917e) ===
        .byte $00                                   // .

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

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

dat_0801:
        // === BASIC loader stub ===
        .byte $0b,$08                                                     // [corrected] was: .byte $0c,$08                               // next line pointer ($080c)
        .byte $ef,$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,$78                                                     // [corrected] was: .byte $00,$00                               // end of BASIC program
        .byte $2c,$30,$d0,$a9,$38,$85,$01,$a2,$34,$bd,$42,$08,$9d,$ff,$01,$ca // ,0..8...4.B.....
        .byte $d0,$f7,$a2,$e6,$bd,$75,$08,$9d,$f6,$00,$ca,$d0,$f7,$a0,$02,$ca // .....u..........
        .byte $bd,$d4,$07,$9d,$0a,$90,$8a,$d0,$f6,$ce,$33,$08,$ce,$30,$08,$88 // ..........3..0..
        .byte $d0,$ed,$4c,$18,$01,$48,$ad,$7c,$91,$2a,$85,$f7,$ee,$02,$02,$d0 // ..L..H.|.*......
        .byte $03,$ee,$03,$02,$68,$60,$e8,$8a,$06,$f7,$d0,$03,$20,$00,$02,$90 // ....h`...... ...
        .byte $12,$e8,$e0,$08,$d0,$f2,$f0,$0b,$a2,$07,$e8,$06,$f7,$d0,$03,$20 // ............... 
        .byte $00,$02,$2a,$ca,$d0,$f5,$18,$60,$80,$01,$8d,$23,$90,$e6,$fa,$f0 // ..*....`...#....
        .byte $02,$ca,$60,$e6,$fb,$ca,$60,$a4,$f8,$a2,$02,$20,$2f,$02,$85,$f8 // ..`...`.... /...
        .byte $98,$a2,$06,$20,$2f,$02,$20,$f9,$00,$a0,$00,$98,$a2,$02,$20,$2f // ... /. ....... /
        .byte $02,$c5,$f8,$d0,$ec,$20,$11,$02,$85,$2d,$4a,$d0,$45,$06,$f7,$d0 // ..... ...-J.E...
        .byte $03,$20,$00,$02,$90,$4a,$06,$f7,$d0,$03,$20,$00,$02,$90,$c8,$c8 // . ...J.... .....
        .byte $20,$11,$02,$85,$2d,$c9,$80,$90,$0b,$a2,$01,$20,$26,$02,$85,$2d //  ...-...... &..-
        .byte $20,$11,$02,$a8,$20,$11,$02,$aa,$bd,$bc,$01,$e0,$20,$90,$06,$8a //  ... ....... ...
        .byte $a2,$03,$20,$26,$02,$a6,$2d,$e8,$20,$f9,$00,$d0,$fb,$88,$d0,$f8 // .. &..-. .......
        .byte $f0,$a7,$20,$11,$02,$c9,$ff,$f0,$32,$e9,$00,$a2,$00,$20,$2f,$02 // .. .....2.... /.
        .byte $85,$2e,$20,$23,$02,$65,$fa,$a6,$2d,$8d,$94,$01,$a5,$fb,$e5,$2e // .. #.e..-.......
        .byte $8d,$95,$01,$e8,$b9,$aa,$aa,$91,$fa,$c8,$ca,$d0,$f7,$88,$98,$38 // ...............8
        .byte $65,$fa,$85,$fa,$90,$02,$e6,$fb,$4c,$18,$01,$a9,$06,$85,$01,$2c // e.......L......,
        .byte $30,$d0,$a5,$fa,$85
        .byte $2d,$a5,$fb,$85
        .text ".XL0"
        .byte $91
        .byte $20,$ff
        .byte $00,$05,$0c,$60,$63,$66,$6e,$ea,$a2,$00,$bd,$53,$2c,$84,$e8,$80 // ...`cfn....S,...
        .byte $0f,$46,$87,$bd,$11,$a5,$ee,$62,$7a,$80,$01,$b1,$ea,$b7,$2a,$2f // .F.....bz.....*/
        .byte $f9,$aa,$9f,$f8,$52,$d3,$8e,$90,$18,$5f,$ea,$9b,$f8,$52,$ee,$90 // ....R...._...R..
        .byte $08,$5f,$fa,$92,$28,$5f,$ca,$99,$08,$5f,$da,$d2,$0d,$08,$5f,$b5 // ._..(_..._...._.
        .byte $46,$29,$00,$cf,$55,$9a,$6e,$33,$68,$f8,$00,$f1,$f9,$99,$fa,$73 // F)..U.n3h......s
        .byte $80,$03,$c3,$e3,$35,$1f,$cf,$15,$78,$30,$47,$71,$e0,$02,$46,$37 // ....5...x0Gq..F7
        .byte $e4,$a9,$7f,$32,$7f,$f4,$00,$b1,$bf,$5a,$18,$12,$28,$c4,$49,$01 // ...2.....Z..(.I.
        .byte $92,$6a,$7d,$e3,$7f,$52,$ff,$38,$75,$ff,$a7,$5d,$00,$05,$8a,$6f // .j}..R.8u..]...o
        .byte $ce,$68,$0c,$31,$d2,$40,$60,$02,$9e,$95,$4e,$1f,$52,$3f,$c4,$07 // .h.1.@`...N.R?..
        .byte $a0,$39,$5a,$1f,$1e,$00,$ae,$1e,$d4,$df,$99,$50,$df,$9c,$0e,$17 // .9Z........P....
        .byte $2c,$63,$0f,$d2,$ff,$f4,$84,$58,$64,$52,$fd,$b1,$99,$52,$6f,$0a // ,c.....XdR...Ro.
        .byte $02,$a4,$ce,$2f,$c2,$08,$ea,$6a,$21,$fb,$d4,$36,$43,$e0,$84,$ca // .../...j!..6C...
        .byte $f7,$a9,$9c,$56,$61,$a0,$1c,$6c,$90,$64,$6c,$ea,$4c,$6b,$a5,$a4 // ...Va..l.dl.Lk..
        .byte $6c,$76,$7e,$e9,$3e,$d1,$36,$d4,$99,$84,$b9,$2c,$bf,$80,$04,$00 // lv~.>.6....,....
        .byte $80,$14,$85,$4d,$ff,$e4,$b4,$a2,$54,$d8,$34,$ec,$5a,$02,$f6,$43 // ...M....T.4.Z..C
        .byte $00,$93,$fa,$0f,$80,$31,$63,$1a,$42,$95,$d2,$64,$1a,$49,$ca,$01 // .....1c.B..d.I..
        .byte $52,$40,$96,$80,$89,$fa,$0a,$9f,$a0,$c9,$fa,$0f,$d1,$a1,$e2,$c9 // R@..............
        .byte $a6,$01,$24,$c7,$63,$66,$9a,$71,$31,$2d,$b0,$9f,$bb,$29,$fb,$b4 // ..$.cf.q1-...)..
        .byte $9f,$bb,$6c,$71,$54,$89,$b1,$95,$d4,$41,$c9,$ff,$92,$01,$e1,$f0 // ..lqT....A......
        .byte $ac,$c2,$39,$0d,$ff,$81,$5d,$e8,$28,$10,$2a,$1c,$08,$0a,$24,$04 // ..9...].(.*...$.
        .byte $1e,$18,$28,$40,$06,$24,$02,$06,$16,$12,$1c,$0f,$c7,$b8,$28,$be // ..(@.$........(.
        .byte $fe,$90,$43,$32,$44,$c1,$43,$85,$04,$f7,$04,$e1,$e1,$c0,$a4,$01 // ..C2D.C.........
        .byte $a0,$21,$c4,$19,$fa,$08,$40,$10,$13,$9d,$a0,$82,$41,$e1,$20,$84 // .!....@.....A. .
        .byte $fb,$f0,$37,$e6,$de,$f0,$07,$12,$db,$02,$9c,$38,$e6,$18,$a0,$7e // ..7........8...~
        .byte $5c,$6d,$9f,$26,$0c,$54,$cf,$02,$6c,$95,$09,$cf,$41,$4c,$92,$21 // \m.&.T..l...AL.!
        .byte $df,$d9,$57,$f7,$ff,$f0               // ..W...

// --- Region $9000-$9000 ---
.pc = $9000 "dat_9000"

dat_9000:
        // === Fill data (1 bytes, $9000-$9000) ===
        .byte $00                                   // .

// --- Region $9060-$9081 ---
.pc = $9060 "Segment $9060"
        .byte $00,$00,$00,$00,$00,$00,$66,$6e,$6e,$60,$60,$3e,$00,$3c,$7e,$66 // ......fnn``>.<~f
        .byte $7e,$66,$66,$66,$00,$78,$7c,$66,$7c,$66,$7c,$78,$00,$3c,$7e,$66 // ~fff.x|f|f|x.<~f
        .byte $60,$66                               // `f

// --- Region $90ef-$912f ---
.pc = $90ef "Segment $90ef"
        .byte $a6,$a2,$1f,$bd,$10,$01,$9d,$00,$08,$ca,$d0,$f7,$a9,$9c,$4c,$34 // ..............L4
        .byte $03,$8d,$92,$0c,$8d,$9d,$49,$8d,$74,$b4,$8d,$8e,$b4,$8d,$cf,$b4 // ......I.t.......
        .byte $4c,$e2,$4c,$c2,$ff,$ff,$ff,$b2,$fe,$00,$10,$02,$00,$42,$a6,$ff // L.L..........B..
        .byte $f2,$ff,$ff,$a2,$5b,$06,$ff,$ff,$ff,$ff,$5a,$02,$f6,$43,$00,$bf // ....[.....Z..C..
        .byte $ff                                   // .

// --- Region $9200-$9309 ---
.pc = $9200 "txt_9200"

txt_9200:
        .text "       "

txt_9207:
        .encoding "screencode_mixed"
        .text "thunderbolt cracking crew"
        .encoding "petscii_upper"

dat_9220:
        .text "                                                   "
        .byte $10,$12,$05,$13,$05,$0e,$14,$13       // ........

txt_925b:
        .text "   '"

txt_925f:
        .encoding "screencode_mixed"
        .text "one man and his droid"
        .encoding "petscii_upper"

txt_9274:
        .text "'                 "
        .fill 23, $63

txt_929d:
        .text "     "

txt_92a2:
        .encoding "screencode_mixed"
        .text "greetings to all crackers & pirates"
        .encoding "petscii_upper"

txt_92c5:
        .text "!"

dat_92c6:
        // === Fill data (58 bytes, $92c6-$92ff) ===
        .fill 58, $20
        .byte $af,$4c,$92,$21,$df,$d9,$57,$f7,$ff,$f0 // .L.!..W...
