1
0
mirror of https://github.com/PDP-10/its.git synced 2026-01-25 11:47:10 +00:00
Commit Graph

323 Commits

Author SHA1 Message Date
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
f84e72cb8f Don't make final full dump when building for KA10 on Cirrus CI. 2020-07-03 21:47:16 +02:00
Lars Brinkhoff
1807333e8d Specify ITS machine name to build. 2020-06-09 18:04:00 +02:00
Paul Galbraith
2d1fe7c72b increase timeout for backup portion of the build 2020-01-10 13:49:49 -05:00
Lars Brinkhoff
ed41d2fce8 Update "shutdown" build script procedure to work for all processors. 2019-10-02 16:58:24 +02:00
Lars Brinkhoff
0d731cd1fa Make sure the spawned subprocess goes away. 2019-09-12 15:48:09 +02:00
Lars Brinkhoff
f68eb8c0cf Make BACKUP directory and copy important files there. 2019-09-03 17:04:00 +02:00
Lars Brinkhoff
076b1756aa Copy files to KL10 front end file directory.
DUMP refuses to write files to the .KLFE. directory, so the -READ-
-THIS- file is stored in .TEMP. on the tape and later moved to .KLFE.
2019-07-03 15:07:58 +02:00
Lars Brinkhoff
79ccd08e36 Add Moon's "Amber", AI memo 628, and typeset it with Bolio. 2019-06-14 11:38:37 +02:00
Lars Brinkhoff
bb69c7e680 Add check in build script when making a new directory.
Look for FILE NOT FOUND to ensure the script is synchronized with the
output.  Also make a separate mkdir proc that's called throughout.
2019-02-21 19:35:52 +01:00
Lars Brinkhoff
b0bb5f3cef Be more careful when PDSET asks about daylights savings time.
Or else the input can get dropped.
2018-10-31 08:30:56 +01:00
Eric Swenson
5714c8b453 Separate macsyma build from lisp build. Allow building without
macsyma.  Resolves #1283.
2018-10-07 21:39:58 -07:00
Lars Brinkhoff
dc1f235e59 Replace expect + type in build scripts with respond. 2018-09-10 19:43:35 +02:00
Adam Sampson
7a23f23902 Silence the system job by patching ITS on boot.
Since we're interacting with ITS through the system console, one cause
of build failures is the messages the system job prints to the console
at unpredictable times -- for example, periodic timestamps and
notifications of changes to files in system directories. If one of these
gets printed while we're expecting something else, it's hard for the
Expect script to recover.

