XL1200-EMU Symbolics XL1200 Emulator

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>): 0o00 DTP-NULL, 0o10 DTP-FIXNUM, 0o24 DTP-NIL, 0o25 DTP-LIST, 0o30 DTP-SYMBOL, 0o34 DTP-COMPILED-FUNCTION, 0o40 DTP-PHYSICAL-ADDRESS, 0o46 DTP-EVEN-PC, 0o47 DTP-ODD-PC, 0o50..=0o57 Fullword Call Starters, 0o60..=0o77 Packed 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 / WidthSubsystem
0x00000000 – 0x007FFFFF8 MW (default)Main RAM (Zone 31 VMA 0xF8000000–0xF87FFFFF; expandable via --ram-mw)
0x07FE0000 – 0x07FEFFFF64 KW (#o777400000)Wired Boot Comm Area (0xFFFE0000, 64 words; *BOOT-SPY-PC* halt at +0x10..+0x12) & Boot PROM window
0x0800000016 wordsIntel 82C54 Programmable Interval Timer (Timers 0, 1, 2)
0x09000000 – 0x090007FF2 KiBMostek MK48T02 NVRAM & Time-of-Day clock (0x090007F8–0x090007FF)
0x0A000000 – 0x0A00000C4 regsMerlin-II LEDs (+0), Cache Control (+4), ECO / VME Timeout (+8, MERLIN_VME_TIMEOUT_PMA, default 0x0FF4FF11), Interrupt Status/Control (+C)
0x40000000 – 0x4000FFFF64 KWIO0 Shared SRAM (Ethernet rings, Serial DMA +0x4200, SCSI DMA +0x5000)
0x44014000 – 0x4402D001IO0 MMIOESDI 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 – 0x4807FFFF512 KW1bpp Monochrome VRAM (1152×896, 64 words/row, LSB = leftmost pixel)
0x80000000 / 0x88000000 / 0x8FF80000VMEbusVME Control 0/1 & VIC068 VMEbus interface

IFEP promJ Cold-Boot Sequence

  1. Two 64 KiB physical EPROM dumps (115988 low ‖ 115989 high = 128 KiB rom.dump) form a single IFEP promJ sectioned container (30-byte "IFEP prom" header, checksummed LE 5-byte word sections [b0..b3, (cdr<<6)|dtp], and footer {entry_vma, 0xFFFFFFFF}).
  2. emu/src/loader.c unpacks sections directly into Zone 31 RAM (0xF8001000–0xF80071F2 for FEP 3.30) and seeds the Wired Boot Comm Area at 0xFFFE0000 (including Main Board ID ROM bytes at +0x20/+0x30 and *BOOT-SPY-PC* halt traps at +0x10..+0x12).
  3. Ivory Rev 4/4A begins execution at the footer entry point (0xF8007162 Even 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/)

2. Ivory & Merlin-II Hardware Reference (docs/hardware-reference/)

3. Guides & Topic Deep-Dives

Related Chip Datasheets (14)All Component Datasheets →