Psx4gp2x Dynarec Status Update

Discussion in 'General Talk' started by zodttd, Mar 29, 2007.

  1. zodttd

    zodttd Solving your premature emulation since the Tapwave

    Joined:
    Dec 2, 2005
    Messages:
    1,167
    EDITED April 2, 07:
    You may find the latest work in progress builds at: http://www.spookysoftsite.com/psx4gp2x/

    Hi everyone,

    I recently went back to the old psx4gp2x code and rewrote the dynarec and with Unai's new code plus my new dynarec things are much better. Some games are more compatible now as well.

    Games such as Final Fantasy Tactics are running twice as fast as the fastest interpreter we wrote (which was faster than the old dynarec :p ). For instance, the 3D cathedral scene runs at a steady 20 FPS. This is an actual framerate as we are recording the frametimes.

    Things I did to improve performance:
    - Fixed the clearing of the icache/dcache
    - Went from 8 regs for dynamic caching to 10!
    - Changed the way immediates are loaded, and how branching is done.
    - Redid so much ugly code it's hard to explain. :p

    Though I made this dynarec very basic it is functional and I can build with it. I still have a lot of work to do on it. I am actually working on it right now even. Unai and Exophase have been a great help!

    I am about to add performance to games using 3D routines in the GTE. I also have a lot of other tricks and tweaks to do so I'll update as much as possible. Some hard to run games such as Wipeout XL and Wipeout 1 run at 12 to 15 FPS in-game. And Tactics Ogre runs at more than 40 FPS though I didnt test long enough to get through the annoying long intro scene. But it's still about twice as fast. :p

    So good stuff. I'll test FF7 next since I know thats what I'll get asked for. :)
     
    Tags:
  2. Vimacs

    Vimacs Don't be evil!

    Joined:
    Oct 23, 2003
    Messages:
    5,211
    Location:
    Germany
    wah, great news you have there :)
    I wish you luck, and have fun :)
     
  3. washo

    washo Washo 4 evr

    Joined:
    Oct 3, 2003
    Messages:
    1,126
    Location:
    France (Marseille)
    OMFG
    wonderful...
    GG

    see you :lol:
     
  4. daclassicgamingmaster

    daclassicgamingmaster It Is Your Birthday.

    Joined:
    Aug 31, 2005
    Messages:
    8,168
    Location:
    ATL
    So random!

    Still quite awesome. Yay Zod!
     
  5. zodttd

    zodttd Solving your premature emulation since the Tapwave

    Joined:
    Dec 2, 2005
    Messages:
    1,167
    Yeah it's pretty random. But I have some future plans for psx4all if Unai is interested. Either way psx4gp2x has some meaning to it. I will be working on the dynarec some more and seeing how much faster I can make it until Exophase gains enough interest. :p
     
  6. nubie

    nubie Recovering Jerk-A-Holic

    Joined:
    Oct 19, 2005
    Messages:
    2,749
    Location:
    USA California
    :eek: :eek: :eek: What!?! Ok, do that, looking forward to seeing something come of it.

    Thanks :)
     
  7. Jaguarandine

    Jaguarandine Member

    Joined:
    Jun 14, 2006
    Messages:
    245
    Nice ZodTTD, you've done it again! Also, thanks to Unai for sticking with it ! :)
     
  8. dabarratt

    dabarratt Still Fresh

    Joined:
    Mar 13, 2007
    Messages:
    7
    but wait..... hasn't someone said that this is.......impossible? :p
     
  9. DemonStar55

    DemonStar55 chai chai chai chai chai chai chai chai chai chai

    Joined:
    Nov 24, 2003
    Messages:
    1,889
    Location:
    Wrentham, MA
    ZodTTD, making the impossible possible

    (the the help of many others too, can't forget them)
     
    Last edited by a moderator: Feb 5, 2016
  10. slaanesh

    slaanesh Certified Guru

    Joined:
    Nov 9, 2005
    Messages:
    1,978
    Location:
    Melbourne, Australia
    If you release a new version you might consider renaming it from psx4gp2x to gpsx.

    There's too many 'p's, 'x's and numbers. Just a suggestion. Totally feel free to ignore.

    Just that 'gpsx' has a nice simple name and sort fits nicely with 'gpsp' for the GBA.

    What do you think?
     
  11. vaiovann

    vaiovann Still Fresh

    Joined:
    Jan 5, 2007
    Messages:
    32
    A significant job at the least is before you ZodTTD, good luck to you. Considering your stellar work on Gpsp and all manner "impossibilities", I have hope you may yet break the "Playstation barrier". Though I do have concerns on how some games will actually play, due to the lack of two analog sticks.
     
  12. GameGod

    GameGod Still Fresh

    Joined:
    Nov 26, 2006
    Messages:
    89
    A donation will probably be in order from myself when you get this up and running. :)
     
  13. DaveC

    DaveC Internal Development

    Joined:
    Mar 4, 2004
    Messages:
    9,208
    Depends on what you mean by "impossible".

    If you mean 60 FPS, full speed with sound then it IS impossible.

    If you mean 20 FPS and kind of slow on 3D stuff, then it is possible.

    You saw how hard it is for the GP2X hardware to run GBA even though they have the same ARM CPU. You need *alot* of overclock (260 MHz or more) to get it smooth with clean sound.

    GBA is less then half the speed of a PSX, The PSX has a different and more powerful CPU (mips) then the GBA ARM, more memory, geometry transform engine, double the resolution of the GBA. With that in mind you can see that the Gp2X hardware is not quite up to spec for full speed PSX. I mean the Gp2X can't even do PSX quality 3D *natively* let alone emulated. The closest is payback but that is a fixed camera so you get away with more.

    It may be good enough to run some 2D stuff and RPGs at a playable rate on the Gp2X if you don't mind a bit of frameskip and overclock.
     
    Last edited by a moderator: Feb 5, 2016
  14. purple_goat

    purple_goat Very Active Member

    Joined:
    Sep 14, 2006
    Messages:
    1,482
    Location:
    USA
    :blink: your amazing!! how do you do these things and others can't?
    (not that you should but I bet you could get chancast on psp :lol: )
     
  15. Blah

    Blah Wanna Be Programmer

    Joined:
    Dec 18, 2003
    Messages:
    3,253
    Location:
    Oregon, USA
    Yeah it should be GpBA and gPSX (ParkStation?).

    Anyway I think you once said something about using GPU940, any news?
     
  16. gaterooze

    gaterooze Coltrane Sundia

    Joined:
    Aug 7, 2004
    Messages:
    2,723
    Payback isn't PSX quality? Could've fooled me...

    Great progress Zodttd :D
     
    Last edited by a moderator: Feb 5, 2016
  17. J201605

    J201605 Member

    Joined:
    Aug 18, 2006
    Messages:
    782
    zodttd: this is awesome. One question I have is whether or not certain games could be singled out and ultra optimized. Like say ridge racer and ff7. Would working specifically on a select few games allow you to achieve a higher speed then you could just making a general emulator?
     
  18. Blah

    Blah Wanna Be Programmer

    Joined:
    Dec 18, 2003
    Messages:
    3,253
    Location:
    Oregon, USA
    DaveC is not a coder.
     
  19. Playdough

    Playdough Still Fresh

    Joined:
    Jan 7, 2007
    Messages:
    61
    Once again, this is amazing, and I'm sure we're all behind you.
    PSX was a console I really liked so a playable emulator is most probably something I would donate for.
    It would be great to see it if only to humble the nay sayers just a bit :p .

    PS I'm always one of those bursting with excitement about you testing FF7.
     
  20. shinneri

    shinneri Certified Guru

    Joined:
    Sep 10, 2004
    Messages:
    2,393
    Location:
    Middle of Nowhere, USA
    You seem to have confused the words "hasn't" and "can't." Clearly if I'm running a PSX game (regardless of speed) on the GP2X, it's capable of that sort of 3D. And anyway, the 3D walkaround thing in Theme Park was literally full speed on the last version of psx4gp2x. :rolleyes:

    Anyway, good luck to you, Zod. If you succeed, I shall never touch my PSP again. :p
     
    Last edited by a moderator: Feb 5, 2016

Share This Page

Loading...