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
commit 286e27ef40
Notes: sideshowbarker 2024-07-19 18:46:46 +09:00

View file

@ -1,5 +1,8 @@
#!/bin/sh
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 $@