Page 1 of 5 12345 LastLast
Results 1 to 10 of 42

Thread: Daedalus WIP News (N64 Emu)

                  
   
  1. #1
    Won Hung Lo wraggster's Avatar
    Join Date
    Apr 2003
    Location
    Nottingham, England
    Age
    52
    Posts
    139,576
    Blog Entries
    3209
    Rep Power
    50

    psp Daedalus WIP News (N64 Emu)

    StrmnNrmn posted this update about his N64 emu for PSP:

    Just a quick update on the dynarec status, as I know a lot of people are more interested in this than the grizly details of branch delay instructions

    Last weekend (13/14 May) I managed to assemble the fragment buffers into native x86 code, and execute this dynamically. I spent some time debating whether to target MIPS or Intel initially, but I decided that it would be a lot easier for me to debug the code generation on the PC than it would be to debug code gen on the PSP.

    In the end I'm glad I started with the PC as it allowed me to fix a number of hairy problems without going down the torturous path of debugging self modifying code on the PSP with just a few printf() statements to help track down any problems.

    With this version of the dynarec, 200KB of N64 code was now generating just 2MB of x86 assembly (i.e. an expansion ratio of around 1000%). The PC version was running around 60% faster with dynarec enabled than with it disabled, which is a pretty significant speedup (although this is still very early in the process).

    What's also important is that this is before I've done any real optimisation of the generated code. For each instruction I'm still calling the generic instruction handler which has the overhead of figuring out which source registers to use, which register is the destination etc. The *real* speedup comes from generating code to handle op codes explicitly, as you remove all this decoding overhead along with the overhead of jumping to another function. Once you've removed most of the generic instruction handling you can start looking at caching register values to minimise the amount of memory that's being moved around.

    With the PC version up and running fairly successfully, I've spent this weekend getting the PSP code generation working. I don't want to go into too many details (as I want to go into more depth in future posts), but I know people are keen to hear some news about how this is going.

    I got the basic code generation working on Saturday morning (thankfully I'd already resolved most of the tricky issues in developing the x86 version the previous weekend). I spent most of Saturday afternoon fixing some really horrible instruction cache related bugs. I'm still not 100% sure I've fixed them, but it seems very stable at the moment. At the moment I'm at the same stage with the PSP version of the dynarec that I was with the PC version last weekend - the code generation is running fine (and executing on the PSP without crashing more importantly but I've only just started looking at optimising things. It's still too early to speculate on numbers for the performance improvement it will give. Currently it's running around 10% faster with dynarec enabled, but it's still very early days.

    More soon.

    -StrmnNrmn

  2. #2
    DCEmu Regular Sharkey's Avatar
    Join Date
    Aug 2005
    Posts
    261
    Rep Power
    70

    Default

    Nice, we were all wondering what was happening.
    Good to hear there is work still going on, maybe it will stifle the whiners.
    Thanks for the update.

  3. #3

    Default

    wow keep up the great work man cant wait on the next release man good to hear you still working hard on it..

  4. #4

  5. #5
    PSP Flash Coder Shilo's Avatar
    Join Date
    Mar 2006
    Location
    Toad Town
    Age
    33
    Posts
    817
    Rep Power
    70

    Default

    10% faster That is a big imporvment Thanks for the update StrmnNrmn!!!!!!!!!

    It takes thousands of nuts to hold a car together, but it takes only one to shatter it across the highway

    Duct Tape is like the force. It has a light and dark side, and it holds the world together

    Click here to play my other Flash games and movies!

  6. #6
    DCEmu Regular Jonesyxxiv's Avatar
    Join Date
    Mar 2006
    Posts
    276
    Rep Power
    68

    Default

    This is Awesome! I was just using Daedalus and wondering when a new version would be released or some news. I cant wait for the next release.

  7. #7
    DCEmu Pro sroon's Avatar
    Join Date
    Nov 2005
    Location
    Hyrule
    Age
    34
    Posts
    726
    Rep Power
    74

    Default

    First of all this is fantastic 10 pecent faster(mario was going about 4-7fps i think and now it should go at about maybe 15-22.
    also guys good things come to those who wayt. aka maybe we could not ask so much about when its gona come out. (.)(.)

  8. #8
    PSP User Emeriastone's Avatar
    Join Date
    Feb 2006
    Location
    MO, USA
    Posts
    612
    Rep Power
    69

    Default

    Always good to hear

  9. #9
    DCEmu Old Pro SSaxdude's Avatar
    Join Date
    Dec 2005
    Location
    Suburbia, IL
    Posts
    1,928
    Rep Power
    79

    Default

    Keep up the great work. Someday it might be full speed.

  10. #10
    PSP Flash Coder Shilo's Avatar
    Join Date
    Mar 2006
    Location
    Toad Town
    Age
    33
    Posts
    817
    Rep Power
    70

    Default

    Posted by SSaxdude:
    Keep up the great work. Someday it might be full speed.
    And I think it will be sooner than we think

    It takes thousands of nuts to hold a car together, but it takes only one to shatter it across the highway

    Duct Tape is like the force. It has a light and dark side, and it holds the world together

    Click here to play my other Flash games and movies!

Page 1 of 5 12345 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
  •