XL1200-EMU Symbolics XL1200 Emulator
Start Here docs/ROADMAP.md

Engineering Roadmap

Purpose: Master index of completed and proposed architectural plans under docs/, ordered by priority and dependency tier, together with the shared Core ABI v5 & _reserved Slot Allocation Registry so independent workstreams never collide on frozen struct sizes or VMEbus address windows.


1. Status & Priority Dashboard

NOTE

Roadmap Evolution: Completing the Symbolic Debugger & Profiler (debugger-profiler-plan.md), the Portable CL Assembler/Disassembler (assembler-disassembler-plan.md), and the Clean-Room Boot PROM v1.1 + IFEP Overlays (custom-boot-prom-plan.md) removed the proprietary Boot PROM requirement for SCSI/CD-ROM bring-up and added live symbolic inspection, flamegraph profiling, and .flod assembly across all upcoming tracks. With those three foundations promoted to Completed Architectural Milestones, the remaining 10 open items shift forward: Audio, Chaosnet/PCAP Networking, and Memory Expansion now lead Tier 1, followed by Shared VMEbus (ABI v5) and IVPV Idle Yield in Tier 1.5.

Completed Architectural Milestones

PlanStatusSummary & Live Documentation
docs/cpu-acceleration-plan.mdDONE3-tier execution (portable / avx512_c / avx512), 256-page 4-GW-ready IvoryDcache, OS-independent SysV/Win64 Zen 4 hot assembly (~150 MIPS, 2.31× vs portable). Live ref: docs/emulator/core-and-acceleration.md.
docs/gui-scripting-windows-plan.mdDONESDL3 + microui workbench (15/18 px antialiased Inter font, 6 floating windows incl. Video Recording, single-button Bug Dump .zip), s7 Scheme (define-machine ...) & call/cc scheduler, portable 2-channel serial host, Windows MinGW-w64 + Wine 11 CI. Live ref: docs/emulator/gui-scripting-and-debug.md.
docs/debugger-profiler-plan.mdDONEFrom-scratch 40-bit Ivory disassembler (ivory_disasm.c, canonical Lisp S-expr compatible with ivasm), read-only Genera symbol/stack/trap walker (ivory_sym_walk.c), symbolic Bug Dump traces, on-demand sample-sym .folded profiler, 4-tab Debug & Snapshots UI, cross-platform scripts/xl1200-ctl.py, and troubleshooting playbook. Live ref: docs/TROUBLESHOOTING.md, docs/emulator/gui-scripting-and-debug.md.
docs/assembler-disassembler-plan.mdDONEStandalone portable ANSI Common Lisp multi-arch assembler/disassembler (tools/ivasm/, verified across SBCL, ECL & CLISP, 304/304 C↔CL golden checks, 0-diff real-media round-trips), Ivory Rev 4/4A + FrameThrower AVP/ASQ skeletons, and :raw-words/:ifep-prom/:ifep-fep/:ifep-flod/:ibin-fasl containers. Live ref: docs/ivory-assembler.md.
docs/custom-boot-prom-plan.mdDONEClean-room open-source XL1200 Boot PROM v1.1 (prom/, 1,808 words: Merlin-II cache mode 2, dual 1bpp VRAM 8×8 font + Serial Ch.B console, SLB keyboard + serial input, 3s interruptible countdown, SCSI 0..6 discovery & interactive menu, FEPFS FEP7..13: & ISO-9660 CART7..13: CD-ROM boot, split 115988/115989 EPROMs) + IFEP 328 overlay SDK & live custom-diag.flod (Show Emulator Info). Live ref: docs/custom-boot-prom.md, docs/fep-internals-and-overlays.md.

Remaining Next-Phase Plans (Ordered by Priority)

