use an entire floppy image
This commit is contained in:
parent
a38a1faa5a
commit
d59152fcc0
7
Makefile
7
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue