diff --git a/Makefile b/Makefile index ac41d13..13d32e4 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,9 @@ vbr.bin: boot/vbr.asm nasm -s -o $@ -I lib $< fdimage.img: vbr.bin kernel.com - cat vbr.bin kernel.com > $@ + dd if=/dev/zero bs=512 count=720 of=$@ + mformat -i $@ -f 360 -B vbr.bin -v "BOOT2B" :: + mcopy -i fdimage.img kernel.com ::boot.bin clean: - rm -f *.com + rm -f *.com *.bin *.img