TierPriorityStatusPlanScopeCore ABI ImpactDepends On
Tier 11TODOdocs/audio-plan.mdAuthentic XL1200 console beeper (VIDEO_CTRL 0x4402C000 <3:4> + SLB beep/volume) via SDL3 audio streams, UI mute/volume, optional .wav sidecar for .y4mNone (Xl1200Console event ring)—
Tier 12PARTIALdocs/networking-chaosnet-plan.mdLean real-world networking: cbridge/CHUDP Chaosnet (0x0804) + libslirp EtherType mux, Linux persistent/pre-existing TAP & PCAP/AF_PACKET (veth), Windows Npcap / TAP-Windows, macOS notes (lowest priority). (Base 82586 + libslirp + Linux TAP already work.)None (EthHostCallbacks only)—
Tier 13TODOdocs/memory-expansion-plan.mdSparse host RAM backing (mmap/VirtualAlloc), safe Zone-31 ceiling (<= 127.875 MW), Merlin-II expansion boards 0–2 (0x10000000..0x30000000, up to 895.875 MW), multi-region .snap/COW scaling1 ptr slot in IvoryMem::_reserved—
Tier 1.54TODOdocs/vme-bus-plan.mdShared Merlin-II VMEbus & VIC068 bridge (vme_bus.c, VmeDeviceOps, direct 0xC0000000+ & polled 0x88000040..0x88000140, 4 shuffle modes, BERR/IRQ/IACK, disjoint A32 slot registry)ABI v5 (1 ptr slot in MerlinBoard::_reserved)—
Tier 1.55TODOdocs/genera-pv.md (Wave 1B)Standalone IVPV Idle Yield Device — 1-register VME idle hint (PV_REG_IDLE_YIELD), condvar sleep in main.c, ~20-line Genera scheduler hook for ~0% idle host CPUUses vme-bus-plan.mdvme-bus-plan.md
Tier 26TODOdocs/genera-pv.md (Waves 2–3)Full Host–Guest Paravirtualization: seamless uncaptured mouse, bidirectional Solstice/UX-style RPC + External RPC Sidecar Proxy, zero-copy HOST: DMA filesystem, host clipboardUses vme-bus-plan.mdvme-bus-plan.md
Tier 27TODOdocs/color-graphics-plan.mdAuthentic VMEbus color hardware: Univision UDC-3400 (3× Bt458 RAMDACs + Intel 82786 GP) → Symbolics FrameThrower (Photon + AVP), dual-head SDL3 + microuiUses vme-bus-plan.mdvme-bus-plan.md
Tier 38PARTIALdocs/platforms-and-ci-plan.mdGeneric x86-64 fast assembly loop + Linux/Windows Release CI (Primary) → ARM64 (aarch64) Linux & NEON/ASM (Second Tier) → macOS portability notes (Lowest Priority). (Linux/Win64 Nix & Wine builds already work.)None (runtime tier table)—
Tier 39TODOdocs/genera-pv.md (Separate IVFB Card)Optional separate VME Linear Color Framebuffer card (IVFB at 0x1400_0000, screen_id = 1..4) decoupled from IVPVUses vme-bus-plan.mdvme-bus-plan.md, genera-pv.md
Tier 310PARTIALdocs/genera-autoinstall-plan.mdOptional unattended Genera 8.3 layered-products installer (extending working base install-genera-8.3-from-cdrom.sh for C/Fortran/Pascal/Color/CLIM/Statice/Joshua + incremental world save)None (Automation scripts only)—

2. Architecture & Dependency Graph

flowchart TD
    subgraph DONE["Completed Foundations DONE"]
        DBG["debugger-profiler-plan.md\nDisasm, Symbol Walker, Bug Dump,\nsample-sym, Cross-Agent Skill"]
        ASM["assembler-disassembler-plan.md\nCL Multi-Arch Asm/Disasm (tools/ivasm/)\nLisp S-Expr, PROM/FEP/FLOD/IBIN"]
        PROM["custom-boot-prom-plan.md\nClean-Room Boot PROM v1.1 (3s Menu)\n+ IFEP 328 Overlays (.flod)"]
    end

    subgraph T1["Tier 1 — Zero Core ABI Break (Audio, Networking & Sparse RAM)"]
        AUD["1. audio-plan.md\nVIDEO_CTRL + SLB Beep via SDL3"]
        NET["2. networking-chaosnet-plan.md\ncbridge/CHUDP + SLIRP Mux,\nTAP/PCAP (veth), Win Npcap"]
        MEM["3. memory-expansion-plan.md\nSparse RAM + Merlin Boards 0..2\n(127.875 MW / 895.875 MW)"]
    end

    subgraph T15["Tier 1.5 — VMEbus Foundation & Early Idle"]
        VME["4. vme-bus-plan.md\nvme_bus.c, VIC068 BERR/IRQ/IACK,\nDirect/Polled VME, ABI v5"]
        IDLE["5. IVPV Idle Yield Device\n(genera-pv.md Wave 1B)\n~0% Idle Host CPU"]
    end

    subgraph T2["Tier 2 — Full Host-Guest PV & Authentic Color Hardware"]
        PV["6. genera-pv.md (Waves 2-3)\nSeamless Mouse, HOST: FS, Clipboard,\nExternal RPC Sidecar Proxy"]
        CLR["7. color-graphics-plan.md\nUnivision UDC-3400 & FrameThrower\n(SDL3 Dual-Head + microui)"]
    end

    subgraph T3["Tier 3 — Portability, CI & Stretch Cards"]
        PLAT["8. platforms-and-ci-plan.md\nGeneric x86-64 ASM + CI -> ARM64 -> macOS"]
        IVFB["9. Separate VME Linear Color Card (IVFB)\n(Low Priority, Decoupled from IVPV)"]
    end

    DBG <-->|"Shared Lisp S-Expr"| ASM
    ASM --> PROM
    ASM -.->|"IBIN & Microcode Analysis"| CLR
    VME --> IDLE
    IDLE --> PV
    VME --> CLR
    PV --> IVFB

