// ============================================
// output - Disassembled Source
// ============================================
// KickAssembler syntax
// Generated by Restore 64 v0.2.1 alpha build 298, 2026-04-11 21:35:46
// https://restore64.dev by datucker / Rabenauge
//
// Load address: $0801  End: $0900  (256 bytes)
// Entry point:  $0825 (via BASIC SYS 2085)
//
// Code: 51 bytes, Data: 205 bytes
// Labels: 13, Subroutines: 0
//
// Cross-references: all OK
// ============================================


// --- Region $0825-$084c ---
.pc = $0825 "main_0825"

main_0825:
        dec $af
        ldy #$00
        sty $d020
        sty $d021

loc_082f:
        lda $0870,y
        cmp #$ff
        beq loc_0839
        jmp loc_08e0

loc_0839:
        jsr $ffe4
        beq loc_0839
        ldy #$3c

loc_0840:
        lda $0810,y
        sta $0300,y
        iny
        bne loc_0840
        jmp $033c

dat_084c:
        .byte $c6                                   // .

// --- Region $08e0-$08ed ---
.pc = $08e0 "loc_08e0"

loc_08e0:
        jsr $ffd2
        iny
        beq loc_08e9
        jmp loc_082f

loc_08e9:
        jmp $fce2

dat_08ec:
        .byte $00,$00                               // ..

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

// --- Region $0801-$0824 ---
.pc = $0801 "dat_0801"

dat_0801:
        // === BASIC loader stub ===
        .byte $20,$08                               // next line pointer ($0820)
        .byte $c2,$07                               // line number 1986
        .byte $9e                                   // SYS token
        .text "2085    HEADBANGER 1986  "           // SYS 2085 → main_0825
        .byte $00                                   // end of line
        .byte $00,$00                               // end of BASIC program
        .byte $00,$00,$00                           // ...

// --- Region $084d-$08df ---
.pc = $084d "Program $084d"
        .byte $01,$a0,$00,$b9,$01,$09,$99,$01,$08,$c8,$d0,$f7,$ee,$42,$03,$ee // .............B..
        .byte $45,$03,$ad,$42,$03,$c9,$d0,$d0,$ea,$e6,$01,$a9,$00,$20,$e2,$fc // E..B......... ..
        .byte $4c,$ae,$a7,$05,$93,$0d,$0d,$0d,$0d,$0d,$0d,$0d,$0d,$0d,$0d,$05 // L...............

txt_087d:
        .text "         CRACKED BY HEADBANGER "
        .byte $0d                                   // string terminator
        .byte $0d,$0d,$0d,$0d,$0d,$05,$05,$0d,$0d,$0d,$0d // ...........

txt_08a8:
        .text " HI NEWLOOK,D.DUO,KRABAT&SYNTAX 2001  "
        .byte $ff,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 // ................
        .byte $00,$00                               // ..

// --- Region $08ee-$0900 ---
.pc = $08ee "Program $08ee"
        .fill 16, $00
        .byte $85,$01,$08                           // ...
