You can now play Doom on a Lego piece

Tudor Cibean

Posts: 145   +9
Staff
In context: People have run versions of Doom on everything from inkjet printers to Apple's Touch Bar. Now, you can play the game on a tiny Lego brick that acts as an external monitor and a rudimentary controller. The components involved are also very affordable, making it easy to try to recreate the project.

A Twitter user showed off a custom Lego brick containing a tiny display and then proceeded to play Doom on it. The 0.42-inch monochrome OLED screen features a resolution of 72x40, barely enough to see what's happening in-game.

The hollowed-out blue brick also contains an STM32F030F4P6 microcontroller with a single-core ARM Cortex-M0 running at 48 MHz, 4 KB of RAM, and 16 KB of flash storage. This hardware is required to drive the display, and it's not enough to run Doom by itself, with some sprites within the game taking up more space than 16 KB.

Instead, the Lego brick acts as a small external display, with a PC offscreen rendering Doom and running a Python script for dithering and resizing. The creator even added capacitive touch controls to the two studs on top, allowing you to turn in-game.

In case you're looking to recreate the peculiar project, the user has created a Twitter thread where he explains the process in detail.

id Software originally released Doom on MS-DOS almost 30 years ago. Since then, the company has ported it to dozens of other platforms and consoles. People also started unofficially porting the game to countless esoteric devices, such as thermostats, oscilloscopes, McDonald's cash registers, Ikea smart lamps, and even a Porsche 911.

Permalink to story.

 

stewi0001

Posts: 2,777   +2,557
For some reason I swear that it turned out that the DOOM on the Porche 911 was actually fake.
 

p51d007

Posts: 3,309   +2,913
And I remember back in the day, having multiple autoexec.bat & config.sys files, so I could boot the computer to have AT LEAST 602k of memory required to run some games. ;)
 

Steveb8189

Posts: 86   +96
QEMM was the bomb!
How did I never know about this? Ah, that's right, because none of my 10 year old mates knew about it and I didn't buy the properly geeky magazines. It always frustrated me my machine has 4MB memory but I was still limited to the 640k base.
 

TheBigT42

Posts: 675   +709
How did I never know about this? Ah, that's right, because none of my 10 year old mates knew about it and I didn't buy the properly geeky magazines. It always frustrated me my machine has 4MB memory but I was still limited to the 640k base.
LOL
Yes! I am an old computer fart.
First Computer I used/played on (I was 7) was a TRS-80 I
I learned BASIC on a TRS-80 III
I had a C64 and a C128
Never got an Amiga :(
Started with "IBM" PCs in 1987