DoomBuds ports the 1993 FPS classic to open-source earbuds by streaming JPGs at 18fps — runs on 300MHz CPU with less than 1MB of RAM

DoomBuds - Doom powered by earbuds
(Image credit: Arin-S)

A developer has ported Doom to a pair of earbuds. That kind of statement might not have the impact it once had, after tales of high jinks and ports of Doom stretching from quantum computers, to USB chargers, to lawn mowers. However, as earbuds don’t have displays (yet), Arin Sarkisian also devised a canny method to stream the Doom action to another device, or even via the internet.

You can’t just use any earbuds for this latest Doom-on-x episode of development gymnastics. Currently, this Doom port only works on the PineBuds Pro, which Arin-S says are the only earbuds with open source firmware. And, yes, these buds are made by the same folks behind the RISC-V-powered soldering irons, like the Pinecil V2 we reviewed in Aug 2022.

DoomBuds - Doom powered by earbuds

(Image credit: Arin-S)

Some more hurdles of using the PineBuds were the less-than-ample RAM and storage. The developer managed to get Doom to run in under 1MB by “pre-generating lookup tables, making variables const, reading const variables from flash, disabling Doom's caching system, removing unneeded variables.” Moreover, the shareware Doom 1 WAD assets file was 4.2MB, just over the 4MB storage on the PineBuds. This payload was reduced to 1.7MB after borrowing some pre-modded-for-size Doom resources.

Lastly, the no-screen conundrum presented its own set of challenges. Arin-S decided the PineBuds Pro’s UART connection was the best choice for achieving game visuals (the only other choice was Bluetooth). A mix of bandwidth, image compression shenanigans, and demands on the Cortex-M4F ultimately meant the best achievable performance was about 18fps, in practice. In theory, it should have been nearer 25fps, but the dev reckons the CPU hadn’t the grunt to keep up with converting the MJPEG stream at that rate.

No PineBuds Pro, no problem

Arin-S shares all the resources needed to get your own set of PineBuds Pro up and running, with Doom loaded. However, the developer has also generously decided to set up a website that streams Doom action from his own pair of PineBuds Pro.

Head on over to this nicely crafted webpage to join the queue (yes, it is popular) and partake in some online Doom powered by the remote earbuds.

Lastly, the developer says that he is currently looking for work if you think you might need someone with his unique set of skills.

Google Preferred Source

Follow Tom's Hardware on Google News, or add us as a preferred source, to get our latest news, analysis, & reviews in your feeds.

Mark Tyson
News Editor

Mark Tyson is a news editor at Tom's Hardware. He enjoys covering the full breadth of PC tech; from business and semiconductor design to products approaching the edge of reason.