Uae4all Amiga Emulator Port To Gp2x


Yes Pepone kindly sent me a patch as well for SquidgeSnes. I did a quick test but could not see any improvement in speed, I thought I had implemented it incorrectly so I was going to investigate. Pepone did say he had had an increase of 10+ fps, so it must be how we have applied the fix.


Maybe this would work for DrMD too. Every game would run at 60 FPS FS0 at 200 mhz if it worked as good as it did in GnGeo.

It does work good in GnGeo. Metal slug was a choppy mess at 200 Mhz with sound. With this new hack it is actually quite smooth, BIG difference. I guess the hack is finicky for what it works with or doesn't.
 
Last edited by a moderator:
Yes Pepone kindly sent me a patch as well for SquidgeSnes. I did a quick test but could not see any improvement in speed, I thought I had implemented it incorrectly so I was going to investigate. Pepone did say he had had an increase of 10+ fps, so it must be how we have applied the fix.
I'll try to send you a compiled version and a better patch :D
 
Last edited by a moderator:
I must say I kinda wondered if the reason it was working for GnGeo was simply that NeoGeo roms need a helluvalot more ram to run in the first place - so they're actually using the upper memory.

In comparisson, I'd have thought that Amiga (which presumably doesn't need the extra 32mb ram) and Snes (which should probably only need about 16 in any event) don't, so I wouldn't expect such a great speedup.

Of course, I'm not a coder and am therefore to be taken with a barrel of salt, but nonetheless...
 
I must say I kinda wondered if the reason it was working for GnGeo was simply that NeoGeo roms need a helluvalot more ram to run in the first place - so they're actually using the upper memory.

In comparisson, I'd have thought that Amiga (which presumably doesn't need the extra 32mb ram) and Snes (which should probably only need about 16 in any event) don't, so I wouldn't expect such a great speedup.

Of course, I'm not a coder and am therefore to be taken with a barrel of salt, but nonetheless...
Well, gngeo use the upper memory for sound only, using the mmu hack inproved a little the emulation with sound. But, what give the big boost here is the fullspeed access to the framebuffer who is also in the upper memory. (you can verify it by running gngeo without sound)

Edit: It doesn't seems to work for everything anyway. I tried it with quake with no noticable speed improvement.
 
Last edited by a moderator:
well if it worked for squidgesnes and uae4all, that would be great. I hope you guys can sort this out together and apply the fix. Good luck!
 
Yes Pepone kindly sent me a patch as well for SquidgeSnes. I did a quick test but could not see any improvement in speed, I thought I had implemented it incorrectly so I was going to investigate. Pepone did say he had had an increase of 10+ fps, so it must be how we have applied the fix.
I'll try to send you a compiled version and a better patch :D
Any chance of seeing the source of your implementation for gngeo, please? I might be able to see what I did wrong then...

Tobriand: I thought the same as you initially, but as pepone says, the framebuffer is in upper memory (both gngeo and uae4all use paeryn's HW accelerated SDL libs), so there should be a performance boost from that. I probably did something stupid. Hey-ho... not giving up yet ;)
 
Last edited by a moderator:
Yes Pepone kindly sent me a patch as well for SquidgeSnes. I did a quick test but could not see any improvement in speed, I thought I had implemented it incorrectly so I was going to investigate. Pepone did say he had had an increase of 10+ fps, so it must be how we have applied the fix.
I'll try to send you a compiled version and a better patch :D
Any chance of seeing the source of your implementation for gngeo, please? I might be able to see what I did wrong then...

Tobriand: I thought the same as you initially, but as pepone says, the framebuffer is in upper memory (both gngeo and uae4all use paeryn's HW accelerated SDL libs), so there should be a performance boost from that. I probably did something stupid. Hey-ho... not giving up yet ;)
The source are here, but it's not the most up to date version (it's not very stable). Look at the gp2x.c file.
http://m.peponas.free.fr/gngeo/download/gn...20060623.tar.gz

I'll try to post the most recent version tonight.
 
Last edited by a moderator:
Ey Critical!!!, are you sure the UAE uses more than 32Mb of RAM?

I dont think it does, maybe it does but.. i dont know when or how....

Remember the Amiga had 1Mb of RAM...
 
Ey Critical!!!, are you sure the UAE uses more than 32Mb of RAM?

I dont think it does, maybe it does but.. i dont know when or how....

Remember the Amiga had 1Mb of RAM...
Er... read my previous post, and those of pepone. Somehow you seem to keep annoying me - maybe I'm just grumpy or something.
 
Last edited by a moderator:
Sorry I didnt read everything properly.:huh: I didnt read the stuff about the frame buffer properly.

It is not that easy reading stuff like this when english is not ur mother tonge...

Good luck with this... I was triying to help... you dont need to say stuff like that, take it easy!
 
:eek:

DrMD Running Sonic 3 before patch = 35 fps
DrMD Running Sonic 3 after patch = 62 fps constant

Squidge I think I love you.....
I'm not releasing this version of DrMD until Squidge receives some serious love in his paypal account...
 
:eek:

DrMD Running Sonic 3 before patch = 35 fps
DrMD Running Sonic 3 after patch = 62 fps constant

Squidge I think I love you.....
I'm not releasing this version of DrMD until Squidge receives some serious love in his paypal account...
Youhou!! that's an improvement!
I guess we know why the gp32 was faster than the gp2x at equivalent cpu speed. no?
 
Last edited by a moderator:
:eek:

DrMD Running Sonic 3 before patch = 35 fps
DrMD Running Sonic 3 after patch = 62 fps constant

Squidge I think I love you.....
I'm not releasing this version of DrMD until Squidge receives some serious love in his paypal account...


Are you shitting me :eek:

If this is true you can really afford to have the sound registers updated more and raster interrupts..as an option of course :p

If this is true you guys SHOULD get a donation. Squidge should definetly. He may not do many emus himself but his hacking has become invaluable as it has helped many become better.
 
Last edited by a moderator:
:eek:
I'm not releasing this version of DrMD until Squidge receives some serious love in his paypal account...

*crosses fingers that Squidge just recieved a nice amount of money at his paypal account*
Too bad I'm still at school, and that I just have bought the GP2X what was pretty expensive. In summer holidays ( two weeks from now on :) ) I'll go working and I think I'll do some extra work too get squidge and some other good gp2x devs some money.

..I can't wait until this thing gets implented into more things.
Isn't it possible to just make a 'GP2X God' level for squidge?

Oh, and good luck to critical, I hope your going to get this implented correctly :)

Cheers, Dave

Edit: If it also helps the framebuffer, couldn't psx4gp2x, squidgesnes and maybe quake2 also profit of this hack?
 
Last edited by a moderator:
Hiya,

I tried to integrate squidge's upper memory speed hack into uae4all last night.

Is it any faster? If not, I've probably screwed up the implementation of it, and I'll have to go and pester squidge ;)

Hi critical,

just had a go with Turrican 2 using different settings but it actually seems slower than in uae4all 0.4.5 and 0.5.1.
I will test a few more games but I guess this needs some more work before the rocket can hit the sky ;)

"SunSpire"
 
Last edited by a moderator:
:eek:

DrMD Running Sonic 3 before patch = 35 fps
DrMD Running Sonic 3 after patch = 62 fps constant

Squidge I think I love you.....
I'm not releasing this version of DrMD until Squidge receives some serious love in his paypal account...

Impressive :eek:
Thank you very much guys.
 
Last edited by a moderator:
I tested a section of Rodland in game, FS0, 200MhZ, sound on. Basically I just let the game progress to a certain point without moving anything.

5.1 = 56 seconds
5.1 with MMU hack = 52 seconds

So it seems to have helped a bit :) Although I only tested it the once. Maybe I should try it again without sound?

OK I did with 250MhZ, no sound.

5.1 = 41 seconds
5.1 with MMU hack = 39 seconds

So there might be some small improvement. Disappointing but things are never easy when the Amiga is concerned eh ;o)

Nice to see progress continues anyway, thanks for the update Critical.
 
Back
Top