Retro File Utilities — .D64 Parser, 6502 Disassembler & BIN Patcher
Client-side Commodore 64 .D64 disk image parser, MOS 6502/6510 disassembler with IC register detection, and ROM binary patcher compiled to WebAssembly via Rust
Retro File Utilities — .D64 Parser, 6502 Disassembler & BIN Patcher
100% client-side Commodore 1541 disk image inspection with interactive 35-track radial disc geometry, MOS 6502/6510 disassembly with automatic IC pinout cross-linking, and ROM binary patching compiled to WebAssembly via Rust.
Commodore 64 .D64 BAM, Directory & 35-Track Disc Visualizer
Parse 35-track or 40-track Commodore 1541 disk images in Wasm linear memory, visualize radial sector geometry & file block chains, and extract or disassemble .PRG files directly.
Directory Listing (Hover or Click Any File to Trace Sectors)
| Blk | Filename (PETSCII) | Type | Start | Addr & Size | Actions |
|---|
Block Availability Map (BAM) — Hover or Click Any Track to Highlight on Disc
Raw Sector Hex Inspector: Track 18, Sector 0
High-Resolution 35-Track 1541 Disc Inspector (850×850px)
Hover any sector wedge to inspect in the docked HUD bar below — click any sector to trace its owning file and view its raw 256-byte sector hex dump.
Selected Sector Hex: Track 18, Sector 0
MOS 6502 / 6510 Disassembler & Side-by-Side Hex View
Decode raw machine code or C64 .PRG files with automatic detection of hardware registers ($0001 6510 Port, $D000 VIC-II, $D400 SID, $DC00 CIA, $A000/$E000 PLA & KERNAL).
6502 / 6510 Instruction Stream
Synchronized Hex & ASCII Dump
.BIN / ROM Binary Patcher & Checksum Verifier
Modify byte buffers in WebAssembly linear memory, verify IEEE 802.3 CRC32 and 16-bit modular ROM checksums, and download patched binaries.
Live Patched Hex Buffer
Patch Audit Log
Detected Hardware & IC Pinout Cross-Links
Contextual cross-links generated automatically whenever a specific chip (6510, PLA, VIC-II, SID, CIA, Colour SRAM) or memory region is identified in your active binary or disassembly:
Related Smiggy.com Hardware Hubs & Pinout References
Jump directly to related IC pinouts, connector diagrams, and diagnostic flowcharts:
How the Rust/WebAssembly Retro File Workbench Works
Every utility on this page executes 100% inside your browser using a compiled WebAssembly (.wasm) binary built from Rust. Whether you drop a 174,848-byte Commodore 1541 .D64 floppy disk image, a 6502/6510 .PRG executable, or an 8 KB KERNAL .ROM dump, your files never leave your machine.
1. Commodore 1541 .D64 BAM & Directory Parsing
A standard 35-track Commodore 1541 disk stores 683 sectors of 256 bytes across four speed zones: tracks 1–17 hold 21 sectors per track, tracks 18–24 hold 19, tracks 25–30 hold 18, and tracks 31–35 hold 17. Track 18 is reserved for the directory and Block Availability Map (BAM). Sector 0 of Track 18 contains the 4-byte per-track allocation bitmaps, the 16-character PETSCII disk name ($90–$9F), the 2-byte disk ID ($A2–$A3), and the DOS version indicator (2A). Sector 1 begins the linked list of 32-byte directory entries, each pointing to the starting track and sector of a .PRG, .SEQ, .USR, or .REL file.
2. MOS 6502 / 6510 Disassembly & Smart Hardware Cross-Linking
When disassembling 6502 or 6510 machine code, the disassembler inspects every target address in Zero Page, Absolute, Indexed, and Indirect instructions and cross-references it against the Commodore 64 memory map:
$0000–$0001(MOS 6510 CPU Port): Controls the Data Direction Register and theLORAM,HIRAM, andCHARENbank-switching lines feeding the 82S100 PLA.$D000–$D3FF(MOS 6567/6569 VIC-II): Sprite coordinates, raster line counter ($D012), screen control registers ($D011/$D016), memory pointers ($D018), and border/background colours ($D020/$D021).$D400–$D7FF(MOS 6581 / 8580 SID): Three-voice frequency, pulse-width, waveform/gate control, ADSR envelopes, multi-mode filter cutoff, and master volume ($D418).$D800–$DBFF(2114 Colour SRAM): 1K×4-bit static colour nybbles mapped to the 40×25 screen matrix.$DC00–$DDFF(MOS 6526 CIA #1 & #2): Keyboard matrix scanning, DB9 joystick ports, interval timers, VIC-II 16 KB bank selection, and the 6-pin DIN IEC serial bus.
3. ROM / BIN Patching & Checksum Verification
When burning replacement EPROMs (such as a 27C64 in a 2364 socket adapter for a C64 KERNAL or diagnostic cartridge), verifying the exact IEEE 802.3 CRC32 and 16-bit modular checksum prevents booting a corrupted image. Use the patcher to apply NOP slides (EA EA), trainer pokes, or fast-loader patches in Wasm memory and download the verified binary immediately.
Extracted a 10,003-byte Koala Painter .PRG/.KOA screen from a .D64 disk image or dumped an 8×8 character generator EPROM (901225-01)? Drop the binary directly into our Retro Graphics & Screen Viewer / Converter to preview it with Colodore VIC-II or ZX Spectrum ULA palettes and export a pixel-exact PNG, inspect 64 KB bank switching in the Cross-Architecture Visual Memory Mapper & Address Decoder, or convert legacy BASIC programs into 6502/Z80 assembly and tokenized .PRG binaries using the BASIC-to-Assembly Code Translator & Line Number Stripper.
Comments (0)
No comments yet. Be the first to share your thoughts on this tool!
Leave a Comment