Recompile a 1991 assembly PC game with Claude Code
The author uses Claude Code CLI with Sonnet to get the source of their 1991 386+ assembly game compiling again. ·
Done withClaude Code
- What they did
- The author took the full source of an unpublished 1991 386+ assembly game and set up UASM, which is MASM-compatible, with DOSBox for running results. Using Claude Code CLI with Sonnet, they got the old build utilities compiling. They also asked the model to locate bugs mentioned in their own old code comments.
- How it went
- The picture converters and sprite extractor now compile and run in DOSBox, but the main game doesn't compile yet; the author expects a few more hours. Sonnet 4.6 immediately spotted a clash with a reserved name, incbin.
- Worth knowing
- Old macro names may now be reserved words in modern assemblers; here a macro called incbin blocked UASM compilation until the model pointed it out.
Try it yourself with Claude Code
I have the source code of an old [language, e.g. 386 assembly] project at [path to folder] that I last built in [year]. Work out which assembler, linker and tools it needs, set up a way to build it on my [OS], and fix errors until it compiles and runs. Explain each change you make, and ask me before you delete or overwrite any original files.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: HN · Apr 8, 2026
Related use cases
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Automate event social posting across platforms
Claude Code connected social channels to drive event registrations, working well on Twitter and Reddit and somewhat on LinkedIn.
Send daily WhatsApp reminders of what to pack for school
A commenter built a Claude Code tool that sends a WhatsApp reminder the day before about what to pack in a child's school bag.
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Build a Pokemon-style dog collecting app
A user had Replit Agent build a catch-em-all dog app whose rarity comes from scraped American Kennel Club regional population data.
Build a local knowledge app for agent outputs with Codex
The author built Mianotes using four Codex agents across 30+ sessions to centralize scattered files agents produced, and the agents documented the product inside it.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.