Gamebody
Firmware for NES / Famicom (Nintendo)
NES ROM that turns the controller into an eight-note pentatonic instrument with square, triangle and drum sounds and a two-part looper.

- Distribution
- Prebuilt image you flash yourself
- Requires stock
- NES or Famicom with a flash cartridge, or an NTSC emulator
- License notes
- Code is MIT, copyright Jonathan Mann. The original art and demo audio are CC BY 4.0 (ASSETS.md). The JSNES emulator used by the browser preview keeps its Apache-2.0 license.
- Source
- github.com https://github.com/songadaymann/musical-nes-gamebody
- chiptune
- looper
- performance
- open-source
Description
Gamebody is written in 6502 assembly for the cc65 toolchain and builds a 24,592-byte NROM cartridge image with no battery RAM, mapper or expansion audio. The D-pad plays notes from a C-major pentatonic scale, A shifts them up and B plays repeating bursts. A+B cycles the square, triangle and drum voices, Select changes octave, and Start records a phrase, loops it and adds a second part, all held in the console's 2 KiB of RAM. The repository also has a JSNES-based browser preview, a script that renders a demo from the ROM, and automated ROM and audio tests. The author has so far only tested it in JSNES, not on a real console, a flash cartridge or a USB controller, and it is tuned for NTSC. Loops are lost on reset, and there is no save, export or MIDI.
Install notes
Each release has gamebody.nes, a zip with the ROM, license and docs, and a demo WAV. Load the ROM in an NTSC NES emulator or, untested by the author, on a flash cartridge. Building needs Node.js 20, Python 3.9 and cc65; npm run build makes build/gamebody.nes and npm start serves the browser preview locally.
Version history
| Version | Date | Notes |
|---|---|---|
| v0.2.0 | 2026-10-24 | Adds triangle and drum sounds, four octaves on Select, and a two-part loop. |
| v0.1.0 | 2026-10-24 | First playable prototype with eight notes and repeating bursts. |