Skip to content

A snake game made entirely in the BIOS

Notifications You must be signed in to change notification settings

donno2048/snake-bios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

snake-bios

A snake game made entirely in the BIOS.

Based on my other snake game.

It's 114 bytes including all the code used to initialize the hardware (the rest of the BIOS is filled with zeros).

Compile

nasm bios.asm -o snake.raw

Run

qemu-system-i386 -display curses -bios snake.raw -plugin contrib/plugins/libips.so,ips=2000

The game will take some time to initialize the hardware, then you just need to use the numpad arrows to control the snake movement.

If you don't have a numpad you can compile with

nasm bios.asm -o snake.raw -D NONUMPAD

And then use the keypad.

Here it is as a QR Code (made with qrencode -r <(sed 's/\x00*$//' snake.raw) -8 -o qr.png)

About

A snake game made entirely in the BIOS

Topics

Resources

Stars

Watchers

Forks