From 0be74eeee017b7116126e258b97df5a857dac4ab Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 9 Jun 2017 21:40:05 +0200 Subject: tried to probe disk geometry with mixed success (emulated FDD mode on USB not working). Code in stage1 gets too complex to fit 512 bytes, so we most likely must load stage2 with a simple algorithm (maybe 8 sectors every bios 13h/2h function is able to deliver). Then we load the kernel in a second, more complex loading step --- src/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 0fbf658..55f8975 100644 --- a/src/Makefile +++ b/src/Makefile @@ -97,6 +97,10 @@ setjmp.o: setjmp.asm clean: -rm -f boot.bin kernel.bin kernel.sym kernel.elf image.bin magic.bin *.o boot.map image.tmp +run-qemu-hd: image.bin + qemu-system-i386 -net nic,model=ne2k_pci -d guest_errors -m 32 -drive "file=image.bin,if=ide,format=raw" \ + -serial file:serial.log + run-qemu: image.bin qemu-system-i386 -net nic,model=ne2k_pci -d guest_errors -m 32 -drive "file=image.bin,if=floppy,format=raw" \ -serial file:serial.log -- cgit v1.2.3-54-g00ecf