Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neater build process for JOTTO #799

Merged
merged 1 commit into from
Feb 18, 2025
Merged

Neater build process for JOTTO #799

merged 1 commit into from
Feb 18, 2025

Conversation

larsbrinkhoff
Copy link
Member

build.tcl's process to dump TS JOTTO is messy because it expects to read its dictionary from a DECtape rather than DSK. It also doesn't open the TTY channels when started at BEG0.

One fix would be to make it read a single filename string, and open it with SOPEN. (This is roughly what SAIL did with their version.)

Alternatively, we could just make it read the dictionary file whenever it's started; this only takes a second or so under emulation.

@atsampson atsampson self-assigned this Apr 8, 2018
@larsbrinkhoff
Copy link
Member

Some random thoughts, not to be taken too seriously:

  • It would be possible to temporarily mount a DECtape when JOTTO is built. (An actual use case for DEtape!)
  • But since we entered the 70ies some time ago, it makes sense to read from disk.
  • Why SOPEN instead of OPEN? I believe SOPEN exists for the "long filenames" feature. To pass a file name string in a byte pointer? There's a library for parsing file names.
  • Old slow hardware may still exist, and new slow hardware is being built. :-)

@larsbrinkhoff
Copy link
Member

Related to #789.

@larsbrinkhoff
Copy link
Member

larsbrinkhoff commented Apr 27, 2018

AIM-218: INFORMATION THEORY AND THE GAME OF JOTTO

http://bitsavers.org/pdf/mit/ai/aim/AIM-218.pdf

@larsbrinkhoff
Copy link
Member

Some JOTTO files.

PDP-10/its-vault@f991c0e

@atsampson
Copy link
Contributor Author

AIM-218 is definitely describing the JOTTO program we have. Nice!

jotto.1 is a PDP-11 port of the code for DELPHI (this mentions "the M.I.T. Electrical Engineering Department's PDP-11/45 DELPHI system").

jotto.words, jotto.2 are dictionaries. jotto.alg is a fragment of an ALGOL implementation.

@larsbrinkhoff
Copy link
Member

Another idea: Use a file name translation from UTn: to DSK:

Force loading the dictionary from disk instead of DECtape by using a
filename translation instead of binary pathing the core image.
@larsbrinkhoff
Copy link
Member

I saw this was lying around, so I fixed it using ^T filename translation.

@larsbrinkhoff larsbrinkhoff merged commit 1489766 into master Feb 18, 2025
12 checks passed
@larsbrinkhoff larsbrinkhoff deleted the lars/jotto branch February 18, 2025 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants