Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

scripts for running xomb

  • Loading branch information...
commit c046821c403a1dbf955153b7ed78c69e83aef2e0 1 parent b6eda1b
wolfwood authored wolfwood committed
Showing with 19 additions and 1 deletion.
  1. +3 −1 reembed.sh
  2. +16 −0 run.sh
View
4 reembed.sh
@@ -10,4 +10,6 @@ cd ../../..
cd build
./buildiso.sh
-bochs -q
+#bochs -q
+cd ..
+./run.sh
View
16 run.sh
@@ -0,0 +1,16 @@
+CURSES="-display curses"
+SATA=""
+CD="-cdrom build/xomb.iso --boot cd"
+
+for arg in $@; do
+ case $arg in
+ -X) CURSES="";;
+ --sata) SATA="-drive id=disk,file=/home/wolfwood/repos/xomb/disk0.raw,if=none -device ahci,id=ahci -device ide-drive,drive=disk,bus=ahci.0";;
+ esac
+done
+
+qemu-system-x86_64 -enable-kvm $CURSES $SATA $CD
+
+exit
+
+#qemu-system-x86_64 -enable-kvm -device ahci,id=ahci0,bus=pci.0,multifunction=on,addr=0x4.0x0 -drive file=/home/wolfwood/repos/xomb/disk0.raw,if=none,id=drive-sata-disk0,format=raw -device ide-drive,bus=ahci0.0,drive=drive-sata-disk0,id=sata-disk0 -display curses -cdrom build/xomb.iso --boot cd
Please sign in to comment.
Something went wrong with that request. Please try again.