From fc4532c721aa58122e636d7d2789eb78c6895e51 Mon Sep 17 00:00:00 2001 From: Philip Zembrod Date: Sat, 11 Jul 2020 20:26:40 +0200 Subject: [PATCH] Tweak build-vf.sh script for non-saving, non-auto-terminating debug target compile --- 6502/C64/emulator/build-vf.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/6502/C64/emulator/build-vf.sh b/6502/C64/emulator/build-vf.sh index cf4d611..0493029 100755 --- a/6502/C64/emulator/build-vf.sh +++ b/6502/C64/emulator/build-vf.sh @@ -13,9 +13,10 @@ basedir="$(realpath --relative-to="$PWD" "${emulatordir}/..")" source="$1" target="$2" -rm -f "${basedir}/cbmfiles/${target}" +test -n "$target" && rm -f "${basedir}/cbmfiles/${target}" keybuf="include ${source}\nsave-target ${target}\ndos s0:notdone\n" +test -z "$target" && keybuf="include ${source}\n" DISK9=vforth4_2 DISK10=tc38q "${emulatordir}/run-in-vice.sh" \ "tcbase" "${keybuf}"