Horscht
Banned?
Hi
I just recently took a look back into GBA emulation (emulators ON the GBA).
I got reminded of such great efforts as "PCEAdvance" and "SNESAdvance" (FluBBa's Homepage). Suprisingly, those two consoles were emulated very well on the tiny littel 16MHz beast that is the GBA. I remembered those releases where Flubba Released one PCEAdvancce Version after another (I am sure Reesy will remember ), always speeding up more games.
He even told us how he did it. Something wonderfull called "speedhacks".
(as seen here)
Now I wondered: could the speedhack method be used in emulators like SquidgeSNES or Similar emulators that go very close to the edges of the capabilities of the nifty lottle GP2X handheld? I gathered from the pocketheaven forums, that speedhacks seem to be improbable for GB amulation for example
But seeing as both PCEAdvance and SNESAdvance take profit speedhacks, surely PCE/SNES Emulators on GP2X could profit as well. Maybe GBA emus as well, but that, i dunno at all.
It would be great to hear from the devs about this idea.
regards
Horscht
(note: I am talking right out of my ass and am sorry if speedhacks have already been declared not possible/ too difficult for use in GP2X)
I just recently took a look back into GBA emulation (emulators ON the GBA).
I got reminded of such great efforts as "PCEAdvance" and "SNESAdvance" (FluBBa's Homepage). Suprisingly, those two consoles were emulated very well on the tiny littel 16MHz beast that is the GBA. I remembered those releases where Flubba Released one PCEAdvancce Version after another (I am sure Reesy will remember ), always speeding up more games.
He even told us how he did it. Something wonderfull called "speedhacks".
To be specific, speed hacking mostly involves skipping out of idle loops in the top of the VBLANK cycle, at which point drawing for the current frame is done. Sometimes (rarely) these loops are complicated, or are subroutines rather than loops. See www.patmedia.net/dfreiday/tutorial.html or www.patmedia.net/dfreiday/tutorial2.html for more info, or (if you're technically inclined) read technotes.txt include with the debug version of SNESAdvance. Also, loopy has provided more efficient ways to skip out of loops than nop'ing them - see the technotes for more info.
In principle, yeah, speed hacks just break out of delay loops. Speed hacks are a little more than just adding NOPs though... you're inserting special instructions that tell the emulator when it's safe to skip an assload of cycles. NOPs still have to be emulated, so by themselves they don't really help out speedwise.
(as seen here)
Now I wondered: could the speedhack method be used in emulators like SquidgeSNES or Similar emulators that go very close to the edges of the capabilities of the nifty lottle GP2X handheld? I gathered from the pocketheaven forums, that speedhacks seem to be improbable for GB amulation for example
(source: http://boards.pocketheaven.com/viewtopic.p...light=speedhack )I've tried pretty hard to speedhack Gameboy Color games, but it simply isn't possible. Either the game is nice and uses the HALT instruction, or it's poorly coded and doesn't delay at all. I've only seen one game so far which could be speedhacked, which is Ninja Gaiden Shadow, but that game doesn't really need it on Goomba.
But seeing as both PCEAdvance and SNESAdvance take profit speedhacks, surely PCE/SNES Emulators on GP2X could profit as well. Maybe GBA emus as well, but that, i dunno at all.
It would be great to hear from the devs about this idea.
regards
Horscht
(note: I am talking right out of my ass and am sorry if speedhacks have already been declared not possible/ too difficult for use in GP2X)