C64 硬件模拟器不只用来玩游戏C64 Hardware Simulator Isn't (Just) For Playing Around


AI free token/AI免费积分
C64 硬件模拟器不只用来玩游戏

想玩老康懋达游戏,几乎所有平台上都有 C-64 模拟器——但它们大多层级很高,说白了就是为玩游戏而生的。antirez 的 c64-hw-sim 项目目标不同:它做的是低层级模拟,精确模拟 ASSY 250407 主板上的每一颗芯片和每一条连接。想知道某颗芯片缺失、某个引脚接地或拉高时会发生什么?在软件里就能完成,毫无损伤古董硬件的风险。

对某些电子“虐待狂”来说这或许只是有趣的消遣,但它的真正用途是学习硬件——无论是抽象层面,还是帮你排除手头电路板的故障。很多故障模式会产生相同的现象(例如显示输出损坏的原因多种多样),但如果你在软件中复现了故障,至少能有的放矢地去检测硬件。

该项目借助 Andre Weissflog(flooh)的代码,对处理器、CIA、SID 和 VIC-II 实现了周期精确的芯片级模拟;视频、音频和电源部分的模拟电路则未纳入,因此并非所有故障都能复现。需要注意:即便在现代高端硬件上,它也只能以约三分之一速度运行——做诊断足够快,但别指望用它流畅运行《疯狂豪宅》,更不用说《精英》了。

本文来源:https://hackaday.com/2026/10/15/c64-hardware-simulator-isnt-just-for-playing-around/
若有版权问题,请来信告知:13951431913#139.com 或在右方提交评论。

If you want to play old Commodore games, there are C-64 emulators available for just about any platform, but most of them are so high level, they are really meant for just that: playing games. Antirez has a different goal with his c64-hw-sim project: it is a lower-level emulation that simulates every chip and every connection on an ASSY 250407 motherboard, and all the chips on it, too. Ever wondered what happens when a specific chip is missing, or a random pin is shorted to ground or forced high? You can do all that in software, with no risk of harming antique hardware.

C64 Hardware Simulator Isn't (Just) For Playing Around

While that might be a fun bit of faffing about for a certain sort of electronics sadist, the real utility is to learn about the hardware, both in the abstract and to help you troubleshoot a board you might have. It is likely that many given failure modes reproduce the same effects, as lots of things can knock out the display output for example, but at least if you have reproduced a flaw in software you can try testing the hardware to see if that could be the cause of your problem.

It is cycle-accurate chip emulation for the processor, CIAs, SID and VIC-II via code by Andre Weissflog, a.k.a. flooh. Meanwhile analog circuitry in the video, audio and power sections are not simulated so not everything fault will be replicable here. Still, it might be a neat tool, just do not try and run any games on it, because even on high-end modern hardware it only runs at about one-third speed. That is fast enough for diagnostics, but not so much for Maniac Mansion, never mind Elite.

暂无评论,快来发表第一条评论吧!No comments yet. Be the first!

📮 需求咨询📮 Inquiry