demake: One Source, 13 Retro Console ROMs

The 30-Second Skim
- What happened: A developer is showcasing 'demake,' a compiler that lets a single source project output ROMs for retro consoles ranging from Game Boy to Nintendo DS, with a working Pong demo running in the browser.
- Key facts & numbers: 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. - What happens next: The Pong source reads like pseudocode —
when ball hits paddle then ydirection as flip— and yet it's apparently compiling to real ROMs across 13 consoles. - 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.
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.
Sources Cited
Related Coverage
Ask SkimNews