use an entire floppy image

This commit is contained in:
dzwdz 2021-08-19 21:57:02 +02:00
parent a38a1faa5a
commit d59152fcc0
1 changed files with 6 additions and 1 deletions

View File

@ -4,8 +4,13 @@ boot.bin: boot.o
boot.o: boot.s
as -o $@ $<
floppy.bin: boot.bin floppy_base.bin
rm -vf $@
cp floppy_base.bin $@
dd if=boot.bin of=$@
.PHONY: boot disasm hexdump
boot: boot.bin
boot: floppy.bin
qemu-system-i386 -drive file=$^,index=0,if=floppy,format=raw
disasm: boot.bin