TheRasteri ported a 2000s Flash browser game to CGA graphics on an IBM 5150 PC, without AI, using Open Watcom V2 and hand-written x86 assembler.

The technical core is a real-time character height swap targeting the MC6845 CRT controller chip, the same chip found on Amstrad CPC hardware where TheRasteri learned demoscene tricks. That manipulation carves out a 160x86 pixel framebuffer inside CGA text mode, a resolution CGA was never designed to produce. The whole game runs as a single large state machine, tested across multiple real DOS machines to surface hardware-specific bugs. The development process itself is the story here, not just the final result.

Flash is dead, but the techniques required to simulate modern graphics on 1981 hardware are very much alive. The full video shows every step of the port and is worth watching for the DOS C workflow alone. Separately, WebAssembly is being cited as the foundation for a potential new browser game era, a direct successor to what Flash built.

[READ ORIGINAL →]