diff --git a/6502/C64/Makefile b/6502/C64/Makefile index 8217311..a323731 100644 --- a/6502/C64/Makefile +++ b/6502/C64/Makefile @@ -51,7 +51,7 @@ cbmfiles/tcbase: emulator/c64-testbase.T64 emulator/build-tcbase.sh \ emulator/build-tcbase.sh cbmfiles/c64-vf-latest: emulator/tcbase.T64 emulator/build-c64forth.sh \ - disks/vforth4_2.d64 disks/tc38q.d64 cbmfiles/mk-c64forth.fth + disks/vforth4_2.d64 disks/tc38q.d64 cbmfiles/vf-c64-main.fth emulator/build-c64forth.sh # Temp stopgap to fit c16 into default use of VERSION=vf-latest diff --git a/6502/C64/emulator/build-c64forth.sh b/6502/C64/emulator/build-c64forth.sh index cc0a10a..bfbfd7e 100755 --- a/6502/C64/emulator/build-c64forth.sh +++ b/6502/C64/emulator/build-c64forth.sh @@ -1,4 +1,10 @@ #!/bin/bash + +# Script for target-compiling the C64 version of VolksForth. +# It uses the tcbase binary, i.e. the resident part of the target +# compiler, adds the transient part of the target compiler, and then +# loads the C64 VolksForth sources, and saves the target. + set -e emulatordir="$(dirname "${BASH_SOURCE[0]}")" @@ -6,7 +12,7 @@ basedir="$(realpath --relative-to="$PWD" "${emulatordir}/..")" rm -f "${basedir}/cbmfiles/c64-vf-latest" -keybuf="include mk-c64forth.fth\n\ +keybuf="include vf-c64-main.fth\n\ save-target c64-vf-latest\ndos s0:notdone\n" DISK9=vforth4_2 DISK10=tc38q "${emulatordir}/run-in-vice.sh" \ diff --git a/6502/C64/src/mk-c64forth.fth b/6502/C64/src/vf-c64-main.fth similarity index 100% rename from 6502/C64/src/mk-c64forth.fth rename to 6502/C64/src/vf-c64-main.fth