All Projects → io12 → Bootmine

io12 / Bootmine

Licence: mit
Bootable minesweeper game in a 512-byte boot sector

Programming Languages

assembly
5116 projects

Projects that are alternatives of or similar to Bootmine

Pillman
Pillman boot sector game, a yellow thing eats pills and is chased by monsters.
Stars: ✭ 298 (+119.12%)
Mutual labels:  game, x86, bootloader
Asm Space Invaders
A small, bootable game written in x86 Assembly inspired by Space Invaders
Stars: ✭ 202 (+48.53%)
Mutual labels:  game, x86, bootloader
BootProg
FAT12/16/32 Bootsector for .COMs/.EXEs
Stars: ✭ 74 (-45.59%)
Mutual labels:  x86, bootloader, bios
Limine
x86/x86_64 BIOS Bootloader
Stars: ✭ 288 (+111.76%)
Mutual labels:  x86, bootloader, bios
mbr-boot-manager
💾 Master Boot Record with a boot menu written in Assembly
Stars: ✭ 57 (-58.09%)
Mutual labels:  x86, bootloader, bios
Toledo Atomchess
Toledo Atomchess is the world's smallest chess program in x86 assembly code
Stars: ✭ 69 (-49.26%)
Mutual labels:  game, x86, bootloader
Invaders
Invaders game in 512 bytes (boot sector)
Stars: ✭ 461 (+238.97%)
Mutual labels:  game, x86, bootloader
TravorOS
A simple OS running on Intel x86 architecture | No longer updating
Stars: ✭ 24 (-82.35%)
Mutual labels:  x86, bootloader
Radical-OS
Radical kernel source tree
Stars: ✭ 45 (-66.91%)
Mutual labels:  x86, bios
Dosbox Staging
DOS/x86 emulator focusing on ease of use
Stars: ✭ 412 (+202.94%)
Mutual labels:  x86, dos
dflat20
D-Flat Windowing System (SAA/CUA Interface) Version 20
Stars: ✭ 42 (-69.12%)
Mutual labels:  dos, x86
Openfodder
Open Fodder: An open source port of Cannon Fodder
Stars: ✭ 323 (+137.5%)
Mutual labels:  game, dos
Krabs
An x86 bootloader written in Rust.
Stars: ✭ 413 (+203.68%)
Mutual labels:  bootloader, bios
stoomboot
An x86 real mode multiboot-ish ELF bootloader
Stars: ✭ 19 (-86.03%)
Mutual labels:  x86, bootloader
Nemesis
💾 x86 operation system writen on fasm
Stars: ✭ 29 (-78.68%)
Mutual labels:  x86, bootloader
Toaruos
A completely-from-scratch hobby operating system: bootloader, kernel, drivers, C library, and userspace including a composited graphical UI, dynamic linker, syntax-highlighting text editor, network stack, etc.
Stars: ✭ 4,687 (+3346.32%)
Mutual labels:  x86, bootloader
Floppybird
Floppy Bird (OS)
Stars: ✭ 836 (+514.71%)
Mutual labels:  game, dos
Smallerc
Simple C compiler
Stars: ✭ 986 (+625%)
Mutual labels:  x86, dos
third
Third, a small Forth compiler for 8086 DOS
Stars: ✭ 67 (-50.74%)
Mutual labels:  dos, x86
FutureDOS
A futuristic DOS
Stars: ✭ 46 (-66.18%)
Mutual labels:  dos, x86

BootMine

Ever wanted to play minesweeper but didn't have an OS to run it in? No? Really no??

BootMine is an entire minesweeper game crammed into 512 bytes, the size of a BIOS boot sector. It can boot on any PC that supports BIOS booting, without running inside an OS. In a sense, BootMine is its own OS that can do nothing but run minesweeper.

demo

Controls

Key Action
Space 🔲 Clear cell
🕹 Move cursor
Enter 🚩 Place flag
R 💣 Restart game (only works on GAME WIN and GAME OVER screens)

Building

Make sure nasm and make are installed, then run:

make

Alternatively, prebuilt versions can be downloaded from the releases page.

Installing

The 512-byte file bootmine.img can be written to the first sector of a floppy disk (or USB drive), with a command like dd if=bootmine.img of=/dev/sdb. Keep in mind that this will effectively destroy all data on the drive.

Emulation

Makefile targets are provided for emulating in QEMU and Bochs.

make qemu
make bochs

NOTE: The way Bochs implements the rdtsc instruction appears to be bad as a source of entropy, so the bomb locations are predictable.

DOS

BootMine has DOS support too! Running make also produces bootmine.com that can be run in DOS. There are Makefile targets for easily running in DOSBox and DOSEMU.

make dosbox
make dosemu

Links

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].