Skip to content

Instantly share code, notes, and snippets.

View guilload's full-sized avatar

Adrien Guillo guilload

View GitHub Profile
@guilload
guilload / Makefile
Last active August 29, 2015 14:09
Hello world boot loader
NASM=nasm
QEMU=qemu-system-i386 -curses
all:
nasm -f bin -o boot.bin boot.asm
dd if=/dev/zero of=floppy.img bs=512 count=1 &> /dev/null
dd if=boot.bin of=floppy.img conv=notrunc
run: floppy.img