fs2port/port/tools/verify/oracleRun.sh

9 lines
627 B
Bash
Executable file

#!/bin/sh
# usage: port/tools/verify/oracleRun.sh TICKS KEYS
# Runs fs2trace (the 6502 oracle) from the real boot through TICKS
# ProcessInputTick entries with KEYS fed one per tick, exactly the way
# fs2port --ticks/--keys does. Extra FS2TRACE_* variables pass through
# (FS2TRACE_SNAP_EVERY=1 writes tmp/oracle.snaps, FS2TRACE_DRAWLOG=1
# logs every line/span/plot).
cd "$(dirname "$0")/../../.."
FS2TRACE_NO_LC_GUARD=1 FS2TRACE_BOOT=1 FS2TRACE_REAL_PROMPT=1 FS2TRACE_RUN_TICKS="$1" FS2TRACE_KEYS="$2" port/bin/fs2trace "orig/flight simulator 2 with scenery PRODOS (san inc pack).po" downloads/scenery/extracted/FS2.1.blocks