跳到正文
Hacker News (official RSS)(unya.github.io)·· 3 小時前品質評分66

開源模擬器讓 Symbolics XL-1200 Lisp 工作站在現代電腦上啟動

Emulator for Symbolics XL-1200 Lisp machine

重點導讀

想體驗 Symbolics XL-1200 Lisp 工作站,得有對應的老硬體。

  • 這個以 C11 撰寫的開源模擬器,能在 Linux 和 Windows 上重現 XL-1200,並啟動未修改的 Genera 8.3。專案附有開源開機韌體,使用者可從自己的 Genera 8.3 光碟或 FEPFS 磁碟映像開機,也能選用原廠韌體映像。程式還提供圖形介面、磁碟與網路設定、除錯和存檔功能。
  • 專案不附 Symbolics 原廠軟體。

AI 伴隨問答

自備 Key 深度分析

針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:

正文

XL1200 Hardware Emulator C11 · Ivory Rev 4A · Merlin-II (XL1200) board

Symbolics XL1200 Lisp Machine Emulator

A register-level emulator for the Symbolics XL1200 workstation and its 40-bit tagged Ivory Rev 4/4A VLSI processor, written in C11. It boots unmodified Symbolics IFEP kernels and Genera 8.3 using either the included open-source Boot PROM (prom/) or optional physical Boot PROM dumps (115988 + 115989 or combined rom.dump).

IMPORTANT

No Symbolics Binaries Distributed — This project ships emulator code, an open-source Boot PROM (prom/), and documentation only. Original Boot PROM dumps are not required: build the included Boot PROM (make -C prom) to boot directly from a user-supplied Genera 8.3 distribution CD-ROM (not OpenGenera) or FEPFS disk image. Physical 115988 + 115989 dumps remain supported if you prefer to run the stock Symbolics Device PROM.

Symbolics Genera 8.3 Lisp Listener running in ivory-xl1200
Unmodified Genera 8.3 running on emulated XL1200 Merlin-II hardware (1084×840 trimmed console + passive LED bezel).

40-bit Ivory Rev 464 DTP tags, PHT MMU, W3x64 FPA

~150 MIPS (Zen 4)Portable C11 + AVX-512 / ASM tiers

Hot-Reload (current ABI v4)Stateless libivory_core.so / .dll

Linux & WindowsSDL3, microui, s7 Scheme, Wine CI

Quickstart & Easy Build Nix Flake · Linux x86_64 · Windows x86_64

  1. Build Emulator & Boot PROM

# Build local Linux binaries (+ 16 unit test suites):
./scripts/build.sh linux --test

# Assemble the open-source Boot PROM (prom/build/custom-rom.dump):
nix develop --command make -C prom

# Windows x86_64 cross-build + .zip archive:
./scripts/build.sh windows --test

# Self-contained Linux .tar.gz + .run (zero FUSE):
./scripts/build.sh linux-bundle

# Live-reloading local website preview (hugo server):
./scripts/build.sh site --serve

  1. Boot with Included PROM (or Optional Original ROMs)

# Launch GUI (starts powered off; select prom/build/custom-rom.dump in Machine Setup):
./emu/build/ivory-xl1200 --config emu/xl1200.scm.example

# Boot directly from a Genera 8.3 CD-ROM or FEPFS disk (press any key in 3s for SCSI menu):
./emu/build/ivory-xl1200 --rom prom/build/custom-rom.dump \
  --disk-overlay disks/genera83.raw --cdrom genera-8-3.iso --autostart

# Optional — boot original Symbolics Boot PROM dumps if you have them:
./emu/build/ivory-xl1200 --rom 115988-e.bin --rom-hi 115989-e.bin --autostart
./emu/build/ivory-xl1200 --rom rom.dump --autostart

Without Nix, install a C11 compiler, GNU make, pkg-config, SDL3, libslirp, and glib-2.0 (make -C emu -j all test), plus sbcl, ecl, or clisp to assemble the Boot PROM (make -C prom).

Emulated Hardware & Workbench

  • Motherboard & I/O: Merlin-II C-Bus/B-Bus, 82C54 PIT timers, Mostek MK48T02 2 KiB NVRAM/TOD clock, WD33C93A SCSI-2 (1,280-byte disks, ISO-9660 CD-ROM, SIMH .tap tape, sparse .ovl overlays), Intel 82586 Ethernet (libslirp NAT and Linux TAP/veth), Signetics SCN68562 DUSCC dual serial + Intel 8237A DMAC, and 1152×896 monochrome VRAM.
  • Workbench UI: 28 px top menu bar, embedded 15 px / 18 px antialiased Inter font, 6 floating windows (Machine Setup, Disk & Image Tools, Network & Serial, Debug & Snapshots, Video Recording, s7 Lisp REPL), single-button Bug Dump (.zip diagnostic bundle), and 9 switchable host keyboard maps.
  • Scripting & Time-Travel: Embedded s7 Scheme (define-machine ...) profiles, cooperative call/cc automation, COW checkpoints, sparse .snap saves, and live AF_UNIX / Win32 Named Pipe / TCP control.

Screenshots Click any image to inspect full resolution

Start Here

C11 Emulator

Hardware Reference

Plans & Roadmap Specs

來源: Hacker News (official RSS) (unya.github.io)
開啟原文

讀者討論

理性交流 · 即時討論