Skip to content

System 2001

Latest

Choose a tag to compare

@metebalci metebalci released this 05 Oct 16:38

System 2001

QUUX's second release, and its first on the 40-bit word. System 2001 runs
only on QUUX hardware revision 13, on microcode 2001 and boot PROM 2001; the
CADR's systems are the 1000s, on the cadr branch.
docs/release-2001.md
lists every change, one by one.

The band on the disk was compiled by the system from the sources in
release-2001-sys.tar.gz, made into a cold load, loaded with QLD and
saved, all on QUUX, by a band that had been built the same way.

What changed

  • The 40-bit QUUX, revision 13. A word is 40 bits: a fixnum is 32 bits,
    the one float an IEEE single, an address 28 bits; a page is 1024 words,
    and main memory is 32 M words. The microcode and the boot PROM stop on
    anything older than revision 13. The system was first cross-built by
    System 2000 (cold/cross.lisp, checked by tools/cross-check/) and has
    since rebuilt itself on QUUX.

  • The disk's PAGE partition holds 128 M words: the herald says "32768K
    physical memory, 131072K virtual memory", and the incremental GC starts at
    32 M words without asking.

  • The herald names the board, "Machine Type QUUX on muir-sim" (from
    QUUX's feature page), and a band booted at a screen size other than the
    one it was saved at, up to 1920 by 1080, keeps its Chaosnet.

  • The Chaosnet sends its packets in the order they were queued, none
    lost or sent twice; TELNET is faster for it.

  • Faults fixed, most of them MIT's: GCD of bignums; a stack group
    resumed with a forwarded register; an interpreted special binding across
    a process switch; interpreted closures and the variables around them; a
    compiled (and x t), (or (values x 2) nil) and one-argument (gcd n);
    a full GC that dropped a region from the address space map; the page hash
    table under the incremental GC at 32 M words; the cold boot's memory probe
    and its page tables; integer functions given a float; a bignum with the
    most negative fixnum.

  • A machine whose sys/ has no ubin/ucadr.tbl boots on the band's own
    error table.

  • The compiled fonts in sys/fonts/ are 40-bit files, so every font
    loads: System 100's 32-bit files, which this system refuses, were written
    again for the 40-bit word by the cross build.

Known faults are listed at the end of the notes.

Assets

File Bytes SHA-256
release-2001-disk.vhd.gz 6,557,643 6607f93a20854e52ab823eb145cd68de99d9566f2fab77dda45da9b130b2e71e
release-2001-sys.tar.gz 4,761,529 71006884aec9c5a82ec107cd3ade85ef0d5ea187f863eeea9d058cd23997e00c
release-2001-promh.mcr 155,648 5917bae4a5e21806acd40fa9af7bc89a307e45f49cc974ee880c9e4ba002b9ca
SHA256SUMS 358 b3b2d9c9a2d1151f8f643fc5a6b098c99076cf29babead0c75f3fc2966dab9b5

SHA256SUMS gives these and the disk uncompressed, release-2001-disk.vhd
(29,371,392 bytes, 9034de8b512f660c4e9506b7e5a6c70500b8f988bb91fc67bde3d588dc65f872). A VHD's own bytes differ with every
conversion, so the build is identified by the disk as raw blocks:
873,839,616 bytes, SHA-256 c3831e8f2e1b1e0a690660d3f5e71df43b5db25124eb624ca3d5d37c5875b517 (qemu-img convert -f vpc -O raw).

  • The disk is a GPT disk as a dynamic VHD, 853,359 blocks of 1024
    bytes: MCR1, "MCR1 UCADR 2001", microcode 2001, and LOD1, "LOD1 System
    2001", the band, both current (GPT attribute bit 48); MCR2, PAGE
    (655,360 blocks, 128 M words of virtual memory) and LOD2 to LOD4 are
    empty and zero. Made with sgdisk and dd, converted with qemu-img
    10.2.1 (docs/building.md, "Writing QUUX's release disk").
  • The sources unpack to release-2001/: the repository at tag
    release-2001 (commit f64d5df00013bd2010f98be96f7eb396fe4a3da8), plus sys/ubin/, microcode 2001 and
    boot PROM 2001 assembled from sys/ucadr/, which the error handler reads
    at run time and a rebuild needs. The only compiled files are the
    repository's own, the fonts and SYS: DEMO; TVBGAR, which have no
    source. Every member is owned by root.
  • The boot PROM, release-2001-promh.mcr, is the one part of the system
    not on the disk: quux --prom takes it. It is the built-in PROM of
    muir-sim's quux at revision 13 byte for byte (muir-sim 071f9a6).
  • site/ in the sources is the site the band was built with, :MIT,
    an example to copy.

Verification

Built on 2026-10-04 from commit 81b39738e54498d36ebbc51c0eeee322d070f61f,
whose tree differs from the tag's in docs/, tools/ and the compiled fonts
alone (the tag's fonts are the 40-bit files the build was given, and the
fonts it did not load written the same way), on muir-sim 91ce0c9's quux at revision 13,
micro engine, 32 M words, with no file server but the machine's file
device. Three generations each compiled SYSTEM from that commit, made the
cold load, loaded it with QLD and saved it; the third generation's band is
the one on the disk (its compile took 2h00m, MAKE-COLD 13m, the
unattended QLD 941 s, wall clock on a loaded host). The second and third
generations' QFASLs are the same, 84 byte for byte and 218 after
tools/cross-check/same40.py's normalisation, no function differing, and their cold
loads are the same object for object (tools/cold-compare). Microcode 2001
and boot PROM 2001 were each assembled twice from the commit's
sys/ucadr/, and the two assemblies agree byte for byte in all four files
of each.

The band, booted from the disk converted back to raw blocks, opened
read-only: tools/microcode-check passes 554 of 554 cases on micro and
611 of 611 on rtl, tools/system-check 106 of 106 on both, and 30 of
muir-sim's 33 System 2000 band cases (the 3 others do not apply on revision
13: a float prints without s0, and an overflow is an infinity, not a
trap); a full GC
on micro and rtl, and the incremental GC at 32 M words, which says
incremental collection is safe and flips twice in 400 blocks of 10,000
lists. Booted with an empty sys/ and site/ it reaches its prompt and
reports errors through the band's own error table. Not checked here: a QUUX
board.

