switched to 16bit mode, but int 10h hangs
[efitest3] / Makefile
index a2b0638..198f1d8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,12 +22,12 @@ clean:
 
 .PHONY: run
 run: disk.img
-       qemu-system-x86_64 -bios /usr/share/ovmf/OVMF.fd -hda $<
+       qemu-system-x86_64 -bios /usr/share/ovmf/OVMF.fd -hda $< -net none -serial stdio
 
 .PHONY: debug
 debug: disk.img
-       qemu-system-x86_64 -bios /usr/share/ovmf/OVMF.fd -S -s -hda $<
+       qemu-system-x86_64 -bios /usr/share/ovmf/OVMF.fd -S -s -hda $< -net none -serial stdio
 
 
 disasm: bootx64.efi
-       ndisasm -b 64 -o 0x100000 -e 4096 $< >$@
+       ndisasm -b 64 -o 0x1000 -e 4096 $< >$@