Skip to content

Instantly share code, notes, and snippets.

@ryesalvador
Created April 1, 2020 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryesalvador/37062befd9268ee03c7c6f026c9ae741 to your computer and use it in GitHub Desktop.
Save ryesalvador/37062befd9268ee03c7c6f026c9ae741 to your computer and use it in GitHub Desktop.
KuDOS bootdisk install guide
# Install NASM
$ sudo pacman -S nasm
# Then download source
$ git clone https://gist.github.com/ryesalvador/d274044c06beadb160f0158d0358ab1d kudos
# CD into the source directory
$ cd kudos
# Assemble the code to binary
$ nasm kudos-boot.asm -o kudos-boot.bin
# Create a 1.44 floppy disk image file
$ dd if=/dev/zero of=disk.img bs=1024 count=1440
# Burn the bootdisk binary to the disk image file
$ dd if=kudos-boot.bin of=disk.img conv=notrunc
# Load the disk.img file into a Qemu or VM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment