XL1200-EMU Symbolics XL1200 Emulator
Architecture & Guides docs/fep-netboot-analysis.md

Symbolics Ivory FEP Boot ROM: Netboot & Network Driver Analysis

This document provides a reverse-engineering analysis of the Symbolics Ivory Front End Processor (FEP) Boot PROMs (local-only user-supplied ivory-fep-roms/fep330/ and ivory-fep-roms/fep320/), answering whether network booting (netboot) is supported directly in the physical boot ROM firmware.


1. Executive Summary

  • Is there netboot code in the FEP Boot PROM? NO. The 128 KiB physical boot PROMs (115988 + 115989) do not contain network drivers, network protocol stacks (Ethernet, Chaosnet, IP, UDP, TFTP, BOOTP, ARP), or netboot commands.
  • Why? Symbolics Ivory systems employ a Two-Stage FEP Architecture:
    1. Stage 1: Device PROM (IFEP promJ): The 128 KiB onboard EPROM container unpacked into Zone 31 RAM (0xF8001000..0xF80071F2, entry 0xF8007162). Its sole purpose is hardware probing, console initialization, mounting local SCSI/ESDI disk or CD-ROM/tape media, and loading the primary FEP kernel (kernel.fep) into RAM.
    2. Stage 2: Disk FEP (FEP Kernel & Overlays): The full FEP operating system stored on local disk or tape (.flod overlay files). High-level boot commands—including Load World and Netboot—reside exclusively in the *-loaders.flod overlay (e.g. FEP7:>I330-loaders.flod).
  • False-Positive Clarification: The symbol Network in the keyboard table is not a network driver; it is the key descriptor for the physical Symbolics keyboard <Network> key (0o050 SLB scancode), defined alongside <Select>, <Escape>, and <Complete>.

2. ROM String & Symbol Audit Methodology

2.1 The 5-Byte Packing Barrier

Ivory uses 40-bit tagged words. Inside IFEP prom sections (emu/src/loader.c), words are packed into 5 consecutive bytes:

[Byte 0: Data<7:0>, Byte 1: Data<15:8>, Byte 2: Data<23:16>, Byte 3: Data<31:24>, Byte 4: Tag & CDR]

Running standard Unix strings on a raw EPROM dump misses most strings longer than 4 characters because Byte 4 (Tag & CDR) interrupts every 4 bytes of character data. Unpacking each 5-byte word into its 32-bit payload reconstructs all contiguous symbol and string tables without tag interference.

2.2 Exhaustive Keyword Scan Results

Scanning all unpacked words across FEP 3.30 (IFEP promJ, 25,068 words) and FEP 3.20 (IFEP promB):

Search PatternMatches in FEP 3.30Matches in FEP 3.20Context / Notes
net01FEP 3.20 match is the <Network> keyboard key symbol.
ether / ethernet00No Ethernet controller drivers or references.
chaos / chaosnet00No Chaosnet protocol code in PROM.
ip / udp / tcp00No Internet protocol stack in PROM.
bootp / tftp / arp00No network bootstrap protocols.
lance / am799000No AMD LANCE Ethernet chip support.
sonic / dp839000No National Semiconductor network chip support.
intel / 82586 / 8259600No Intel Ethernet controller support in PROM.
packet00No packet driver abstractions.
scsi108WD33C93A SCSI disk, tape, and CD-ROM controllers.
esdi44Merlin ESDI disk controllers.
cdrom / iso966022ISO 9660 SCSI CD-ROM boot support.
tape / qic44Cartridge tape boot support (BOL-QIC-100-TAPE).

3. Hardware Driver Inventory in the Boot PROM

The Device PROM contains an object-oriented driver hierarchy implemented in Symbolics Flavors:

classDiagram
    class BasicUnit {
        +reference-counting
    }
    class DiskController {
        +WD33C93-SCSI-Controller
        +ESDI-Controller
    }
    class DiskDevice {
        +SCSI-Disk
        +ESDI-Disk
        +Constant-Geometry-Disk
        +Simple-Disk
        +SCSI-CDROM
    }
    class TapeDevice {
        +SCSI-Tape
        +Basic-Tape
        +BOL-QIC-100-Tape
    }
    class VideoConsole {
        +Merlin-Video-Memory
        +Photon-Video-Memory
        +VME-Video-Memory
        +Screen
        +BW-Screen
        +Window
    }
    class KeyboardInput {
        +Merlin-Hardware-Keyboard
        +Hardware-Keyboard
        +Console-Keyboard
        +Keyboard-Demux-Stream
    }

    BasicUnit <|-- DiskController
    BasicUnit <|-- DiskDevice
    BasicUnit <|-- TapeDevice
    DiskController <|-- DiskDevice

