1
0
mirror of https://github.com/PDP-10/its.git synced 2026-01-15 16:07:01 +00:00

1509 Commits

Author SHA1 Message Date
Lars Brinkhoff
f3239702f6 Expunge initial DADD and DSUB symbols from Lisp display slave.
They are used as labels.
2021-01-14 09:46:27 +01:00
Lars Brinkhoff
97b93e2b63 Add GT40 support to PDP-10 Lisp display slave.
When SYS; ATSIGN 10SLAV is assembled with GT40F=1, the type of display
is selected at run time from an argument to DISINI.
2021-01-14 09:46:27 +01:00
Lars Brinkhoff
f31a4f1f57 Make DUMP's "LCF hack" only work on DM.
DUMP will scramble ACT and DUNG files written to the LCF directory.
This is no longer useful in protecting Zork files, so the code is
limited to the DM machine.
2021-01-09 17:06:59 +01:00
Eric Swenson
6eaacb8e7f Updated info;tips > to include information on how to add an additional disk to ITS. 2021-01-01 12:14:24 -08:00
Lars Brinkhoff
71bc19c1a2 CI build using GitHub Actions. 2020-12-21 21:47:47 +01:00
Lars Brinkhoff
a662b82e51 Don't build with Panda lights. 2020-12-21 21:47:47 +01:00
Lars Brinkhoff
d0a3434eac KLH10 needs automake installed. 2020-12-21 21:47:47 +01:00
Lars Brinkhoff
d826b3c9db Upate Travis CI MacOS image. 2020-12-21 21:47:24 +01:00
Lars Brinkhoff
c14f2a7729 Fix some bad timestamps. 2020-12-21 21:47:24 +01:00
Adam Sampson
1a6115e949 Fix Muddle's CLOSE not flushing the output buffer.
There were two problems here:

- The FOPEN code in 56 uses new C.DISK/C.TTY flags to keep track of the
  channel type, so it knew what to do when closing the channel. The
  TOPS-20 open code had been modified to set these, but the ITS code
  hadn't, so CLOSE was assuming all channels were network channels.

  Fix: set those flags in ODSK and OTTY, as TOPS-20 does.

- The BFCDSK flush routine had been modified to use byte pointer writes
  to write the last incomplete word for both TOPS-20 (SOUT) and ITS
  (SIOT). But on ITS, SIOT only works in unit mode, and Muddle opens
  files in block mode.

  Fix: restore the working code from Muddle 54 for writing the last
  word. The only difference is that BFCDSK can now be invoked with the
  leftover byte count (C) being zero, so it needs to check at the
  start to avoid duplicating the last word in that case.
2020-12-13 13:36:04 +01:00
Lars Brinkhoff
88f5a7262c Muddle library files courtesy of Rick Shiffman.
Files are from RRS; AR5 MUDDLE on ToTS tape 9006256.  Some timestamps
are from DM _TAPE files.
2020-12-10 07:41:09 +01:00
Lars Brinkhoff
00afe4b60b More timestamps from .TAPE files. 2020-12-09 18:37:51 +01:00
Lars Brinkhoff
2687f68cc2 LISP Machine Progress Report, by Alan Bawden et al. 2020-12-03 15:35:31 +01:00
Lars Brinkhoff
36c526191e DDT Reference Manual, AI memo 147A.
Courtesy of Eric Osman.
2020-12-03 15:35:31 +01:00
Paul Galbraith
f73b8e35e8 Some minor top-level readme updates:
o More consistent use of <kbd/>
	o How to escape back to the simulator
	o Logging in from a separate terminal
2020-11-27 20:03:31 -05:00
Paul Galbraith
8fdf586f1b Fix for #1970 2020-11-26 07:46:18 +01:00
Lars Brinkhoff
56404ba0e4 Update Lisp Logo for new GC-DAEMON list format.
The format of the list passed to GC-DAEMON has changed.  LLOGO expects
a list of "(space old-free . new-free)".  The new format is "(space
old-free new-free old-size new-size)".
2020-10-11 17:16:48 +02:00
Lars Brinkhoff
1f66578276 Remove references to BIBOP from Lisp Logo.
The Lisp Logo loader conditionalizes some things on the BIBOP feature.
Maclisp still uses BIBOP memory management but the feature symbol went
away in 1980.  Since Lisp Logo has unconditionally been ported over to
NEWIO, the BIBOP checks are removed.
2020-10-11 17:16:48 +02:00
Lars Brinkhoff
e7bc91dd14 Fix Y2K bug in DMARCD.
DMARCD is the source for DEVICE; OARCDV BIN which handles old format
archives.  The file listing used to display the year field as is, so
would go past 99 to 100.  Adding 1900 makes it display a four-digit
year instead.
2020-09-30 19:29:18 +02:00
Lars Brinkhoff
0373bdd796 Add historical timestamps.
File names where compared against historical backup tapes, and time
stamps where listed in a text file.  Before a tape image is made, all
files are updated with timestamps from the listing.

Where no historical timestamp can be determined, the latest git author
date is taken.
2020-09-29 21:23:25 +02:00
Lars Brinkhoff
ea2df4b7d2 Hello world sample file for CLU. 2020-09-27 19:53:51 +02:00
Lars Brinkhoff
53c0645cf8 Hello world sample file for MIDAS. 2020-09-27 19:53:51 +02:00
Lars Brinkhoff
7c00f480a9 Hello world sample file for Muddle. 2020-09-27 19:53:51 +02:00
Lars Brinkhoff
2a3a69656e Hello world sample files for Maclisp. 2020-09-27 19:53:51 +02:00
Lars Brinkhoff
210c513861 Introductory text and hello world for Maclisp. 2020-09-27 19:53:51 +02:00
Lars Brinkhoff
581362e82c Add a user friendly introduction to Muddle.
Some historical background, and a hello world example.
2020-09-23 05:56:40 +02:00
Lars Brinkhoff
cb2ac644e9 UNSPOO - line printer unspooler demon. 2020-09-21 05:53:54 +02:00
Lars Brinkhoff
5f4d858daf GUNNER - gun down dead demons.
Also garbage collect disowned Zork jobs, poke FI hardware when IMP is
down, etc.
2020-09-20 19:37:27 +02:00
Lars Brinkhoff
c6d143923c Update Zork documentation with information about _MSGS_.
The Zork save function checks that the user has a directory, and that
there is a _MSGS_ file in it.
2020-09-20 10:06:19 +02:00
Lars Brinkhoff
bf7345f12c DEMST - demon status. 2020-09-20 08:52:03 +02:00
Lars Brinkhoff
0938ee3131 DEMSTR - DM demon starter.
SYS: ATSIGN DEMSTR is started by ITS if it's assembled with DEMON
enabled.  DEMSTR in turn is responsible for starting other demons.
2020-09-20 08:52:03 +02:00
Lars Brinkhoff
623bc92823 Use the CircleCI base image instead of Debian.
This works better when submodules have been updated.  We now need to
use sudo to run the depencency install script, even though sudo is
also used inside the script.  The -E option is needed to pass EMULATOR
in the environment.
2020-09-18 19:51:36 +02:00
Lars Brinkhoff
5b1ffb549e Update submodules.
General refresh; no particular bug fixes or features.
2020-09-18 19:51:36 +02:00
Lars Brinkhoff
a7fb291885 Check out submodules recursively.
Some submodules have their own submodules now, so --recursive is
needed to check out a complete source tree.
2020-09-18 19:51:36 +02:00
Lars Brinkhoff
83339df4c1 Update KLH10 submodule; bug fix for CH11. 2020-09-18 19:51:36 +02:00
Lars Brinkhoff
aa6dd96a03 Update TV-11 emulator.
Define the non-standard uint type.
2020-09-18 19:51:36 +02:00
Lars Brinkhoff
5d50368b38 Update KA10 emulator.
The emulator has an update with regards to POP P,P.  The new behaviour
will store the top of the stack into the P accumulator.  This is
required to run old versions of Muddle, up to around version 54.
2020-09-18 19:51:36 +02:00
Lars Brinkhoff
3eb08a071c Add script to diff two DUMP tapes.
The script takes two file names on the command line: an old tape, and
a new tape.  Any updated files are written to a new tape diffs.tap.
The intent is that diffs.tap can be extradted with a DUMP command like
LOAD CRDIR LINKS to update an ITS system.

The script tries to avoid including binary files that only differ in
the symbol table or creation time.  Some false positives are expected.
2020-09-15 17:28:32 +02:00
Lars Brinkhoff
2cecbd9a22 Zork map.
From the picture: "This Dungeon map was originally drawn in January of
1979 by Steven Roy.  Revisions to the original were made over the
following months and final changes (magic-motion) added in March.
Endgame is intentionally omitted.  This drawing made January 1982."
2020-09-15 05:53:03 +02:00
Lars Brinkhoff
47895366ce Remove trailing NUL characters from Zork documentation. 2020-09-15 05:53:03 +02:00
Lars Brinkhoff
c5d6310a30 Documentation for Zork. 2020-09-15 05:53:03 +02:00
Adam Sampson
be98dc2457 Disable Zork's user check, and get Muddle from MUDSAV.
Don't require players to have a home directory or not be playing in
business hours, etc.

The original code expects TS MUD54 to be in SYS1, but our SYS1 is
bursting at the seams already, so make it look at MUDSAV instead.
2020-09-14 11:28:51 +01:00
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
Adam Sampson
9cb2acf866 Add Zork documentation.
These two files came from the Panda distribution. They appear to be the
most recent version of the documentation -- Rich Alderson found a
slightly earlier version from UChicago, and there's an even earlier
version in the 1978 Zork release.
2020-09-14 11:28:51 +01:00
Adam Sampson
3758abedbd Add MKSVFL, to generate SAV FILE and FIXUP FILE.
These two databases contain pure code routines that Muddle images can
refer to. We don't currently have whatever tool was used to maintain
them, so this is a MIDAS program that creates and populates them.

SAV FILE includes some stubs for functions in the LSRTNS and MUDDLE
libraries -- these are the functions that the existing Muddle 54 Zork
images need.

For the FIELD function in LSRTNS, returning FALSE is equivalent to the
user not being found. I have no idea what C-FCN in MUDDLE is for, but
very early Zork calls it after a command is entered, and seems happy
enough with it doing nothing.
2020-09-14 11:28:51 +01:00
Adam Sampson
2b66dfce6e Avoid POP TP,TP.
In the DEC Processor Reference Manual, this is documented as "result is
indeterminate", and there's a note in the ITS KL microcode implying that
the default KL behaviour was different from the KA.

Muddle 54 uses this to drop a temporary stack frame from TP in a few
places. If it doesn't work properly, one obvious result is that READing
bracketed expressions leaves garbage on the TP stack -- e.g. typing
<QUIT> at the interpreter will print a FIX instead.

Muddle 56 replaces this with MOVE TP,(TP), so do that as a new patch.
2020-09-14 11:28:51 +01:00
Adam Sampson
a209c97ec1 Add reconstructed Muddle 54, for running old Muddle images.
This source was reconstructed to match MUDSAV; TS MUD54 from 1977-07-02,
using a combination of all the surviving Muddle source files. The memory
layout and pure code is the same.

No AGC MUD54 has survived, so the AGC code was adjusted to match the
TOPS-20 agc.mud104 from Chicago that Rich Alderson provided (the only
ITS conditional is the page size). There's a one-instruction difference
in the symbol positions, which I've converted into a patch at the end of
the code to maintain the original layout on ITS.

The INITM code, which doesn't appear in the final executable, is
a best guess but it's probably fairly close, since it generates objects
in the right order and locations, and the symbol locations match the
original.

The 1977 executable has a very large number of patches, which I've
replicated in MUD54 INIT. The code that the patches were replacing --
marked with "XXX patched" in the source -- is also a best guess.

I haven't checked that the TOPS-20 code is correct; it could be adjusted
to match mdl104.exe in the future. It would need STENEX, which could be
linked from MUDSYS;.
2020-09-14 11:28:51 +01:00
Adam Sampson
81f1297d3a Use a second XFILE to patch/initialise Muddle 56.
Previously the first XFILE printed out some commands to run after STINK
had completed, which is awkward if you're building Muddle repeatedly.
This automates the second half of the build process.
2020-09-14 11:28:51 +01:00
Adam Sampson
5579181af1 After initialisation, save TS MUD56, not TS MDL56.
Lars has found a couple of examples of TS MUD54 files, and they're the
initialised version (with references to internal functions filled in,
etc.). TAA's ZORK launcher also expects TS MUDxx to be the initialised
version. So it appears that the ITS version didn't generate TS MDLxx.

(Why does the initialisation process write out TS MUD56, then, if you're
only going to pdump the result over it? Because the last step in
initialisation is to invoke the GC, and getting back from the GC to the
interpreter requires mapping pages back in from the executable.)
2020-09-14 11:28:51 +01:00
Adam Sampson
366665e77a Fix wrong encoding of \r in Muddle 56 source.
Found from comparison with a TS MUD54 binary. The Muddle 56/106 source
came from TOPS-20 originally, and it had been extracted with newline
conversion but not ITS encoding.

Most of these are cosmetic, but there are a couple of VALRET strings
with embedded \rs -- including the one used to exit initialisation.
So successful initialisation now finishes with a *, rather than opening
a random location.
2020-09-14 11:28:51 +01:00