Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Daedalus Dynarec Fixes

                  
   
  1. #1
    DCEmu Old Pro Wally's Avatar
    Join Date
    Oct 2005
    Posts
    1,170
    Rep Power
    77

    Default Daedalus Dynarec Fixes

    Dynarec Fixes

    In the previous update I mentioned that the dynarec wasn't working with Goldeneye:

    ...I can still only get the rom running with dynarec disabled on the PSP, so the framerate is currently just 6-7 fps. Interestingly it runs fine with dynarec on the PC with the same set of changes, so this indicates a bug somewhere in the PSP dynarec implementation.



    I've spent a couple of evenings investigating this problem, and I've finally had a bit of luck in determining the root cause. As I suspected it was due to a bug in the PSP dynarec implementation - it turns out that I was fiddling addresses to compensate for the different endianness of the PSP twice (essentially having the same effect as not compensating in the first place).

    The fix was very easy to implement (just a single line of code). It's quite a significant bug, so I'm hoping that it will fix dynarec issues with a few other roms too. Unfortunately it looks like the bug which is preventing dynarec working with Super Smash Bros. is a different issue, so I'll have to spend some more time investigating that.

    I'm pleased to say that Goldeneye is now running fine with dynarec, so it now boots and runs the intro sequence very quickly. Although the intro and menu run at around 30-60fps, in-game is still very slow (around 5-8fps) so I need to profile this and see what's going on.

    As I've hinted above, the next job is to have a look why dynarec is causing Super Smash Bros to hang. A cursory look revealed that it's still broken even when I disable most of the native code generation and directly call the interpretive instruction handlers from the compiled fragment. Because of this I think the problem has something to do with how traces are selected and the resulting fragments are linked together. I'll know more later in the week.

    -StrmnNrmn

    Source: http://strmnNrmn.blogspot.com

  2. #2
    DCEmu Rookie mfz64's Avatar
    Join Date
    Jul 2006
    Posts
    116
    Rep Power
    67

    Default

    sounds to me that R12 is coming on pretty nicely

  3. #3
    DCEmu Rookie
    Join Date
    Jul 2006
    Posts
    111
    Rep Power
    67

    Default

    awesome its slowly getting the bugs out is the first order business

  4. #4
    The Gaming Wolf wolfpack's Avatar
    Join Date
    Jan 2006
    Location
    at my house?
    Age
    35
    Posts
    1,155
    Rep Power
    0

    Default

    hell yea! go goldeneye!

  5. #5

    Default

    Yeah I think R12 is going to be an AMAZING release, having the SSB, Goldeneye, and possibly others issues fixed is great!

  6. #6
    DCEmu Legend ICE's Avatar
    Join Date
    Aug 2006
    Age
    35
    Posts
    3,697
    Blog Entries
    6
    Rep Power
    109

    Default

    smash was nearly playable without dynarec so when he gets its running.... YAY!!

  7. #7
    DCEmu Legend Buddy4point0's Avatar
    Join Date
    May 2006
    Location
    The Lounge Awesomeness: 1337
    Age
    32
    Posts
    4,026
    Rep Power
    137

    Default

    sweet! i wonder if when u fix the dyneric for ssb it will speed up golden eye.

  8. #8
    DCEmu Legend DarthPaul's Avatar
    Join Date
    Apr 2006
    Location
    Puerto Rico
    Age
    34
    Posts
    2,734
    Rep Power
    88

    Default

    Hell yeah!

  9. #9
    DCEmu Pro PLZKLLME0080's Avatar
    Join Date
    Sep 2006
    Location
    Midgar
    Age
    32
    Posts
    704
    Rep Power
    100

    Default

    AAAAAAAAHHHHHHHHHH! now im gonna have to take some ADHD pills to calm me down!

  10. #10
    DCEmu Legend
    Join Date
    Sep 2006
    Location
    USA
    Posts
    2,152
    Rep Power
    76

    psp

    Quote Originally Posted by Heero808 View Post
    awesome its slowly getting the bugs out is the first order business
    Yeah, its nice to see a good balance between performance & compatibility as well as eliminating bugs.

    I'll say it once more. Every release lately gets more and more exciting. This guy is one brilliant coder.

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •