Allow running in QEMU with "./run q"

The kernel doesn't run in QEMU right now and I don't know why.
This commit is contained in:
Andreas Kling 2018-10-17 16:58:35 +02:00
parent 8ff394f83f
commit 286e27ef40

View file

@ -1,5 +1,8 @@
#!/bin/sh
bochs -q -f .bochsrc
if [ "$1" = "q" ]; then
qemu-system-i386 -drive format=raw,file=.floppy-image,if=floppy -drive format=raw,file=_fs_contents #$@
else
bochs -q -f .bochsrc
fi
#qemu-system-i386 -drive format=raw,file=.floppy-image,if=floppy -drive format=raw,file=_fs_contents $@