mirror of
https://github.com/forth-ev/VolksForth.git
synced 2025-01-07 16:29:48 +00:00
Move trunc-ctrl-z.py invocation and cp runcpm.log into run-in-runcpm.py
This commit is contained in:
parent
c188248df4
commit
e9c2c942ef
@ -16,6 +16,8 @@ clean:
|
||||
rm -rf $(runcpmdir)
|
||||
rm -f msdos
|
||||
|
||||
test: logtest.result inctest.log
|
||||
|
||||
run-editor: | msdos
|
||||
FORTHPATH="f:\\src;f:\\tests;f:\\msdos" \
|
||||
../../8086/msdos/emulator/run-in-dosbox.sh f:\\msdos\\volks4th.com
|
||||
@ -44,9 +46,6 @@ inctest.log: \
|
||||
"logclose" \
|
||||
"bye" \
|
||||
"exit"
|
||||
cp $(runcpmdir)/output.log output.log
|
||||
../../tools/trunc-ctrl-z.py $(runcpmdir)/A/0/LOGFILE.TXT \
|
||||
$(runcpmdir)/logfile.txt
|
||||
dos2unix -n $(runcpmdir)/logfile.txt $@
|
||||
|
||||
logtest.log: \
|
||||
@ -61,9 +60,6 @@ logtest.log: \
|
||||
"logclose" \
|
||||
"bye" \
|
||||
"exit"
|
||||
cp $(runcpmdir)/output.log output.log
|
||||
../../tools/trunc-ctrl-z.py $(runcpmdir)/A/0/LOGFILE.TXT \
|
||||
$(runcpmdir)/logfile.txt
|
||||
dos2unix -n $(runcpmdir)/logfile.txt $@
|
||||
|
||||
emu: $(runcpmdir)/RunCPM
|
||||
|
@ -9,7 +9,7 @@ runcpmdir="${basedir}/runcpm"
|
||||
runcpm_a0="${runcpmdir}/A/0"
|
||||
toolsdir="${basedir}/../../tools"
|
||||
|
||||
logfile="${runcpmdir}/output.log"
|
||||
logfile="${runcpmdir}/runcpm.log"
|
||||
scriptfile="${runcpmdir}/input.script"
|
||||
rm -f "${logfile}"
|
||||
rm -f "${scriptfile}"
|
||||
@ -34,3 +34,7 @@ if [[ -f "${scriptfile}" ]]; then
|
||||
else
|
||||
"${runcpmdir}/RunCPM" -o "${logfile}"
|
||||
fi
|
||||
|
||||
cp "${logfile}" runcpm.log
|
||||
"${toolsdir}/trunc-ctrl-z.py" "${runcpmdir}/A/0/LOGFILE.TXT" \
|
||||
"${runcpmdir}/logfile.txt"
|
||||
|
Loading…
Reference in New Issue
Block a user