Created
October 21, 2017 09:32
-
-
Save ghaiklor/552d7f9c6c11e0c756ad305e55a0fff0 to your computer and use it in GitHub Desktop.
Prepares an environment with nasm/QEMU and copies basic bootloader
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install nasm | |
brew install qemu | |
curl https://gist.githubusercontent.com/ghaiklor/89e243a3463569480d01188c9e55e077/raw/460037f466928fd2e1d2e10473a579133434c094/boot.asm > boot.asm | |
nasm boot.asm -f bin -o boot.bin | |
qemu-system-i386 -fda boot.bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment