Skip to content
Prompt & SolderHow to Ask Claude
All builds
GDNo photo
Worked Proof shown

How Touhou 4 aims a ring of bullets

A 16-bit PC-98 angle helper matched to readable C++ and compared against historical compiler output.

—

The full story

An REA showcase on Touhou 4 (Lotus Land Story), a 1990s PC-98 shoot-'em-up running as 16-bit DOS code. It answers how a boss fires a ring of 16 bullets aimed at the player. The game measures a full turn in 256 angle units, so the 16 bullets sit 16 units apart. Adding the direction to the player rotates the whole ring towards you.

REA returns the function's instructions, pseudocode and references. These are matched against readable C++ from an existing community reconstruction of the game and compared with what period compilers would have produced.

How it was done

Tools

Themes

Loading themes…

Sources

From the maker's own write-up or code. We summarise what they report; we haven't tested it ourselves.

  • Awesome REA list: How TH04 aims a ring of bulletsBlog or write-uprea.tools

    The showcase walking through the assembly, REA's output and the recovered C++.

Related builds

Finding related builds…

Prompt & Solder

An independent community project. Not affiliated with Anthropic.

What this is. Real projects where people used Claude to build, fix, port, revive or take apart something, from jailbroken Kindles to rebuilt DOS games, plus the times it went badly wrong. Every build links to where it was shared, and every source is listed here.

How far to trust it. We summarise what people reported and say what each build rests on: a full write-up with code, a short post, or a passing comment. We haven't tested them ourselves. Photos are shown from the original sources with credit. Only modify hardware you own, and back up first.

Privacy. No accounts. Analytics cookies (Google Analytics) only if you accept them; no ads or cross-site tracking. Searches are counted anonymously (just the words) to show what's popular, and so are clicks on Ask Claude (just the count).

How toEvery sourceStatsSubmit a buildRSS