Symbolics XL1200 / Ivory Architecture & Documentation Index
Overview
The Symbolics XL1200 is a standalone Lisp workstation built around the Symbolics Ivory processor — a 40-bit tagged-architecture VLSI CPU paired with the Merlin-II motherboard and I/O subsystem. This repository implements a from-scratch C11 hardware-level emulator (emu/) capable of running unmodified Symbolics firmware starting from the physical Front End Processor (FEP) Boot PROM (IFEP promJ) through full Genera 8.3 interactive execution.
The emulator models the Ivory Rev 4/4A CPU and Weitek W3x64 FPA, 256-word physical paging (Page Hash Table + map cache + coherent decoded-page cache), the Merlin-II bus and interrupt controller, WD33C93A SCSI, Intel 82586 Ethernet, SCN68562 DUSCC dual-channel serial + Intel 8237A DMAC, Mostek MK48T02 NVRAM/TOD clock, Intel 82C54 PIT timers, and the 1152×896 monochrome console.
40-Bit Tagged Word & Packed Instruction Format
Every memory word and CPU register in Ivory is 40 bits wide:
+-------------------+-----------------+----------------------------------------+
| CDR Code (2 bits) | Tag / DTP (6b) | Data / Address / Immediate (32 bits) |
| <39:38> | <37:32> | <31:0> |
+-------------------+-----------------+----------------------------------------+
- CDR Codes (
<39:38>):0=CDR-NEXT(adjacent word),1=CDR-NIL(list end / function trailer fence),2=CDR-NORMAL(explicit CDR word follows),3=CDR-JUMP(indirect CDR / single Even-only halfword instruction). - Data Types (
<37:32>):0o00DTP-NULL,0o10DTP-FIXNUM,0o24DTP-NIL,0o25DTP-LIST,0o30DTP-SYMBOL,0o34DTP-COMPILED-FUNCTION,0o40DTP-PHYSICAL-ADDRESS,0o46DTP-EVEN-PC,0o47DTP-ODD-PC,0o50..=0o57Fullword Call Starters,0o60..=0o77Packed Halfword Pairs. - Packed Halfwords: Two 18-bit instructions per word — Even in
<17:0>, Odd in{tag<3:0>, data<31:18>}(10-bit opcode<17:8>, 8-bit operand<7:0>).
XL1200 Merlin-II Physical Memory Map & IFEP promJ Boot Sequence
Peripherals are addressed via DTP-PHYSICAL-ADDRESS; Zone 31 (0xF8000000–0xFFFFFFFF) maps unmapped virtual addresses directly to a 27-bit physical window (VMA & 0x07FFFFFF).
| Physical Address (PMA) | Size / Width | Subsystem |
|---|---|---|
0x00000000 – 0x007FFFFF | 8 MW (default) | Main RAM (Zone 31 VMA 0xF8000000–0xF87FFFFF; expandable via --ram-mw) |
0x07FE0000 – 0x07FEFFFF | 64 KW (#o777400000) | Wired Boot Comm Area (0xFFFE0000, 64 words; *BOOT-SPY-PC* halt at +0x10..+0x12) & Boot PROM window |
0x08000000 | 16 words | Intel 82C54 Programmable Interval Timer (Timers 0, 1, 2) |
0x09000000 – 0x090007FF | 2 KiB | Mostek MK48T02 NVRAM & Time-of-Day clock (0x090007F8–0x090007FF) |
0x0A000000 – 0x0A00000C | 4 regs | Merlin-II LEDs (+0), Cache Control (+4), ECO / VME Timeout (+8, MERLIN_VME_TIMEOUT_PMA, default 0x0FF4FF11), Interrupt Status/Control (+C) |
0x40000000 – 0x4000FFFF | 64 KW | IO0 Shared SRAM (Ethernet rings, Serial DMA +0x4200, SCSI DMA +0x5000) |
0x44014000 – 0x4402D001 | IO0 MMIO | ESDI status, Serial/SCSI Ctrl, IO0 ID ROM / Intel 82586 Ethernet Ctrl <7:5> (0x44016000), SCN68562 DUSCC, Intel 8237A DMAC, WD33C93A SCSI, DP8466 ESDI, Video VPOS / Video-Audio Ctrl <4:0> (0x4402C000) & 8158 RAMDAC |
0x48000000 – 0x4807FFFF | 512 KW | 1bpp Monochrome VRAM (1152×896, 64 words/row, LSB = leftmost pixel) |
0x80000000 / 0x88000000 / 0x8FF80000 | VMEbus | VME Control 0/1 & VIC068 VMEbus interface |
IFEP promJ Cold-Boot Sequence
- Two 64 KiB physical EPROM dumps (
115988low ‖115989high = 128 KiBrom.dump) form a singleIFEP promJsectioned container (30-byte"IFEP prom"header, checksummed LE 5-byte word sections[b0..b3, (cdr<<6)|dtp], and footer{entry_vma, 0xFFFFFFFF}). emu/src/loader.cunpacks sections directly into Zone 31 RAM (0xF8001000–0xF80071F2for FEP 3.30) and seeds the Wired Boot Comm Area at0xFFFE0000(including Main Board ID ROM bytes at+0x20/+0x30and*BOOT-SPY-PC*halt traps at+0x10..+0x12).- Ivory Rev 4/4A begins execution at the footer entry point (
0xF8007162Even for FEP 3.30), initializes Merlin-II peripherals, mounts FEP0 via WD33C93A SCSI, loads the FEP kernel overlay, and boots Genera.
Master Documentation Index
1. C11 Emulator Architecture (docs/emulator/)
- Emulator Overview (
docs/emulator/README.md): High-level architecture, build/test matrix, and component map foremu/. - CPU Core, ABI v4 & Acceleration (
docs/emulator/core-and-acceleration.md):libivory_corehot-reload ABI v4,IvoryDcache, 3-tierportable/avx512_c/avx512(Zen 4 ASM) execution engine, and lockstep benchmarks. - Merlin-II Peripherals & Host Backends (
docs/emulator/peripherals-and-backends.md): WD33C93A SCSI & sparse overlays,ivory-fep-convert, Intel 82586 +libslirp/TAP, SCN68562 DUSCC + 8237A DMAC +serial_host, MK48T02 NVRAM, and monochrome console hardware. - GUI Workbench,
s7Scripting & Debug IPC (docs/emulator/gui-scripting-and-debug.md): 2-thread SDL3 shell,microuitop menu bar & floating workbenches,s7Scheme(define-machine ...)/(define-action ...)/call/ccscheduler, snapshots/COW checkpoints, anddebug_ctlIPC.
2. Ivory & Merlin-II Hardware Reference (docs/hardware-reference/)
- Hardware Reference Index (
docs/hardware-reference/README.md): Complete 6-volume hardware specification derived from Symbolics manuals and Genera sources. - Vol. 1: CPU Data Types & Registers — 40-bit words, internal registers, Weitek W3x64 FPA, Wired Boot Comm Area, and
IFEP prompacking. - Vol. 2: ISA & Execution Semantics — Halfword/fullword decoding, addressing modes, Rev 4/4A
*TRAP-DISPATCH-TABLE*microstates, and FPA instructions. - Vol. 3: Virtual Memory, Paging & GC — 256-word paging,
ivory_pht_hash(), Table-13 memory cycles, map cache coherence, and ephemeral GC barriers. - Vol. 4: Merlin-II Core & VMEbus — Motherboard registers, 82C54 PIT, MK48T02 NVRAM/TOD, LEDs/Cache/IRQ, IO0 SRAM, and VIC068 VMEbus.
- Vol. 5: XL1200 Workstation Peripherals — WD33C93A SCSI, Intel 82586 Ethernet, SCN68562 DUSCC + 8237A DMAC, SLB keyboard/mouse, and 1152×896 monochrome video.
- Vol. 6: UX1200S Embedded Life Support — Historical coprocessor shared-memory channel protocol (
embCommunicationArea). docs/hardware-reference/ivory_hw.h: Synchronized C11 hardware register, opcode, trap, and microstate header.
3. Guides & Topic Deep-Dives
- Developer Master Guide (
docs/DEVELOPER_GUIDE.md): Low-level invariants, codebase map, Nix/Linux/Windows+Wine workflow, and anti-cheating verification standards. - Keyboard & Mouse Reference (
docs/KEYBOARD_REFERENCE.md): Complete 88-key SLB mapping, 9 switchable keymap profiles, and SDL3/workbench controls (printable HTML). - Genera 8.3 CD-ROM Installation Guide (
docs/genera-8.3-cdrom-install.md): Step-by-step FEPFS formatting, kernel installation, and Genera 8.3 world restoration. - Internal Hardware Registers · Paging System · Traps & Exceptions · Macroinstruction Set Lexicon · Function Calling & Stacks · Hardware Revisions · Memory Maps & I/O Spaces
- FEP Architecture & Boot Lifecycle · FEP Netboot Analysis · IFEP File Formats · Genera Distribution Media · MacIvory vs. XL1200 FEP
- VTC / Cypress VIC068A —
cypress_VIC068A_VAC068A_users_guide.pdf(mirror) - Intel 8237A —
intel_8237A_dmac.pdf - Intel 82586 —
intel_82586_lan_coprocessor.pdf(mirror) - Intel 82586 —
intel_82586_reference_manual_1983.pdf(mirror) - Intel 82C54 —
intel_82C54_pit.pdf - National DP8466 / DP8466A —
national_1988_mass_storage_DP8466.pdf(mirror) - National DP8466A (AN-0500) —
national_DP8466A_AN0500_esdi_1987.pdf(mirror) - Signetics SCN68562 / SCN26562 —
signetics_1991_IC019_data_comm_SCN68562.pdf(mirror) - Mostek MK48T02 / ST M48T02 —
st_M48T02_MK48T02_timekeeper.pdf - Western Digital WD33C93A —
wd_WD33C93A_datasheet_and_appnotes_1990.pdf(mirror) - Western Digital WD33C93A —
wd_WD33C93A_scsi_datasheet.pdf(mirror) - Weitek WTL1164/1165 (W3x64 family) —
weitek_WTL1164_1165_64bit_ieee_1986.pdf(mirror) - Weitek WTL3132/3332 (W3x64 family) —
weitek_WTL3132_3332_fpdp_1988.pdf(mirror) - Weitek WTL3167 (W3x64 core) —
weitek_WTL3167_coprocessor_1988.pdf(mirror)