Jump to content


Photo

Pandora-psp


  • Please log in to reply
289 replies to this topic

#16 Butterman

Butterman

    Gief Pandara

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 776 posts
  • Gender:Male
  • Location:London
  • Interests:=

Posted 29 March 2009 - 01:58 PM

Actually, I know a guy who developed a game a while back for the PSP. Sony used some kind of wrapper/emulator in their SDK to aid development.

I''ll see if I can hit him up.

#17 PoisonedV

PoisonedV

    Yeah, I'm a GIRL gamer, what of it?

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2601 posts
  • Gender:Female
  • Interests:Retro gaming, cute boys

Posted 29 March 2009 - 02:01 PM

Oh my god, the pandora has the coolest devs

#18 hells_dark

hells_dark

    ★★★

  • GP32 Hardcore
  • PipPipPipPipPip
  • 449 posts
  • Gender:Male
  • Location:France
  • Interests:Linux , opensource

Posted 29 March 2009 - 02:02 PM

+watch wink.gif

#19 JayFoxRox

JayFoxRox

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 684 posts
  • Gender:Male
  • Location:Hanover, Germany

Posted 29 March 2009 - 02:03 PM

Butterman: You don''t have to. It wouldn''t help me at all and I m not interested in the offical SDK. The PSPSDK is great and there is a great community behind it.

What I m saying is that mentioning numbers is wrong.
There are some games where the PSP sits almost idle. Also the looks of the graphics don''''t have much to do with the usage of the PSPs hardware.
One of the huge goals for me is to get PSP Revolution working. Another thing I would like to see is suicide barbie by TBL. And if we are talking about commercial games: For now I m working on puzzle bobble because its very small, it has the debug symbols (I still have to write a loader for that) and its not too complex graphical and audio wise (Don''''t expect atrac3 anytime soon neither - The only hope I have so far is running an original prx, but they might be crypted). But once pb is done I will look into GTA because I have worked with that on the PSP already (Model loader, texture loader, trainer, ...) or possibly Flatout and Outrun because I debugged them before and know how they get some things on the screen. But seeing how these game come with an intro movie thats going to be a real challenge.
I just found the problem in the crt0 btw and the cube sample gets to the GE / GU calls already - I only have to map the NIDs to my library. If anyone wants to help with this feel free to contact me, its a simple job, even for non-programmers, its just booring copy / paste.

Edited by JayFoxRox, 29 March 2009 - 02:04 PM.


#20 LastPucho

LastPucho

    GP32 User

  • Members
  • PipPipPip
  • 55 posts
  • Gender:Male

Posted 29 March 2009 - 02:04 PM

