notaz / picodrive

Fast MegaDrive/MegaCD/32X emulator
Other
292 stars 167 forks source link

Ability to switch between dynarec / interpreter on the fly for 32X? #5

Closed inactive123 closed 10 years ago

inactive123 commented 11 years ago

I've noticed that the ARM SH2 dynarec still exhibits a lot of errors, namely:

Is it possible to switch on-the-fly between SH2 dynarec and SH2 interpreter? I am pretty confident the Shield would be capable of running the SH2 interpreter at fullspeed. MAME 0.78 with the SH2 interpreter runs games like Gals Panic 4 and S at fullspeed at least - and they both use the SH2 interpreter.

It would also help us out on Windows RT when I am going to do that port later on since dynarecs are not allowed within the RT runtime.

notaz commented 11 years ago

As discussed on IRC those bugs are not dynarec problems, but I'll add the switch anyway (for those not-fully jailbroken i-devices at least) after I'm done with bugfixing.

Also a note about SH2: 2xSH2s@23MHz are a lot harder to emulate than 1xSH2@28MHz on that Kaneko arcade board because of all that extra synchronization needed, there is also fully functional megadrive running at the same time on 32X..

notaz commented 10 years ago

Finally had a chance to test this on Android, and it works for me with PD built from current git.