Skip to content
Main Site News Console

dbreunig/nesformer

· Simon Willison Translated
技巧LLM

Sponsor: Greptile — your code review tool now leverages Computer Use capabilities to catch bugs by launching your app and clicking through it. You can now configure its test environment and define the core user flows it tests. Try for free

October 30, 2026 - Linkblog

dbreunig/nesformer (source): Inspired by Divyansh Agrawal’s qwenputer, Drew Breunig embedded a functioning Nintendo Entertainment System (NES) 6502 CPU emulator directly into the model weights of Qwen3.5-4B. Now you can run NES ROMs (like Super Mario Bros.) inside Qwen and play them directly (albeit very slowly)!

In a Hacker News comment, Drew shared the Opus 5.5 prompts he used to build the system:

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. (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 MiSTer) using this technique. If so, what size model would you have to build, and if you used smaller, faster ones, could you get it to run at the standard clock speed.)

Followed by:

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. (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 tool to run them that we can point at a ROM.)

Apparently, Opus found and used this NES CPU conformance test suite released by Christopher Pow 15 years ago.

Posted October 30, 2026 at 9:59 PM