3.1 Supported Boot Media Controllers

  1. SCSI Controller: Western Digital WD33C93A (MERLIN-WD33C93-SCSI-CONTROLLER, WD33C93-SCSI-CONTROLLER):
    • SCSI-DISK: 1,280-byte/sector SCSI hard disk drives.
    • SCSI-CDROM: 2,048-byte/sector optical drives with ISO 9660 filesystem parsing.
    • SCSI-TAPE / BOL-QIC-100-TAPE: Sequential SCSI tape drives.
  2. ESDI Controller: Enhanced Small Disk Interface controller (MERLIN-ESDI-CONTROLLER, ESDI-CONTROLLER).
  3. Console & Video: MERLIN-VIDEO-MEMORY, PHOTON-VIDEO-MEMORY, VME-VIDEO-MEMORY, MERLIN-HARDWARE-KEYBOARD.

No network interface controller (NIC) exists in the Boot PROM; the Intel 82586 Ethernet controller is initialized only after the FEP kernel or Genera takes over.


4. The Two-Stage FEP Architecture in Genera

+-------------------------------------------------------------------------------+
| STAGE 1: Physical Boot PROM (115988 + 115989 -> IFEP promJ in Zone 31 RAM)    |
| - Hardware probe & Merlin VRAM / DUSCC+8237A console init                     |
| - WD33C93A SCSI & ESDI controller probing                                     |
| - Mounts local FEP disk (FEP7:) or CD-ROM (CART11:) / tape                    |
| - Loads kernel.fep into RAM                                                   |
+---------------------------------------+---------------------------------------+
                                        |
                                        v
+-------------------------------------------------------------------------------+
| STAGE 2: Disk FEP Overlays (Stored on FEPFS Partition)                        |
| - kernel.fep    : Core FEP operating system runtime                           |
| - loaders.flod  : World loaders & NETBOOT COMMAND                             |
| - debug.flod    : Interactive symbolic FEP debugger                           |
| - info.flod     : System info & hardware inventory                            |
| - lisp.flod     : Lisp startup & status commands                              |
+---------------------------------------+---------------------------------------+
                                        |
                                        | Executes: "Netboot"
                                        v
+-------------------------------------------------------------------------------+
| GENERA WORLD LOADING OVER NETWORK                                             |
| - Protocol: Chaosnet / IP / TFTP (via SYS:NETBOOT;WORLD-SUBSTRATE.LISP)       |
| - Downloads Genera world image (.ilod) into memory / paging files             |
+-------------------------------------------------------------------------------+

4.1 Where Does Netboot Live?

In a local Genera 8.3 source tree (git-ignored, not distributed in this repo):

  • genera-original/sys.sct/netboot/world-substrate.lisp and genera-original/sys.sct/netboot/world-tools.lisp implement the world loading protocol, load map parsing, and network streaming substrate.
  • genera-original/sys.sct/ifep/ holds the compiled .flod overlays (i328-loaders.flod, i328-kernel.fep, i328-info.flod, i328-debug.flod, i328-lisp.flod).

The Netboot command is compiled into *-loaders.flod, which Stage 2 loads from the local FEP partition.


5. Host-Assisted Coprocessor Platforms (MacIvory & UX)

On coprocessor platforms, a host OS provides life-support queues rather than booting from a standalone XL1200 Boot PROM:

  • MacIvory (Macintosh NuBus coprocessor): The Mac host application injects Device-PROM (IFEP promE) and IFEP-Kernel (IFEP promH) over NuBus and mediates storage/network via embCommunicationArea.
  • UX400 / UX1200 (SunOS/SGI VME coprocessor): The Unix life-support daemon initializes shared host channels (embChannel) for disk, console, and network I/O.

6. XL1200 Emulator Implementation (emu/)

The from-scratch C11 XL1200 emulator (emu/) implements the full native Merlin-II hardware path:

  • Stage 1 & 2 Storage: Emulates the WD33C93A SCSI controller (emu/src/scsi_wd33c93.c) with 1,280-byte/sector disks, non-destructive COW .ovl overlays, 2,048-byte/sector ISO 9660 CD-ROMs, and SIMH .tap sequential tapes.
  • Networking: Emulates the Intel 82586 Ethernet controller (emu/src/eth_82586.c) backed by unprivileged libslirp user-mode NAT (--eth-user + --eth-hostfwd), Linux TAP (--eth-tap), or AF_PACKET veth (--eth-veth), enabling TCP/IP and Chaosnet connectivity once the FEP kernel / Genera starts.

See Peripherals & Backends and Emulator Overview for full configuration details.

Related Chip Datasheets (6)All Component Datasheets →