MBR en assembleur#
loop:
jmp loop
times 510-($-$$) db 0
dw 0xaa55
target=loopkernel.bin
all: $(target)
$(target): loopkernel.S
nasm -o $@ -f bin $^
clean:
rm -f $(target)
run: $(target)
qemu-system-x86_64 -drive format=raw,file=$(target)
# No graphics (qui: CTRL-A X)
# qemu-system-x86_64 -curses -drive format=raw,file=$(target)