demake: One Source, 13 Retro Console ROMs

Get the Tech newsletter
Daily tech — startups, AI labs, chips, the launches that shape the next decade. Free.
- demake compiles one source project to ROMs for at least 13 retro platforms, including Game Boy, Game Boy Color, Mega Duck/Cougar Boy, NES/Famicom, Sega Master System, Sega Game Gear, Sega Mega Drive/Genesis, PC Engine/TurboGrafx-16, SNES/Super Famicom, Game Boy Advance, Nintendo DS, WonderSwan Color, and WonderSwan.
- The showcase demo is Pong, written in a console-agnostic DSL that uses abstract units like
1 cell(absolute) and15vw(15% of playfield) instead of hardware-specific coordinates. - The Pong source demonstrates full game structure with three scenes (title, play, gameover), object creation with sprites, collision-driven bounce physics, scene-specific music, and per-event sound effects.
- The opponent AI is written in a single proportional-control line that the author notes eases in and stops on target instead of buzzing at the destination.
- The demo interface exposes Play, Cartridge preview, Side by side comparison, Restart, and Run tests controls, suggesting the project ships with cross-target testing tooling.
Why it matters: Homebrew and retro developers typically maintain separate codebases per console; a single-source compiler targeting 13 platforms collapses that duplication. The Pong source shows the DSL is high enough level to express AI, scenes, and collision in dozens of readable lines rather than per-platform assembly, making multi-platform retro releases a one-codebase effort.

