Flash is obsolete and the IBM 5150 is obsolete. Therefore, by the transitive property of algebra, you should be able to run Flash games on IBM’s original PC, right? Okay, of course not – it’s outdated, and then it is obsolete – but that didn’t stop there [TheRasteri] from trying to bring his favorite scatological humor game to glorious CGA in a slightly not-safe-for-work video.
CGA really isn’t meant to show the fine details of a 2000s Flash game, though [TheRasteri] has some experience with the Amstrad CPC and its demoscene where they learned to hack the heck out of the same MC6845 CRT controller chip that lives on a CGA card. With a few lines of carefully crafted assembler, he can swap character height on the fly to create the equivalent of a 160 x 86 pixel window in CGA text mode. That’s probably the most impressive part of this build, but the adventure of vintage-DOS C development on display here is worth a look. He uses Open Watcom V2 and codes the whole thing as a giant state machine, and tests it on a wide range of DOS machines to catch any bugs.
While Adobe Flash once enabled a golden age of browser games, we may be on the verge of another thanks to WebAssembly. If you want to hear about programming in C on DOS, we’ve seen a good case for it.
