projects
/
bootboot
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
disable/enable interrupts to stop the bios from reading the keyboard
[bootboot]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
e52a97e
..
ea23f67
100644
(file)
--- 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
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)
.PHONY: clean
clean:
rm -f $(bin)
@@
-16,3
+20,7
@@
clean:
.PHONY: run
run: floppy.img
qemu-system-i386 -fda $<
.PHONY: run
run: floppy.img
qemu-system-i386 -fda $<
+
+.PHONY: debug
+debug: floppy.img
+ qemu-system-i386 -S -s -fda $<