Added bochs

This commit is contained in:
Georges Dupéron 2018-06-26 02:35:07 +02:00
parent eb90ca298b
commit c4fb6e3cfb
2 changed files with 16 additions and 2 deletions

View File

@ -7,7 +7,7 @@ addons:
- qemu-system-x86
- qemu-system-arm
- virtualbox
- bochs
- bochs-x
- sikuli-ide
# Missing dependencies for sikuli-ide
#- libantlr3-runtime-java # on 16.04

View File

@ -1,4 +1,18 @@
#!/bin/sh
set -e
bochs --help
os_file="example-os/os.sh"
bochsrc="$(tempfile)"
cat > "$bochsrc" <<EOF
floppya: 1_44=${os_file}, status=inserted
boot: floppy
EOF
bochscontinue="$(tempfile)"
echo "continue" > "$bochscontinue"
bochs -qf "$bochsrc" < "$bochscontinue" &
pid=$!
runsikulix -r test/check-gradient.sikuli
kill $pid