Gameboy Advance Emulator.


Squidge posted on Dec 11 2005 at 05:53 PM said:
Problem is however, unless we can run the 920 at 16Mhz, and the 940 at some decent speed like 200Mhz (possibly lower, I can't guess how much performance would be required for management yet), how are we going to run the GBA code at a correct speed? The only way I can think off is having a hardware timer interrupt the normal flow of the 920, and sleep for so long before returning to allow it to continue on, but this is only a very rough approximation whilst the ideal way would allow per-instruction timing.

Maybe a bad idea, but can't we slow down one ARM from 200 to 16 MhZ with this new tool?
 
Last edited by a moderator:
Squidge posted on Dec 11 2005 at 05:53 PM said:
Problem is however, unless we can run the 920 at 16Mhz, and the 940 at some decent speed like 200Mhz (possibly lower, I can't guess how much performance would be required for management yet), how are we going to run the GBA code at a correct speed? The only way I can think off is having a hardware timer interrupt the normal flow of the 920, and sleep for so long before returning to allow it to continue on, but this is only a very rough approximation whilst the ideal way would allow per-instruction timing.

Could you run everything twice, thus taking up exactly double (or triple, or whatever) the power of the GBA for a given task? Or is that far too simplistic a model?

Or just settle for incredibly fast emulation and just accept that the GP2x is a GBA set to incredibly difficult mode for action games :)
 
Last edited by a moderator:
Squidge posted on Dec 11 2005 at 05:53 PM said:
Lets think about developing a GBA emu on the 2X:

Porting something like VBA is useless - emulating a ARM processor in C is going to be incredibly slow, and writing an a ARM ASM ARM emulator is just daft :)

We can't use the 940 for the task of emulating the GBA's main processor, as it doesn't have an MMU, only an MPU. So this means we need to use the 920, and guess who already has control of that? Yup, Linux. So the best way of dealing with this is to bounce out of Linux land into our own, run the GBA code on the 920 and do all the other crap like graphics emulation on the 940.

Problem is however, unless we can run the 920 at 16Mhz, and the 940 at some decent speed like 200Mhz (possibly lower, I can't guess how much performance would be required for management yet), how are we going to run the GBA code at a correct speed? The only way I can think off is having a hardware timer interrupt the normal flow of the 920, and sleep for so long before returning to allow it to continue on, but this is only a very rough approximation whilst the ideal way would allow per-instruction timing.


I wuz gonna say that!
 
Last edited by a moderator:
lubidog posted on Dec 12 2005 at 12:21 AM said:
Squidge posted on Dec 11 2005 at 05:53 PM said:
Lets think about developing a GBA emu on the 2X:

Porting something like VBA is useless - emulating a ARM processor in C is going to be incredibly slow, and writing an a ARM ASM ARM emulator is just daft :)

We can't use the 940 for the task of emulating the GBA's main processor, as it doesn't have an MMU, only an MPU. So this means we need to use the 920, and guess who already has control of that? Yup, Linux. So the best way of dealing with this is to bounce out of Linux land into our own, run the GBA code on the 920 and do all the other crap like graphics emulation on the 940.

Problem is however, unless we can run the 920 at 16Mhz, and the 940 at some decent speed like 200Mhz (possibly lower, I can't guess how much performance would be required for management yet), how are we going to run the GBA code at a correct speed? The only way I can think off is having a hardware timer interrupt the normal flow of the 920, and sleep for so long before returning to allow it to continue on, but this is only a very rough approximation whilst the ideal way would allow per-instruction timing.


I wuz gonna say that!
so wuz i!!!!!!!!!111
 
Last edited by a moderator:
I don't mind paying/donating to a emu author for a near perfect GBA emulator.

legality asside. I would love to play some of my gBA games on a gp2x. freeing me from carrying an extra device. if one device can do the job of two why carry the extra baggage? besides I bought the games anyway so why can't I play it in another form/machine.

can't wait till I all those console emus get near pefect so I go ahead and get my gp2x.

I figure $180 for the gp2x and I'll set asside about $150 for donations to various emu authors.
 
sand_man posted on Dec 11 2005 at 08:07 PM said:
$150 for donations, wow

I make an OK living.

and $150 would probably be splitted for emus like
NES
GB/GBC
GBA
GENESIS
TG16
SNES
SMS

or what other killer app that pops up.

even tho I have all those emus running near pefect on pc I don't have time or computer to play it.

if I can play it on portable I'll donate and I think the dev deserve it anyway. they make me happy with playing games from my childhood the least I can do is donate.

heck if they live around me I'll go buy them a few beers.
 
Last edited by a moderator:
I love these 'I wouldn't have to carry TWO devices (into the shower). Really, no one believes you. You just want to play all the new Ninty games for nothing, you naughty young scamps.

If it was really true, what you say, you should use the money you say you 'will' donate to buy a new bag, or new pockets. Or even to join a gym so you can be big and strong enough to be able to carry around those 'heavy' GBAs. Or even buy a GBA micro, so small, your pocket won't even know it's there.

But enough already with this 'crap'




(Nice use of ' there, 'Lubidog'.)
 
Last edited by a moderator:
lubidog posted on Dec 12 2005 at 12:13 PM said:
I love these 'I wouldn't have to carry TWO devices (into the shower). Really, no one believes you. You just want to play all the new Ninty games for nothing, you naughty young scamps.

If it was really true, what you say, you should use the money you say you 'will' donate to buy a new bag, or new pockets. Or even to join a gym so you can be big and strong enough to be able to carry around those 'heavy' GBAs. Or even buy a GBA micro, so small, your pocket won't even know it's there.

But enough already with this 'crap'


remember what your doctor said lubidog, regarding your high blood pressure. We all know where this one could go.
 
Last edited by a moderator:
I don't think people should donate toward an emulator, for two reasons. One, it's illegal to make money off of an emulator, and thus could get the project shut down. Two, the developer should be doing this for his hobby and for fun, not to make money.
 
lubidog posted on Dec 12 2005 at 07:13 AM said:
I love these 'I wouldn't have to carry TWO devices (into the shower). Really, no one believes you. You just want to play all the new Ninty games for nothing, you naughty young scamps.

If it was really true, what you say, you should use the money you say you 'will' donate to buy a new bag, or new pockets. Or even to join a gym so you can be big and strong enough to be able to carry around those 'heavy' GBAs. Or even buy a GBA micro, so small, your pocket won't even know it's there.

why is it so hard to believe that I will donate ? I did it plenty of times.
here's the donation page for ZSNES
http://www.zsnes.com/index.php?page=donate

do a search for "geniv" and you'll see that I'm listed as a donator. only reason I don't donate now is because I have yet to get a GP2X.

just because you are too cheap or can't afford to donate doesn't mean other people won't.

you go carry your, mp3 player, gba, gb, and all the gadget. my pocket is only big enough to fit one other device besides my cell phone.
 
Last edited by a moderator:
Back
Top