#!/bin/sh # SPDX-License-Identifier: MIT # Milestone 6: the three BIOS-dependent titles on both BIOS revisions (bios_calls.py), sequentially. # usage: scripts/m6_bios_runs.sh OUTFILE [FRAMES] set -u out=$1 frames=${2:-600} : "${NO_INTRO_DIR:?set NO_INTRO_DIR to the No-Intro root (its 'Atari - Atari 5200' folder is read)}" dir="$NO_INTRO_DIR/Atari - Atari 5200" root=$(dirname "$0")/.. for title in "K-Razy Shoot-Out (USA)" "Mountain King (USA)" "Pitfall! (USA)"; do for machine in a5200 a5200_2port; do nice -n 19 "$root/.venv-pypy/bin/python" "$root/scripts/bios_calls.py" "$dir/$title.zip" \ --machine "$machine" --frames "$frames" >>"$out" 2>&1 || echo "$title $machine: failed" >>"$out" done done echo done >>"$out"