745ccbdb23000329c7c2cbdcef5a1b14a06bf93b
Everything technical survives in the repository, but what did not was why the trade offs came out the way they did: the work happens in holiday bursts, the budget is small (280 CNY for the breadboard build, 400 to 950 for the finished machine), the dorm has no soldering iron and little desk, and the taste is 8800 vintage inside the bus and modern outside it. Five lines at the top of NEXT.md, so a fresh session reads them before proposing anything expensive, plus a reminder that the deleted panel elements were deleted on purpose.
ROT-8 Machine
一台真的 ROT-8:8 位 cell、64 格数据环、74LS 分立体、27C512 卡带、氖灯面板。 这里是"某台具体的机器"—— RTL、微码、原理图、面板、机械、采购、上电流程。
ISA 的权威定义不在这里,在
../R8Forge/SPEC.md。 汇编器、tape_pack、tape_run、以及所有纸带也都在 R8Forge。 这个仓库只描述一种实现,并且只对"它和 R8Forge 的解释器输出一致"负责。
现在到哪了
| 状态 | |
|---|---|
RTL(rtl/rot8.v) |
✅ 与 tape_run --loop-stack --retest 逐字节一致(hello / term / calc / 全家桶) |
微码(microcode/) |
✗ 未开始 —— 下一步要做的核心工作 |
原理图 / PCB(kicad/) |
✗ 未开始 |
面板(docs/panel.md) |
✅ 设计定稿(8800 排法 + 环形 CELL + 全氖灯),有 mockup |
机械(docs/mechanics.md) |
✅ 分析完,定位外挂件(非必做) |
采购(docs/buy.md / order.md / links.txt) |
✅ 一车买齐 ≈ ¥280 |
面包板(docs/bringup.md) |
✅ 第一块(IP + ROM + 灯)可开工;全机宿舍版 22 片不焊 |
从哪开始
- 想动手:
docs/bringup.md—— 第一块面包板(≈¥120,一天能通) - 想买件:
docs/order.md+docs/links.txt - 想懂设计:
docs/requirements.md(需求、预算、载体)→docs/ttl-schematic.md(34 片的主板接线) - 想看它长什么样:
img/panel-mockup-vintage.png - 想跑 RTL:见
rtl/README.md(需要一份 R8Forge 的构建)
目录
rtl/ 机器本身的 Verilog + testbench
microcode/ 控制存储器(未开始)
docs/ 需求、主板接线、面板、机械、采购、bring-up
tools/ 生成图表的脚本(面板 mockup、bring-up 框图)
tests/ RTL 与解释器的对拍
img/ 生成的图
kicad/ 原理图与 PCB(未开始)
约定
- 文档中文,RTL/脚本里的注释英文;数字必须能被 R8Forge 复现(步数、OUT 流)。
- 面板原则:只显示状态,不显示数字;每样信息只有一种表示(见
docs/panel.md§3)。 - 机器语义一个字都不改 —— 那是 R8Forge 的 SPEC 说了算,这里只负责"实现得一致"。
Languages
Verilog
48.2%
Python
41.1%
CMake
8.1%
Shell
2.6%