Commodore 64 .SID File Player, PSID/RSID Header Inspector & Live Register Editor

Client-side C64 .SID chiptune player (PSID v1–v4 & RSID), binary header metadata editor, per-voice Mute/Solo mixer, live $D400–$D418 register & filter override, and 16-bit WAV exporter

Commodore 64 .SID File Player, PSID/RSID Header Inspector & Live Register Editor

Drop any Commodore 64 .SID chiptune file (PSID v1–v4 / RSID) or choose a bundled C64 tune below to run its 6502 INIT/PLAY routine at 50Hz PAL or 60Hz NTSC, solo/mute individual MOS 6581 / 8580 voices, override $D400–$D418 filter registers in real time, edit & download patched .SID headers, or export 16-bit .WAV audio. Looking to compose from scratch or boot full .D64/.PRG games? Open the Interactive 3-Voice SID Synthesizer → or Multi-System Retro Emulator Hub →

🎹 SID Synth →
Bundled .SID Tunes:
📂 Drop any C64 .SID File Here (PSID v1–v4 / RSID)

Parses binary header offsets $00–$7C, loads 6502 machine code into 64KB RAM, and streams $D400–$D418 registers at 50Hz/60Hz.

commando_theme_hubbard.sid (412 B)
00:00.0
Subtune 1 / 3
PSID V2 LOADED — Click Play or any bundled .SID tune to stream 6502 PLAY ($D400–$D418) into Music Lab
MUSIC LAB · LIVE 6502 IRQ & $D400–$D418 STREAM Commando High-Score & Loader Suite — Rob Hubbard (1985 Elite)
Init/Play: $1000 / $1003 IRQ Clock: PAL 50Hz (985.2 kHz) Filter: LP · 2200 Hz · Q:7 Frames: 0

Voice 1 $D400–$D406

Decoded Note & Hz C-4 (261.6 Hz)
Waveform & Gate PUL $41 · GATE
Pulse Width Duty 50.0% ($800)
ADSR Envelope A:1 D:6 S:B R:5

Voice 2 $D407–$D40D

Decoded Note & Hz C-4 (261.6 Hz)
Waveform & Gate PUL $41 · GATE
Pulse Width Duty 50.0% ($800)
ADSR Envelope A:1 D:6 S:B R:5

Voice 3 $D40E–$D414

Decoded Note & Hz C-4 (261.6 Hz)
Waveform & Gate PUL $41 · GATE
Pulse Width Duty 50.0% ($800)
ADSR Envelope A:1 D:6 S:B R:5

PSID / RSID Binary Header Inspector & Editor ($00–$7C)

PSID v2 · 124-Byte Header
Magic & Header Offset PSID v2 · Data Offset $007C (124 B)
Load / Init / Play Vectors Load: $1000 · Init: $1000 · Play: $1003
C64 RAM Footprint & CRC32 $1000–$1120 (288 B) · CRC32: 0x4A91E02C

Live Filter & Register Override ($D415–$D418)

By default, the 6502 PLAY routine controls $D415–$D418 dynamically. Enable Override .SID Filter Live above to force Low-Pass, Band-Pass, or High-Pass modes and manually sweep Cutoff & Resonance over the playing tune!

Force Mode:
Route Voices:
2200 Hz ($394)
7 / 15 ($70)
$0F (100%)

Live $D400–$D418 Hardware Register Monitor & Snapshot Export

Green Border = Register Written This Frame

                
📖 How to Use the .SID File Player, PSID/RSID Header Editor & Live Register Monitor Click to Expand / Collapse ↓
  1. Loading & Playing .SID Files: Click any of the 6 bundled C64 chiptune demos or drag-and-drop any .sid file from your computer (such as from the High Voltage SID Collection). Use Play, Pause, Stop, and the Prev / Next Subtune buttons to audition multi-song soundtracks, and switch between MOS 6581 and MOS 8580 silicon models on the fly.
  2. Inspecting & Editing PSID / RSID Binary Headers: The inspector decodes the 124-byte ($007C) header including loadAddress, initAddress, playAddress, PAL/NTSC clock bits, and 32-byte ASCII strings at $16 (Title), $36 (Author), and $56 (Released). Edit any field and click Download Updated .SID Binary to save a patched .sid file directly to disk.
  3. Isolating Voices & Overriding Filter Registers Live: Click MUTE or SOLO on Voices 1, 2, or 3 while watching each channel's decoded musical note, pulse-width duty cycle, and ADSR nibbles. Check Override .SID Filter Live to manually sweep the Low-Pass, Band-Pass, and High-Pass filter over the playing music, or click Export .WAV to save a 16-bit PCM audio recording.

Inside the Commodore 64 PSID / RSID Binary Format & 6502 IRQ Music Drivers

A Commodore 64 .SID file packages original MOS 6510 / 6502 machine code music routines together with a 118-byte ($0076, v1) or 124-byte ($007C, v2/v3/v4) big-endian metadata header so emulators and real hardware players can execute the composer's exact raster-interrupt driver:

  • PSID vs. RSID Header Layout (Offsets $00–$7B): Bytes $00–$03 contain the ASCII magic signature PSID (PlaySID-compatible IRQ driver) or RSID (Real C64 hardware environment requiring true VIC-II raster & 6526 CIA timer interrupts). Offsets $08–$0D store big-endian 16-bit pointers for loadAddress (if $0000, the first two payload bytes at $7C–$7D hold the little-endian C64 .PRG load address), initAddress, and playAddress.
  • How C64 Raster Music Drivers Work: To play subtune N, the player loads the binary into the C64 64KB Memory Map, places the 0-based subtune index into the 6502 Accumulator (LDA #subtune), and calls JSR initAddress. Then, once every video frame (50 Hz / 20 ms on PAL or 60 Hz / 16.67 ms on NTSC), the interrupt handler executes JSR playAddress, which steps through wavetables, pulse-width modulation tables, and fast arpeggio chords, writing 25 hardware registers at $D400–$D418 on the MOS 6581 or MOS 8580.
  • Hardware Bench Diagnostics & Sister Services: If a real Commodore 64, Commodore 128, or SX-64 on your workbench is missing a voice or has dead filter resonance when playing a known-good .SID test tune, compare Pin 27 (AUDIO OUT) in our Signal & Trace Visualizer and Hardware Diagnostic Flowchart. Need UK remote handset repairs or replacement remotes? Visit Smiggy's sister sites Remote Fixer (remotefixer.co.uk) and Remote Shop (remoteshop.co.uk).

Comments (0)

No comments yet. Be the first to share your thoughts on this tool!

Leave a Comment

Theme Palette

Default Dark
High-contrast dark
Amber Terminal
Monochrome amber
Matrix CRT
Phosphor green
Workbench Light
Clean light mode

Audio & Display

Relay Click Sounds Web Audio API — soft mechanical clicks
CRT Scanline & Flicker Pure CSS overlay effect

System Info

Customization Panel Theme preference, audio FX, and CRT overlay settings are saved to your browser's localStorage and persist between visits. No cookies or server-side storage is used.
Keyboard Shortcuts Press Esc to close this panel. Use the header moon/sun icon to cycle themes.