Skip to content

Snake written in x86 Assembly which fits into a 512 bytes bootloader

Notifications You must be signed in to change notification settings

linusyh/bootloader_snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Snake written in x86 Assembly which fits into a 512 bytes bootloader

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published