1
0
mirror of https://github.com/PDP-10/its.git synced 2026-01-14 23:55:40 +00:00
PDP-10.its/build/muddle.tcl
Adam Sampson 1cfbed3743 Add binary Zork and its launcher.
Both of these are from MIT's zork-1978-01 release. MADMAN; MADADV SAVE
is from 1978-01-28 (it's madadv.save_3 there), and TAA; ZORK 3 is from
an archive dated 1978-01-27. Unfortunately this isn't the final version
of Zork -- in particular, it doesn't have the endgame.

The launcher will also work with the other 1977/78 Zork images MIT have
released, provided you copy them to MADMAN; MADADV SAVE.

Note that we already have the non-DM fake Zork in SYS3; TS ZORK, but
the real Zork was in SYS2; on DM, so the recommended ZORK^K will find it
first.
2020-09-14 11:28:51 +01:00

59 lines
1.6 KiB
Tcl

log_progress "ENTERING BUILD SCRIPT: MUDDLE"
# STINK 121T, used to build Muddle
respond "*" ":midas mudsys;ts stink_sysen2;stink 121t\r"
expect ":KILL"
mkdir "mudsav"
proc build_muddle {dir version} {
respond "*" ":cwd $dir\r"
respond "*" ":xfile mud$version assem\r"
expect -timeout 300 "Assembly done!"
respond "*" ":mudsys;stink\r"
respond "STINK." "MMUD$version STINK\033@\033\033"
expect "SETPUR"
respond "\n" "D\033\033"
respond "\n" ":xfile mud$version init\r"
expect -timeout 100 "Init done!"
}
build_muddle "muds54" "54"
build_muddle "mudsys" "56"
# Generate SAV FILE and FIXUP FILE for Muddle pure code library
respond "*" ":midas mudsys; ts mksvfl_mudsys;mksvfl\r"
expect ":KILL"
respond "*" ":mudsys;mksvfl\r"
expect ":KILL"
respond "*" ":midas sys3; ts mudinq_sysen2; mudinq\r"
expect ":KILL"
respond "*" ":link sys3; ts purge, sys3; ts mudinq\r"
respond "*" ":link sys3; ts makscr, sys3; ts mudinq\r"
respond "*" ":link sys3; ts status, sys3; ts mudinq\r"
respond "*" ":link sys3; ts whomud, sys3; ts mudinq\r"
respond "*" ":link sys3; ts mdl,mudsav; ts mud56\r"
respond "*" ":link sys3; ts muddle,mudsav; ts mud56\r"
respond "*" ":midas sys3; ts mudcom_sysen3; mudcom\r"
respond "(Y OR N)" "Y\r"
expect ":KILL"
respond "*" ":link sys3; ts mudchk, sys3; ts mudcom\r"
respond "*" ":link sys3; ts mudlst, sys3; ts mudcom\r"
respond "*" ":link sys3; ts mudfnd, sys3; ts mudcom\r"
respond "*" ":midas sys3; ts combat_sysen3; combat\r"
respond "(Y OR N)" "Y\r"
expect ":KILL"
respond "*" ":midas sys3; ts pick_sysen2; pick\r"
expect ":KILL"
# Zork startup
respond "*" ":midas sys2; ts zork_taa; zork\r"
expect ":KILL"