close
The Wayback Machine - https://web.archive.org/web/20221226070937/https://github.com/nongiach/snake_boot_sector
Skip to content

nongiach/snake_boot_sector

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
 
 
 
 
 
 
 
 
mbr
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Snake game on MBR

Hi folks! Here is one of my one weekend project that I made back in 2013.

What is this ?

A custom MBR (Master Boot Record) booting a snake game. Once installed on an usb flash drive it will boot instead of your system.

ScreenToGif

Alt Text

Start from qemu

$ qemu-system-i386 snake.img

Start from Virtualbox

Import snake.ova from virtualbox and start !!

Start on your hardware using an USB key

$ sudo dd bs=512 if=snake.img of=/dev/YOUR_USB_KEY_DEVICE

Replace YOUR_USB_KEY_DEVICE by your usb device (example: sdb or sdc). Be careful if you choose the wrong device your computer might break. WARNING: This command will cause your USB device to lose any data present on it.

Booting on this USB device will not harm your computer.

Start from bochs

Tested using bochs BIOS v2.6.2 and VGABIOS v2.6.2.

$ bochs

If the bios is not found by bochs, create a dedicated configuration file and include it at runtime with

$ bochs '#include PATH/TO/YOUR/CONFIGURATION/FILE'

Note: when using git bash in windows, the path should be formatted for windows ("c:\PATH\TO\FILE") instead of an unix path ("/c/PATH/TO/FILE")


By @chaign_c #HexpressoTeam.

About

A snake game written in 555 bytes that you can boot from usb !!!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published