RUN 521 Bytes
#!/bin/sh

CPUSIM="./cpusim -t 6000 -w"
TESTS="mi/sane.dat mi/interrupt.dat mi/cacheun.dat mi/bus_error.dat mi/reset.dat mi/emuwrite.dat mi/secure.dat si/master.dat"

for test in $TESTS; do
    echo "$test ..."
    $CPUSIM -f $test
done

# specials
# virage tests
$CPUSIM -f mi/viragerw.dat -0 mi/v0.dat
# pi flash tests
$CPUSIM -f pi/flread.dat -F pi/flread.fl
$CPUSIM -f pi/flwrite.dat -F pi/flread.fl
$CPUSIM -f pi/flaes.dat -F pi/flaes.fl
$CPUSIM -f pi/fldma.dat -F pi/flaes.fl
$CPUSIM -f pi/flatb.dat -F pi/flatb.fl