Revision 49926c64aa2d4ea8cd64b4eaa626d22f43bfaeeb authored by Ron Burkey on 12 October 2018, 13:13:55 UTC, committed by Ron Burkey on 12 October 2018, 13:13:55 UTC
to comments in *.agc files that include the strings -SIMULATION or +SIMULATION. The former are automatically commented out if --simulation is used, while the latter are commented out is --simulation is *not* used. All of that was for the sole purpose of adding a -SIMULATION specifier to a single line in Validation.agc that proves inconvenient sometimes for simulations of the AGC electronics. There's a new target in the top-level Makefile (namely Validation-hardware-simulation) that isn't one of the default ones, but which when used, builds a separate rope (Validation/Validation-hardware-simulation.agc.bin) and html with that one inconvenient line in Validation.agc commented out. Overkill, I know.
1 parent 0a720cd
CopyApolloSource.sh
#!/bin/bash
# This script is used by the VirtualAGC Makefile to copy AGC or AGS
# stuff into the installation-build directory. The usage is:
# sh CopyApolloSource.sh dirname sourcename ext win
# where sourcename is something like Luminary131 or FP8 and the
# dirname is something .../Resources. EXT is either -pR
# for Mac OS X, or -a for everyone else. Finally, WIN is either
# anything non-blank (for Windows systems) or else blank (for anything
# other than Windows).
SOURCENAME=$2
SOURCEDIR=../$SOURCENAME
DESTDIR=$1/source/$SOURCENAME
EXT=$3
WIN=$4
SRCPATHS="*.binsource *.agc *.aea Apollo32.png *.agc.html *.aea.html"
SRCPATHS="$SRCPATHS *.pad *.cbp Makefile Solarium055.lst"
mkdir $DESTDIR
cp ../Contributed/SyntaxHighlight/Prettify/*.js $DESTDIR
cp ../Contributed/SyntaxHighlight/Prettify/*.css $DESTDIR
for srcpath in ${SRCPATHS}; do
sources=`find $SOURCEDIR -name $srcpath`
if [ ! -z "$sources" ]; then
cp $EXT $sources $DESTDIR
fi
done
#sh ./lst2html.sh $SOURCEDIR/$SOURCENAME.lst $DESTDIR/$SOURCENAME.html $WIN
if [ -f $SOURCEDIR/$SOURCENAME.bin ]; then
cp $EXT $SOURCEDIR/$SOURCENAME.bin $DESTDIR
fi
if [ -f $SOURCEDIR/$SOURCENAME.symtab ]; then
cp $EXT $SOURCEDIR/$SOURCENAME.symtab $DESTDIR/$SOURCENAME.bin.symtab
fi
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...