NORD Time Sharing System 3.0¶
Reference: commands · monitor calls · routines · History: NORD TSS and SINTRAN III
A complete, standalone timesharing operating system for the Norsk Data NORD-1 and NORD-10, written by Bo Lewendal: first working in summer 1971, version 3.0 from 1973. It owns the machine — it is not a program running under SINTRAN.
Every terminal is a process with its own 8-page virtual memory, swapped between core and mass storage — a CDC disk, or a drum. Users get a command processor, a file system, mail and accounting; programs get a monitor-call interface. Roughly 14,000 lines of MAC assembler in five parts, with the algorithms documented in structured pseudo-code beside the code.
| 5 | source parts, TSS1–TSS5 |
| 81 | monitor calls in MCTBL |
| 24 | teletypes maximum (the shipped build is assembled for 10: the console plus TTY5-TTY10 = nd100x TERMINAL 5-10; TTY2-TTY4 cannot be used on nd100x because its terminals at IOX 0310-0330 answer idents 0121-0123, not the 5-7 TSS dispatches on) |
| 8 × 2K | pages per process, at 40000₈ |
The NORD-10 device drivers — including the swapping drum — were written by Nils Jakob Langeland in spring 1973.
TSS and SINTRAN III¶
TSS 3.0 is dated 1973 by its own source (the NORD-10 drivers are signed 17/4/73 and 28/5/73). SINTRAN III, Norsk Data's later operating system, carries much of the same design. Compared against the SINTRAN III Users Guide (ND-60.050.06, June 1976) and SINTRAN III Monitor Calls (ND-860228):
- Monitor calls. Both use
MON n(161000plus an 8-bit call number) dispatched through a table. 18 of the 81 TSS call-table entries have the same number and the same name in SINTRAN III: octal0-10(LEAVE,INBT,OUTBT,ECHOM,BRKM,RDISK,WDISK,RPAG/RPAGE,WPAG/WPAGE),13-14(CIBUF,COBUF),32MSG,35IOUT,64-67(ERMSG,QERMS,ISIZE,OSIZE) and76SETBS. Where the arguments were checked, they sit in the same registers. TSS 3.0 even implements two SINTRAN III calls at SINTRAN III's numbers, under SINTRAN III names in its source:OPENat 50 andCLOCKat 113. - Commands. 24 of the 60 TSS commands exist under the same name in
SINTRAN III, for example
WHO-IS-ON,CREATE-FRIEND,PLACE-BINARYandINIT-ACCOUNTING. About 13 more are renamed equivalents:ALLOCATEbecameALLOCATE-FILEwith the same arguments, counted in pages instead of tracks. - Files and users. The same
(USER)NAME:TYPEfile names, the same rule that a name in quotation marks creates a new file, six of the seven TSS default file types, friends, owner/friend/public access, and the same login sequence: ESC,ENTER, password,PROJECT NUMBER.
CERN documents from the time confirm it from the users' side. In February
1975 a CERN paper on choosing the service computer's operating system says
"all subsystems made for NORD-TSS are directly transferable to Sintran III as
background programs, because the monitor calls are similar. The command
monitor is also very similar to the one in NORD-TSS", and that Norsk Data
itself no longer used TSS but had adopted SINTRAN III. CERN had run TSS since
1973, by 1975 with eleven terminals. Tor Olav Steine, a former Norsk Data employee, says in his 2020 history of
the company that SINTRAN III was built from SI's virtual memory project, "Bo
Lewendal's TSS", floating-point operations and SINTRAN II, mainly by Trygve
Matre. No source says part by part what came from TSS. The 1973 manuals
show the call interface's two parents: 15 of the 18 shared calls are already
in TSS's own February 1973 manual, and SINTRAN III's real-time calls carry
SINTRAN II's names. Lewendal's own account (IEEE Annals, 2014) and his
original TSS manual, which is in docs/, are among the
sources. The comparison,
with a citation for every match, is in
docs/TSS-AND-SINTRAN.md, together with the history of
the two systems and a source grade for every statement.
New here? Read
ppt/Intro to TSS.pdffor the architecture, thendocs/PROJECT-DESCRIPTION.mdfor the provenance, authorship and rebuild status.
The documentation:
| document | contents |
|---|---|
docs/TSS-SOURCE-FILES.md |
per-file reference — every .SYMB file: what it is, what is in it, whether it is built, and where it is documented in depth |
docs/TSS-PSEUDOCODE.md |
the source in pseudo-C — every routine, what it does, with the line range to check it against |
docs/TSS-ARCHITECTURE.md |
the OS, top to bottom — memory/paging, scheduler, interrupt levels, cold start, the overlay subsystem, terminal I/O and login, file system, users/accounting, the command processor, every device driver, and the emulated CDC/drum devices |
docs/TSS-BRINGUP.md |
from clean checkout to a logged-in @ prompt — build, emulator, MINIT disc format, cold-start, login, validation and debugging (scripts in bringup/) |
docs/PROJECT-DESCRIPTION.md |
history and provenance — what this is, who wrote it, the .ORG-vs-.SYMB restoration, how it was originally built and booted |
docs/MAC-ASSEMBLER.md |
the assembler — the MAC/FMAC family, the MAC.BPUN reverse engineering, and the full record of silent-miscompile defects found and fixed in mac-c |
docs/TSS-USER-MANUAL.md |
user manual — logging in, the command processor, and all 60 @-prompt commands, with the error-message table and device list |
docs/TSS-COMMAND-VALIDATION.md |
what actually happens when you run it — every one of the 60 commands exercised against the emulator, verbatim transcripts, root causes, and the corrections they forced on the manual |
docs/OPEN-QUESTIONS.md |
the live list of what is still unanswered, and what would settle each item |
docs/TSS-FLOAT-FORMAT.md |
why the clock stood still: TSS is a 48-bit floating-point program whose TBANG constants were assembled in the 32-bit format — a defect in the 1978 original, not in this rebuild. The CLKFX build fixes it (2026-10-08) |
This repository holds the recovered source, the original build outputs, and a C reimplementation of the MAC assembler that rebuilds the system. The original 1973 build script runs end to end and reproduces 679 of the 693 symbols of the archived 1978 symbol dump with zero assembly errors — and the rebuilt system boots to an interactive login on the nd100x emulator (likely the first TSS session since the 1970s).
Folders¶
Each has its own README with the detail.
| folder | contents |
|---|---|
archive/ |
the originals, untouched — 8-bit, parity bit set. Holds the source twice: the 1973 original (.ORG) and CVS's patched version (.SYMB), plus the original build outputs. Everything else is derived from here. |
src/ |
the one clean, assemblable copy of the source |
reference/ |
the golden oracle — the symbol dumps and listings the original assembler produced, used to prove any rebuild correct |
derived/ |
files this project made: the extracted drum driver, and build variants including a NORD-10 + drum configuration |
mac-c/ |
a MAC assembler in C — 732 unit tests, runs the 1973 build scripts |
Build/ |
the built binaries, tracked — the runnable TSS tape and disc (drum/), the MINIT and bootstrap tapes, the golden symbol dumps; regenerated by make build |
bringup/ |
bring-up validation tools (the bring-up itself is make help at the root) |
docs/ |
the documents above |
ppt/ |
Intro to TSS — the guided tour |
Getting started¶
Two ways in: download a ready-made disc set, or build everything from source.
A. Download the release kit¶
Every tagged release ships a ready-to-boot CDC disc (cdc.img: bootstrap
installed, formatted, cold-started, user SYSTEM created), a blank
swapping drum, tss.cfg and run-tss.sh — see
Releases. TSS boots
straight from the disc:
tar xzf nord-tss-3.0-*.tar.gz && cd nord-tss-3.0-*
./run-tss.sh /path/to/nd100x
Log in as SYSTEM, project 1, no password. HELP lists all 60
commands. The usage guide is
dist/QUICKSTART.md in this repo.
You still need the emulator — it is a separate project:
git clone https://github.com/RetroCoreLabs/nd100x.git
cd nd100x
sudo apt install build-essential cmake libcjson-dev # Debian/Ubuntu
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j
TSS needs
--mms=1. TSS is 1973 code that programs the MMU the Paging-System-I way; under nd100x's default MMS2 the machine starts and then hangs in the overlay loader. Give nd100x the flag, or putmms = 1under[machine]in the config file (nd100x 1.0.15 and later; the release'stss.cfgalready does).run-tss.shpasses the flag as well, for older builds.
B. Build it from source¶
Needs a POSIX toolchain; on Windows use WSL. Every helper script is POSIX shell or awk: the repository is python-free by decision.
git clone https://github.com/RetroCoreLabs/TSS.git && cd TSS
make build # assembler + 732 tests + TSS, DRUM and MINIT artifacts
make prepare # fresh disc set; the CDBIN tape installs the bootstrap
make format # MINIT format (type 4470, 4670, I)
make coldstart # cold start -> a disc with user SYSTEM
make verify # free tracks + SYSTEM present
make login # boot and log in
make help lists every target; the emulator is found via ND=/path/to/nd100x
or the ND100X environment variable. The whole procedure, including doing it
by hand at the operator panel, is in docs/TSS-BRINGUP.md.
To check the rebuild against the 1978 original:
./mac-c/scripts/verify/verify_repo.sh # build, tests, oracle, links
Reproducing the 1973 build exactly¶
make build above is the convenient path. To run the original ASSYSA and
ASSYSB command streams — the scripts the operators typed in 1978 — and score
the result against the archived symbol dump:
cd mac-c
./scripts/build/build_tss_assysa.sh
./scripts/verify/compare_asymb.sh ../Build/ASYMB.SYMB ../reference/ASYMB.SYMB
Quick answers¶
- Is this NPL? No — MAC assembler throughout.
- Are the top-level files build logs? No.
TSSn:SYMBis real source,LISTnis the list output,ASYMB/BSYMBare symbol dumps. - Is there drum driver code? Yes —
XDRUM, NORD-10 only, deviceIOX 540, extracted toderived/DRUM-DRIVER.SYMB. It is compiled out of both archived builds. - What is the difference between
.ORGand.SYMB? 153 lines, all symbol renames (STR→XTR,LSS→XSS) made because those names collide with MAC's built-in symbols — and the rename is incomplete. Seearchive/README.md. - Can it be assembled today? Yes, with
mac-c/. The real MAC binary cannot run without SINTRAN — seedocs/MAC-ASSEMBLER.md. - Is there really a backdoor? Yes.
LOGONbypasses the password check when what you type hashes to0636— which is.., two periods. It is in Lewendal's 1973 original and in the 1978 assembly listing, and it has been verified by logging in with it. Seedocs/PROJECT-DESCRIPTION.md§9. - How was TSS started? Assemble into core, start at address 7 — that saves the image to disk and boots it.
- How do you get to a login prompt from a bare disc? Format the disc with
the standalone
MINITprogram, cold-boot with the operator switches at131313₈(runsSINIT, which creates user SYSTEM, passwordless), then boot normally — the console prints@ENTER; log in asSYSTEMand you reach the@command prompt. The other teletypes start dead: the level-6 scanner wakes one when ESC (033) is typed on it, and only then it prints@ENTER(src/TSS1.SYMBLEV6:AND (177; SUB (33; JAF L2). On nd100x, start with--telnet=PORT, connect, pickTerminal 39(= TERMINAL 8 = TSS TTY8), press ESC. Full procedure:docs/TSS-BRINGUP.md.
External resources — set these, never hard-code them¶
Nothing in this repository contains an absolute path. Every path in a script, Makefile, config file, source comment or document is relative to the repository root, so a clone works on any machine, drive or OS.
The emulator lives outside the repo. It is reached through an environment variable:
| variable | points at | used by |
|---|---|---|
ND100X or ND |
the nd100x emulator binary |
Makefile (bring-up targets), the probe scripts |
Scripts that need it fail immediately with a message naming the variable, rather than silently searching a path that only exists on one machine.
Provenance and rights¶
- The 1973-1978 material is Norsk Data's, not mine. The source, tapes, listings, manuals and
binaries (
archive/,src/,reference/,Build/,derived/,dist/) are kept here to preserve them. This repository does not relicense them and claims no rights in them. - Norsk Data no longer operates, and I do not know who holds the rights today. If you hold them and want something taken down, open an issue in this repository and it will be removed.
- My own work is MIT licensed: the MAC assembler in C (
mac-c/), the documents, and the build and test scripts. See LICENSE. - What this repository does not state: it does not say which tape or archive the original
files came from. The history of the files is in
docs/PROJECT-DESCRIPTION.md.