1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:57:46 +00:00

Make it run in QEMU.

Looks like the problem was the weirdly-sized floppy image file.
I guess QEMU was inferring the floppy disk geometry from the image size.
This commit is contained in:
Andreas Kling 2018-11-08 02:03:19 +01:00
parent da3857b0c2
commit 71a2942a0a
2 changed files with 7 additions and 4 deletions

View file

@ -1,8 +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
if [ "$1" = "b" ]; then
bochs -q -f .bochsrc
else
qemu-system-i386 -m 32 -drive format=raw,file=.floppy-image,if=floppy -drive format=raw,file=_fs_contents #$@
fi