Join Our Free Newsletter Community

Free, weekly updates about retro gaming news, nostalgic collectibles and in-depth reviews.

Subscribe Retro Dodo cover image
Sebastian Santabarbara profile image Sebastian Santabarbara

Discover Hardware Captures Of Sonic Adventure 2 Co-Op Mode On Dreamcast

Discover Hardware Captures Of Sonic Adventure 2 Co-Op Mode On Dreamcast
Credit: Falco Girgis
🤝
Like our website? Support us as an independent publisher by tipping, joining our paid community or checking out our accessories brand GAMENOOK!

Falco Girgis is the go-to spokesperson for the Dreamcast modding and dev community, and he's always sharing new and exciting projects and milestones over on X. Take this latest announcement with footage of hardware captures of Sonic Adventure 2 co-op mode running on the Dreamcast at 60fps and with a 16:9 viewpoint.

Falco is a whizzkid; he recently announced his creation 'SH4ZAm', an 'assembly-optimized fast-math library, which is now replacing the entirety of Sega's own Ninja math library, which was included within their Katana SDK.'

The game has been cross-compiled for the Dreamcast's SH4 CPU, and after running @kylemayer's Sonic Adventure 2 decompilation through SH4ZAM, Falco has managed to get everything moving up from 30fps to 60fps and running smoothly, albeit after adding far too much oomph to the game at one point and having to dial it back to make it look less like you're in a fever dream while playing.

In layman's terms, which is what I need when it comes to a mind like Falco's, the code has been optimised fully, creating the definitive edition of the game running on the beloved Dreamcast. Everything has been made more efficient. Falco has:

  • Replaced the idiotic memcpy() routine, which was doing incredibly inefficient byte-by-byte copying in a basic for loop
  • Replaced all of Sega's libc-style stuff from their <math.h> for single-precision floats.
  • Replaced all of the interpolations in animation and movement code for vectors and quaternions with my own LERP and SLERP routines
  • Replaced every single division within the hot paths whose denominators are guaranteed to be non-zero positive numbers with my fast approximations, built around abusing the fast reciprocal square root approximation instruction.

I'll be keeping an eye on Falco's socials for more information over the next couple of weeks, but progress is looking good so far!

❤️
Like what you are reading? If you do and want to support us, you can do so by becoming a member, tipping us or taking a look at our gaming accessory company GAMENOOK (10% off just for you). This allows us to continue what we do without succumbing to algorithms, clickbait and over-intrusive ads, while paying human writers instead of AI.
Sebastian Santabarbara profile image Sebastian Santabarbara
Sebastian is fuelled by a lifelong passion for Zelda, Banjo Kazooie, Donkey Kong, and all things retro. He uses his misspent youth with retro consoles to create content for readers around the world.