swh:1:snp:cac5fb5e02e08ee7616a46f7bfbaeee022e40e15
Tip revision: 62edbcc8c6021789df156749d71229308ba4313a authored by Ronald Burkey on 08 August 2021, 00:25:00 UTC
Merge pull request #1149 from virtualagc/yagcb1_fixes
Merge pull request #1149 from virtualagc/yagcb1_fixes
Tip revision: 62edbcc
SimColossus249_lite
#!/bin/bash
# This shell script runs the CM elements of the Virtual AGC
# emulation for software version 249 of Colossus. This "lite" version
# uses the DSKY simulation of the LM_Simulator program rather than yaDSKY.
# What all the stuff with PIDS does is to record the process IDs of all the
# programs we start. We use this list to terminate all of them if any of
# them terminates.
# Notice a lot of commented-out lines that say "xterm ...". It's nicer in
# a lot of ways to run these various apps inside of X-terminals, but opens
# up so incredibly many windows on the screen that I don't do it normally.
# Just remove the comment symbol from in front of any apps that you want in
# an xterm. For example, if you want to run yaAGC with the --debug switch.
xterm -sb -geometry 72x1 -e \
LM_Simulator --cfg=lm_simulator.ini --port=19701 &
PIDS="$!"
#xterm -sb -geometry 112x40 -e \
yaAGC --core=Colossus249.bin --cfg=CM.ini $1 &
PIDS="$! ${PIDS}"
export PIDS
# Scan for any of the programs to exit.
SimStop