PixelHearth: How a Game & Watch From My Drawer Became My Own Handheld

My Zelda Game & Watch sat in a drawer for a long time. It's a lovely little device, but it only plays the few games Nintendo put on it. Inside is a surprisingly capable computer, and I wanted to see if I could make it play more.

By the end it was running emulators I'd had built from scratch, with its own name, PixelHearth, and a fireplace menu with a sleeping cat.

I built all of it with Claude, Anthropic's AI model, in Claude Code. I didn't write the code. I made the calls: what to try, what looked wrong, and what to throw away.

Before you try this: unlocking a Game & Watch can brick it. Back up the stock firmware first, and keep that backup safe.


Part 1: Getting inside

To write a Game & Watch's memory you need a debug probe, a small device that connects to the chip's debug pins. I didn't have one, but my Flipper Zero has a DAP Link app that turns it into one. Three wires run from the Flipper to the debug pads on the board.

Inside my Zelda Game & Watch

The low point

Getting the Flipper to talk to the Game & Watch was the hardest part of the whole project. The computer kept saying it couldn't see the chip, and sometimes it read back garbage.

The cause turned out to be my connector. Its pins were so long that, at different times, they touched each other behind the board. Every time I reseated the wires it might work, or it might not. Once the pins stopped touching, it connected.

Back up, unlock, restore

With a working connection, I used ghidraninja's backup scripts to back up the stock firmware, unlock the chip and restore the original. Once it booted back into the stock Zelda menu, I knew I had a way back no matter what happened next.


Part 2: Retro-go, made my own

The usual way to play other games on a Game & Watch is retro-go, an open-source set of emulators. I loaded 12 NES games and 2 Game Boy Color games from cartridges I own, and it worked on the first try.

Then I started making it mine. I asked Claude to mock up 12 game pickers, picked one and pushed it toward an 8-bit look:

  • A short slide when you change games.
  • Real cover art for each game.
  • Sorting by name, recently played or system with the TIME button.
  • Cheat codes for the NES games.

An early Mac preview of my 8-bit retro-go picker

I also gave the GAME button a job: a pause menu with save, load, cheats and exit, plus volume and brightness bars made of blocks that fill in. The TIME button shows a big clock and pauses the game.

A few things took more than one try. The covers didn't get bigger the first time, then they looked blocky until we changed how they were compressed. Some Game Boy games stuttered because they were stored compressed, so we stored them uncompressed, and the stutter went away.

A DATA ERROR scare

Halfway through one flash, the connection dropped. It was those long pins again. The flash stopped at 70%, and the Game & Watch showed a DATA ERROR screen. Because I had the backup and the chip was unlocked, I fixed the wires, flashed it again and checked every byte. It was fine.


Part 3: Starting from scratch

Retro-go was in good shape, but it was still someone else's software in my paint. I wanted it to be mine, so I asked what it would take to write my own emulators from scratch for the two systems my games use: the NES and the Game Boy and Game Boy Color.

Several Claudes at once

This is where it got interesting. Claude can run as several sessions side by side, so different sessions worked on Game Boy sound, the NES, and getting it running on the device, all at the same time.

To keep them from breaking each other's work, we wrote a short rulebook every session reads: stay in your own area, run the tests before saving your work, and never write to the device without asking me.

Tests and speed

Emulator authors share test programs that check tricky hardware behavior and report pass or fail. That made progress easy to see. The Game Boy and NES cores now pass the standard CPU tests and most of the sound and timing ones.

Speed mattered just as much, because the Game & Watch is far slower than a laptop. Both cores got two to three times faster along the way.

First run on the device

The first version ran from memory only, so it couldn't damage anything. The first game was DuckTales, at a smooth 60 frames per second with clean sound. Link's Awakening DX was slower at first, until a faster screen-drawing routine brought it up to 60 too.

Then came the first menus, styled after my retro-go picker.

The first menus, rendered on the Mac: start-up, game picker, game info, Options and pause menu

A name

I asked for 10 names and picked PixelHearth. Then I made the big decision: replace retro-go completely. PixelHearth now boots on its own and keeps my games, saves and settings.

The start-up screen once the project had a name


Part 4: The mantel

A misunderstanding

I asked for "10 new themes to match the name PixelHearth" and got 10 color schemes. That wasn't what I meant. I wanted a new design, so we tried 10 mockups instead, and I picked the mantel: a pixel-art fireplace with a moving fire, a greeting based on the time of day, and a clock view that shows just the mantel with the time above it.

The mantel: fire, greeting, title-screen frames and the cat asleep by the hearth

The clock view: just the mantel, with the time and date above it

Real title screens

I wanted each game's own title screen on the mantel. A game file doesn't contain a picture of it, so the installer plays each game for a few seconds and keeps the frame that looks most like a title screen.

Title screens grabbed from five of my games

The selected game sits in a gold frame, with smaller frames on either side that glide over when you move.

The mantel carousel gliding between games, then switching to the clock view

The cat

The fireplace feel made me think of adding a cat sleeping next to it. I sent Claude a photo of my own cat, so it's a grey and black tabby with its eyes shut. It breathes slowly, and its tail swishes back and forth.

The grey and black tabby asleep by the fire

Music and the splash screen

Just to test out what I could do, I asked Claude to composed 10 short, gentle songs for the menu. I listen though each, but kept five, and you can switch between them in Options. I though it did a great job from the directions and creating an authentic 8-bit song.

For the power-on screen, Claude made 10 options. I picked one and asked for the name on top, embers rising from the fire, and stars that shimmer softly instead of flashing.

The 10 splash-screen candidates

The final splash screen in motion

Buttons

In a game, TIME pauses and shows the clock, and GAME opens a menu to save, quit or turn on cheat codes, carried over from my retro-go version.

The GAME menu in a game

The cheat-code list


Part 5: Finishing touches

The last round added what you need to carry it around unplugged: a battery meter with a safe power-off when it runs low, a way to set the clock, save states, and smoother motion.

The pause menu with save states and the battery level


What I took away

  • Back up first. The DATA ERROR screen was only a scare because of the backup.
  • Small hardware problems are the hardest. Pins that were just a little too long cost me more time than anything else.
  • Seeing beats describing. Many of my best decisions came from looking at something and saying "not that."
  • AI is fast, but it needs a director. Claude could build an emulator in a day. It couldn't know I wanted a fireplace, or that the cat should look like mine.

The Game & Watch is out of the drawer for good.


Credits

  • ghidraninja/game-and-watch-backup for the backup and unlock scripts.
  • sylverb/game-and-watch-retro-go, based on kbeckmann's original, and the retro-go community.
  • The emulation test authors whose work made accuracy measurable: Blargg, Mooneye, Klaus Dormann, Tom Harte and the nestest authors.
  • Flipper Zero and its DAP Link app.
  • Claude (Anthropic), which wrote the code.

Every game here was backed up from an NES or Game Boy cartridge I own. No game files are shared here.

Next
Next

Behind the board at Cinderblock Sessions