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

900 Commits

Author SHA1 Message Date
Lars Brinkhoff
21d5b72cfd Fix unbalanced brackets. 2021-06-26 18:41:44 +02:00
Björn Victor
a65a038146 Support for time zones and non-US DST
Use bits in .RYEAR/.RLPDTM result to return a local time zone,
TZONE (definable in SYSTEM;CONFIG).
TZONE should be the integer timezone offset (hours West of UTC)
	Bit 4.4      => timezone known (otherwise, assume EST/EDT = 5)
	Bit 4.3      => sign bit of timezone offset
	Bits 3.5-3.1 => absolute value of timezone offset

If DSTEU is defined and != 0, calculate daylight savings time
according to European Union rules:
- starts at 2:00 (standard time) on the last Sunday in March,
- ends at 2:00 (standard time) on the last Sunday in October.
2021-06-23 17:07:11 +02:00
Björn Victor
978d362813 Avoid binary patch of literal by instead editing source
Come on?
2021-06-23 10:03:26 +02:00
Björn Victor
6a6a2ae390 Default to a new century in PDTIM
Boldly moving into the 21st century
2021-06-23 08:02:39 +02:00
Björn Victor
7d755dab01 Use CH11 address
Use the Chaosnet address reported by the CH11 device, rather than the statically defined one.
2021-06-23 05:41:47 +02:00
Lars Brinkhoff
a08ad6d103 Fix DEFDEF in Maclisp 6502 assembler.
It seems necessary to quote the list for the macro to work.
2021-06-22 20:10:35 +02:00
Lars Brinkhoff
bf3a9807df Some files in the Maclisp 6502 assemblers were moved. 2021-06-22 20:10:35 +02:00
Lars Brinkhoff
36339cdf15 Maclisp cross assembler for 6502.
Courtesy of Leigh Klotz.
2021-06-22 20:10:35 +02:00
Lars Brinkhoff
1336be3042 Package system for Muddle. 2021-06-17 18:18:55 +02:00
Lars Brinkhoff
a01c5341e3 Jack Palevich's Chameleon terminal emulator with SUPDUP support.
Source code courtesy of Palevich, who comments:

  "My guess is that the SUPDUP code is a fork and extension of my
   original CHAMELEON terminal emulator.

   My guess is that either Leigh Klotz or Patrick Sobolvaro extended
   CHAMELEON to create SUPDUP. From looking over the source code, I
   see these changes from what I remember writing in Chameleon:
   + Using the paddle to scroll left/right. (I only supported using
     the yellow function keys to do this.)
   + Emulating SUPAI and IMLAC. (I had already added SUPDUP support to
     CHAMELEON.)
   + Removing emulation for ADM-3A."

Klotz and Sobolvaro don't remember any details.  They have given their
permission to release this, should that be necesssary.

LOGIN files suggest the ITS terminal settings should be:
:tctyp soft hei 24 wid 39 +%tosai +%tolid +%tocid full +%tprsc no overwrite
2021-06-16 13:09:51 +02:00
Lars Brinkhoff
7c2d85c8c4 Update Muddle pretty printer. 2021-05-24 18:47:32 +02:00
Lars Brinkhoff
01fa007735 6502 assembler written in Logo.
Courtesy of the author, Leigh Klotz.

Klotz wrote in https://news.ycombinator.com/item?id=23064346

> The assembler [for Apple II Logo] was already chosen, probably by
> Steve Hain or Gary Drescher.  I believe it was CROSS.  It annoyed me
> that I would get phase errors if I edited during the first pass
> which was like 10 or 15 minutes at night so I wrote a one-pass
> assembler in MacLisp, but it was slower to finish than the first
> pass of CROSS so I translated it to Logo and Hal said to put it on
> the utilities disk.  I can't remember who added .output and .input
> but Logo had had them before the Apple II, I think 11Logo had it.
2021-04-28 08:10:28 +02:00
Lars Brinkhoff
f6a5efb3f7 Files for Muddle pretty printing. 2021-04-20 08:44:40 +02:00
Lars Brinkhoff
e1d6f35d7d MMODEM - Xmodem file transfer. 2021-02-22 16:19:15 +01:00
Lars Brinkhoff
078fc0a18a Move build of processor-specific programs.
KA10 specific programs: DECtape tools, programs related to the Rubin
10-11 interface (including the Knight TV), programs using the 340
display, and programs using the PDP-6.