QUOTE('borgqueenx' @ 'Mar 29 2009, 08:53 AM)

if there is no psp emulator for a pc...


Yep, there is one, and it is written in Java!

CODE
http://www.jpcsp.org/


Currently, it runs only Puzzle Bobble Pocket , but it is a nice start.

#21 Chip

Chip

    [Insert Custom Title Here]

  • X-treme Team
  • 3024 posts
  • Location:NJ, USA

Posted 29 March 2009 - 02:09 PM

QUOTE('borgqueenx' @ 'Mar 29 2009, 09:53 AM)
if no one made it for the pc, i think its impossible.
The fact that there is no PSP emulator on the PC doesn''t mean it''s impossible, it just means nobody has done it yet. JayFox is writing this from scratch, so what does or doesn''t already exist isn''t really relavant.

#22 Tripmonkey_uk

Tripmonkey_uk

    Sorry, but I suck at explaining stuff :P

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1998 posts
  • Gender:Male
  • Location:The cesspit of the world, Bradford U.K
  • Interests:All of the above!

Posted 29 March 2009 - 02:40 PM

Interesting project, good luck and nice work so far smile.gif

#23 sdedalus

sdedalus

    GP32 User

  • Members
  • PipPipPip
  • 67 posts

Posted 29 March 2009 - 02:58 PM

Awesome work. Are you planning to complete an x86 version, or just using your PC for testing? It sounds like your already further along with an x86 version than just about anyone.

#24 JayFoxRox

JayFoxRox

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 684 posts
  • Gender:Male
  • Location:Hanover, Germany

Posted 29 March 2009 - 03:12 PM

No, this was designed to be a PSP Emulator for the Pandora. It was always designed with that aspect in the back of my head. Whenever possible I used APIs which can be used on the PSP and I contacted ED a few weeks ago to ask for more details but he couldn''t really tell me more neither. But so far it looks like I don''t have to do any API change in the future. OpenGL was only used in the beginning when I had trouble with the memory exploit I use to simulate the cached memory (IPC - as I said before) and the PowerVR emulator. However, I then upgraded to the Feb 9th (or 10th?) version of the emulator and it works fine with OpenGL ES 2.0. The major changes I had to do have to do with blending (which is completly done in a huge shader now) and textures (because OpenGL doesn''t allow 5551 but only 1555).
Also this is not the only emulator for the PSP or anything. There are other emulators for x86 which are stable already:

http://code.google.com/p/pspplayer/
http://code.google.com/p/jpcsp/
http://code.google.com/p/mfzpsp/
http://code.google.com/p/emu-sam/
http://www.soywiz.com/d/pspemulator/

There are even more than that. The best so far is probably pspplayer as its having a dynarec (in a 3rd revision already I think) and it plays some commercial games with almost no problems. The biggest feature missing from pspplayer is the 3D Part of the GU and its written in C# - which can be a positive thing, but it makes porting a pain and the C# framework doesn''t work on my PC.
Oh and I m having the emulator running in the background right now: It gets through the crt0 and sits in the main idle loop of /gu/cube/EBOOT.PBP
The only thing missing seem to be 4 float instructions and 5 System Calls - A matter of hours and most GU Samples should work using the emulator.

#25 Mithrildor

Mithrildor

    I Haz Custom Title

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1335 posts
  • Location:Nijmegen, The Netherlands

Posted 29 March 2009 - 03:14 PM

QUOTE('borgqueenx' @ 'Mar 29 2009, 03:53 PM)

if there is no psp emulator for a pc( usally 2.ghz and 4gb of ram and goes on) i dont think there will be a full speed psp emulator for the pandora.
I just dont believe it. But i would be very happy if someone could prove me wrong. if its going into the right direction(10fps in some psp games) i would even donate the programmer of the emulator to support him, and to make it better \:\)

A psp emulator for the pandora, and not available for the pc, that would be awesome...but again...if no one made it for the pc, i think its impossible.

Sorry if it sounds like bullshit in your ears...


The emulating is different and easier because there is more the same between the Omap and the PSP chip than between x86 and the PSP chip. That means less emulating and so it runs faster and requires less.

#26 borgqueenx

borgqueenx

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1854 posts
  • Location:The Netherlands, Overijssel
  • Interests:Pandora, what else? :D

Posted 29 March 2009 - 03:26 PM

QUOTE('Mithrildor' @ 'Mar 29 2009, 04:14 PM)

QUOTE('''borgqueenx''' @ ')

if there is no psp emulator for a pc( usally 2.ghz and 4gb of ram and goes on) i dont think there will be a full speed psp emulator for the pandora.
I just dont believe it. But i would be very happy if someone could prove me wrong. if its going into the right direction(10fps in some psp games) i would even donate the programmer of the emulator to support him, and to make it better \:\)

A psp emulator for the pandora, and not available for the pc, that would be awesome...but again...if no one made it for the pc, i think its impossible.

Sorry if it sounds like bullshit in your ears...


The emulating is different and easier because there is more the same between the Omap and the PSP chip than between x86 and the PSP chip. That means less emulating and so it runs faster and requires less.

sounds cool smile.gif im not an expert into coding and didnt know anythign about that. now i know this, i changed my opinion from impossible, to maby.

#27 Bramrash

Bramrash

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 326 posts

Posted 29 March 2009 - 03:32 PM

"sounds cool smile.gif im not an expert into coding and didnt know anythign
about that. now i know this, i changed my opinion from impossible, to maby."

...Good to know I guess....


This is really interesting stuff mate, you''re a brave guy attempting this, I hope you get it to the standard that you want. Keep us posted.

#28 borgqueenx

borgqueenx

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1854 posts
  • Location:The Netherlands, Overijssel
  • Interests:Pandora, what else? :D

Posted 29 March 2009 - 03:33 PM

QUOTE('Bramrash' @ 'Mar 29 2009, 04:32 PM)

"sounds cool smile.gif im not an expert into coding and didnt know anythign
about that. now i know this, i changed my opinion from impossible, to maby."

...Good to know I guess....


This is really interesting stuff mate, you''''re a brave guy attempting this, I hope you get it to the standard that you want. Keep us posted.

maby use a other quote tongue.gif i think you quoted the wrong person tongue.gif

#29 sindbad

sindbad

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1084 posts

Posted 29 March 2009 - 03:39 PM

QUOTE('JayFoxRox' @ 'Mar 29 2009, 05:12 PM)
the C# framework doesn''''t work on my PC.
Have you tried Mono?

#30 truekaiser

truekaiser

    GP32 User

  • Members
  • PipPipPip
  • 97 posts

Posted 29 March 2009 - 04:49 PM

QUOTE(Chip @ Mar 29 2009, 08:09 AM) View Post
QUOTE('borgqueenx' @ 'Mar 29 2009, 09:53 AM)
if no one made it for the pc, i think its impossible.
The fact that there is no PSP emulator on the PC doesn''t mean it''s impossible, it just means nobody has done it yet. JayFox is writing this from scratch, so what does or doesn''t already exist isn''t really relavant.


correct. not to mention the overhead for the pandora emulator vs the normal pc one will be less since it's risc on risc instead of emulating risc on a x86 cisc