mirror of
https://github.com/forth-ev/VolksForth.git
synced 2024-11-26 02:49:17 +00:00
Add make rules and adapt scripts for running building and running tests on Plus4
This commit is contained in:
parent
775ad14ab9
commit
c08e3189e2
@ -22,10 +22,17 @@ run-devenv: emulator/devenv.T64
|
||||
run-testbase: emulator/testbase.T64
|
||||
emulator/run-in-vice.sh testbase
|
||||
|
||||
run-tests: emulator/testbase.T64 $(test_files_petscii)
|
||||
test: emulator/testbase.T64 $(test_files_petscii)
|
||||
emulator/run-in-vice.sh testbase \
|
||||
"include run-vf-tests.fth\n"
|
||||
|
||||
run-testbase16: emulator/testbase16.T64
|
||||
VICE=xplus4 emulator/run-in-vice.sh testbase16
|
||||
|
||||
test16: emulator/testbase.T64 $(test_files_petscii)
|
||||
VICE=xplus4 emulator/run-in-vice.sh testbase16 \
|
||||
"include run-vf-tests.fth\n"
|
||||
|
||||
|
||||
# Rules for building Forth binaries on top of the plain vanilla
|
||||
# c64-volksforth83.
|
||||
@ -39,6 +46,10 @@ cbmfiles/testbase: emulator/run-in-vice.sh emulator/build-testbase.sh \
|
||||
emulator/c64-volksforth83.T64 disks/file-words.d64
|
||||
emulator/build-testbase.sh
|
||||
|
||||
cbmfiles/testbase16: emulator/run-in-vice.sh emulator/build-testbase.sh \
|
||||
emulator/c16-volksforth83.T64 disks/file-words.d64
|
||||
emulator/build-testbase16.sh
|
||||
|
||||
|
||||
# Generic T64 tape image rule
|
||||
|
||||
|
BIN
6502/C64/cbmfiles/testbase16
Normal file
BIN
6502/C64/cbmfiles/testbase16
Normal file
Binary file not shown.
16
6502/C64/emulator/build-testbase16.sh
Executable file
16
6502/C64/emulator/build-testbase16.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
emulatordir="$(dirname "${BASH_SOURCE[0]}")"
|
||||
basedir="$(realpath --relative-to="$PWD" "${emulatordir}/..")"
|
||||
|
||||
rm -f "${basedir}/cbmfiles/testbase"
|
||||
|
||||
# load savesystem w/o editor from file-words.d64 block 20 in drive 11.
|
||||
# load include and dos from file-words.d64 block 10 in drive 11.
|
||||
# savesystem and then scratch file notdone to exit emulator.
|
||||
keybuf="3 drive 20 load\n3 drive 10 load\n\
|
||||
savesystem testbase16\ndos s0:notdone\n"
|
||||
|
||||
VICE=xplus4 "${emulatordir}/run-in-vice.sh" \
|
||||
"c16-volksforth83" "${keybuf}"
|
@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
test -n "$VICE" || VICE=x64
|
||||
emulatordir="$(realpath --relative-to="$PWD" "$(dirname "${BASH_SOURCE[0]}")")"
|
||||
basedir="$(realpath --relative-to="$PWD" "${emulatordir}/..")"
|
||||
|
||||
@ -20,7 +21,7 @@ then
|
||||
warp="-warp"
|
||||
fi
|
||||
|
||||
x64 \
|
||||
"$VICE" \
|
||||
-virtualdev \
|
||||
+truedrive \
|
||||
-drive8type 1541 \
|
||||
|
Loading…
Reference in New Issue
Block a user