GP2X Sdl Emulator Porting


icurafu

The Hallucinogenic Elf
Joined
Sep 28, 2005
Messages
2,078
Location
Sydney, Australia
Website
gamesreborn.blogspot.com
OK,

Here is my list of ports I want to knock over this weekend.

I have chosen these because they are for slow consoles, and I hope to get them running fast on the GP2X with just a basic port.

The List:
- Bliss (Intellivision)
- FCE Ultra (NES) *which ever one uses the least CPU utilisation on my PC.*
- gnuboy (Game Boy)
- OSmose (SMS GG)
- Stella or z26 (Atari 2600)
- Neo Pocott (Neo Pocket)
- ColEm (ColecoVision) (Not this weekend)

None of these are listed on the WIP in the wiki. So if anyone wants to help me, or give any (constructive) suggestions. Please feel free. I have not played all of these emulators, so I will be checking their utilisation and memory usage on my PC to determine what to emulate next.

I dont have a GP2x, so I will just be running them on my PC at QVGA and sort out the compiler issues when the SDK is released.

If someone has a link to the prerelease SDK, that would be appriciated.
 
Just wanted to say how impressed I am that you're attempting to port BLISS!!
 
The Atari 2600 is a slow macihne, but generally needs a beefy machine to emulate quickly ;) Still, should be a cakewalk.

/me waits for his gp2x :)

jeff
 
Wow, I'm really impressed! This is exactly what we need. If you port these you'll be doing the community a huge favor :)
 
Cool :)

Do you think you could add the Colecovision emulator ColEm to your list? It's listed on the dev wiki but only because I added it earlier. I just love that old console...Crushes Atari 2600 and Intellivision in game play any day ;)

I was going to attempt a port myself sometime in the future but alas my skills in c are sorely lacking. I'm working on learning but it will be along while before I have enough undestanding to port emulators.
 
Cool :)

Do you think you could add the Colecovision emulator ColEm to your list? It's listed on the dev wiki but only because I added it earlier. I just love that old console...Crushes Atari 2600 and Intellivision in game play any day ;)

I was going to attempt a port myself sometime in the future but alas my skills in c are sorely lacking. I'm working on learning but it will be along while before I have enough undestanding to port emulators.

I'm having trouble getting the souce for ColEm. All see which is easiest to port.

Edit: Got it...

Edit: Looks like it would be a difficult port. It wont be done this weekend anyway. ^__^
 
Last edited by a moderator:
I can port Colem .. take all of an hour to do a basic job. (I ported it to Palm OS in an hour, and Palm OS is hostile.)

Stella is easy to port.. but generally not too fast ;) (ie: It runs very poorly below 200MHz, so 200MHz might be okay, but likely be a little sluggish.)

jeff
 
I can port Colem .. take all of an hour to do a basic job. (I ported it to Palm OS in an hour, and Palm OS is hostile.)

Stella is easy to port.. but generally not too fast ;) (ie: It runs very poorly below 200MHz, so 200MHz might be okay, but likely be a little sluggish.)

jeff

Yes, please!! That would be awesome :)
 
Last edited by a moderator:
I can port Colem .. take all of an hour to do a basic job. (I ported it to Palm OS in an hour, and Palm OS is hostile.)

Stella is easy to port.. but generally not too fast ;) (ie: It runs very poorly below 200MHz, so 200MHz might be okay, but likely be a little sluggish.)

jeff

Yes, please!! That would be awesome :)

That'll be sweet if you could do that skeezix. feel free to attempt any of the others. :)

And after look at the code for stella, it looks easy. It'll be a good first port. It took less then 9MB of ram, even after loading a few hundred roms. And I never noticed CPU utilisation go up other then when it was loading the roms. So I'm hopig it runs at 30fps on a GP2X.
 
Last edited by a moderator:
I'm amazed this is happening so fast, tbh... given another 2 months and the 2x will have caught up with the GP32, with a few notable exceptions.

Those, of course, will take a while, I suspect somehow, but hey :). Compared to the GP32 2 days after the normal units were shipped... I suspect there's a tadge more ;).

Just a request: Please try to keep the battery life up by cutting CPU speed to the minimum required for each emu once you've got a port that at least runs... I'm still cringing at the 2-3 hours on 2500mAh battery figure, but that is for both cores at 200MHz, after all.

Not, of course, that I'm suggesting you go in for the same kind of full scale optimization that the GP32 ports needed (nothing like), but if its possible to avoid a 3 hours battery life on SMS/GG by leaving an option of 100MHz with FS1 or 2 instead of 200MHz and 60fps, I'd be most grateful. Another 4 hours of gameplay or whatever is well worth a little bit of stutter lol.
 
I'm amazed this is happening so fast, tbh... given another 2 months and the 2x will have caught up with the GP32, with a few notable exceptions.

Those, of course, will take a while, I suspect somehow, but hey :). Compared to the GP32 2 days after the normal units were shipped... I suspect there's a tadge more ;).

Just a request: Please try to keep the battery life up by cutting CPU speed to the minimum required for each emu once you've got a port that at least runs... I'm still cringing at the 2-3 hours on 2500mAh battery figure, but that is for both cores at 200MHz, after all.

Not, of course, that I'm suggesting you go in for the same kind of full scale optimization that the GP32 ports needed (nothing like), but if its possible to avoid a 3 hours battery life on SMS/GG by leaving an option of 100MHz with FS1 or 2 instead of 200MHz and 60fps, I'd be most grateful. Another 4 hours of gameplay or whatever is well worth a little bit of stutter lol.

The ports I'm planning are for rather old systems. So the inefficent way in which they are ported can make up for the slack that is available.

I'm hoping that eventaully someone comes along and ports all these emus with optimisations and all so that we can underclock the system a lot.
 
Last edited by a moderator:
I'm starting with Stella. It looks easy enough actually.

The problem will always be resizing the screen to 320x240.
I think the gp2x has automatic scaling so that you couldoutput any resolution and itll be scaled in hardware to 320x240

But im not sure about this. Can anyone confirm this?
 
Last edited by a moderator:
I'm starting with Stella.  It looks easy enough actually.

The problem will always be resizing the screen to 320x240.
I think the gp2x has automatic scaling so that you couldoutput any resolution and itll be scaled in hardware to 320x240

But im not sure about this. Can anyone confirm this?

I read that this is supported in hardware. But I imagine if I open a SDL pane at 300x200, it will not automatically scretch. (I'd be happy if it did, but the SNES emu does not do that.)
 
Last edited by a moderator:
I can port Colem .. take all of an hour to do a basic job. (I ported it to Palm OS in an hour, and Palm OS is hostile.)

Stella is easy to port.. but generally not too fast ;) (ie: It runs very poorly below 200MHz, so 200MHz might be okay, but likely be a little sluggish.)

jeff

Have I told you lately that I love you? ;)
Seriously, though...thanx for this, the Colecovision is the first videogame system I ever played...we had the Atari 2600 add-on for it and around 50 games... The colecovision is probably one of my favorite systems. Thanx a ton! :D
 
Last edited by a moderator:
Back
Top