Commit Graph

61 Commits

Author SHA1 Message Date
hrydgard 5d13f233e7 DSP: Separate the two UpdateRegister functions more clearly. Add more comments about the condition codes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2874 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 12:59:40 +00:00
hrydgard 7368d712d6 DSP: Move the condition code stuff to a separate file.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2873 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 12:20:30 +00:00
hrydgard 6eb6db21ce DSP - fix ROM loading (seriously, have we only been loading half the ROMs??? doesn't make sense).
Also delete some unused old junk variables. Add some comments. Start #defining SR flag constants. "implement" nx.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2872 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 11:55:18 +00:00
hrydgard 07c1b7d784 tiny DSP cleanup: Move pending exceptions register into SDSP struct.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2869 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 09:23:43 +00:00
nakeee 82880f96da Condition guessing please review..
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2868 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 08:59:18 +00:00
nakeee 472e67333f more opcode work removed CW as it makes problems, we can check for unknown instead.
to check:
- TST implementation seems diffrerent from docs
- CMPAR seems to cause errors in AX games (why? dis we skip clear???) - commented out for now




git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2866 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-04 23:24:26 +00:00
Shawn Hoffman f72d883340 enable old code to record unknown dsp opcodes to their own file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2862 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 22:23:15 +00:00
Shawn Hoffman e1c3d1bfd4 dsp llet debugger: disasm the ucode when it's dumped
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2857 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 19:29:15 +00:00
Shawn Hoffman 2a5b8f4366 some progress on dsp llet debugger. go dump some ucodes ;)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2854 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 18:04:08 +00:00
Shawn Hoffman 9356a920e2 dsp lle-testing: print out address of an unknown opcode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2853 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 15:39:33 +00:00
nakeee f0fff9cb19 More opcodes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2851 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 15:30:50 +00:00
omegadox 41058700c9 Do not put the PDB, EXP, LIB files in the bin folder, instead put it where the obj files are located.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2849 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 13:44:36 +00:00
XTra.KrazzY 9cae54fbb8 LLE-testing now stops on pressing the stop button.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2847 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 12:21:02 +00:00
XTra.KrazzY c33db95bf5 Games now boot with LLE-testing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2846 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 11:53:40 +00:00
nakeee 38e3b7039a hacky pro/epi solution, following XK's suggestion.
This doesn't fix zelda boot, XK can you check why?



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2845 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 10:55:42 +00:00
XTra.KrazzY d3552a8e2c Added msub and andfc/andcf to LLE, also fixed compiler warning.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2844 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 10:32:39 +00:00
nakeee 7c4e654253 More merging (based on shuffle's opcode merging) includes some fixes/new functions
F|res this has the jumps you were looking for :-) (not all implemented)



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2843 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 09:14:52 +00:00
Shawn Hoffman c6ea5b136f begin merging Hermes patch to gcdsptool to the dsp lle-testing plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2842 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 06:21:45 +00:00
nakeee 230f17a639 more opcode guessing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2841 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-02 22:22:37 +00:00
nakeee 52c261e68e fixed the mask chekcing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2838 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-02 18:40:09 +00:00
XTra.KrazzY 6d9b2754e5 A few fixes to DSP LLE, added prologue and epilogue infrastructure (not working yet). Fixed if in Initializing the inst. table.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2837 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-02 17:45:18 +00:00
Shawn Hoffman 55f48a2e37 add DSPRegisterView files to vcproj
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2836 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-02 16:18:38 +00:00
hyperiris 94ca9854b8 I wrote a tool to extract the dlls from oalinst.exe.
I hope this can resolve the dll hell problem.

someone help me test?

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2835 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-02 14:25:18 +00:00
nakeee 188ad88125 LOL, forgot the check
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2834 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-02 13:41:04 +00:00
Shawn Hoffman 69869bfd7c git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2832 8ced0084-cf51-0410-be5f-012b33b47a6e 2009-04-02 13:10:33 +00:00
nakeee e2852e9625 Unloop
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2831 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-02 13:08:25 +00:00
Shawn Hoffman 2a1b42705f linux buildfixes...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2830 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-02 13:07:26 +00:00
Shawn Hoffman 7e7de0db66 forgot the scons
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2829 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-02 12:52:17 +00:00
Shawn Hoffman cfcd3ce822 beginning dsp lle debugger, buttons dont work yet so dont spazz out. (Thanks a lot to whoever wrote min32 gui :) )
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2828 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-02 12:50:47 +00:00
nakeee 12a5a8b164 clean up last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2827 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-02 12:44:19 +00:00
nakeee 49c09650b1 added lots of missing opcodes
I must be doing something wrong though, maybe wrong mask?


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2826 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-02 10:59:54 +00:00
nakeee f4b3309c9f filled up opcode table as much as I could, commented about opcodes we need to add to the table.
We are still missing tons of opcodes which I'm not sure where to put...


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2825 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-02 09:31:25 +00:00
XTra.KrazzY bf45299e36 Tiny fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2823 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-01 22:45:24 +00:00
XTra.KrazzY 44db8cd0b8 LLE-WIP: More progress on the opcode lookup table. Still haven't put the correct interpreter functions into the opcode table.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2822 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-01 22:41:16 +00:00
XTra.KrazzY 9915533c3c LLE-WIP: Indentation and small fixes to coding style.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2821 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-01 22:03:52 +00:00
XTra.KrazzY 59c44bd13b small compile/link fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2820 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-01 21:30:09 +00:00
nakeee 692a05bfe9 fix compile and some code weirdness
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2819 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-01 20:57:20 +00:00
XTra.KrazzY e099934a85 DSP LLE: MAJOR LLE revamp. Interpreter/JIT infrastructure done. Still left to mix and match the correct functions to the correct instruction hexcodes. More changes:
-Tagged unimplemented instructions and FIXME instructions in the DSP interpreter header
-Expanded the DSP instruction union to be viewable as helpful instruction structures

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2817 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-01 20:22:43 +00:00
XTra.KrazzY db0c0e8ea4 Real LLE-testing JIT infrastructure, more (getting rid of switch-cases) coming soon. Got rid of April Fools too.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2815 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-01 16:28:23 +00:00
XTra.KrazzY 39360ce691 LLE-Testing: Implemented an initial version of LLE JIT, tell me if it works properly on 32-bit windows and linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2812 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-31 21:51:03 +00:00
nakeee 6b2b1a34ee Linux compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2804 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-30 16:30:31 +00:00
Shawn Hoffman 12037487e7 add 64bit OpenAL and fix up build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2801 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-30 15:40:35 +00:00
hyperiris b2ed842e03 append dependence setting
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2798 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-30 14:05:30 +00:00
hyperiris e9232ecf95 LLE debugger work in progress: 1%, just a begin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2797 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-30 13:21:22 +00:00
nakeee 37d513c53b Added dtk sound mixing to audiocommon (should work with LLE now)
And also moved all common setting to audiocommonconfig


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2796 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-30 09:55:50 +00:00
Shawn Hoffman 7cfd2b9999 add some docs to the lle-testing vcproj and try to shutdown the plugin without crashing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2794 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-30 06:28:15 +00:00
Shawn Hoffman 57105f08d6 use dolphin-style typedefs in dsp-lle testing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2793 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-30 03:27:31 +00:00
nakeee 20b54fb71f finally getting some squeaks from SSBM on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2792 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-29 21:30:54 +00:00
nakeee c2e3f42c0d linux compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2791 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-29 21:10:12 +00:00
Shawn Hoffman 3b71f5e3fe tortoisesvn was having a problem doing this with the last commit...weird
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2790 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-29 21:03:42 +00:00