XL1200-EMU Symbolics XL1200 Emulator

Fresh Installation of Symbolics Genera 8.3 from CD-ROM (ivory-xl1200)

This guide documents how to perform a complete, clean installation of Symbolics Genera 8.3 from the official distribution CD-ROM (P.N. 995854) onto a fresh SCSI disk image in the from-scratch ivory-xl1200 emulator.

It covers both the automated unattended installer (scripts/install-genera-8.3-from-cdrom.sh) and the full manual interactive procedure derived from the Genera 8.3 Software Installation Guide for XL Family Machines (local-only docs/reference/extracted/xl_install_guide.txt), Site Operations (local-only docs/reference/extracted/site_operations.txt), and the emulator's native tooling.


1. Prerequisites, Workspace Assets & Disk Sizing

Workspace Assets & Build Prerequisites

  • Boot PROM: Build the included clean-room open-source Boot PROM (prom/build/custom-rom.dump, no proprietary ROM dump needed):
    nix develop --command make -C prom
    
    (Optional: if you prefer to run the stock Symbolics Device PROM instead, you can supply your own IFEP 3.30 dump at ivory-fep-roms/fep330/rom.dump or split 115988-e.bin + 115989-e.bin.)
  • Genera 8.3 Master Distribution CD-ROM (P.N. 995854): macivory/macivory_cdrom.iso (608 MiB ISO 9660 image containing bootable IFEP Kernel at LBA 158514, /DISTRIBUTION/*.TAPE, /WORLDS/, and /SYS/; user-supplied, git-ignored)
  • Emulator & Disk Utility: Build emu/build/ivory-xl1200 and emu/build/ivory-fep-convert:
    nix develop --command make -C emu all
    

XL1200 SCSI-to-Unit Numbering

On a Symbolics XL1200, ESDI units occupy 0..6. SCSI targets on I/O board 0 map to 7 + SCSI_ID:

Emulator FlagSCSI IDName in FEPName in Genera Lisp
--disk-rw / --disk-overlay / --disk0FEP7: (unit 7)FEP7:
--cdrom4CART11: (7 + 4 = 11)CDROM4: (e.g. LOCAL|CDROM4:>)

Disk Sizing Math (1280 Bytes / Block)

Symbolics Ivory disks use 1280-byte sectors (256 forty-bit words per page). Disk Restore installs approximately 145,260 FEP blocks (~177 MiB):

  • I328-KERNEL.FEP.44, 6 × I328-*.FLOD overlays, I328-FRAMETHROWER.SYNC.1, Netboot-Core-from-Genera-8-3.ilod.1 (~700 blocks)
  • Genera-8-3.ilod.1 (44,402 blocks, ~54.2 MiB)
  • Paging-1.Page.1 + Paging-2.Page.1 (100,000 blocks, ~122 MiB)

Recommended target disk sizes:

  • 256 MiB (209,712 blocks): Fits Genera 8.3, paging files, and a compact ~32,000–50,000-block local LMFS for SYS:SITE; (~260 LMFS records) when using the CD-ROM directly as your SYS: host.
  • 512 MiB – 1024 MiB: Recommended if you plan to restore full Genera 8.3 sources, online documentation (DOC), and non-loaded systems into local LMFS (~41,250 LMFS records ≈ 165,000 FEP blocks ≈ 201 MiB) and save customized incremental worlds.

Essential Emulator Keyboard & Mouse Notes

See docs/KEYBOARD_REFERENCE.md for the complete host keyboard map:

  • Typing | (needed for "CHAOS|52525" and LOCAL|CDROM4:): Press → (Right Arrow), Insert, or Numpad /. (On Symbolics keyboards, Shift+\ types {, not |.)
  • Function Keys: F1 = Select, F2 = Function, F5 = Resume, F6 = Abort, F7 = Suspend, F8 = Help, F9 = Complete, F10 (or End) = End.
  • Mouse Capture: Left-click inside the display window to capture (CAP badge lights cyan); tap Right-Ctrl alone to release capture.
  • Drop to FEP / Reset / Power Off: Right-Ctrl + Left-Ctrl + F2 (h-c-Function), or click NMI, RST (Cold Power Reset / Warm Reset menu), or two-click OFF → SURE? on the bottom status bar while uncaptured.

2. Quick Start: Automated Unattended Installation

scripts/install-genera-8.3-from-cdrom.sh automates the entire clean installation by driving the unmodified Boot PROM, CD-ROM IFEP Kernel, and Genera 8.3 through the emulator's AF_UNIX debug/puppet interface (zero synthetic guest code).

# 1. Standard fresh install (creates 512 MiB disk with FEPFS + Genera 8.3 via Disk Restore):
./scripts/install-genera-8.3-from-cdrom.sh \
  --disk emu/disks/my_genera_8_3.raw \
  --size-mb 512

# 2. Full standalone workstation install (also creates local LMFS, copies SYS:SITE;,
#    configures CD-ROM as SYS: host, and fixes Local.boot standalone namespace path):
./scripts/install-genera-8.3-from-cdrom.sh \
  --disk emu/disks/my_genera_8_3.raw \
  --size-mb 512 \
  --with-lmfs

# 3. Overwrite an existing disk image and inspect all options:
./scripts/install-genera-8.3-from-cdrom.sh --help

Once complete, boot non-destructively with:

XL1200_DISK=emu/disks/my_genera_8_3.raw ./scripts/run-xl1200-clean.sh --persist --cdrom

3. Manual Interactive Step-by-Step Procedure

Phase 1 — Create an Empty Native XL1200 FEPFS Disk & Launch Install Session

Per Site Operations (p. 826), blank SCSI magnetic disks cannot be initialized solely from the FEP on an XL1200; they require an Initial FEPFS label and root structure first. ivory-fep-convert --create-fepfs creates an empty, native little-endian 1280B/sector FEPFS filesystem (64 LABL copies, FEPD root directory, 6 bootstrap FEPF headers, FREE-PAGES, and SEQUENCE-NUMBER).

Option A: Launcher Script

./scripts/run-xl1200-clean.sh --recreate --size-mb 512

This creates emu/disks/xl1200_clean_fep0.raw and boots ivory-xl1200 with --disk-rw (SCSI ID 0) and --cdrom macivory/macivory_cdrom.iso (SCSI ID 4).

Option B: Raw Commands

./emu/build/ivory-fep-convert --create-fepfs emu/disks/xl1200_clean_fep0.raw --size-mb 512
./emu/build/ivory-xl1200 \
  --rom prom/build/custom-rom.dump \
  --disk-rw emu/disks/xl1200_clean_fep0.raw \
  --cdrom macivory/macivory_cdrom.iso --autostart
# (Or pass --rom ivory-fep-roms/fep330/rom.dump if using an original Symbolics Boot PROM)

Phase 2 — Boot IFEP Kernel from CD-ROM

  • With the Clean-Room Boot PROM (prom/build/custom-rom.dump):
    1. On a freshly formatted empty disk (which has no FEPF kernel yet), simply let the 3-second countdown finish — the PROM automatically selects CART11: (SCSI ID 4, ISO-9660 LBA 158514) and loads I325_BOL.FEP.
    2. If a bootable disk is already present and you want to force CD-ROM boot, press any key during Press any key within 3s to select SCSI boot device... 3 2 1, then type 4 to select CART11:.
  • Optional — With an Original Symbolics IFEP 3.30 Device PROM (rom.dump / 115988+115989):
    1. During the ~7-second Device PROM auto-boot countdown, press Space to enter the boot menu:
      0: Load kernel from disk
      1: Load kernel from tape or CD-ROM
      Enter a choice, or abort to return to automatic mode:
      
    2. Answer each prompt followed by Return: 1 (tape/CD-ROM) → 4 (SCSI ID 4) → Y (confirm CD-ROM) → Y (boot IFEP Kernel).

Either Boot PROM loads IFEP Kernel from ISO 9660 LBA 158514 and stops at:

FEP Command:

Phase 3 — Run Disk Restore to Populate FEP7:

  1. At FEP Command:, run (pressing → Right Arrow to type |):

    Disk Restore 7 "CHAOS|52525" :Source CART11: :Query No
    

    Useful optional keywords (Site Operations pp. 577–578):

    • :Query Everything — Prompt before each step/file instead of running unattended.
    • :Paging Space <blocks> — Override default total paging allocation (100000 blocks across Paging-1 and Paging-2).
    • :Standalone Site No — Omit standalone site options if joining a multi-machine site.
    • Replace "CHAOS|52525" with your site's Chaosnet octal address (e.g. "CHAOS|401"); 52525 is Symbolics's standalone default.
  2. Wait for Disk Restore to restore I328-KERNEL.FEP.44, the six .FLOD overlays, I328-FRAMETHROWER.SYNC.1, Netboot-Core-from-Genera-8-3.ilod.1, all 44,402 blocks of Genera-8-3.ilod.1, Paging-1.Page.1, Paging-2.Page.1, update unit 7's bootable disk label, and generate the four .boot scripts:

    • FEP7:>Hello.boot.1: Hello I328 / Hello Local
    • FEP7:>I328.boot.1: Scans I328-{lisp,loaders,info,debug} and runs Initialize Hardware Tables
    • FEP7:>Local.boot.1: Declares Paging-1,Paging-2, sets CHAOS|52525, :IDS Enable, and standalone site boot options
    • FEP7:>Boot.boot.1: Load World / Start
  3. Verify the restored files:

    Show Directory FEP7:
    

    You should see 21 files on FEP7:.

  4. Shut down cleanly (Shutdown at FEP Command:, or two-click OFF → SURE? on the status bar).


Phase 4 — First Standalone Boot into Genera 8.3

Relaunch without --recreate, keeping the disk writable (--rw, or --persist to isolate changes in .ovl) and keeping --cdrom attached:

./scripts/run-xl1200-clean.sh --rw --cdrom
# (Or: ./scripts/run-xl1200-clean.sh --persist --cdrom)
  1. Do not press Space — let the Device PROM auto-boot I328-KERNEL.FEP from FEP7: to FEP Command:.
  2. Boot Genera:
    Hello
    Boot
    
    (Equivalent to Hello → Load World → Start.)
  3. First-Boot Date/Time Prompt (Y2K RTC Note): Because unpatched Genera-8-3.ilod.1 from the 1993 CD-ROM rejects hardware RTC years >= 2000, Genera will pause during initialization with:
    The current timezone is EST
    Unable to get time from the network or the calendar clock.
    Please type the date and time:
    
    Type the date and time in MM/DD/YYYY HH:MM:SS format (for example 11/27/2026 10:40:00) and press Return. Genera then finishes booting to the Dynamic Lisp Listener (Command: prompt) in the Distribution (DIS-LOCAL-HOST) state until an LMFS partition exists.

Phase 5 — Create the Local LMFS Partition (lmfs.file.1 & fspt.fspt)

Disk Restore populates FEPFS only; it does not create a Lisp Machine File System (LMFS). Create one from inside Genera before saving site/system files.

Interactive GUI Method (FSEdit)

  1. Log in as the default system user in the Lisp Listener:
    Login Lisp-Machine
    
  2. Press F1 then F (Select F) to open the File System Maintenance Program (FSEdit).
  3. Click [Local LMFS Operations] (Level 2), then [LMFS Maintenance Operations] (Level 3).
  4. Right-click [Initialize] and choose [New File System].
  5. Enter/confirm FEP7:>lmfs.file.1 and click [Do It].
  6. When prompted for the number of FEPFS blocks to allocate:
    • 256 MiB disk (~64,450 blocks free): allocate 32000–50000 blocks (leaving headroom for incremental world saves).
    • 512+ MiB disk (≥ 270,000 blocks free): allocate 200000+ blocks if restoring all sources and online documentation.
  7. Wait for verification to finish without interrupting. FSEdit writes FEP7:>lmfs.file.1 and FEP7:>fspt.fspt.1.
  8. Return to the Lisp Listener with F1 then L (Select L).

Direct Lisp Listener Equivalent

From a logged-in Lisp Listener (Login Lisp-Machine), you can perform the exact same operation non-interactively (substituting <blocks>, e.g. 32000 or 200000):

(progn
  (with-open-file (f "FEP7:>lmfs.file.1" :direction :block)
    (send f :allocate <blocks>)
    (si:using-resource (a si:disk-array)
      (send f :block-out 0 1 a)))
  (lmfs::make-initial-hierarchy
    (lmfs::init-any-file-part "FEP7:>lmfs.file.1"))
  (send (fs:make-pathname :host net:*local-host* :directory :root)
        :create-directory))

Phase 6 — Configure Site & System Files (SYS:)

Step 6.1: Choose Custom Site vs. Symbolics Standalone Site

  • Path 1 — Define Your Own Site (Define Site):

    1. Edit FEP7:>Local.boot (ZMacs via F1 E) to remove the :Site Name Standalone :Namespace Descriptor File ... line (ensuring the file ends with a newline), save (c-X c-S), Halt Machine, Reset FEP, and cold-boot into the clean Distribution state.
    2. In the Lisp Listener, run:
      Define Site MySite
      
    3. Fill in the Accept-Values menu:
      • Namespace Server Name: e.g. XL1200 (do not enter Local)
      • System File Directory: LOCAL:>sys>site>
      • Local Timezone: e.g. UTC, EST, CET, or GMT offset integer
      • Standalone Site: Yes (disables network who-am-I / time broadcasts on boot)
    4. Press F10 / End to write the namespace database to LMFS.
  • Path 2 — Use Symbolics's Prebuilt Standalone Site:

    Important path mismatch: Disk Restore writes into FEP7:>Local.boot.1: Set Boot Options :Site Name Standalone :Namespace Descriptor File LOCAL:>sys>standalone-site>XL1200-standalone-namespace.text whereas the CD-ROM's STANDALONE-SITE-FILES directory (local-only genera-original/sys.sct/standalone-site/xl1200/) stores those files under LOCAL:>sys>standalone-site>XL1200>standalone-namespace.text.

    Copy LOCAL|CDROM4:>SYS>STANDALONE_SITE>XL1200>*.*;* into LOCAL:>sys>standalone-site>XL1200> (or restore STANDALONE-SITE-FILES in Step 6.2B), and update the :Namespace Descriptor File line in FEP7:>Local.boot to:

    Set Boot Options :Site Name Standalone :Namespace Descriptor File LOCAL:>sys>standalone-site>XL1200>standalone-namespace.text
    

Step 6.2: Point SYS: to the CD-ROM or Restore Sources/Docs to LMFS

Option A — Use the CD-ROM Directly as SYS: Host (~260 LMFS records; works on 256 MiB disk)
  1. Copy the site directory templates from CD-ROM to your local LMFS:
    Copy File LOCAL|CDROM4:>SYS>SITE>*.*;* SYS:SITE;*.*.*
    
    (If SYS:SITE; is not yet mapped because SYS.TRANSLATIONS isn't loaded yet, copy to LOCAL:>sys>site>*.*.* first.)
  2. Edit LOCAL:>sys>site>sys.translations (ZMacs: F1 E, c-X c-F) to point SYS: to the CD-ROM:
    ;;; -*- Mode: LISP; Syntax: Common-lisp; Package: USER -*-
    (fs:set-logical-pathname-host "SYS"
      :translations '(("sys:**;*.*.*" "LOCAL|CDROM4:>SYS>**>*.*;*")))
    
  3. Save (c-X c-S) and load it in the Listener:
    Load File LOCAL:>sys>site>sys.translations
    
    (ISO 9660 caveats from the Installation Guide: filenames > 31 chars are truncated automatically by Genera's ISO 9660 translation rules, and +/$/& characters are omitted on CD-ROM if prompted.)
Option B — Restore Sources, Online Documentation & Loadable Systems into LMFS (≥ 512 MiB disk)
  1. Create and load LOCAL:>sys>site>sys.translations pointing SYS: to local LMFS:
    ;;; -*- Mode: LISP; Syntax: Common-lisp; Package: USER -*-
    (fs:set-logical-pathname-host "SYS"
      :translations '(("sys:**;*.*.*" "LOCAL:>rel-8-3>sys>**>*.*.*")))
    
  2. Launch the distribution restorer in the Lisp Listener:
    Restore Distribution :Menu Yes :Use Disk Yes
    
  3. For each .TAPE image under LOCAL|CDROM4:>DISTRIBUTION>, click [Initialize Restoration], select systems, and click [Perform Restoration]:
    • LOCAL|CDROM4:>DISTRIBUTION>8_3_SOURCE_DIST_1.TAPE — Required base (LEGAL-NOTICE, MACRO-CALLS-DATABASE, TV-FONTS, IFEP-DISTRIBUTION, STANDALONE-SITE-FILES), system sources (SYSTEM, CLOS, ZWEI, ZMAIL, LMFS, IP-TCP, …), and online documentation (DOC, IP-TCP-DOC, NFS-DOCUMENTATION, X-DOCUMENTATION).
    • LOCAL|CDROM4:>DISTRIBUTION>8_3_SOURCE_DIST_2.TAPE — Non-loaded systems (CLIM, CLIM-DEMO, CLIM-DOC, HACKS, EXAMPLES, METERING, CONVERSION-TOOLS, NFS-SERVER, X-SERVER, STATICE-RUNTIME, MAILER, PRINT, DOMAIN-NAME-SERVER).
    • LOCAL|CDROM4:>DISTRIBUTION>8_3_FPC_DIST.TAPE — Optional Symbolics Fortran, Pascal, and C.

Phase 7 — Save a Site-Configured World & Clean Shutdown

Important (Genera 8.3 Installation Guide, p. 541): Never save a world from the same session in which you ran Define Site. Always cold-boot the distribution world first, then run Set Site.

  1. Flush LMFS and halt cleanly:
    • Run Logout (or (lmfs:shutwarm) / FSEdit F1 F → [Local LMFS Operations] → [Flush Free Buffer]).
    • Run Halt Machine.
    • (Always flush/log out before cold-booting or powering off so LMFS does not lose ~30–50 free records per session; lost records can be recovered via FSEdit Level 3 → [Salvage].)
  2. Cold-boot Genera-8-3.ilod.1:
    • At FEP Command:, run Reset FEP, Hello, Boot.
  3. Configure & save your site world:
    Set Site MySite
    
    (Skip Set Site if using the Standalone site boot options.) Optionally disable network services and bake in additional systems (requires SYS: from Phase 6):
    Disable Services
    Login Lisp-Machine
    Load System Hacks
    Load System Metering
    
    (Optional: run Optimize World to improve paging locality.) Save an incremental world (enabled by :IDS Enable in Local.boot):
    Save World Incremental FEP7:>Inc-Site-from-Genera-8-3.ilod
    
    Future Load World commands in Boot.boot automatically pick the newest world on FEP7:.
  4. Final clean shutdown: Logout → Halt Machine → Shutdown (or OFF → SURE?).

4. Daily Non-Destructive Booting & Live Inspection

Once installed, avoid running with --rw so your base disk stays untouched:

# Disposable RAM overlay (changes discarded on exit):
./scripts/run-xl1200-clean.sh

# Persistent sparse delta overlay (changes saved to .ovl; base disk immutable):
./scripts/run-xl1200-clean.sh --persist

# Keep CD-ROM attached if using CD-ROM as SYS: host:
./scripts/run-xl1200-clean.sh --persist --cdrom

While running, you can inspect, pause, sample, or automate the live emulator from a second terminal using scripts/xl1200-ctl.sh.