Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hexaboost

a super minimal bootloader written in x86 assembly. this project shows how computers boot up at the lowest level - just raw metal and code.

screenshot

hexaboost running in qemu

what it does

  • runs in 16-bit real mode (old school)
  • clears the screen for that clean aesthetic
  • shows green text because hacker vibes
  • waits for you to press something
  • reboots when you're done

how this actually works

when your pc starts up, the bios looks for bootable stuff. if it finds something with the magic 0xAA55 signature, it loads that first sector (512 bytes) into memory at 0x7C00 and jumps there. hexaboost is exactly that - just the bare minimum to make your computer do something cool.

running this yourself

stuff you need

  • nasm (to build the assembly)
  • qemu (to test without messing with real hardware)

build it

nasm -f bin hexaboost.asm -o hexaboost.bin

test it

qemu-system-i386 -fda hexaboost.bin

make a bootable usb (careful! this will wipe your drive)

# replace /dev/sdX with your usb drive
sudo dd if=hexaboost.bin of=/dev/sdX bs=512 count=1

learn more stuff

if you think this is cool, check these out:

license

mit license - do whatever you want with this

made by

someone thinks low-level stuff is underrated

About

a minimal 16-bit bootloader written in x86 assembly that runs before any OS. shows green hacker text directly on the metal.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages