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

https://github.com/Reisse/uefi-chip8

https://en.wikipedia.org/wiki/CHIP-8

 

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:

https://firmwaresecurity.com/2016/12/15/efi-pong/

https://firmwaresecurity.com/2015/12/20/firmware-maze-uefi-game/

https://firmwaresecurity.com/2015/08/19/defiant-new-uefi-game-engine/

https://github.com/swmicro/Tetris

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

dEFIant: new UEFI game engine

Nate Brune, a 16-year old high school student, just released:

dEFIant: The best UEFI game engine on the market!
The only ring0 game engine on the market
https://github.com/NateBrune/dEFIant

There are a few other UEFI games, but there are so few that I doubt “best UEFI game engine” cannot be argued with, yet. 🙂 I like the name, reminds me of “rEFIt” and “rEFInd”.

Back in 2013, Matthew Garrett ported Zork’s Z-Machine to UEFI:
http://mjg59.dreamwidth.org/27881.html

Also back in 2013, there’s a Tetris implementation for UEFI:
https://github.com/swmicro/Tetris

There’re 1-3 other UEFI games on Github, sorry no better pointers but here:
https://github.com/search?utf8=%E2%9C%93&q=UEFI&type=Repositories&ref=searchresults

Somewhere I think I still have patches for GNU Go and BSD Fortune ports, from when I was learning to use the EADK. 😦 I’m waiting for someone to port MAME to UEFI, only then will UEFI be “the new DOS”. 🙂