https://github.com/hacrvlq/snakeos
a bare-metal snake game written in assembly supporting local multiplayer
https://github.com/hacrvlq/snakeos
assembly assembly-x86 bare-metal baremetal bootloader snake-game x86
Last synced: 4 months ago
JSON representation
a bare-metal snake game written in assembly supporting local multiplayer
- Host: GitHub
- URL: https://github.com/hacrvlq/snakeos
- Owner: hacrvlq
- License: mit
- Created: 2025-03-26T19:08:23.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-26T19:22:26.000Z (7 months ago)
- Last Synced: 2025-03-26T20:25:15.662Z (7 months ago)
- Topics: assembly, assembly-x86, bare-metal, baremetal, bootloader, snake-game, x86
- Language: Assembly
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SnakeOS
A bare-metal snake game written in assembly supporting local multiplayer. It can run on any x86
system capable of 32-bit that has a BIOS.
# Running
Pre-built images are available at [Releases](https://github.com/hacrvlq/snakeos/releases).
## Real Hardware
Put the disk image `snakeos.img` on an usb stick/ssd/hdd. On unix this can be achieved using `dd`:
```
dd if=snakeos.img of= conv=fsync
```
Then boot from this device.
## Emulation
To run SnakeOS in [QEMU](https://www.qemu.org), use the following command:
```
qemu-system-i386 -drive format=raw,file=snakeos.img
```
# Building
Requires the [nasm](https://nasm.us) assembler.
```
nasm -f bin -i src src/root.asm -o snakeos.img
```