I've modified Ziggy's RSP plugin a bit and managed to get further in World Driver Championship and Stunt Racer 64. These games are playable now, geometry is perfect. There's some texture corruption, though.
What did I modify:
- switched the plugin back to interpreter, as it was in MAME
- added RSP interrupt handling in cases when interrupt is triggered by MTC0, which Ziggy omitted (dunno why)
- I force the plugin to exit an infinite loop which it enters because of Zilmar's RSP spec's drawback. The spec doesn't allow CPU to write into signal flags while RSP operates. As you may have thought, it is a dirty game-specific hack.
- added Mooglyguy's opcode fixes for VRCP, VRCPH, VRCPL, VRSQL and VRSQH.
Required configuration:
Emulator:
Project64 1.5
Sound plugin: Jabo's plugin bundled with Project64 1.5
Graphics plugin: z64gl r17 properly set up (don't ask how, it was explained many times)
It's settings in z64gl.conf: hires_fb=1, threaded=1, async=1
RSP plugin: RSP.DLL, the build I've attached. Put it into plugin directory and overwrite any other RSP.DLL.
World driver championship also requires the following. While in rom browser right-click on this game, select "Edit game settings" and set "CPU Core Style" field to Interpreter.
Version history:
Version 1: some 3D in World Driver Championship.
Version 2: both games are playable using the aforementioned configuration.
Version 3: 80% speed boost (still very slow). Now it's hopefully safe to use this plugin with other games, besides these two (still it's not recommended).
VERSION 3 DOWNLOAD LINK
http://w14.easy-share.com/15021281.html
Source code:
http://w14.easy-share.com/1699574214.html