From 2e93c506a5d84c812151aaf5c15312dc23479af1 Mon Sep 17 00:00:00 2001 From: Eric Swenson Date: Mon, 20 Feb 2023 17:20:25 -0800 Subject: [PATCH] Zork (616 point version + 100 point endgame) built with MDL 55. --- build/build.tcl | 1 + build/muddle.tcl | 4 --- build/zork.tcl | 17 ++++++++++++ src/lcf/comp.preamb | 8 ++++++ src/lcf/comp.xxfile | 66 +++++++++++++++++++++++++++++++++++++++++++++ src/lcf/zork.xxfile | 30 +++++++++++++++++++++ 6 files changed, 122 insertions(+), 4 deletions(-) create mode 100644 build/zork.tcl create mode 100644 src/lcf/comp.preamb create mode 100644 src/lcf/comp.xxfile create mode 100644 src/lcf/zork.xxfile diff --git a/build/build.tcl b/build/build.tcl index 00deec48..05ba86d9 100644 --- a/build/build.tcl +++ b/build/build.tcl @@ -177,6 +177,7 @@ if {$env(BASICS)!="yes"} { source $build/scheme.tcl source $build/dm.tcl source $build/muddle.tcl + source $build/zork.tcl source $build/sail.tcl source $build/typeset.tcl } diff --git a/build/muddle.tcl b/build/muddle.tcl index 9ef19174..794973ef 100644 --- a/build/muddle.tcl +++ b/build/muddle.tcl @@ -74,7 +74,3 @@ expect ":KILL" mkdir "mbprog" respond "*" ":assem \"mprog2;lsrtns >\" \"mbprog;lsrtns nbin\"\r" expect ":KILL" - -# Zork startup -respond "*" ":midas sys2; ts zork_taa; zork\r" -expect ":KILL" diff --git a/build/zork.tcl b/build/zork.tcl new file mode 100644 index 00000000..5c7dca0e --- /dev/null +++ b/build/zork.tcl @@ -0,0 +1,17 @@ +log_progress "ENTERING BUILD SCRIPT: ZORK" + +# Zork startup +respond "*" ":midas sys2; ts zork_taa; zork\r" +expect ":KILL" + +mkdir "cfs" + +respond "*" ":xxfile lcf;comp log_lcf;comp xxfile\r" +expect -timeout 6000 "Job XXFILE interrupted: .VALUE;" +type "\033p" +expect ":KILL" + +respond "*" ":xxfile lcf;zork log_lcf;zork xxfile\r" +expect "Job XXFILE interrupted: .VALUE;" +type "\033p" +expect ":KILL" diff --git a/src/lcf/comp.preamb b/src/lcf/comp.preamb new file mode 100644 index 00000000..2fae5bda --- /dev/null +++ b/src/lcf/comp.preamb @@ -0,0 +1,8 @@ + + + + + + + +> diff --git a/src/lcf/comp.xxfile b/src/lcf/comp.xxfile new file mode 100644 index 00000000..c2622a8c --- /dev/null +++ b/src/lcf/comp.xxfile @@ -0,0 +1,66 @@ +R +:pcomp + +J +"> +p +J +"> +p +J +"> +p +J +"> +p +J +"> +p +J + +:assem "lcf;tell >" "lcf;tell nbin" +n +J +:pcomp + +J +"> +p +J +"> +p +J + +:pcomp + +J +"> +p +J +"> +p +J + +:pcomp + +J +"> +p +J +"> +p +J + +:pcomp + +J +"> +p +J +"> +p +J + +Q + + diff --git a/src/lcf/zork.xxfile b/src/lcf/zork.xxfile new file mode 100644 index 00000000..82bba671 --- /dev/null +++ b/src/lcf/zork.xxfile @@ -0,0 +1,30 @@ +R +:mudsav;mud55 + + + + + + + + + + + + + + + + + +> +%% ,ERRH> +>>> +%% ,CTRL-S>>> + + + +> +J + +Q