Dreamcast homebrew work has produced a particularly striking technical showcase: hardware-capture footage of Sonic Adventure 2 co-op running at 60 frames per second, with a 16:9 viewpoint, on Sega’s original console.
The work comes from Falco Girgis, who has been documenting the project publicly, and builds on Kyle Mayer’s Sonic Adventure 2 decompilation. The game code has been cross-compiled for the Dreamcast’s SH4 CPU and then run through Girgis’ SH4ZAm fast-math library. The reported result is a jump from 30fps to 60fps while running on actual Dreamcast hardware—not simply a modern PC version made to resemble the console release.
That distinction is the whole story. Plenty of games can be improved when they are removed from their original hardware constraints. Getting a more demanding version of the game logic to run smoothly on the machine it was built for is a very different kind of achievement. It means the project is looking for performance in the software itself: cutting down expensive operations, replacing inefficient routines, and tailoring math-heavy code to the CPU executing it.
What the footage demonstrates
The captured co-op footage is presented at 60fps with a 16:9 viewpoint. Both details matter, although they describe separate improvements.
Frame rate is the number of complete images shown per second. A move from 30fps to 60fps potentially makes animation, camera movement, and player input appear substantially smoother. It also requires the game to complete its work twice as often within the same amount of time. That is not a small adjustment for a project targeting an older console processor.
A 16:9 viewpoint, meanwhile, refers to the wider presentation visible in the footage. It should not automatically be read as a blanket claim about every display mode, release detail, or compatibility scenario. What has been shown is a co-op build using that wider viewpoint while operating on Dreamcast hardware.
Co-op is an especially meaningful place to show the work. Splitting the action between players can place additional demand on rendering and on the systems that need to update gameplay, animation, movement, and cameras. The footage is therefore more useful than a static menu or an isolated technical demo: it offers evidence of the optimized code running through an active game scenario.
Why cross-compiling is central to the project
A decompilation is a reconstruction of software into a form that people can read, study, and build from again. In this case, the reconstructed Sonic Adventure 2 code provides a route for developers to alter and rebuild parts of the game rather than treating the original executable as an untouchable black box.
Related coverage includes Sonic Adventure 2 Co-Op Runs on Dreamcast Hardware at 60fps in New Modding Showcase.
Cross-compiling means producing a program for a target system different from the one used to build it. Here, the target is the Dreamcast’s SH4 processor. The practical importance is straightforward: the rebuilt code can be made to run on the actual console, while developers can revise routines that were not performing as well as they could.
This is not merely a matter of switching a compiler setting and receiving a free performance upgrade. The changes described for this project are deliberate replacements in parts of the code that run frequently. Those areas are commonly called hot paths: sections where even a modest saving can matter because the game executes them over and over, every frame or during repeated animation and movement calculations.
SH4ZAm and the performance work behind the result
Girgis’ SH4ZAm is described as an assembly-optimized fast-math library intended to replace Sega’s Ninja math library from the Katana SDK, Sega’s Dreamcast development kit. “Assembly-optimized” indicates code written or shaped closely around the processor’s instruction set, with the goal of doing important work more efficiently than higher-level, more general-purpose routines might.
The reported optimization pass includes several concrete changes:
- Replacing an inefficient
memcpy()routine that copied data byte by byte in a basic loop. - Replacing Sega’s libc-style routines for single-precision floating-point work.
- Replacing interpolation code used by animation and movement systems for vectors and quaternions with custom LERP and SLERP routines.
- Replacing divisions in hot paths, where positive non-zero denominators are guaranteed, with faster approximations based around a fast reciprocal square-root approximation instruction.
Each item is technical, but the broad principle is easy to understand: games perform a huge number of small calculations. A routine that is acceptable once can become a performance problem when it runs repeatedly across player movement, object updates, camera work, and animation. Improving several of those repeated tasks can create enough total headroom for a far higher frame rate.
Memory copying: small work that adds up
memcpy() is a standard kind of function used to copy a block of memory from one location to another. It sounds mundane because it is mundane—but it can be extremely important. A byte-by-byte loop has to process the copied data in the smallest possible chunks, which can be unnecessarily costly when an application is moving lots of data.
Replacing that routine does not make the game visually different on its own. Its value is in reducing waste. If copying is needed frequently, a faster approach leaves more processor time available for the work players actually notice: updating the game and putting a new frame on screen.
Floating point, vectors, and quaternions
Single-precision floats are a compact format for representing decimal-style numbers in computing. Games use them constantly because positions, speeds, angles, and transitions are rarely neat whole numbers. Custom float-related routines can matter when the original general-purpose functions do not map efficiently to the target machine.
Vectors are values commonly used to represent things such as direction, velocity, or position. Quaternions are a mathematical tool often used to represent three-dimensional rotation. They can sound exotic, but they are relevant to everyday game motion: turning characters, moving cameras, and blending between orientations.
LERP and SLERP are forms of interpolation—methods for moving smoothly from one value to another. LERP, or linear interpolation, provides a direct blended transition. SLERP, or spherical linear interpolation, is used for smooth rotational transitions, including quaternion-based rotation. Replacing the existing implementations with optimized versions means those motion calculations can be completed with less overhead.
That is the connective tissue between the code changes and the footage. Animation and movement are not one-time events. They must be evaluated continuously. Faster interpolation routines can therefore be useful precisely because they live in parts of the game that are repeatedly exercised.
Why avoid division when possible?
Division is generally more computationally expensive than simpler arithmetic, especially in code paths that are used constantly. The project replaces certain divisions with fast approximations, but only in situations where the denominator is known to be positive and not zero. That condition matters: it narrows the replacement to cases where the shortcut is suitable.
The method is built around a fast reciprocal square-root approximation instruction. Put simply, rather than performing every division in the most direct conventional way, the optimized code uses a faster route to approximate the reciprocal quantity needed for the calculation. An approximation is not automatically a compromise players will perceive; its appropriateness depends on the particular calculation and the error tolerance of the system using it. In this case, the developer’s work included dialing back an earlier version that introduced an overly intense visual effect.
That detail is valuable because it shows optimization is not simply a race to make numbers bigger. Faster code still needs to preserve an image and motion that look correct. A 60fps target is only useful if the game remains visually coherent rather than turning into what was jokingly characterized as a fever-dream-like experience.
What is confirmed—and what remains open
The current evidence is hardware-capture footage and the developer’s technical description of the changes made. It supports the central claim: a Dreamcast-targeted, cross-compiled build of Sonic Adventure 2 has been shown in co-op at 60fps and with a 16:9 viewpoint.
It does not establish a public release plan, broad hardware compatibility, a finished feature list, or that every part of the game has received the same treatment. Nor does the footage alone settle questions that enthusiasts may have about final presentation, performance under every possible gameplay condition, or the eventual form of the project.
Those boundaries should not diminish what is on display. The point is not that a final consumer package has been detailed; the point is that an old console is running a notably ambitious technical revision through targeted low-level optimization. It is also an example of why decompilation and preservation-minded programming projects continue to matter: they create opportunities to understand where an older game spends its processing time and to test what becomes possible when that code is revisited carefully.
For readers who enjoy projects that look beneath familiar game surfaces, Joking Joystick has also explored the strange design turns in Queen’s Domain’s mid-game reveal. The Dreamcast work takes a different route, but it shares that interest in how technical and design decisions can reshape the experience of playing an older-style game.
For now, the sensible reading is one of cautious excitement. The showcased build looks like meaningful progress, and the specific optimization notes give the performance claim more substance than a simple frame-rate label. Whether this becomes a more complete Dreamcast project will depend on the work still to come, but the 60fps co-op capture already makes the SH4ZAm experiment one worth watching.




