XL1200-EMU Symbolics XL1200 Emulator
Architecture & Guides docs/memory-maps-and-io-spaces.md

Symbolics Ivory Hardware Memory Maps & I/O Information Spaces

This document summarizes the 40-bit word layout, virtual-to-physical addressing boundaries, and cross-platform memory/I/O layouts across all four Symbolics Ivory hardware families (XL1200 / Merlin-II, UX1200S / Merlin Coprocessor, NXP1000 / Domino, and MacIvory).

For bit-exact XL1200/Merlin-II register specifications, see the Hardware Reference Manual (Volume 4 — Merlin-II Core & VMEbus and Volume 5 — XL1200 Peripherals). For the C11 emulator's peripheral implementations, see Peripherals & Host Backends.


1. Overview & Architectural Foundations

The Symbolics Ivory processor is a 40-bit tagged architecture. Every memory word consists of:

  • Bits <39:38>: CDR code (2 bits: 0 = CDR-NEXT, 1 = CDR-NIL, 2 = CDR-NORMAL, 3 = CDR-JUMP).
  • Bits <37:32>: Data Type tag (DTP, 6 bits, values #o00 through #o77; tags #o60..#o77 denote packed dual-18-bit instruction words).
  • Bits <31:0>: Payload (32 bits, containing pointers, fixnums, immediate instructions, or raw data).

All physical memory addressing on Ivory is word-addressed (address increments refer to 40-bit words, not 8-bit bytes).

A. Physical Address Bus vs. Zone 31 (VMA=PMA) Window

+-------------------------------------------------------------------------------+
|                 Ivory Physical Word Space (Merlin-II / XL1200)                |
+---------------------------------------+---------------------------------------+
|  Zone 31 VMA=PMA Window (0x0000_0000  |  C-Bus, B-Bus I/O & VMEbus PMAs       |
|      to 0x07FF_FFFF / 128 MW)         |  (Accessed via DTP-PHYSICAL-ADDRESS   |
|                                       |   or wired PHT entries)               |
+---------------------------------------+---------------------------------------+
| - Main ECC DRAM (0x0000_0000..        | - 0x0800_0000: 82C54 PIT              |
|   0x007F_FFFF = 8 MW on XL1200)       | - 0x0900_0000: MK48T02 NVRAM & TOD    |
| - Wired Trap/FEP/Syscom/NIL/T         | - 0x0A00_0000: Merlin-II Core & IRQ   |
|   (0x0004_0000..0x0004_1208)          | - 0x4000_0000: IO0 64 KW DMA SRAM     |
| - Wired Boot Comm + Boot PROM         | - 0x4401_4000..4402_D001: IO0 MMIO    |
|   (0x07FE_0000..0x07FE_FFFF, 64 KW)   | - 0x4800_0000: 512 KW Console VRAM    |
| - Reserved I-Bus / Spy (0x07FF_0000)  | - 0x5000_0000: IO1 (bus fault absent) |
|                                       | - 0x8000_0000..8FF8_000F: VIC068/VME  |
+---------------------------------------+---------------------------------------+
  1. Zone 31 VMA=PMA Window (%WIRED-ZONE / %VMA-EQUALS-PMA):
    • Virtual addresses in Zone 31 (0xF8000000..0xFFFFFFFF, octal #o37000000000..#o37777777777) bypass the Page Hash Table (PHT).
    • The top 5 virtual address bits <31:27> are stripped to 0, yielding a 27-bit unmapped physical word window (PMA = VMA & 0x07FFFFFF, \(2^{27} = 128\text{ MW}\)).
    • Physical memory or MMIO with bits <31:27> non-zero (such as Merlin-II C-Bus registers at 0x08000000..0x0A00000F, I/O Board 0 at 0x40000000..0x4807FFFF, or extended RAM \(\ge 128\text{ MW}\)) cannot be reached via Zone 31; it must be accessed via DTP-PHYSICAL-ADDRESS (#o22) or PHT mappings in Zones 0..30.
  2. Paging Metrics:
    • Page Size: 256 words per page (bits <7:0> = page offset; 1,280 bytes at 5 bytes/word).
    • Quantum Size: 65,536 words per quantum (256 pages).

2. Platform Comparison Matrix

Architectural FeatureXL1200 / Merlin-II StandaloneUX1200S / Merlin CoprocessorNXP1000 / Domino ("Minima")MacIvory (Model 1, 2, 3)
Form FactorStandalone 6U VMEbus workstation6U VMEbus slave card in Sun-3 / Sun-419" rackmount headless serverApple NuBus coprocessor card
Main RAM Boundary8 MegaWords (0x00000000..0x007FFFFF)On-board DRAM exposed via VME slaveUp to 8 MW on-boardModel 1/2: host RAM; Model 3: 8 MW
Console / Display1152×896 1-bpp monochrome VRAM (0x48000000, 64-word stride, LSB-leftmost)Headless; SunView / X11 Life SupportHeadless; Serial / 8032 MailboxHeadless; Mac window blit / Cold Load
Serial / Kbd / MouseSignetics SCN26562/68562 DUSCC (0x44017000/7100) + Intel 8237A DMAC (0x44017200/7300) + SLB protocolHost Sun console via EmbCommAreaSerial + 8032 MCU (0x41000000)Host Mac keyboard/mouse via EMB
I/O & DMA SRAM64 KW (256 KiB) IO0 SRAM (0x40000000: Serial 0x40004200, SCSI 32 KiB ring 0x40005000, 82586 Ethernet)Host-side shared memory buffers32 KW SRAM (0x4A000000)Host-side NuBus buffers
SCSI SubsystemWD33C93A (0x44015000, 0x44017800/7900, 0x4401A000..B800)Host SCSI RPC via life-supportWD33C93 on Domino I/O busHost SCSI RPC via life-support
EthernetIntel 82586 (0x44016000 <7:5>, SRAM SCP 0x01FFF4)Bridged via Sun le0/ie0Dual Intel 82596 (0x48000000, 0x48800000)Bridged via Mac Ethernet
Timers & NVRAM/RTCIntel 82C54 PIT (0x08000000) & Mostek MK48T02 (0x09000000..0x090007FF)Merlin-II timers + Sun host clockIntel 8032 MCU (0x41000000), Dallas DS1286 RTC (0x09000000)Mac Toolbox clock handshake
Interrupt Controller32-bit %merlin-ii-interrupt (0x0A00000C)%merlin-ii-interrupt + VME doorbell (0x0A00000F)Domino control/IRQ regs (0x41001000..0x41006002)NuBus interrupt / EMB signals
Life Support ProtocolNative hardware drivers & IFEP promJEMB-COMMUNICATION-AREA ('EMBD' at 0x00000100)Native FEP & 8032 MailboxEMB-COMMUNICATION-AREA ('EMBD')

3. Wired Low Memory & Firmware Spaces

All Ivory / Merlin-II systems share these wired Zone 31 physical structures mandated by the CPU, FEP 3.30 (IFEP promJ), and Genera 8.3:

Physical Word AddressZone 31 VMAOctalSizeDescription
0x00000100..0x000001320xF8000100#o00000040051 WUX1200S EmbCommArea (embedded mode only)
0x00040000..0x00040FFF0xF8040000#o0010000004 KWHardware Trap Vector Table
0x00041000..0x000410FF0xF8041000#o001010000256 WFEP Communication Area (IVORY_FEP_COMM_AREA_VMA)
0x00041100..0x000411FF0xF8041100#o001010400256 WSystem Communication Area (Syscom) (IVORY_SYSCOM_AREA_VMA)
0x00041200 / 0x000412080xF8041200 / 0xF8041208#o001011000 / 0102 symsWired NIL and T symbols
0x07FE0000..0x07FE003F0xFFFE0000#o77740000064 WWired Boot Communication Area: *BOOT-SPY-PC* (+0x10..+0x12) and Main Board ID ROM bytes 0..5 (+0x20..+0x25, fallback +0x30..+0x35)
0x07FE0040..0x07FEFFFF0xFFFE0040#o77740010064 KW − 64 WBoot PROM Space (split EPROMs 115988 low ‖ 115989 high); CPU cold reset vector at 0x07FE0040 (#o777400100, Even phase)
0x07FF0000..0x07FFFFFF0xFFFF0000#o77760000064 KWReserved I-Bus / Spy diagnostic space

For IFEP promJ (fep330/rom.dump), the sectioned PROM loader unpacks firmware sections directly into wired Zone 31 RAM (0xF8001000..0xF80071F2) and enters cold boot at 0xF8007162 (see Volume 5, Section 9).


4. Endianness & Coprocessor Shared Memory (EMB-COMMUNICATION-AREA)

In coprocessor systems (MacIvory and Sun UX1200S), the host CPU is Big-Endian (Motorola 680x0 or Sun SPARC), while the Ivory processor is Little-Endian:

  1. Magic Identifier: Host C code (embed.h) writes EMB_IDENTIFIER = 'DBME' ([0x44, 0x42, 0x4D, 0x45] in Big-Endian host RAM). Little-Endian Ivory reads this 32-bit word as "EMBD" (0x44424D45).
  2. Bitfield Allocation Duality: 68k MPW C / Sun Big-Endian C bitfields pack MSB-first, whereas Ivory's ldb byte specifiers address bits LSB-first (<7:0>). Portable host code on 64-bit (LP64) machines must use fixed-width int32_t / uint32_t fields and explicit masks/shifts.
  3. 32-Bit Word Byte Swapping: Raw ASCII console buffers, network frames, and MacIvory FEPFS disk blocks transferred across a Big-Endian/Little-Endian boundary require 32-bit word byte swapping (bswap32, as implemented in emu/src/fep_convert.c for MacIvory→XL1200 FEPFS conversion).

5. Detailed Platform Specifications

Related Chip Datasheets (9)All Component Datasheets →