XL1200-EMU Symbolics XL1200 Emulator

Symbolics Ivory / XL1200 Architecture & Developer Master Guide

Notice for Developers & AI Agents: Read this guide before modifying emu/ or writing hardware documentation. It captures the verified low-level architectural invariants, IFEP promJ loading format, Merlin-II XL1200 physical memory map, Ivory Rev 4/4A trap semantics, and build/test workflows.

Local-only material: genera-original/, og2/, linux-vlm/, I_Machine/, bitsavers/, macivory/, ivory-fep-roms/, and docs/reference/{macivory,extracted}/ are git-ignored and not part of the repository. Fetch public references with scripts/fetch-assets.sh / scripts/fetch-linux-vlm.sh; Boot PROMs and Genera media are user-supplied.


1. System Architecture (emu/ — C11 XL1200 Emulator)

emu/ implements a standalone, hardware-level Symbolics XL1200 emulator split cleanly into a 2-thread host shell (ivory-xl1200) and a stateless, hot-reloadable core library (libivory_core.so / libivory_core.dll, ABI v4):

graph TD
    subgraph "Host Shell (ivory-xl1200 — 2 Threads)"
        MAIN["Main Thread: SDL3 Window + microui Workbench<br/>s7 Scheme Engine + debug_ctl IPC + libslirp / serial_host"]
        EMU["CPU Thread (emu_thread): Execution Slices<br/>256-us Event-Horizon Timers + DMA Service"]
        MAIN <-->|"state_mu + lock-free SPSC rings"| EMU
    end

    subgraph "Hot-Reloadable Core (libivory_core.so / .dll — ABI v4)"
        API["ivory_core_get_api() — sole dynamic export<br/>0 bytes writable .data / .bss"]
        CPU["Ivory Rev 4/4A CPU + Weitek W3x64 FPA<br/>Tier 0 Threaded / Tier 1 AVX-512 C / Tier 2 Zen 4 ASM"]
        MEM["IvoryMem: 8+ MW RAM, PHT + 256-page IvoryDcache<br/>Zone 31 VMA=PMA + Boot Comm Area (0xFFFE0000)"]
        MERLIN["Merlin-II Motherboard (MerlinBoard = 278528 B)<br/>82C54 PIT, MK48T02 NVRAM, WD33C93A SCSI,<br/>Intel 82586 Ethernet, SCN68562 DUSCC + 8237A DMAC, VRAM"]
        API --> CPU
        CPU <--> MEM
        MEM <--> MERLIN
    end

    EMU --> API

