hardware: the rule for substituting modern parts -- old inside the bus, free outside
ci / linux-arm64 (push) Successful in 4m45s
ci / linux-arm64 (push) Successful in 4m45s
Searching for parts made the real question obvious: which parts carry the identity of the machine and which are just plumbing. The answer is the bus boundary. Inside it the parts have to be 1970s: the data path (74LS299, 6116, 74LS273), the control (microcode ROM and the step counter), the clock, and the eight instructions. Outside it anything goes, and that is not a compromise -- the ISA defines INP and OUT as the host interface, so the machine cannot see its own serial port. buy.md section 7 is the substitution table: a 16550 or a small MCU bridge instead of the 6850, a 28C256 or SST39SF010 instead of the UV EPROM, an AS6C62256 instead of the 6116, 74HCT and 74HC for the logic that is no longer made in LS, a ZIF socket if no card edge connector can be found, NE-2 or lamps instead of the big neons, and a USB-C trigger for power. After that the only scarce parts left are the LS logic itself, which has drop-in substitutes anyway. One caution kept: the reason to prefer LS is not nostalgia but edge rate -- LS is slow enough for a breadboard. With HC or HCT the wiring has to be tighter, with decoupling next to each chip and 33 ohms in series with the clock. ttl-schematic.md now cross references the same rule where it lists UART substitutes.
This commit is contained in:
1 parent
5c0dab4b34
commit
f87189a20f
2 files changed
+30
-1
No files matched your search
@@ -70,3 +70,30 @@
|
||||
* **氖灯别买"氖灯指示器"成品**(那是 220 V 市电用的,内部带电阻)✗ —— 要**裸氖泡**,自己配限流电阻。
|
||||
* 散新/拆机件**别一次买一片**:74LS 一片 ¥1,坏的概率比你想的高。
|
||||
* 6850 这种老件,**先问卖家能不能提供照片**(看引脚有没有氧化、字迹是否被打磨)。
|
||||
|
||||
## 7. 买不到就用现代件(原则:总线以内必须老,总线以外随便)
|
||||
|
||||
这台机器的"身份"在**总线以内**:数据通路(74LS299 / 6116 / 74LS273)、控制(微码 ROM + 拍计数)、
|
||||
时钟、以及 ISA 那 8 条指令。**这些必须是 1970 年代的东西**。
|
||||
|
||||
总线以外的东西——串口、电源、烧片器、面板灯、连接器——换成现代件**不改变这是一台老机器**。
|
||||
而且这不是妥协,SPEC 里本来就写着:`INP`/`OUT` 是**宿主接口**,机器语义看不见它 ✓
|
||||
|
||||
| 难找的 | 现代替代 | 代价 | 推荐度 |
|
||||
|---|---|---|---|
|
||||
| **6850 ACIA** | **16550 / 16550A**(DIP-40,现货,¥5~15) | 寄存器多、要地址译码;微码改 2 个状态 | ✓✓ 首选 |
|
||||
| | **STC / ATtiny 做"8 位并口 ↔ USB 串口"桥**(¥5) | 完全脱离年代;但 ISA 看不见它 ✓ 而且**最省事** | ✓✓ 最省事 |
|
||||
| | 74LS164 + 74LS165 位拼接 | 最复古,帧同步自己搭,调试痛苦 | ✗ 除非想自我折磨 |
|
||||
| **27C512 UV** | **28C256 / SST39SF010 / 29C010** | 没有 UV 仪式;容量更大 | ✓✓ 现货 |
|
||||
| **6116** | **AS6C62256(现代 5 V SRAM,¥8,现货)** 或 62256 | 容量大得多,我们只用 64 字节 | ✓✓ 首选 |
|
||||
| **74LS161 / 299 / 688 …** | **74HCT161 / 74HC299 / 74HCT688**(都在产) | 边沿快、面包板更挑布线;逻辑功能一样 | ✓ 找不到 LS 就用 |
|
||||
| **2×22 卡边座** | **DIP-28 ZIF 座**(直接插裸芯片)或 2.54mm 双排 IDC | 少了"卡带"味道,但插拔更方便 | ✓ |
|
||||
| **NH-4 大氖灯** | NE-2(便宜小光点)或 LED + 暖色罩 | 纯美观问题 | ✓ |
|
||||
| 面包板电源 | **USB-C PD 诱骗线 + 5 V** | 更可靠、更安全 | ✓ |
|
||||
|
||||
**这样替代之后**,整台机器只剩三种"难件":74LS161/299/688(找不到用 HCT/HC)、27C512 UV(换
|
||||
28C256)、6850(换 16550 或 MCU 桥)—— **全都有一年四季能买到的替代品** ✓
|
||||
|
||||
> 唯一建议**别**替换的是 **74LS 系列的"慢"**:LS 的边沿速率最适合面包板。用 HC/HCT 时要更小心
|
||||
> 布线(短线、就近去耦、时钟串 33 Ω),否则会莫名其妙乱跳。
|
||||
|
||||
@@ -155,7 +155,9 @@
|
||||
* 一个字节要 10 位 = 1.04 ms @ 9600,所以 `,`/`.` 是**阻塞**的:微码在 `RDRF`/`TDRE` 上等,
|
||||
面板上的灯会停一下 —— 这是正常的,不是卡死。
|
||||
|
||||
**买不到怎么办**(6850 ¥20/片,越来越难买)
|
||||
**买不到怎么办**(6850 ¥20/片,越来越难买)—— 原则:**总线以内必须老,总线以外随便**(见
|
||||
`buy.md` §7)。串口属于"总线以外":`INP`/`OUT` 本来就是宿主接口,机器语义看不见它。
|
||||
**替换方案**:
|
||||
|
||||
| 替代 | 代价 |
|
||||
|---|---|
|
||||
|
||||
Reference in new issue
Block a user