Commit Graph

35 Commits

Author SHA1 Message Date
Marko Pusljar f099ea7be4 DSPSPY improvements
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4352 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-01 15:12:12 +00:00
Shawn Hoffman df504b0de9 make the coef dump 4KB again, I mistakenly committed code i was using to plunder the whole memory range
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4016 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-18 02:52:45 +00:00
Shawn Hoffman fea2aa344d fix wiimote in homebrew, thanks to vorte[x]! :D
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4012 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-17 05:20:05 +00:00
Shawn Hoffman 45feea42c2 dsp lle: coef is really 0x800 words
dspspy: fill the whole iram! crazy thing, normally likes len%4=0, however to fill the whole iram you use 8191 instead of 8192... :s

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4011 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-17 00:20:04 +00:00
Shawn Hoffman 5d0ad965d7 fix dumping roms from dspspy
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4009 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-16 18:45:34 +00:00
Shawn Hoffman 6e61c32495 dspspy: fix a bug with ConsoleHelper
dspspy: remove some alignment for some vars. (should not have caused issues anyways)
dspCodeUtil: pad ucodes converted to headers to 32byte multiples with nops (this is only mimicing what is seen in nintendo ucodes, probably because their's are originating on disc)
Common.h: fix typo for gcc version of GC_ALIGNED32 (wtf? how did this work before?!)
createtest.pl: add "jmp end_of_test" to the end of generated ucodes.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3994 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-16 00:37:01 +00:00
Shawn Hoffman 5be34cd7e5 random small fixes - fix debug builds, dump ucodes on PAD_BUTTON_X, get rid of a never-closed FILE*
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3959 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-11 00:35:07 +00:00
XTra.KrazzY c86d2e5129 Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3898 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-28 21:32:10 +00:00
Shawn Hoffman 67a083db39 mainly UI updates for dspspy, make dsptool's -m flag obey the -f flag
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3856 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-20 02:56:44 +00:00
Shawn Hoffman feb67740bc fix tiny find+replace error within a comment
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3854 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-19 20:31:49 +00:00
Shawn Hoffman d09b777de8 dsp_base.inc: mail the exception instead of wr3 (no idea why that was there anyways). DSPSpy will report the exception now.
DSPTool: incorporate printresult functionality. delete printresult.cpp
DSPSpy: fix dumping of results


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3852 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-19 20:14:09 +00:00
Shawn Hoffman 89c55c32ec add a ucode to dspspy to dump rom areas from dsp to sd card
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3834 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-18 16:34:11 +00:00
luigi2us 7fbb18314f DSPSpy: fix compilation.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3795 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 09:58:53 +00:00
LPFaint99 a41c1b2d0a add *.user, Win32, and x64 build dir to ignore list for DebuggerUICommon and Unit Tests
add *.aps to ignore list for DolphinWX dir
add eol-style native to 120 or so files

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3689 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-06 02:10:26 +00:00
XTra.KrazzY a7eb7bbf00 Trying to fix DSPSpy. Test this one
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3542 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-24 16:49:10 +00:00
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
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
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 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
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
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 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
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
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 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