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
.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.
Voice 1 $D400–$D406
Voice 2 $D407–$D40D
Voice 3 $D40E–$D414
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!
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 ↓
- Loading & Playing .SID Files: Click any of the 6 bundled C64 chiptune demos or drag-and-drop any
.sidfile 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. - Inspecting & Editing PSID / RSID Binary Headers: The inspector decodes the 124-byte (
$007C) header includingloadAddress,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.sidfile directly to disk. - 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–$03contain the ASCII magic signaturePSID(PlaySID-compatible IRQ driver) orRSID(Real C64 hardware environment requiring true VIC-II raster & 6526 CIA timer interrupts). Offsets$08–$0Dstore big-endian 16-bit pointers forloadAddress(if$0000, the first two payload bytes at$7C–$7Dhold the little-endian C64.PRGload address),initAddress, andplayAddress. - 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 callsJSR initAddress. Then, once every video frame (50 Hz/20 mson PAL or60 Hz/16.67 mson NTSC), the interrupt handler executesJSR playAddress, which steps through wavetables, pulse-width modulation tables, and fast arpeggio chords, writing 25 hardware registers at$D400–$D418on 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
.SIDtest 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