Skip to content

yorncl/snake-bootloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

snake-bootloader

A snake game running from a x86 bootloader. The code is under 256 bytes long.

Demo

Build

You will need make and nasm to build the binary.

Just run make. It will produce a raw binary.

Running it

You can run it using qemu or on real hardware.

Qemu

If you have qemu-system-x86_64 installed, just hit make run.

If this command doesn't work, you will need to manually specify the drive containing the compiled binary and indicate that it is in raw format to QEMU.

Real hardware

(WARNING : I haven't tested it further for now, it might break, I recommend using qemu)

You can use dd to burn it on your usb, like so :

dd if=./snake-asm of=/dev/yourusb bs=256

It will erase the first 256 bytes of your key. Your usb key should be bootable after that.

About

A bootable 16bit x86 snake game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published