https://github.com/virtualagc/virtualagc
Revision 4e5d304eb7cd5589b924ffb8b423b6f15511b35d authored by Ron Burkey on 20 October 2018, 17:47:00 UTC, committed by Ron Burkey on 20 October 2018, 17:47:00 UTC
the recently-added documents about YUL, was transcribed.  Because the
original program contained a deliberate error in YUL (as well as some
constructs that have unintentionally become errors in yaYUL), I've
provided it in two forms:  TRIVIUM (which matches the original scan,
to the extent feasible) and TRIVIUM-repaired (which has the deliberate
and unintentional errors fixed, but otherwise retains the identical
functionality of the original).
1 parent c6c292e
Raw File
Tip revision: 4e5d304eb7cd5589b924ffb8b423b6f15511b35d authored by Ron Burkey on 20 October 2018, 17:47:00 UTC
The sample Block I AGC program TRIVIUM, found at the very end of one of
Tip revision: 4e5d304
SimArtemis072_lite
#!/bin/bash
# This shell script runs the CM elements of the Virtual AGC 
# emulation for software version Artemis 072 (Colossus 3).  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=Artemis072.bin --cfg=CM.ini $1 &
PIDS="$! ${PIDS}"
export PIDS

# Scan for any of the programs to exit.  
SimStop



back to top