#! /bin/sh
# Test small disk interface
cat <<EOF >test-x
Drive: 0x80
Default: D
Timeout: 18/18 seconds
Enabled: F A
Interrupt: Shift
EOF
do_install -lis -r -I bigdisk.b bigdisk >test-y
diff -u test-x test-y
# Test of auto-booting from the hard disk.
do_install -d 0x80 -p 3 -t 9 -isk -e1 -o 128 image.hda
cat <<EOF >test-x
BEGIN
90
C7
58
14
SE
END
EOF
run_dos </dev/null

# Check the large disk interface
cat <<EOF >test-x
Drive: 0x80
Default: D
Timeout: 18/18 seconds
Enabled: F A
Interrupt: Key
EOF
do_install -li-s+k -r -I bigdisk.b bigdisk >test-y
diff -u test-x test-y
cat <<EOF >test-x
BEGIN
90
C7
58
14
ES
END
EOF
run_dos </dev/null

: Done
