Commit Graph

132 Commits

Author SHA1 Message Date
hrydgard 0772db6af6 DSP: add a crazy little shell script that will build DSPCore into DSPSpy. make DSPCore build in gekko mode. re-add GC-pad controls to DSPSpy (now it can run inside Dolphin, kind of neat but not super useful for the obvious reasons).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3141 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-03 11:15:17 +00:00
nakeee 90ae2a8e55 fixed neg and added arith test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3140 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-02 22:47:13 +00:00
hrydgard ae86ec4df6 DSP: heavily extend mul test. Seems that only MULX* family instructions support unsigned operation.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3138 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-02 21:43:38 +00:00
nakeee e7c7142c9d added test to make sure SR doesn't change from 2's to 1's
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3137 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-02 20:19:37 +00:00
hrydgard 732562325d DSP: Document in a comment what CLR15/SET15 appears to do. (unsigned multiplication)
minor fix in op table.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3133 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-02 14:57:26 +00:00
hrydgard b5ea4ef9a8 DSP: update base test to match new register naming. add mul test.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3132 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-02 13:19:20 +00:00
hrydgard 0d57b7f01a DSP: I hereby name R08-R11 WR0-WR3, standing for Wrap control Registers 0-3.
Kill "CR". 
Document decrements a little bit.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3126 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 19:07:29 +00:00
hrydgard 9b642fa1f8 DSPSpy. test decrements too. Damn they are weird.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3125 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 16:29:44 +00:00
XTra.KrazzY c809110630 Fixed building of DSPSpy
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3124 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 16:23:41 +00:00
hrydgard cd50850bca DSPSpy: Add a test for looped addressing when using address increments. Delete unused old code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3123 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 16:18:46 +00:00
XTra.KrazzY 6048f8a679 Fixed DSPSpy compile
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3122 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 15:41:19 +00:00
XTra.KrazzY f4f93f624a Made DSPSpy build in VC++ (when having devKitPro)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3121 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 15:29:27 +00:00
hrydgard b0bb4e6335 DSPSpy: Hide loop stack registers - they aren't relevant for most investigations.
Highlight differences on both sides.
Show the accelerator subregs in order.
Make it possible to include some code from Dolphin into DSPSpy, good for grabbing useful #defines. (had to change the GEKKO log to POWERPC).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3120 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 15:17:03 +00:00
XTra.KrazzY 397af9ade4 Tiny fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3119 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 14:52:54 +00:00
hrydgard 11206892b7 DSPSpy cleanups.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3118 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 13:53:05 +00:00
LPFaint99 4945d6e24c updated results and fixed if_test5.ds ifnlz to iflnz
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3089 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-26 22:00:36 +00:00
LPFaint99 9dbd4c6715 fix include dir for if tests
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3088 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-26 21:38:48 +00:00
nakeee 3e4f0d1fc7 DSP updating if tests
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3086 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-26 21:21:15 +00:00
nakeee 1181cda34e test cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3082 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-26 14:37:20 +00:00
LPFaint99 5a4d65708e Results from if_tests
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3080 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-25 22:20:10 +00:00
XTra.KrazzY a8c224023c Fixed DSPTool include bugs and some leftover fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3069 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-25 02:13:33 +00:00
XTra.KrazzY e0a202b7ef Made DSPTool more informative and actually fail when compile fails (right now it kept creating invalid files)
Also, created an example test which uses the INCLUDE directive. Tests are much shorter and human-readable now!

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3064 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-24 15:31:13 +00:00
nakeee 92e6d7c283 DSP: fixed compiler warnings and 2 crash bugs
made the dsp_code test use our lable table rather than the table which was there before (and had few mistakes).
The other tests need to be fixed as well.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3063 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-24 14:36:31 +00:00
nakeee ac55a807ef DSP: Created test directory and added some dspspy tests
This way we can commonly share the tests we ran


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3052 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-23 08:55:12 +00:00
nakeee 992dcea5ce Made s16 into set40 and s40 into set16, should fix the test getting stuck
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3051 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-23 08:52:21 +00:00
nakeee 89178f411c DSP switched mode 16 and 40
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3045 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-22 19:08:13 +00:00
hrydgard b4c22390ac More DSPSpy findings - nakee's "TSTAXL" isn't test. Not sure what it is though.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3003 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-18 21:35:21 +00:00
hrydgard 1e10c567ff This one shouldn't be in SVN.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3000 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-18 19:27:53 +00:00
hrydgard 8716a58ae3 First DSPSpy results. cleanup and commenting.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2999 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-18 19:26:06 +00:00
hrydgard ab5354d644 DSP: Comment the DSPSpy ucode a bit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2997 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-18 18:10:51 +00:00
hrydgard 13b50e44c1 Add fake VS project for DSPSpy.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2996 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-18 14:09:26 +00:00
hrydgard 6ec5d28eda DSPSpy: First version submitted, resurrected from the ages of time. Build the dsp code by running dspbuild.bat (or an equivalent shell script), then build the elf using devkitpro/libogc and boot it on your Wii using Homebrew Channel or whatever. You'll get a lot of numbers on your screen.
DSPTool: build fix.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2995 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-18 14:02:34 +00:00