Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 611 Bytes

README.md

File metadata and controls

20 lines (17 loc) · 611 Bytes

Bootloader Snake

A basic version of Snake written in x86 Assembly which fits into a 512 bytes bootloader

bootloader_snake_demo.gif

Compile

nasm snake.asm -fbin -o snake.bin

Run

This game has been tested on Bochs and VirtualBox

Create an img file for VirtualBox

dd if=/dev/zero of=snake.img bs=1024 count=1440
dd if=snake.bin of=snake.img conv=notrunc

Known Issues / Area for Improvement

  • Game speed remains constant, notta very exciting
  • "Candy" could spawn under the snake