#973

Mayhem (US) 10

Mayhem (US)

4.576 lines of code

RasterbarsRSTRMusicSIDScrollerSCRL

History

Group
Mayhem — United States, founded 1986

The tenth numbered intro from Mayhem, the American cracking and importing group founded in 1986 and dissolved in March 1989. According to CSDb, the group's founding members included Sonny, Diver One, and Double D, though none can be attributed to this specific production. The group maintained a large roster of approximately 45 members spanning crackers, coders, importers, and sysops. This intro attracted comments on intros.c64.org from Changeling of Abyss, Zyron, and Hades — the latter two being recognised scene archivists. Mayhem's dissolution came when key members left for commercial work, with the remnant joining Exodus. The "(US)" suffix distinguishes the group from the British Mayhem (ID 582 on CSDb). All five Mayhem (US) entries in this collection — including #493 Mayhem (US)-02, #487 Mayhem (US)-04, and #472 Mayhem (US)-06 — lack per-intro credits on CSDb.

Sources: CSDb Group · intros.c64.org

mayhem_us-10.asm 4.576 lines
// ============================================
// output - Part 1 of 2
// ============================================
// KickAssembler syntax
// Generated by Restore 64 v0.2.1 alpha build 298, 2026-04-11 21:35:56
// https://restore64.dev by datucker / Rabenauge
//
// Load address: $0801  End: $ffff  (63487 bytes)
// Crunched with Exomizer v2/v3 (with relocation) — depacked by emulation
// Packer entry: $0810 (via BASIC SYS 2064)
// Entry point:  $080d (2061)
// IRQ handler:  $0dd9 (irq_0dd9)
// IRQ handler:  $ea86 (nmi_ea86)
// IRQ handler:  $08b0 (irq_08b0)
// IRQ handler:  $0b51 (irq_0b51)
// IRQ handler:  $0cf9 (irq_0cf9)
//
// Code: 5290 bytes, Data: 58197 bytes
// Labels: 452, Subroutines: 23
//
// Verification: 1 line(s) auto-corrected to .byte for exact byte matching
//
// Cross-references: all OK
// ============================================


// --- Region $080d-$0dfb ---
.pc = $080d "main_080d"

main_080d:
        jmp loc_0f69

// Referenced by: jsr from $0f69, $e9df
sub_0810: {
        sei
        lda #$d9
        ldx #$0d
        sta $0314
        stx $0315
        lda #$86
        ldx #$ea
        sta $0318
        stx $0319
        lda $d011
        and #$7f
        sta $d011
        lda #$e6
        sta $d012
        lda #$81
        sta $d019
        sta $d01a
        lda $dc0e
        and #$fe
        sta $dc0e
        jsr sub_089e
        lda $a5
        bne skip1
        dec $a6
skip1:
        dec $a5
        jsr sub_08a7
        lda $a9
        bne skip2
        dec $aa
skip2:
        dec $a9
        lda #$02
        sta dat_0dfb
        lda #$9f
        ldy #$0e
        jsr sub_ab1e
        ldx #$00
        stx $0e31
        stx $0e32
        txa
        tay
        inx
        stx $0e04
        stx $0e05
loop1:
        lda #$00
        sta $d9e0,y
        sta $da08,y
        sta $daf8,y
        lda #$a0
        sta $06f8,y
        iny
        cpy #$28
        bne loop1
        ldy #$00
loop2:
        lda #$01
        sta $db48,y
        lda txt_1e10,y
        sta $0748,y
        iny
        cpy #$78
        bne loop2
        cli
        rts
}
// Referenced by: jsr from $0842, $0cea, $e778

sub_089e:
        lda #$37
        ldx #$16
        sta $a5
        stx $a6
        rts
// Referenced by: jsr from $084d, $0db4, $e842

sub_08a7:
        lda #$20
        ldx #$1a
        sta $a9
        stx $aa
        rts

irq_08b0:
        lda $d019
        and #$01
        bne loc_08ba
        jmp loc_0c7c

loc_08ba:
        ldx #$10
        jsr sub_0df7
        lda #$1b
        sta $d018
        lda dat_0e1c
        sta $d020
        sta $d021
        ldx #$08
        jsr sub_0df7
        lda $0e1d
        sta $d020
        sta $d021
        ldx #$08
        jsr sub_0df7
        lda $0e1e
        sta $d020
        sta $d021
        ldx #$08
        jsr sub_0df7
        lda $0e1f
        sta $d020
        sta $d021
        ldx #$08
        jsr sub_0df7
        lda $0e20