Page 1 of 4 1234 LastLast
Results 1 to 10 of 35

Thread: Daedalus R10 Plan of Action - Nintendo 64 Emulator for PSP

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

    psp Daedalus R10 Plan of Action - Nintendo 64 Emulator for PSP

    StrmnNrmn posted some more news on his Nintendo 64 Emulator for the PSP:

    Before I went away on holiday I asked you what you thought I should look at working on for the next release of Daedalus. Over 200 of you replied, and I've greatly enjoyed reading what you've had to say. There were some brilliant suggestions, so many thanks for your contributions.

    It seems pretty clear to me that speed is the single biggest issue that most people want to see addressed. Many people also mentioned compatibility and savestate or save game support, but in nowhere near the same kind of numbers as those wanting speed improvements.

    Based on your feedback my current plan is to release Daedalus R10 at the end of March, focusing mostly on speed improvements. If I can fit in any easy compatibility fixes, I'll do this too*.

    Several people have asked what possibilities remain for optimisation. Here's a short list of things I know need more work:

    In many games, a lot of the time spent executing dynamically recompiled code is doing things which can potentially be emulated at a high level. For instance, over 5% of the time spent executing dynarec code in Mario64 is just converting matrices from floating point to fixed point format. Another 4-5% of the time is spent in a loop invalidating areas of the data cache (which is irrelevent in an emulator.)
    Some of the most expensive fragments are those which branch to themselves (i.e. those doing many loops). I can optimise for this to avoid loading and flushing cached registers on each iteration through the loop.

    I can implement a frameskip option (I had intended to implement this for R9, but forgot!)
    I can make use of the Media Engine (as Exophase suggested in conversation, as the ME can't access VRAM, it might make more sense to execute Audio and Display Lists on the main CPU, and run the N64 CPU emulation on the PSP ME)
    There are certain situations where I fail to create fragments in the dynamic recompiler - for instance if the code being recompiled writes to a hardware register, this triggers an interrupt and causes fragment generation to be aborted. I should be able to deal with situations such as this more gracefully.
    The fragment generator can do a lot more to improve register caching, and eliminating redundant 64-bit operations.
    There are many situations where N64 roms busy wait. I detect very simple occurances of this, but not all of them. If I manually identify more complex examples I can have the fragment generator optimise them away.

    Some roms are causing the dynarec fragment cache to be repeatedly dumped and recreated (I think Banjo Kazooie is one example of this). Fixing this may just involve tweaking a couple of magic numbers.
    I currently optimise memory accesses under the assumption that most accesses are in the range 0x80000000 - 0x80800000, which is incorrect in the case of roms that make heavy use of virtual memory, or access RAM through the mirrored range at 0xa0000000. I can improve the trace recorder to collect information on which range a memory access fell in, and generate code to speculatively optimise for this.
    Now that the dynarec engine is producing much better code, the cost of display list processing is becoming more significant, and may finally be worth profiling and optimising.
    That's quite a big list, so I doubt I'll be able to work on these things before the end of March, but I think it shows there's still a lot of scope for further optimisation.

    -StrmnNrmn

    *Just this morning, I figured out why the Expansion Pak support was broken, so Majora's Mask and a couple of other games relying on this are booting correctly now


  2. #2
    DCEmu Newbie
    Join Date
    Feb 2007
    Posts
    1
    Rep Power
    0

    Smile Great news

    Thats great news. cant wait to till future release:thumbup:

  3. #3

    Default

    Nice. :] I like the focus on speed. Hopefully we'll see some compatibility too.

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

    Default

    Hell yeah!!! Waiting Waiting!

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

    Default

    Thanks for this amazingly detailed update. The fact that StrmnNrmn is or has been talking with Exophase regarding development can only mean great things to come.

    I love hearing the confidence regarding improvements in this update. I am really amazed at how far this has come along.

    I'm definitely for speed improvements first and foremost. As I'd rather play just a few games at great speed as opposed to playing many games at slow or unplayable speeds.

    The idea about the ME sounds wicked if it can be pulled off.

    Thanks for the update and keep up this excellent work. We are all very appreciative.

  6. #6
    DCEmu Pro
    Join Date
    Dec 2005
    Location
    Portugal
    Posts
    505
    Rep Power
    72

    Default

    Ya, canīt wait. always look forward to new releases of this emu. Glad to hear theres still some room left for optimization

  7. #7
    DCEmu Coder IamAbe's Avatar
    Join Date
    Aug 2006
    Location
    Middle of Nowhere, Kansas, USA
    Age
    35
    Posts
    227
    Rep Power
    67

    Default

    Excellent News!! Keep up the great work!!
    Wii Homebrew: Chippy - Chip8 Emulator
    SameGame - Version 1.0

    Homebrew PSP Games: Color Puzzle - Version: r2

  8. #8
    DCEmu Rookie IM back!'s Avatar
    Join Date
    Feb 2007
    Posts
    237
    Rep Power
    66

    Default

    can't wait

  9. #9

    Default

    Yes! Speed definitely, I cant wait for this release!

  10. #10
    LUA Coder mexicansnake's Avatar
    Join Date
    Feb 2006
    Location
    Aguascalientes
    Age
    33
    Posts
    669
    Rep Power
    91

    Default

    Yay!!! I cant wait for super smash brothers!!!!!.


    RIP: Agapito Elber Gudo.
    RIP: Rosa Melano
    Chema! Te lo lavas!
    Have a nice day! lmao

Page 1 of 4 1234 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
  •