KL10 specific programs: microcode, frontend programs, and LSPEED.

KS10 specific programs: microcode, frontend programs, MTBOOT, and TENTH.
2021-02-21 17:37:01 +01:00
Lars Brinkhoff
dac0474f80 CODGEN - Character set compiler from SSV to MIGS.
From RRS; AR1 THINGS.  Courtesy of Rick Shiffman.
2021-02-09 20:44:08 +01:00
Lars Brinkhoff
6307208718 Extract archive. 2021-02-09 20:44:08 +01:00
Lars Brinkhoff
f530e7f5fe MIGS - Muddle interactive graphics system.
Files courtesy of Rich Shiffman.
2021-02-09 20:44:08 +01:00
Lars Brinkhoff
b748c052d3 Fix "ITS Revived!" messages messing up CROCK. 2021-02-06 16:51:23 +01:00
heasm66
029003fb45 Fix of issue #2012
Exchanged "implode" for "maknam" to avoid choking the GC for larger files.

Filter out ASCII 127 (DEL) from output in ASCII-column.
2021-02-03 13:51:33 +01:00
Lars Brinkhoff
d3e2e7116f HOSTAT - retrieve and print host status.
Connects to MIT-DMS (host 106) to retrieve Arpanet survey data.
2021-01-24 16:28:43 +01:00
Lars Brinkhoff
eca5df75cf SURGIV - Demon to send SURVEY data.
Applications like HOSTAT can connect to DM to retrieve host status data.
This is the demon that serves the data.
2021-01-24 07:04:53 +01:00
Lars Brinkhoff
8122f0334b Re-enable SURVEY in the demon starter. 2021-01-24 07:04:53 +01:00
Lars Brinkhoff
dadf1b9634 SURVEY - Survey Arpanet host availability.
ATSIGN DEMSTR starts the SURVEY demon.  It's activated every 15 minutes.
2021-01-24 07:04:53 +01:00
Lars Brinkhoff
84714b7c96 HOSTS table stubs for assembling SURVEY.
SURVEY inserts SYSENG; HOSTS > when it's assembled.  It needs a
specific set of hosts.  This provides a minimum of information needed.
2021-01-24 07:04:53 +01:00
Lars Brinkhoff
47daada35c Lisp library for sending TT2500 turtle commands. 2021-01-18 19:06:35 +01:00
Lars Brinkhoff
96fccc355a Block loader for TT2500.
The 2500 bootstrap ROM expects to receive a block loader first, which
will run and recieve the actual payload which is the microcode and
font data divided into blocks.
2021-01-15 19:43:20 +01:00
Lars Brinkhoff
3255fc5188 Microcode for the TT2500.
The assembler will recieve a GC-OVERFLOW interrupt.  Other TT2500
files set the GC-OVERFLOW variable to a dummy function, which seems to
appease the interrupt.

Since the TVDIS code was written before backquote was introduced to
Maclisp, it uses comma characters without quoting.  To accomodate this
a call to SETSYNTAX overrides the new syntax for comma.
2021-01-15 19:43:20 +01:00
Lars Brinkhoff
4af63f786b Assembler for TT2500.
The assembler is written in Maclisp.  The main entry point is ZAP
which expects a symbol with a value cell pointing to the source code.
2021-01-15 19:43:20 +01:00
Lars Brinkhoff
47fb5ba074 Don't start display right away.
Doing so will mistakenly use GTTY before it has been set.
DSTART will be called later, honoring the updated GTTY value.
2021-01-14 09:46:27 +01:00
Lars Brinkhoff
69b63680eb Preserve DISINI argument across subroutine calls. 2021-01-14 09:46:27 +01:00
Lars Brinkhoff
3b22323dd0 File must be allocated when calling DISINI with two arguments. 2021-01-14 09:46:27 +01:00
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
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
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
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
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
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
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