X-Git-Url: https://eleni.mutantstargoat.com/git/?p=bootboot;a=blobdiff_plain;f=Makefile;fp=Makefile;h=ea23f67499dfaf20072ca1b7e0d4ece4574f954a;hp=e52a97e5b14f009b90877e5df3ac4e05109dc442;hb=27427fd7f284b5359def788acbccff31989cdecf;hpb=ed7544d82195f704b31bf78cb9ae1ca967b17a1f diff --git a/Makefile b/Makefile index e52a97e..ea23f67 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,10 @@ floppy.img: $(bin) dd if=/dev/zero of=$@ bs=1024 count=1440 dd if=$< of=$@ bs=512 conv=notrunc +.PHONY: disasm +disasm: $(bin) + ndisasm -b16 -o 0x7c00 $< > dis + .PHONY: clean clean: rm -f $(bin) @@ -16,3 +20,7 @@ clean: .PHONY: run run: floppy.img qemu-system-i386 -fda $< + +.PHONY: debug +debug: floppy.img + qemu-system-i386 -S -s -fda $<