Get all your news in one place.
100’s of premium titles.
One app.
Start reading
Tom’s Hardware
Tom’s Hardware
Technology
Mark Tyson

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.

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.

In terms of improbable CPU horsepower, the PineBuds Pro are right up there. Inside their snug ear-fitting shells, alongside the audio drivers and battery cells, there is an Arm Cortex-M4F processor. Arin-S tweaked the open-source firmware to boost the CPU clock from 100 to 300 MHz (an astounding OC nowadays), and disabled the low-power mode for the most Doom-tastic experience.

(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.

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

Sign up to read this article
Read news from 100’s of titles, curated specifically for you.
Already a member? Sign in here
Related Stories
Top stories on inkl right now
One subscription that gives you access to news from hundreds of sites
Already a member? Sign in here
Our Picks
Fourteen days free
Download the app
One app. One membership.
100+ trusted global sources.