GitHub - dbreunig/nesformer: An NES CPU compiled into the weights of a stock Qwen3.5 model
2026-10-31
![]()
Drew Breunig's NESformer takes the Qwenputer compiler further and builds a whole NES into the weights of a stock Qwen3.5 model: the 6502 CPU, its 2 KB of RAM and the cartridge ROM, with the model's GatedDeltaNet state as the memory. The model predicts the CPU's execution log one token at a time, while a host program draws the graphics, reads the controller and handles interrupt timing. It runs any NROM-mapped game without retraining, at one to six seconds a frame.
Was this useful?