Commit Graph

47 Commits

Author SHA1 Message Date
hrydgard 89cd1a4a76 DSPSpy: Extract the dsp-interfacing code into a class. Fix colors - that new dark red was almost unreadable. Fix the size of a data cache flush.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3350 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-07 10:45:13 +00:00
nakeee 6dd8e13338 typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3308 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-01 17:31:38 +00:00
nakeee 39b16ffafa DSP: Small perl script for creating tests
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3301 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-31 20:12:39 +00:00
Marcus Wanners bd87c06a57 Somebody goofed...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3263 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-19 21:57:41 +00:00
Shawn Hoffman 14beb0ce7f get dspspy running on gamecube (wii people check this!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3246 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-15 20:10:02 +00:00
Shawn Hoffman 6b9d56bc6b just doing it while i remember :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3232 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-14 10:57:35 +00:00
Shawn Hoffman c64f73d4f7 more simplification/updating of dspspy
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3231 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-14 10:54:48 +00:00
Shawn Hoffman 4f0fbacd78 use libogc for a bunch of headers instead of dspspy's random ones. (revert if they're used for a reason...)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3227 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-14 05:59:50 +00:00
Shawn Hoffman 613aa198df build DSPSpy for gc (make -f MakefileGC) - needs web server or something for easy result viewing :p
Remove the sort on the netplay gamelist... tatsunoko vs. capcom appears as ???? vs. capcom, so it was being sorted to the top and screwing up the index. To do it "correctly" you'd need to assign the index to the item's arbitrary data.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3226 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-14 05:28:05 +00:00
hrydgard 42fb5a4d67 project file updates. (grr, why has something replaced the tabs in one of the vcprojs with spaces? VS will just write the tabs back...)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3205 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-11 20:28:11 +00:00
nakeee ab1bda745f small printresult change (from ector)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3170 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-07 09:50:48 +00:00
hrydgard 05efaeeef1 Move the printresult tool so that it doesn't mess with the DSPSpy build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3158 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-05 20:56:40 +00:00
nakeee 2a28a1e857 DSP small program to print result dump files.
(Looking for suggestions on how to make it look nicer) 


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3157 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-05 20:32:59 +00:00
hrydgard a0cfbe9fa5 DSPSpy: Add feature to dump results to file.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3143 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-03 12:27:04 +00:00
hrydgard 59ed31f291 (just some obsessive code cleanup)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3142 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-03 11:57:53 +00:00
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