Commit Graph

55 Commits

Author SHA1 Message Date
Shawn Hoffman c1b18457c4 dspspy: just some more cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3420 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 05:53:07 +00:00
Shawn Hoffman b304332469 dspspy: add missing file to vcrpoj, fix resetting step counters on loading new ucode, normalize mem_dump.h newlines
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3419 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 05:23:07 +00:00
Shawn Hoffman 402d9068e1 dspspy: highlighted values were black...on black. now "bright cyan"
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3418 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 05:04:55 +00:00
Shawn Hoffman ff7f9020fe dsp: renamed R09 to WR1 in some tests, removed unused code in DSPTables.cpp, added showing of origin file in dspspy (please fix if [runningUcode - 1] is wrong)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3417 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 04:55:58 +00:00
XTra.KrazzY c4632fe345 DSPSpy can now dump all microcodes in a press of a button (2 on the Wii). Please test this
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3407 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 10:46:22 +00:00
XTra.KrazzY 9d3eb63508 DSPSpy: Implemented multiple microcode support.
Someone needs to test this on a real Wii/GC. Now all that's left is implementing multiple file compilation in DSPTool.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3394 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 20:01:07 +00:00
XTra.KrazzY 2122da5cd2 DSPSpy: Added preliminary support for realtime multiple microcode processing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3383 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08 21:15:01 +00:00
nakeee 1a6b9d8174 Some clean up
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3377 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08 14:36:00 +00:00
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