News

GPT-5.4 Reverse-Engineers Super Mario Bros ROM, Exposes RAM, Creates AI-Driven Emulator

Developer @skirano used GPT-5.4 in three prompts to reverse engineer the Super Mario Bros NES ROM, expose RAM events, and run AI agents inside a JavaScript emulator.

Jamie Taylor2 min read
Published
Listen to this article0:00 min
Share this article:
GPT-5.4 Reverse-Engineers Super Mario Bros ROM, Exposes RAM, Creates AI-Driven Emulator
Source: round2solutions.com

GPT-5.4 has been pressed into service on March 9, 2026 by developer @skirano to reverse engineer the Super Mario Bros NES ROM, exposing in-game RAM events and producing a JavaScript emulator where characters are driven by AI agents. The demonstration, executed in a three-prompt workflow, maps ROM behavior to observable memory events and uses that mapping to let AI read and act on game state inside the browser.

The technical sequence is concrete: three distinct prompts were used with GPT-5.4 to unpack the ROM, identify actionable RAM events, and wire those events into a playable JavaScript emulator. The result is not just a static analysis report; the emulator operates with game characters controlled by AI agents that consume the exposed RAM signals as inputs and issue controller actions as outputs. That linkage — ROM to RAM events to AI-driven inputs — is the core engineering achievement shown in the demo.

Exposing RAM events changes how emulation tooling can be built. By surfacing the NES memory events used during runtime, the workflow demonstrated by @skirano provides a path for scripted analysis, automated testing, and AI-driven play that reads the same in-memory variables tool-assisted speedrunners and TAS builders rely on. Because the pipeline culminates in a JavaScript emulator, the setup runs in standard web contexts, lowering the barrier for experimentation and distribution compared with native-only tooling.

AI-generated illustration
AI-generated illustration

The demo illustrates broader consequences for retro game analysis and interactive emulation. Using GPT-5.4 to reverse engineer a canonical title like Super Mario Bros suggests similar approaches will appear for other cartridges and platforms. The combination of a large language model, explicit prompts, and an emulator runtime produced a practical artifact rather than just a write-up: a playable environment where AI agents can explore mechanics, test glitches, or drive AI-versus-human matchups inside the browser.

For the community, the immediate takeaway is practical: three well-structured prompts plus GPT-5.4 produced a working pipeline that exposes RAM events and controls a JavaScript emulator. Expect more experiments built on that pattern, and anticipate tools that blend reverse engineering, memory instrumentation, and agent-driven play. The @skirano demo highlights how AI can accelerate analysis and interactive demonstrations, and it sets the stage for a new wave of emulation work that treats ROMs as discoverable, machine-readable systems rather than black boxes.

Know something we missed? Have a correction or additional information?

Submit a Tip

Never miss a story.
Get Retro Game Emulation updates weekly.

The top stories delivered to your inbox.

Free forever · Unsubscribe anytime

Discussion

More Retro Game Emulation News