Tuesday, May 12, 2020

This Computer Chip Has Only One Purpose: Running 'Doom'

Doom runs on everything. Billboard trucks, digital cameras, and even McDonald’s cash registers have been tweaked to run the 1993 first person shooter. But a developer named Sylvain Lefebvre has taken Doom to the next level and programmed a computer chip to have only one exclusive task—it runs Doom.

“The DooM-chip! It will run E1M1 till the end of times (or till power runs out, whichever comes first),” Lefebvre said on Twitter.

As Engadget first reported, Lefebvre coded the game on to a Cyclone V FPGA circuit board—think a more expensive and powerful Raspberry Pi. The bulk of the code, the renderer, is 666 lines of code. The chip doesn’t play Doom so much as it runs a camera through a custom port of the first level, rendering it as it goes. This is all the chip does, and will continue to do as long as it's operational.

“Algorithm is burned into wires, [look-up-tables] and flip-flops on [the chip,]" Lefebvre said. “Doom was released as I was learning how to code graphics. It was, and remains, an immense inspiration and motivation boost. I spent countless hours making levels, hacking the game and hex dumps of doom.exe / doom.wad. This was a good opportunity to dive back into it!”



from VICE https://ift.tt/3fE51dP
via cheap web hosting

No comments:

Post a Comment