codeninja posted on Dec 2 2005 at 05:23 PM said:
Any news regarding 2nd CPU in GP2x? With recent source code releases from MagicEyes and GPH, would it open up the possibility of using the 2nd CPU, finally?
A 200Mhz CPU sitting there idling sounds no good, whereas current generation emulators do need whatever help they can get to speed up. Even if that CPU turns out to be not so good 2D accelerator, still we can use it delegate some tasks such as CPU emulation or at least as a vector unit, right?
First, keep in mind, the second core, is useless !
why ?
Problem 1:
To use the second core, YOU must rewrite parts of the Emulator, who want to use the second core. There is no magic around this, all docs are available now, to do this. But the Problem is, that YOU must rewrite parts of the Emulator core, who wants to use the second core. Its not a simple compiling task !!! You must use your brain, and rewrite code ! This comes to my conclusion, only a very few coders got the skills to do so.
Problem2:
Only 1/100 coders here, wants to waste time, in rewriting/testing a new Emulator core.
Why rewrite/test hugh code parts ? A simple Linux/sdl crosscompile will result in a running Emu also.
Problem3:
Rewriting a Emu core takes a LOT time. Takes a lot time to bug fix. And this only for a few more fps... Who should do this ?
Problem4:
Some say, why not wait for HH ( i would call it Direct Hardware ), couse, it will make using the second core a little more easy, but the design of an emulator is mutch more complicated, without an OS in the background. Also DH is only about ~1fps faster, than running under Linux, so its a waste of time.
Dont believe me ?
Take a look to the mame gp32 port, and look, how long it took to port it to the gp32.
AND it is an very old code base, about 5 years old. It is not possible to run mame 1.0 on the gp32, couse the lack of an OS.
Problem5:
You dont need an second CPU for Homebrew !!!
Problem6:
ALL current available games/emus cores, are single cores.
Have look to the Windows world, and see How mutch more fps you get, changing your Athlon64 to an Athlon64x2, dual core cpu.
It will speed up nothing !
You must rewrite the code... -> its damm hard --> nobody wants to waste 6MONTH in rewriting code. To get ONE Emulator ~5fps faster. (if the emulator is now running with 10fps, the second core could give it 15fps)