Update the basis for the target compiler to the current v4thblk-c64

The update is intentionally encapsulated in a script to invoke manually,
not automatically invoked via make.
This commit is contained in:
Philip Zembrod 2021-01-05 23:05:30 +01:00
parent 11816fa9d6
commit 9a05a54995
5 changed files with 17 additions and 2 deletions

View File

@ -58,7 +58,7 @@ run-testbase16: emulator/testbase16.T64
# Targetcompiler targets
cbmfiles/tcbase: emulator/c64-vf-390.T64 emulator/build-tcbase.sh \
cbmfiles/tcbase: emulator/v4th-c64-4tc.T64 emulator/build-tcbase.sh \
disks/tc38q.d64 disks/file-words.d64 cbmfiles/tc-base.fth
emulator/build-tcbase.sh

Binary file not shown.

Binary file not shown.

View File

@ -14,4 +14,4 @@ keybuf="3 drive 20 load\n3 drive 10 load\nsave\n\
savesystem tcbase\ndos s0:notdone\n"
DISK10=tc38q DISK11=file-words "${emulatordir}/run-in-vice.sh" \
"c64-vf-390" "${keybuf}"
"v4th-c64-4tc" "${keybuf}"

View File

@ -0,0 +1,15 @@
#!/bin/bash
set -e
# Script to update the base binary on which the target compiler
# is run.
# The updating of v4th-c64-4tc from the newly built binaries
# is intentionally not automatically via Makefile, to ensure a
# certain stability for the target compiler.
emulatordir="$(realpath --relative-to="$PWD" "$(dirname "${BASH_SOURCE[0]}")")"
basedir="$(realpath --relative-to="$PWD" "${emulatordir}/..")"
cbmfilesdir="${basedir}/cbmfiles"
cp "${cbmfilesdir}/v4thblk-c64" "${cbmfilesdir}/v4th-c64-4tc"