3. Shared Core ABI v5 & _reserved Slot Allocation Registry

All future plans MUST obey the frozen hot-reload struct sizes enforced by C11 _Static_assert in emu/src/cpu.c and emu/AGENTS.md:

StructFrozen SizeCurrently Available _reservedPlanned Slot AllocationsRemaining Headroom
IvoryCpu4096U_reserved[248] (1,984 B)None required by Tier 1–3 plans248 slots (1,984 B)
IvoryMem32768U_reserved[937] (7,496 B)memory-expansion-plan.md: IvoryMemBanks *banks (1 uint64_t slot)936 slots (7,488 B)
MerlinBoard278528U_reserved[1054] (8,432 B)vme-bus-plan.md: VmeBus *vme (1 uint64_t slot) + uint32_t idle_yield_us & uint32_t _vme_pad (1 uint64_t slot)1052 slots (8,416 B)
IMPORTANT

Heap-Pointer Indirection Rule for VME Boards: Rather than embedding large board state (such as IvoryPvBoard's 4 KiB CLUTs, Univision's 8 MiB VRAM, or FrameThrower's microcode banks) directly inside MerlinBoard, all VME boards attach via VmeBus *vme (1 pointer slot in MerlinBoard::_reserved) using VmeDeviceOps defined in docs/vme-bus-plan.md. Only the single hot-loop idle_yield_us word (checked at L_outer_reload in cpu.c) sits inline on MerlinBoard for zero-pointer-chase slice exit.

Disjoint VMEbus A32 Address Window Registry

VME A32 Byte RangeDirect Ivory PMA (:shuffle :none)Owner CardPlan
0x1000_0000 .. 0x1000_03FF (1 KiB)0xC400_0000 .. 0xC400_00FFIVPV Paravirtual Control / Idle / Mouse / RPCdocs/genera-pv.md
0x1400_0000 .. 0x15FF_FFFF (32 MiB)0xC500_0000 .. 0xC57F_FFFFOptional separate IVFB Linear Color Card (Heads 1–4)docs/genera-pv.md (Low Priority)
0x9000_0000 .. 0x90FF_FFFF (16 MiB)Direct window (direct_am.addr = 2)Univision UDC-3400 Color Boarddocs/color-graphics-plan.md
Probed slot (per probe.ibin)Direct windowSymbolics FrameThrower (Photon + AVP)docs/color-graphics-plan.md

4. Lightweight Utility Backlog (Non-PV Complements)

Small, self-contained improvements that fit naturally into existing shell tools without requiring a standalone plan:

  • DONE FEPFS file extract / inject (ivory-fep-convert): Added --extract <file> and --inject <file> commands to emu/src/fep_convert.c for moving individual Lisp/text/kernel/.flod files into or out of FEPFS disk images offline.
  • DONE Pure-C11 MacIvory APM / Classic HFS multi-volume converter (ivory-fep-convert + GUI): Extended emu/src/fep_convert.c and the Disk & Image Tools workbench to parse Apple Partition Maps and Classic HFS Catalog + Extents Overflow B-trees (including hidden fInvisible=0x4000 'IVRY' files) and automatically convert and save all discovered FEPFS volumes as <base>_<vol><ext> with zero Rust or external dependencies.
  • Serial Ch.B / TCP PostScript Spooler: Extend serial_host.c file: capture or a small helper script to auto-split Genera Hardcopy PostScript jobs (%!PS .. ^D) into timestamped .ps files on the host.
  • SDL3 Desktop Polish: Drag-and-drop (SDL_EVENT_DROP_FILE) to attach .iso/.tap/.scm files, HiDPI (SDL_WINDOW_HIGH_PIXEL_DENSITY) scaling polish, and an interactive Symbolics bucky-key cheat-sheet popup inside View.
Related Chip Datasheets (6)All Component Datasheets →