Overview
Point Claude Code at the source of an old DOS-era assembly game you own, have it map the build, script the assembler and linker steps for an emulator or a modern assembler, and fix build errors under git.
Problem or Objective
- Which agents port code to another language or framework?
- Which agents help create, run and debug games?
More in Coding and Code Review
AI Agents and Models
Tools and Integrations
- Tools
- Claude Code · DOSBox
- Prerequisites
- Claude Code (most surfaces require a Claude subscription or Anthropic Console account; the Terminal CLI, VS Code and JetBrains also support third-party providers), the game's source with the rights to rebuild it, git, and an emulator or a modern assembler.
How It Works
Put the game's source, any batch or make files and notes about the original tools into a git repository, and commit them untouched. Install an emulator such as DOSBox or a modern assembler that accepts the original syntax, whichever you plan to use. Start Claude Code in the repository and ask it to read everything and write a short map: which files are code, data and build scripts, which assembler and linker the scripts expect, and what is missing. Then ask it to write a build script for your chosen toolchain, run it, and fix errors one at a time, explaining each change. Review every diff before it is committed. When the build finishes, run the program in the emulator and compare its behaviour with an original copy if you have one. Record the exact tool versions and commands in a README in the repository.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Claude Code.
- Connect the toolsConnect the tools this workflow relies on: Claude Code, DOSBox.
- Check the prerequisitesClaude Code (most surfaces require a Claude subscription or Anthropic Console account; the Terminal CLI, VS Code and JetBrains also support third-party providers), the game's source with the rights to rebuild it, git, and an emulator or a modern assembler.
- Gather your detailsCollect what the prompt asks for: Game name, Original platform, Toolchain you will use.
- Run the starter promptPaste the starter prompt below into Claude Code and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at code.claude.com before you rely on it.
Practical Starter Prompt: Get an old assembly game building again
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
This repository holds the original source of [Game name], an assembly-language program for [Original platform]. First read everything and write BUILD_MAP.md: which files are code, data and build scripts, which assembler and linker they expect, and what is missing. Do not change any source yet. Then write a build script for [Toolchain you will use], run it, and fix errors one at a time, explaining each change. Show me each diff before committing it.Commit the untouched source first so every change can be undone. Approve each diff before it is committed, then test the program in the emulator yourself.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. Anthropic's overview says Claude Code reads your codebase, edits files and runs commands, traces a pasted error through the codebase to its root cause and implements a fix, and works directly with git. The docs do not mention assembly language, DOS or emulators, so treat its knowledge of old toolchains as something to check against the original documentation.
Limitations and Considerations
Use only source code you own or are licensed to rebuild, and do not distribute the result without the rights. Old toolchains and emulators are outside what the docs cover, so check each assembler flag and memory model yourself. Run the build in a folder or container separate from anything important, since Claude Code runs commands; check its permission settings before you start. Most surfaces require a Claude subscription or Anthropic Console account; the Terminal CLI, VS Code and JetBrains also support third-party providers. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Related Videos
About anthropics/claude-code
The SECRET Claude Code Upgrade That Has Everyone Going Nuts (Full Guide) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)About anthropics/claude-code
The only Claude Code guide you'll ever need (Opus 4.5) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Overview - Claude Code Docs (opens in a new tab)
Project documentation · code.claude.com · Undated · Source checked 25 Nov 2026, 11:57 UTC
What this source supports
- Claude Code is an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools.
- For bugs, paste an error message or describe the symptom; Claude Code traces the issue through your codebase, identifies the root cause, and implements a fix.
- Claude Code works directly with git: it stages changes, writes commit messages, creates branches, and opens pull requests.
- Most surfaces require a Claude subscription or Anthropic Console account; the Terminal CLI, VS Code, and JetBrains also support third-party providers.