Key Architectural Invariants

  • Strict ABI v4 Separation: sizeof(IvoryCpu) == 4096U, sizeof(IvoryMem) == 32768U, sizeof(MerlinBoard) == 278528U, sizeof(IvoryDecodedSlot) == 8U, zero writable .data/.bss in core/*.o, sole dynamic export ivory_core_get_api, and non-executable GNU_STACK RW. Core objects never link SDL3 or libslirp.
  • Powered-Off GUI Startup: Launching ivory-xl1200 in GUI mode starts powered off (POWER OFF on the passive LED bezel). Configure the Boot PROM in Machine → Configure Machine... (Firmware & Memory tab) and click Save & Power On (or pass --autostart / :autostart #t). Headless, --puppet, and --script invocations power on immediately.
  • 3-Tier Runtime Acceleration (ISA_MODE=runtime|portable): Selectable via IVORY_ACCEL=auto|portable|avx512_c|avx512; achieves ~65–73 MIPS (portable) to ~150 MIPS (avx512 Zen 4 ASM) with 100% bit-exact lockstep across 45M-instruction authentic Boot PROM boots (see docs/emulator/core-and-acceleration.md).

2. Low-Level Ivory Rev 4/4A Invariants

2.1 40-Bit Tagged Word Format

+-------------------+-----------------+----------------------------------------+
| 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), 1 (CDR-NIL — list end / non-executable function trailer), 2 (CDR-NORMAL), 3 (CDR-JUMP — indirect CDR; in instruction streams, single Even-only halfword).
  • Key DTP Tags (<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.

2.2 Authentic IFEP promJ Container & 5-Byte Word Packing (emu/src/loader.c)

Physical XL1200 Boot PROMs consist of two 64 KiB EPROM chips concatenated in order — 115988 (low half) followed by 115989 (high half) (= 128 KiB rom.dump) — forming a single sectioned IFEP prom container (not a flat raw word dump and never bus byte-swapped):

  • 30-byte Header: Bytes [0..10) = ASCII "IFEP prom" + 1-byte version char ('J' for FEP 3.30, 'H' for IFEP-Kernel, 'E' for MacIvory Device-PROM); bytes [10..30) = 5 little-endian uint32_t header words.
  • Repeated Checksummed Sections:
    • uint32_t vma_base (LE)
    • uint32_t word_count (LE; 0xFFFFFFFF signals the footer where entry_vma = vma_base)
    • word_count × 5 bytes in canonical little-endian word layout:
      Byte Offset:   +0           +1            +2             +3             +4
      Field:      Data<7:0>   Data<15:8>   Data<23:16>   Data<31:24>   (CDR<<6) | DTP
      
    • uint32_t checksum (LE 32-bit unsigned byte sum over the word_count × 5 section bytes).
  • FEP 3.30 (IFEP promJ) Placement & Entry: Unpacks into Zone 31 RAM at 0xF8001000..0xF80071F2 and enters at footer 0xF8007162 (Even) (no 0o777400100/0x622b byte-swap — that was an early misreading of raw unparsed container bytes).
  • .fep / .flod Files on Disk: Disk-resident FEP files pack 4 words per 20-byte chunk (4 tag bytes followed by 4 little-endian 32-bit payload words).

2.3 Instruction Stream Decoding: Packed Halfwords vs. Fullwords

Tag 0o60..=0o77:  PACKED HALFWORD PAIR  Even = data<17:0>, Odd = (tag<3:0> << 14) | data<31:18>
Tag 0o50..=0o57:  FULLWORD CALL STARTER (StartCall -> sets CONTINUATION, advances sequentially)
Tag < 0o50:       INLINE LITERAL PUSH   (pushes full 40-bit word to TOS, advances PC + 1 Even)
  • Halfword Layout: 18-bit instruction = 8-bit opcode <17:10>, 2-bit addressing mode <9:8> (00=FP, 01=LP, 10=SP where offset 0 pops TOS, 11=Immediate), 8-bit operand <7:0>. Branches use 10-bit signed displacement <9:0>.
  • Fullword Call Starters (0o50..=0o57): CallCompiledEven, CallCompiledOdd, CallIndirect, CallGeneric, and prefetch variants push the 2-word frame header (continuation, control), write the callee entry into CONTINUATION, set cr.call_started = 1, and advance sequentially to PC + 1 (Even) so arguments are pushed before FinishCallN (imm8 = 1 + nargs) or FinishCallTos transfers control.
  • CdrCode::Jump (3): Marks a single Even-only instruction word (or fullword); sequential execution skips the Odd halfword and advances directly to PC + 1 (Even).

2.4 Ivory Rev 4/4A Error-Trap Microstates & Weitek W3x64 FPA

  • 2048-Entry *TRAP-DISPATCH-TABLE*: On IVORY_TRAP_ERROR, the CPU pushes a 11-bit Rev 4/4A microstate (IVORY_REV4_USTATE_* in emu/include/ivory_hw.h) onto the trap frame. Genera's ERROR-TRAP-HANDLER decodes this microstate to signal exact Lisp conditions — for example:
    • 0x0047 (IVORY_REV4_USTATE_MEMORY_DATA_ERROR) → CLOS:SLOT-UNBOUND / unbound variable
    • 0x04C9 (IVORY_REV4_TRAP_ON_EXIT_MICROSTATE) → debugger step/exit trap
    • 0x011E (I_STAGE_ERROR), 0x0613 (TOO_MANY_ARGUMENTS), 0x00B5 (FRAME_OVERFLOW), 0x07CD/0x07D7 (binding stack underflow/overflow).
  • Weitek W3164/W3364 FPA (emu/src/fpa_w3x64.c): Handles IEEE-754 double-float arithmetic (DoubleFloatOp), exposing status/control registers (SR0, SR2, SR3, SR11) via coprocessor read/write.

3. Verified Merlin-II XL1200 Physical Memory Map & Paging

3.1 256-Word Paging, Zone 31 & DTP-PHYSICAL-ADDRESS

  • Page & Disk Sector Size: 256 words per page = 1,280 bytes (256 × 5 bytes). Each SCSI disk sector stores exactly one 40-bit memory page.
  • Address Translation: Virtual addresses in Zones 1..30 translate via the Page Hash Table (PHT) using grouped bit-run ivory_pht_hash(), backed by a hardware map cache and coherent 256-page IvoryDcache invalidated on map_epoch changes (emu/src/mem.c).
  • Zone 31 (0xF8000000–0xFFFFFFFF, VMA=PMA): Strips bits <31:27> to form a 27-bit physical address (VMA & 0x07FFFFFF, 128 MW window).
  • DTP-PHYSICAL-ADDRESS (0o40): Direct physical bus access used by FEP and Genera drivers to reach Merlin-II peripherals at 0x08000000–0x8FF80000 and VRAM at 0x48000000.

3.2 Proven XL1200 Merlin-II Physical Map (emu/include/ivory_hw.h)

Physical Address (PMA)Size / RegionHardware Function
0x00000000 – 0x007FFFFF8 MW (default)Main RAM (--ram-mw 8 default; 0x00800000 Merlin hardware boundary)
0x07FE0000 – 0x07FEFFFF64 KW (#o777400000)Wired Boot Comm Area (0xFFFE0000, 64 words; *BOOT-SPY-PC* halt at +0x10..+0x12, Main Board ID ROM at +0x20/+0x30) & Boot PROM window
0x0800000016 wordsIntel 82C54 Programmable Interval Timer (Timers 0, 1, 2)
0x09000000 – 0x090007FF2 KiBMostek MK48T02 NVRAM & TOD clock (0x090007F8–0x090007FF)
0x0A000000 – 0x0A00000C4 regsDiagnostic 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 – 0x4401601FIO0 CtrlESDI Cable Status (0x44014000), Serial Ctrl (0x44014800), SCSI Ctrl (0x44015000), IO0 ID ROM read / Intel 82586 Ethernet Ctrl <7:5> write (0x44016000, MERLIN_IO0_ID_ROM_BASE_PMA)
0x44017000 – 0x440173FFSerial/DMASCN68562 DUSCC Write/Read (0x44017000/0x44017100), Intel 8237A DMAC (0x44017200/0x44017300)
0x44017800 – 0x4401B800SCSIWD33C93A Polled Write/Read (0x44017800/0x44017900), Start/Wrap (0x4401A000), Overrun (0x4401A800), Trigger (0x4401B000), DMA Counter (0x4401B800)
0x44020000 – 0x4402003FESDIDP8466 ESDI Disk Controller
0x44024000 – 0x4402D001ConsoleVideo VPOS (0x44024000), Video/Audio Ctrl <4:0> (0x4402C000), Brooktree 8158 RAMDAC (0x4402D000/0x4402D001)
0x48000000 – 0x4807FFFF512 KW1bpp Monochrome VRAM (1152×896, stride 64 words/row, LSB = leftmost pixel)
0x80000000 / 0x88000000 / 0x8FF80000VMEbusVME Control 0/1 & VIC068 VMEbus interface

For cross-platform platform maps (UX1200, NXP1000 Domino, MacIvory), see docs/memory-maps-and-io-spaces.md and docs/hardware-reference/04-merlin-ii-core-and-vmebus.md.


4. Two-Stage FEP Boot & Disk Architecture

  1. Stage 1 (IFEP promJ, 128 KiB Boot PROM): Contains minimal hardware drivers (Merlin-II, WD33C93A SCSI, monochrome console, SLB keyboard) to mount FEP0 and load Stage 2. There is no netboot code in the Boot PROM — networking lives in FEP0:>I330-loaders.flod.
  2. Stage 2 (FEP Kernel & .flod Overlays): Loaded from FEPFS (LABL little-endian 1,280-byte sectors on XL1200; MacIvory uses big-endian LBAL, convertible in-place via ivory-fep-convert).
  3. Genera 8.3 World Load (.ilod / .vlod): Loaded from FEPFS into virtual memory via PHT mapping. See docs/genera-8.3-cdrom-install.md for a full walkthrough.

5. GUI, s7 Scripting & Host Backends

  • SDL3 Console & microui Workbench (emu/src/sdl_console.c, emu/src/ui_workbench.c):
    • Pure hardware capture framebuffer (1084×840 overscan-trimmed or 1152×924 full) combining 1bpp VRAM + passive 28px XL1200 LED bezel (PWR, FAULT, RUN, U1, U0, +12V, RCV, CD, XMT, SCSI, plus passive POWER OFF / PAUSED / HALT / CAP / KM / DISK / CD / TAPE / NET pills).
    • Window-space 28px microui top menu bar (Machine, Media, Net & Serial, Actions, Debug, View, right-side task spinner, Stop REC, Bug Dump, Power On/Pause/Resume, KM:<TAG>, capture hint; auto-hidden in fullscreen via F11).
    • 6 floating windows: Machine Setup (Identity & NVRAM, Firmware & Memory w/ split PROM pickers, Disks & SCSI), Disk & Image Tools (overlay commit/reset, FEPFS creator/inspector, automatic multi-volume MacIvory raw/APM/HFS converter), Network & Serial (libslirp / Linux TAP / hostfwd, Ch.A/Ch.B TCP/pipe/file), Debug & Snapshots (4-tab Overview & Controls / Registers & State / Disassembly & Stack / Memory, .snap, BP/WP, hot-reload), Video Recording (.y4m), and s7 Lisp REPL.
  • 9 Switchable Keymap Profiles (emu/src/keymap.c): See docs/KEYBOARD_REFERENCE.md.
  • Historical Coprocessor Life-Support Protocol: Described for reference in docs/hardware-reference/06-ux1200s-embedded-life-support.md (embCommunicationArea and its 7 virtual channels); not used by standalone XL1200 emu/.

6. Codebase Map (emu/)

ivory/
├── emu/
│   ├── include/
│   │   ├── ivory_hw.h             # Architectural registers, opcodes, Rev 4/4A microstates, Merlin-II PMAs
│   │   ├── ivory_emu.h            # Core state structs (4096/32768/278528 B) & shell APIs
│   │   ├── ivory_core_api.h       # Hot-reload ABI v4 function table (IvoryCoreApi)
│   │   ├── ivory_asm_offsets.h    # C11 _Static_assert verified ASM struct offsets
│   │   ├── emu_os.h, emu_io.h, emu_ipc.h  # Portable POSIX & Win32/MinGW-w64 shims
│   │   ├── ivory_keymap.h         # 9 switchable SLB keymap profiles
│   │   ├── ivory_script.h         # s7 Scheme machine config, hooks & action scheduler
│   │   ├── ivory_fep_tools.h      # Embedded FEPFS / SIMH .tap / MacIvory APM/HFS converter API
│   │   ├── ivory_serial_host.h    # Portable 2-channel SPSC serial host adapter
│   │   ├── ivory_snapshot.h       # Sparse .snap & COW checkpoint store
│   │   ├── ivory_disasm.h, ivory_sym_walk.h, ivory_bug_report.h  # Disasm, symbol walker, Bug Dump .zip
│   │   └── ivory_ui.h             # SDL3 overlay bridge & microui workbench host contract
│   ├── src/
│   │   ├── core_api.c             # libivory_core sole export (ivory_core_get_api)
│   │   ├── cpu.c, cpu_decode.c, cpu_zen4_avx512.c, cpu_zen4_loop.S, asm_abi.h
│   │   ├── isa_{stack,arith,lisp,call,sys}.c, fpa_w3x64.c, mem.c
│   │   ├── merlin.c, nvram_mk48t02.c, scsi_wd33c93.c, console_hw.c, eth_82586.c
│   │   ├── main.c, core_loader.c, loader.c, snapshot.c, debug_ctl.c, emu_ipc.c
│   │   ├── ivory_disasm.c, ivory_sym_walk.c, bug_report.c
│   │   ├── sdl_console.c, ui_workbench.c, keymap.c, emu_script.c
│   │   ├── eth_slirp.c, eth_tap_linux.c, serial_host.c, fep_convert.c
│   ├── tests/                     # 16 C11 unit suites + test_e2e_puppet.sh + e2e_suite.scm
│   ├── vendor/                    # microui 2.02 (MIT), s7 11.9 (0BSD)
│   ├── Makefile                   # Linux native (runtime/portable) & MinGW-w64 + Wine targets
│   └── xl1200.scm.example         # Sample s7 machine profile & custom actions
├── prom/                          # Clean-room XL1200 Boot PROM v1.1 (src/) & IFEP 328 overlay SDK (overlays/)
├── tools/ivasm/                   # Portable ANSI CL multi-arch assembler/disassembler (SBCL/ECL/CLISP)
├── docs/
│   ├── emulator/                  # C11 emulator component specifications
│   ├── hardware-reference/        # 6-volume hardware reference + ivory_hw.h
│   └── *.md                       # Architecture index, Boot PROM & ivasm manuals, TROUBLESHOOTING, plans
├── scripts/                       # xl1200-ctl.{sh,py}, xl1200-disk.sh, run-xl1200-*.sh, fetch-assets.sh
└── flake.nix                      # Nix packages (.#default, .#windows, .#linux-bundle, .#site) & devShells

7. Build, Test & Development Workflow

7.1 Linux & Windows (MinGW-w64 / Wine) Commands

# Linux native build & full verification (16 unit suites + 6 puppet E2E + s7 E2E)
nix develop --command make -C emu -j all
nix develop --command make -C emu test          # ROM-dependent tests SKIP (exit 77) without a ROM
nix develop --command make -C emu test-e2e
nix develop --command make -C emu ISA_MODE=portable clean all test

# Clean-room Boot PROM v1.1, IFEP 328 overlay & portable CL assembler tests
make -C prom clean all inspect
make -C tools/ivasm test-all

# Nix packaged builds
nix build .#default
nix build .#windows
nix build .#linux-bundle
nix build .#site

# Windows x86_64 cross-compile + Wine test suite
nix develop .#mingw --command make -C emu TARGET_OS=windows dist-win test-win test-e2e-win

7.2 CLI Quickstart

# GUI (starts powered off; open Machine Setup -> Save & Power On)
./emu/build/ivory-xl1200 --config emu/xl1200.scm

# GUI auto-started with split 2-chip Boot PROM (115988 auto-pairs 115989 sibling)
./emu/build/ivory-xl1200 --rom ivory-fep-roms/fep330/115988-e.bin --autostart

# Headless portable s7 E2E suite (authentic Boot PROM + SLB + COW checkpoint + CD-ROM)
./emu/build/ivory-xl1200 --headless --no-debug-sock \
  --rom ivory-fep-roms/fep330/rom.dump --script emu/tests/e2e_suite.scm

# Inspect, disassemble, profile, or hot-reload a running instance via debug IPC
./scripts/xl1200-ctl.sh status
python3 scripts/xl1200-ctl.py bt-sym 16
python3 scripts/xl1200-ctl.py sample-sym 300 100 /tmp/genera.folded
./scripts/xl1200-ctl.sh reload

# FEP disk, MacIvory APM/HFS converter & offline file injection toolkit
./emu/build/ivory-fep-convert --info disks/genera83.raw
./emu/build/ivory-fep-convert macivory-disk.img xl1200.raw
./emu/build/ivory-fep-convert --inject disks/my-fep.raw prom/build/custom-diag.flod custom-diag.flod
./scripts/xl1200-disk.sh batch scratch:512 backup:tape --dir disks/

7.3 Version Control & Worklogs

  • Always pass --no-pager to Jujutsu (jj status --no-pager, jj diff --no-pager, jj log --no-pager).
  • Record completed milestones in .agents/worklog/<YYYY-MM-DDTHH-MM-SS.md> and commit with jj commit -m "..." --no-pager.

8. Local-Only Reference Tree (genera-original/, Git-Ignored)

When a developer has local Genera 8.3 sources unpacked at genera-original/sys.sct/, the most frequently consulted canonical subsystems are:

DomainLocal Path (genera-original/sys.sct/...)Key Reference Files
Compiler & Disassembleri-compiler/, compiler/disassemble.lisp, i-back-end.lisp, i-instruction-set.lisp
Ivory & Merlin Hardwarei-sys/opdef.lisp, sysdef.lisp, sysdf1.lisp, io-register-definitions.lisp, configuration.lisp, interrupts.lisp, merlin-scsi-hardware.lisp, console.lisp, wired-console.lisp
Traps & Debuggerdebugger/itrap.lisp, itrap-dispatch.lisp, itrap-defs.lisp, error-table-expanders.lisp
Serial & Networkingserial/, network/channel-defs.lisp, channels.lisp, chaos-ncp.lisp, distribution.lisp
Storage, GC & Systemstorage/, gc/, sys/, sys2/storage.lisp, disk-definitions.lisp, disk-driver.lisp, igc.lisp, cold-load.lisp, istack.lisp
Keyboards & Windowingx11/screen/, embedding/keyboards/, window/keyboards.lisp, pc-keyboards.lisp, mac-kcap.lisp, bitmap-screen.lisp
FEP Kernel & Overlaysifep/i328-kernel.fep, i328-disk.flod, i328-loaders.flod, i328-lisp.flod

Additional local-only media (when present): genera-original/worlds/genera_8_3.ilod, macivory/MacIvory_Virginal_9GB.img, and ivory-fep-roms/fep330/{115988-e.bin,115989-e.bin,rom.dump}.


9. Implemented Status (emu/)

  • Full Ivory Rev 4/4A 40-bit tagged CPU, 256-entry macroinstruction ISA, fullword calls, CDR-JUMP, Rev 4/4A 2048-entry error-trap microstates, and Weitek W3x64 FPA.
  • 3-tier execution engine (portable, avx512_c, avx512 Zen 4 ASM — ~150 MIPS, 100% bit-exact 45M-step lockstep) inside hot-reloadable libivory_core (ABI v4).
  • IFEP promJ sectioned Boot PROM loader supporting split 2-chip (115988+115989) and combined images.
  • Merlin-II motherboard: 82C54 PIT, MK48T02 NVRAM/TOD, LEDs/Cache/IRQ, WD33C93A multi-chunk SCSI (disks, sparse COW overlays with commit/reset, CD-ROM, SIMH .tap tapes), Intel 82586 Ethernet (libslirp NAT + Linux TAP), SCN68562 DUSCC + 8237A DMAC + 2-channel serial_host, and 1152×896 monochrome console + SLB keyboard/mouse.
  • SDL3 + microui GUI workbench (powered-off startup, 28px menu bar, 6 floating windows incl. 4-tab symbolic Debug & Snapshots & Video Recording, single-button symbolic Bug Dump .zip, native file dialogs, passive 28px LED bezel, 9 keymap profiles).
  • s7 Scheme configuration, custom actions, call/cc automation, sparse .snap files, COW time-travel checkpoints, portable AF_UNIX/Named Pipe + dual-stack TCP debug_ctl IPC (xl1200-ctl.sh / xl1200-ctl.py), symbolic disassembler/walker/profiler (ivory_disasm.c, ivory_sym_walk.c), and ivory-fep-convert (FEPFS create/extract/inject + pure-C11 MacIvory raw/APM/HFS multi-volume converter).
  • Portable ANSI Common Lisp multi-arch assembler/disassembler (tools/ivasm/, SBCL/ECL/CLISP) and clean-room open-source XL1200 Boot PROM v1.1 (prom/, 1bpp framebuffer console, 3s interruptible SCSI 0..6 boot menu, FEPFS disk + ISO-9660 CD-ROM boot, split 115988/115989 EPROMs) + live IFEP 328 .flod overlay SDK (custom-diag.flod).
  • Native Linux and MinGW-w64 Windows builds (16/16 unit suites + 5/5 e2e_suite.scm verified on both Linux and Wine).

10. Platform Verification Standards (Anti-Cheating Invariant)

  1. Authentic Binaries Only: All platform and E2E verification (test_e2e_puppet.sh, e2e_suite.scm) must load and execute genuine user-supplied firmware (115988+115989 / rom.dump, authentic FEP kernels, .ilod worlds). Never inject synthetic bootloaders, fake FEP prompts, or trampoline patches.
  2. Real Guest Progression: Assert genuine instr_count / cycle_count advancement, authentic PC/SP/FP/LP trajectories, real monochrome VRAM hashes, and authentic SCSI/serial/Ethernet DMA transactions.
  3. Unit-Test Boundary: Hand-assembled instruction sequences are permitted strictly in narrow single-instruction / memory unit tests (emu/tests/test_{isa_ops,cpu_core,mem}.c), never in integration or platform suites.
Related Chip Datasheets (14)All Component Datasheets →