summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2013-08-22Remove outdated documentation filesPierre Bourdon
2013-03-17Remove an obsolete documentation filePierre Bourdon
2013-03-16Ship by default a free DSP ROM that can handle most games with LLEPierre Bourdon
At the end of July 2011, LM published a free DSP ROM that works with games using the Zelda UCode. His ROM only has the code to handle UCode loading and a few utility functions, the rest is missing. This includes the four large sound mixing functions used by the AX UCode and the DROM containing coefficients used for polyphase resampling in AX. This is an improved, updated version of this ROM, which changes the following: - We now have a free DROM that works for polyphase resampling by "emulating" linear interpolation. The coefficients contained in the DROM are normally a list of { c1, c2, c3, c4 } which are used to interpolate a sample value from four previous samples: out_sample = prev1 * c1 + prev2 * c2 + prev3 * c3 + prev4 * c4 The coefficients are chosen depending on the fractional part of the current position (basically, our position between the previous and the next sample). We can use this fact to generate (c1, c2, c3, c4) for each possible fractional part so that: out_sample = prev3 * curr_pos + prev4 * (1 - curr_pos) Which is the formula for linear interpolation between prev3 and prev4. Linear interpolation is not as good as polyphase resampling but it still works very well and I couldn't really hear any difference between the two. If someone wants to generate real polyphase filter coefficients, they are welcome to submit a patch. - The IROM now contains the 4 mixing functions used by the AX UCode: mix_add, mix_add_two, mix_add_ramp, mix_add_ramp_two. They are large, inlined functions (probably for performance reasons) in the official DSP IROM, our version prefers to use a loop. This *should* be more performant with our DSP JIT implementation, but I did not benchmark that. Because the new DSP ROM is working just as well as the official ROM in 95% of cases, it is now shipped by default with Dolphin and will be used with DSPLLE if you don't have an official DSP ROM in User/GC. It will still display a panic alert at every boot to notice you that you are using a non official DSP ROM made by us, which is not perfect. Games using the CARD, IPL or GBA UCodes are still broken. I don't know what games this actually impacts, but this is a very small proportion compared to what works.
2011-07-31legal minimal dsp irom replacement, good enough for zelda ucode games only ↵Marko Pusljar
(useful for gc/wii owners, who are unable to dump their irom and would like to use dolphin DSPLLE) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7689 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-11drop vs2008 projects in favor of vs2010Shawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7129 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-08-05dsp stuff - the same ucode hash under lle and hle now (had to rename couple ↵Marko Pusljar
of dissasms), ucode dumping under hle (debug only), small dsp:read32 change (needed for some homebrew) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6059 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-08-04allow "swapping" of hle'd ucodesShawn Hoffman
hle the gba ucode git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6046 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-09Hg:Shawn Hoffman
enable newline normalization get revision number via `hg svn info` for svnrev.h ignore incremental/generated binary files (windows/VS at least) leave a comment if some files need native eol set in svnprops git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5637 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-02Meta:Soren Jorvang
Using Unix tools to operate on a tree containing filename with spaces in them is really annoying, so rename the handful of instances where there were spaces. Host.cpp has never been used. Games tend to lookup the following directories that we don't yet have anything to put in, so prepopulate them in Data/User/Wii: title/00010001 title/00010002 title/00010003 title/00010004 title/00010005 title/00010006 title/00010007 meta shared2/title Set eol-style native on a number of text files which didn't already have it. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5572 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-28code cleanup, focusing on dsp hleShawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5143 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-18Move MemCheck functionality into the virtual DebugInterface class from the ↵Shawn Hoffman
more general MemView class. Give DSP LLE Debugger a wxAUI facelift and add memory view to dsp debugger. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5080 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-14add another dsp ucode to RE...woo!Shawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5055 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-24ROM dissasm "refresh" + RE + small fixesMarko Pusljar
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4938 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-13Merge SrcSelect.c, AX.c, Crazy Taxi.txt, and DSP_UC_AX1.txt into new and ↵Shawn Hoffman
improved disasm -> DSP/DSP_UC_6A696CE7.txt Goal is complete/near complete RE of DSP_UC_6A696CE7 (GC AX), and hopefully ROM. From there, seeing the additional changes in other GC AX versions (there are only 4 others, with minor differences), should be "simple". git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4818 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-08Some more AXWii RE.luigi2us
Long time I didn't commit to Dolphin, by the way. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4793 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-13DSPHLE AXwii workMarko Pusljar
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4559 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-30The beginning of another approach on Zelda HLE UCode: PB debugging and ↵XTra.KrazzY
comparison git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4481 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-30Zelda RE + fixesMarko Pusljar
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4350 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-29Best of both worlds (or hacks...). Music continues to play, no sound ↵XTra.KrazzY
breakage in Pikmin2/ZTP. Wind Waker still echoes weirdly in ZWW though. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4344 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-27AXWii: more disasm; and send correct mail at end of AXList (DCD10002 instead ↵luigi2us
of DCD10001), which makes the game send a CDD10003 as expected. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4336 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-27AXWii ucode: more comments.luigi2us
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4335 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-27Some axwii disasmnakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4328 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-26Add a disassembly of AXWii ucode (taken from MKWii)luigi2us
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4324 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-24Some leftover work from unfinished DX9 Access EFB. In DSP HLE, 0x0004,7,b,c ↵XTra.KrazzY
are almost done, all that's left to do is resample from 0x50 to _Size. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4313 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-18DSP HLE: External ops oops (thanks, lordmark)XTra.KrazzY
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4294 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-17A basic, un-resampled version of Zelda UCode cases 0x4,7,b,c. These are used ↵XTra.KrazzY
a lot in Pikmin. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4293 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-17More WaveTable (ucode case 0x4,0x7,0xb,0xc) work (thanks for noticing ↵XTra.KrazzY
they're the same, LordMark!) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4292 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-16Decoded the non-externalops part of 0x0007 zelda sound caseXTra.KrazzY
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4287 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-31Misc : build fix for debug x64, assorted cleanup.hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4127 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-25Pikmin 2 for the Wii now has correct sound thanks to LordMark. Too bad the ↵XTra.KrazzY
mail stops coming after a while git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4064 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-24Forgot to upload ZTP Wii ucode, so here it issl1nk3.s
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4043 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-12Pikmin 2 for the Wii also boots, with corrupt sound this time. Included its ↵XTra.KrazzY
UCode, since it's so different from Pikmin 1's and contains the mysterious UnkZelda address. Also, potential run-stop-run bug has been fixed. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3965 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-11Added the latest Zelda UCode, seems to be longer and has a bit more ext ops. ↵XTra.KrazzY
Fun! git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3964 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-26DSPLLE added new LD code (please report games misbehaving)nakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3887 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-24fix a few issues with actually using the dsp lle debugger: stepping/reg ↵Shawn Hoffman
updates/etc should behave better git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3879 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-20Some RE on MP2 ucodenakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3860 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-20start some RE on the memcard unlocking ucodeShawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3857 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-14Minicommit: more cleanupXTra.KrazzY
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3791 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-13Solved issue 1096 and issue 1098XTra.KrazzY
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3780 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12DSPHLE: Do the resampling correctly for PCM16 and AFC. Added linear ↵hrydgard
interpolation (that works, this time :P) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3764 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12DSPHLE: Some code reorg, now looks more like the ucode. DSPLLE: Rename a file. hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3763 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12More UCode RE. Move MemoryView to DebuggerUICommon.hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3762 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11More zelda ucode RE...hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3744 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-10DSPLLE: attempt at RE of parts of the zelda volume code ...hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3733 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-08Zelda UCode: Synth fixes and some RE. (Why does it still sound awful?)XTra.KrazzY
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3707 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-07Various changes: Fixed linux build, added some zelda ucode RE, added HLE ↵XTra.KrazzY
mail logging features git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3704 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-05DSPHLE: Decoded most of 0x21. Added real conclusions to the switch case to ↵XTra.KrazzY
signal the CPU that the voice has been played. More work on 0x20/0x21/Raw (and probably the end of it) this weekend. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3683 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01DSPHLE: Preserve fractional sample position between voice render calls. ↵hrydgard
sounds slightly, slightly cleaner :P git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3637 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01transfer comments from dsp rom disasm to shiny new disasmShawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3636 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01bit of zelda ucode rehrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3631 8ced0084-cf51-0410-be5f-012b33b47a6e