Avoid this by patching STYO, the system job's character-printing
routine, to return without doing anything if this system is up.
Adjust the pdset routine so it's matching PDSET's output rather than the
system job's to tell when the time has been set.
2018-08-05 00:50:18 +01:00
Eric Swenson
b915907499 Revert to TRANSS 79 and build from source.
No longer include TRANSS FASL or later versions of TRANSS, since these break Macyma's
translate_file. Resolves #1146.
2018-08-04 15:54:22 -07:00
Adam Sampson
8b8e1cf952 Avoid Expect clobbering stdout when stdin isn't a tty.
Doing expect_after before a child process has been spawned causes Expect
to try reading from stdin. If stdin is /dev/null, it gets an EOF from
the read, assumes it's been closed... and closes stdout too, so we don't
see any more of the child process interaction.
2018-08-04 07:01:11 +02:00
Lars Brinkhoff
7fa6be23db Log progress in build scripts. 2018-08-04 07:01:11 +02:00
Eric Swenson
7206346167 Fix build of ctensr and eigen for Macsyma.
Resolves #1125.  This reverts the compilation of TRANSS and uses the
FASL file from MC.  I'll have to figure out what is wrong with the
source/compilation in another ticket.
2018-08-03 07:08:11 -07:00
Adam Sampson
de346f7a45 Add, and look for, an explicit marker after (todo)/(todoi).
Trying to match the list output from these functions, without also
matching the "; Loading" messages from Lisp, is difficult to do reliably
in expect (as demonstrated by a series of test builds on a slowish VM).
Instead, use a marker ("=Build=") that won't appear in the output.
2018-08-02 23:22:48 +01:00
Adam Sampson
29b6dc4e14 Don't require a space after (todo)/(todoi)'s contents.
The DB and KA configurations have different console terminal widths, and
format these lists differently: DB puts a space after the right bracket,
and KA doesn't, so the build was hanging here on KA.
2018-08-01 18:31:03 -07:00
Adam Sampson
b75329a85e Match any number returned by (load) in lisp.tcl.
Modifying some of the sources has changed these from the values
previously in lisp.tcl and build.tcl; it now matches any string of
numbers on a line by itself (optionally with "." and spaces afterwards).
2018-07-27 23:36:38 +01:00
Eric Swenson
ceae73e472 Updated to no longer exclude EDLM from the macsyma build since the build
system will now automatically exclude this source (which is intended for
the lisp machine only).  Resolves #1067.
2018-07-17 07:04:34 -07:00
Eric Swenson
a08865ce75 Update to build TRANSS (Macsyma source) and update macsyma source file
database so that TRANSS is built after MTAGS.
Resolves #1065.
2018-07-16 07:04:57 -07:00
Eric Swenson
7bd25186a9 Updated build to build MAXSRC; MTREE 2 (for Macsyma) now that MTREE 2 has a fix
to work around the missing DEF-PROCEDURE-PROPERTY macro.  THis macro was removed
from LIBMAX; PROCS some time in the past.
2018-07-16 07:04:57 -07:00
Eric Swenson
dc5e4505ae Update macsyma sources with newer versions of some files.
Resolves #1059.
2018-07-14 08:00:45 -07:00
Lars Brinkhoff
64b0ea3025 Move programs from build.tcl to proper places. 2018-06-20 18:46:22 +02:00
Lars Brinkhoff
da5bf39df0 Move file system formatting and basics to separate files. 2018-06-20 18:46:22 +02:00
Lars Brinkhoff
2840566e29 Improve MACSYMA build script.
After typing (todo) or (todoi), wait for the string ") \r" to appear.
This signals the end of of a list printed right before reading new
input from the console.
2018-06-10 06:35:10 +02:00
Lars Brinkhoff
f6fc1233e8 Make Macsyma build script more stable. 2018-05-15 21:43:05 +02:00
Lars Brinkhoff
0dbcb1a912 Increase timeout for building Macsyma. 2018-05-11 21:41:15 +02:00
Lars Brinkhoff
b69c2988bb Move FAIL and friends to separate script file. 2018-05-05 19:19:09 +02:00
Lars Brinkhoff
d16ea1baa5 Move DECUUO to basics.
It's needed by ADVENT, FAIL, and SUDS.
2018-05-05 19:19:09 +02:00
Lars Brinkhoff
609485756e Improve the TCL "type" procedure.
It will now also match typed uppercase characters and digits against
the echoed output.
2018-05-05 19:19:09 +02:00
Lars Brinkhoff
fa46ff4e4c Place built image files in separate directories for each target.
Also move generated CONFIG > and SYSHST > files from the "src"
directory to "out".

This facilitates parallel builds, and deploying image files.
2018-05-02 08:16:23 -07:00
Lars Brinkhoff
9393d717d6 GCMAIL - delete old files from .MAIL. 2018-04-25 07:34:41 -07:00
Lars Brinkhoff
3cc1c13c38 Build script for Muddle and tools.
The MDL 54/104 and 55/105 manuals give the name SYS:TS MDL for the
interpreter, and a comment in MAIN says it was TS MUDDLE, so install
links for both.
2018-04-25 09:32:25 +01:00
Lars Brinkhoff
54ac385cb8 LSRPRT - print information about user groups. 2018-04-22 11:41:44 -07:00
Lars Brinkhoff
d84c52edb5 Split off parts of build script. Only build basics if BASICS is yes.
There are now separate scripts for: EMACS, LISP (and MACSYMA), SCHEME,
and miscellaneous unessential programs.
2018-04-13 19:59:48 +02:00
Eric Swenson
23f770418e Added SCRMBL/UNSCR. Resolves #802. 2018-04-12 16:21:44 +02:00
Adam Sampson
6984267e18 Import RZ;FACTOR 26 source.
Differences from AI's TS FACTOR:

- KL10 define to put the TEST inner loop code at 100 rather than in the
  registers -- ";;KL10 RUNS SLOWER IN ACS".

- Lookup table for commands, including uppercase and lowercase.

- A new "quit" command.

- Mixed-case messages.

- System calls modernised a bit; .CALL /OPEN/ rather than .SUSET/.OPEN,
  and not opening the TTY in DDT mode.
2018-04-11 14:45:54 +01:00
Adam Sampson
c836707a70 Reconstructed source for JOTTO.
Differences from the WAITS code:

- Converted back to MIDAS syntax.

- Reconstructed the ITS I/O code. Like WUMPUS, this originally opened
  the TTY with the 20 flag set to convert input to uppercase, and was
  later binary-patched to do the conversion itself (and convert output
  to lowercase). The program had a PATCH area originally, so I've
  included the patches in the source.

- The ITS version BLTs the jot-counting code into the registers and runs
  it from there. The WAITS version has the BLT commented out and just
  runs it from the BLTLOC buffer directly.

The TS JOTTO binary on AI/MC (dated 1990-08-14, although it's probably
much older than that) has been dumped after loading the dictionary. When
re-entered at BEG0, the original code asks for a DECtape number to read
the dictionary from, and constructs a UTx device name based on that in
UTNAME. However, in TS JOTTO, UTNAME contains DSK, so it must have been
dumped by patching that device name in directly; I've reproduced this in
build.tcl.

After the dump process, this produces a binary identical to TS JOTTO
except for the contents of the game variables. For the record, when
MC's version was last played before dumping, the computer chose the word
PETAL.

Fixes #789.
2018-04-08 19:37:35 +01:00
Lars Brinkhoff
6b8457b392 Build PEEK with 340 support.
Prepare for building MAGDMP with 340 support, though it doesn't work yet.
2018-04-03 21:05:28 +02:00
Adam Sampson
f3d9ccbb62 Reconstruct source code for FACTOR.
This is based on a disassembly of the binary AI:SYS1;TS FACTOR; the
binary and its help file .INFO.;FACTOR ORDER are both dated 1977-09-27.
MC had an identical copy with a later date.

This assembles into a binary that's identical to the original, except
that the original version has all its symbols marked as global, and no
assembly info.

Fixes #96.
2018-04-01 17:07:13 +01:00
Eric Swenson
880744beca Added build of LIBLSP; VSAID FASL and LIBLSP; TTYVAR FASL.
Resolves #756 and #758.
2018-03-29 08:35:44 -07:00
Lars Brinkhoff
9c7c40e19a CHAOS ARPA/NCP/TCP - gateway from Chaosnet to Arpanet/Internet. 2018-03-27 07:05:40 -07:00
Lars Brinkhoff
26e77a8317 SRDATE - set file reference date. 2018-03-27 07:02:07 -07:00
Lars Brinkhoff
0c4bc45cda Update RABBIT, and compile it with itself.
RABBIT 570 has a (DECLARE (NEWIO T)) form which doesn't go over well
with the latest Maclisp compiler.  The fix is to just delete the
declaration.
2018-03-26 12:36:28 -07:00
Lars Brinkhoff
de2b2e8439 Build the NSCHSY interpreter. 2018-03-26 12:36:28 -07:00
Adam Sampson
7d42c5b2f9 Reconstructed source for WUMPUS.
AI:SYS1;TS WUMPUS was last modified 1977-04-12 18:16. It's closely
related to SRI-NIC's version, but it's unclear which is newer, or
whether they both derive from a common source.

This assembles into a binary that's identical to TS WUMPUS, except for
jumps from GETLF and MOVE2 to two binary patches at 50 and 55 which make
input case-insensitive.

(Note that EXPL ends with a bare \r, which is encoded as \356 here for
itstar's benefit.)

Fixes #108.
2018-03-26 14:09:13 +01:00
Eric Swenson
7516530c3d Added several more LSPLIB packages.
Resolves #713.
2018-03-25 10:47:49 +02:00