Running it

System 2001 needs QUUX hardware revision 13: muir-sim's quux with
MUIR_QUUX_REVISION=13, whose default memory is then 32 M words. Its SYS:
is on the file device, so the machine's host folder must hold sys/ and
site/ from the sources and a home for the login:

gunzip release-2001-disk.vhd.gz
tar -xzf release-2001-sys.tar.gz
mkdir -p root/home/lispm
cp -a release-2001/sys release-2001/site root/

MUIR_QUUX_REVISION=13 quux --micro --prom release-2001-promh.mcr \
    --disk-pack release-2001-disk.vhd --file-root $PWD/root --chaos-address 177201

--micro is the faster engine; quux runs the register-transfer engine,
at the machine's own speed, without it. --chaos-address 177201 makes the
machine LISPM-1, the first of the site's seven (177201 to 177207); at
quux's default address the herald says "UNKNOWN-CHAOS-177001".

The copies keep the unpacked sources as they are, since the machine writes
under its host folder. The machine boots to "MIT System, band 1 of LISPM-1",
"Experimental System 2001", "Microcode 2001" and "Machine Type QUUX on
muir-sim". quux serves the screen, keyboard and mouse over RFB, for any
VNC viewer (quux --help, --terminal). Log in with
(login "LISPM" "HOST" t).

Upgrading from System 2000

Nothing carries over between bands: a release is a whole band, and there are
no patches. System 2001 needs revision 13, the 40-bit machine; System 2000
stays as it was released.

Licence

GNU Affero General Public License, version 3 or later. LICENSE and NOTICE
are in the sources tarball; NOTICE gives the sources' provenance and every
copyright notice in the tree that is not MIT's.