X-Git-Url: http://git.mutantstargoat.com?p=bootboot;a=blobdiff_plain;f=Makefile;fp=Makefile;h=ea23f67499dfaf20072ca1b7e0d4ece4574f954a;hp=e52a97e5b14f009b90877e5df3ac4e05109dc442;hb=588c045c1bb8248a0b70ab4e0f4f80f4a189d6bb;hpb=6e624974ddfa6a1b7a195dd20800c469347579e1 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 $<