Skip to content

Instantly share code, notes, and snippets.

@jvns
Last active May 12, 2020 15:19
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jvns/7668292 to your computer and use it in GitHub Desktop.
Save jvns/7668292 to your computer and use it in GitHub Desktop.
The tiniest operating system
myfirst.bin: myfirst.asm
nasm -f bin -o myfirst.bin myfirst.asm
dd status=noxfer conv=notrunc if=myfirst.bin of=myfirst.flp
run: myfirst.bin
kvm -fda myfirst.flp
This file has been truncated, but you can view the full file.
View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment