If there's one thing you can be certain of in the world of electronic devices, it's that someone will manage to get it to run Doom. And in the case of this year's Def Con event, a long-running and popular hacking conference, the device in question just so happened to be the badge issued to all attendees.
Of course, given the nature of the event, the badge isn't just a mere piece of plastic—it's more of a Tamagochi-Gameboy-cross, with a little screen, speakers, and a Raspberry Pi RP2350 microcontroller. Def Con's attendee badges are always very popular, as they're designed to be hacked, modded, and repurposed as much as possible, so getting one to run Doom was kind of obligatory.
Not that it was a straightforward task, as coder Kilograham highlights in the blog for the project. All the code for the port is available on their GitHub page and you can see a brief clip of it in action, thanks to X user stacksmashing (via Tom's Hardware).
Considering the original code for Doom is targetted at x86 chips running DOS, porting it across to a relatively new Arm-based dual-core SoC (system-on-chip) with just 256 kB of RAM and 2 MB of flash storage does involve making significant changes to the routines, as well as the overall interface.
It's an impressive feat of programming and certainly the highlight of the Def Con event, especially in light of the kerfuffle over the development and manufacturing of the badges in the first place.
DEF CON can officially end now, as @kilograham5 got the original DOOM running — including sound and save game support — on the @defcon badge! It runs at super smooth 50FPS!https://t.co/6iEhwPTLSg pic.twitter.com/0oYypxovoYAugust 11, 2024
As reported by The Register, the badge's firmware developer, Dmitry Grinberg, was physically escorted from the event while giving a talk about the project and the contracted manufacturer, Entropic Engineering, released a public statement about everything that had gone wrong during the whole process.
«We’re confused
Read more on pcgamer.com