• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 102 103 104 105 106 ... 116 Next »

DSP Plugin and Zelda Ucode
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
DSP Plugin and Zelda Ucode
10-03-2009, 01:53 AM
#1
Xtreme2damax Offline
New & Improved
********
Global Moderators
Posts: 3,135
Threads: 91
Joined: Mar 2009
When someone gets around to it, I'm quite interested to learn how the following RE and fixes will be implemented into the DSP_HLE plugin for reference:

http://code.google.com/p/dolphin-emu/source/detail?r=4350

I just want to learn how this will be implemented in code form, since I'm trying to learn all this stuff myself. I would someday like to contribute to development once I start learning how to code, the DSP emulation and graphics emulation are my main interests.
Find
Reply
10-03-2009, 02:45 AM
#2
nosound97 Offline
Cheetahmen on the N64 D:
*******
Posts: 3,552
Threads: 107
Joined: Mar 2009
http://code.google.com/p/dolphin-emu/source/diff?spec=svn4350&r=4350&format=side&path=/trunk/docs/DSP/DSP_UC_Zelda.txt

See what's highlighted in red Tongue
[Image: 1147431.png]
YouTube channel | Xfire
Find
Reply
10-03-2009, 03:56 AM
#3
Xtreme2damax Offline
New & Improved
********
Global Moderators
Posts: 3,135
Threads: 91
Joined: Mar 2009
I've already read that, I'm just interested in how it will be implemented into the DSP plugin in code form. I'm a coding newbie/noob so this information can potentially help me when I start to learn coding and are able to contribute to developement.
Find
Reply
10-03-2009, 04:06 AM
#4
nosound97 Offline
Cheetahmen on the N64 D:
*******
Posts: 3,552
Threads: 107
Joined: Mar 2009
File is in DSP group, so it's probably supposed to add those changes to both HLE and LLE (correct me if I'm wrong)
[Image: 1147431.png]
YouTube channel | Xfire
Find
Reply
10-04-2009, 03:49 AM
#5
sl1nk3 Offline
Dolphin Dev
**********
Developers (Some Administrators and Super Moderators)
Posts: 104
Threads: 0
Joined: Apr 2009
Well, this assembly code is kinda understood and "translated" into pseudo code/C code so we can know what it does more easily, this isn't an easy task, you'd have to guess what those opcodes do and get it right with all the not fully known registers etc.

Once it's done (or at least parts of it are done) we can then use that in the DSP HLE plugin (it won't help the LLE plugin), in that DSP HLE plugin, we take a high level approach, that is to say we basically emulate this µcode by completely rewriting it (sort of) in C++ based on what we reversed in order to "mimic" the real thing, for example the code that LordMark reversed in this commit greatly helps the understanding of the AFC looping code, so we know what it tries to do and can then use it in the plugin.
As for DSP LLE, it's a completely different thing, we do not emulate this µcode but the DSP Chip (and so all the µcodes at the same time) however LLEing is somewhat harder (and also much slower) as we have to understand what all those opcodes do and call them all one after the other instead of just running the "already translated code"...

I hope you get the general picture of why this kind of REing is really important and actually needed for the emulation to go forward now Smile
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode