Signed-off-by: Philipp Hachtmann <hachti@hachti.de>
# AUTO BOOT THE PDP8 VIA RIM LOADER
+PDP8=$(realpath $(dirname "$0")/..)
+AUTO_RIM=~/pdp8/sw/autobin/autobin.rim
+
PORT=`cat ~/.minirc.dfl | grep "port" | awk '{print $3}'`
if [ ! "$PORT" ]; then PORT="/dev/ttyS0"; fi
SPEED=`cat ~/.minirc.dfl | grep "baudrate" | awk '{print $3}'`
-AUTO_RIM=~/pdp8/work/autobin/autobin.rim
echo "PORT : $PORT"
echo "SPEED: $SPEED"
+
+echo "PDP8: $PDP8"
+
error(){
echo "ERROR: $1" >&2
bad
#!/bin/bash
+
+PDP8=$(realpath $(dirname "$0")/..)
+
rm -f /var/lock/LCK..ttyUSB0
stty -F /dev/ttyUSB0 38400 raw -echo clocal -crtscts
-kermit /$HOME/pdp8/sw/pc/kermit_script/frosch.k
\ No newline at end of file
+kermit $PDP8/sw/pc/kermit_script/frosch.k
\ No newline at end of file