Skip to content

gaganpreet/mbr-game

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

About

A simplified pacman clone I wrote a while ago in assembly, to be run as an MBR. Originally written for the Stripe MBR challenge:

Submit a 512-byte MBR boot sector that does something interesting (the specifics are up to you) and before exiting prints "Stripe".

The easiest way to run is:

nasm mbr-game.asm
qemu-system-i386 mbr-game

Overall, this is all written in 482 bytes, including the bytes required for MBR. I wanted to add at least one enemy, but 30 bytes weren't enough for one.

The code isn't heavily commented, especially for a beginner, but routine names should make the functionality fairly obvious. If you are interested in learning, start here:

http://wiki.osdev.org/MBR_%28x86%29

http://blog.markloiseau.com/2012/05/hello-world-mbr-tutorial/

https://en.wikibooks.org/wiki/X86_Assembly

Screenshot

Screenshot

About

A simplified Pacman clone for MBR

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published