New hardware footage shows Sonic Adventure 2 co-op running on a Dreamcast at 60 frames per second, with a 16:9 viewpoint. The project comes from Dreamcast developer and modder Falco Girgis, who optimized a decompilation of the game for the console.
The game was cross-compiled for Dreamcast’s SH4 CPU, then processed with SH4ZAm, Girgis’s fast-math library. The result raises the reported frame rate from 30fps to 60fps, with the footage showing the game running smoothly.
Optimizing the Dreamcast code
Girgis says SH4ZAm replaces Sega’s Ninja math library, which shipped with the Katana SDK. The optimization work also reworks several routines in the game’s performance-critical code.
• Replacing an inefficient byte-by-byte memory-copy routine.
• Replacing Sega’s single-precision math functions.
• Using custom interpolation routines for animation and movement vectors and quaternions.
• Applying fast approximations to division operations in performance-critical paths.
The result is a 60fps, widescreen co-op demonstration running on original Dreamcast hardware.
A technical boost for a classic console
The project is built on a decompilation of Sonic Adventure 2 and demonstrates how targeted software optimization can push a Dreamcast game beyond its original performance. Girgis noted that an early pass made the game move too quickly, so he adjusted the changes to bring the experience back under control.
Dreamcast’s SH4 processor
The Dreamcast uses Hitachi’s SuperH-4 (SH4) processor. SH4ZAm is designed to speed up the kind of mathematical operations used in game code, and this project applies those optimizations to a Dreamcast build of Sonic Adventure 2.
Source: Retro Dodo




