跳到正文
Simon Willison·· 23 天前精选AI 评分58

nesformer 将 NES 6502 CPU 模拟器嵌入 Qwen3.5-4B 权重

dbreunig/nesformer

AI 导读

Drew Breunig 将一个可运行的 Nintendo Entertainment System 6502 CPU 模拟器嵌入 Qwen3.5-4B 的权重,用户可以在 Qwen 中运行 NES ROM,例如 Super Mario Bros,但速度很慢。

推荐理由

文章串联了 Qwen3.5-4B 内置 NES 6502 模拟器的实现思路、构建提示词和 CPU 一致性测试来源,便于复现这一实验。

正文 · AI 翻译

2026年10月30日 - Link Blog

dbreunig/nesformer(来源)受 Divyansh Agrawal 的 qwenputer 启发,Drew Breunig 将一款可运行的 Nintendo Entertainment System 6502 CPU 模拟器烘焙进了 Qwen3.5-4B 的权重中。现在,你可以在 Qwen 中运行 NES ROM,例如《超级马力欧兄弟》(速度非常慢)。

在 Hacker News 的一条评论中,Drew 公布了他用于构建这个系统的 Opus 5.5 提示词:

Read this article and any relevant source code: https://divagr.com/blog/qwenputer. Then explore if you could emulate the chip and ram in a Nintendo Entertainment System (as people do today with FPGAs in MISTRs) using this technique. If so, what size model would you have to build and if you could use smaller faster ones, could you get it to be at the standard clockspeed.

接下来是:

I think we should build it! Just for fun. It's okay if it's not fast. We want to be able to have the weights, and a cli to run them that we can point at a ROM.

显然,Opus 找到了并使用了 Christopher Pow 于 15 年前发布的 这套 NES CPU 一致性测试。

来源:Simon Willison · simonwillison.net