Super Mario Bros (NES emulator) ported to UEFI

David Lee has apparently ported a NES emulator — without sound — to UEFI, but source code is not apparently available:

I used EDK II framework.
About the keyboard input, Program reads the value from 0x60 port directly because of multi-key input processing.
I measure the timer count twice(for 1sec) by using the rdtsc instruction to make game delay more accurate.
I didn’t implement the audio output.


UEFI port of CHIP-8 game engine

There’s a CHIP-8 emulator written for most platforms, now including UEFI. The executable uc8.efi is built using the GNU-EFI toolchain, not the Tianocore toolchain.

“CHIP-8 emulator as an UEFI application”

Usage: uc8 FILE [ROM]

Follow the instructions on your screen. In case of trouble, press Z.

About CHIP-8, Wikipedia says:
There are a number of classic video games ported to CHIP-8, such as Pong, Space Invaders, Tetris, and Pac-Man. There’s also a random maze generator available. These programs are reportedly placed in the public domain, and can be easily found on the Internet.”


Tetris for UEFI

Nikolaj points out that there’s a UEFI port of the game Tetris …but I can’t find the source, only the binary:

As mentioned in the below Defiant UEFI game engine post below, there’s a Tetris for UEFI on Github with source, unclear if this is a different one than above:

If someone has some spare time, please port MAME to UEFI. Please!

Firmware-Maze: UEFI game

There’s a Github project with a UEFI maze game on it, called Firmware-Maze:

Appears to be mostly a single-file game:

I’ve not built it yet, I’ll try that later, I still have to read CodeRush’s latest UEFI SecureBoot tutorial…

Some other UEFI games: