Commit graph

122 commits

Author SHA1 Message Date
nakeee
cac04c958b More work on create test (almost working beside some annoying bug)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3451 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 16:48:34 +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
aeb7053230 DSPTool now accepts multiple files with the '-m' flag. See usage for more information.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3406 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-11 07:11:05 +00:00
Shawn Hoffman
91a3099a31 make dsptool fail if input file path doesn't exist
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3245 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-15 18:50:38 +00:00
hrydgard
07b774c7de debugfast build fixing. make the hle bios loading-or-not logic make sense.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3113 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 08:23:25 +00:00
XTra.KrazzY
1045fc7e98 Completely fixed DSPTool, on all of its memory leaks, bad API and bad C++. (compiling with include works perfectly)
More small leftover fixes

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3071 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-25 10:38:26 +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
XTra.KrazzY
8cb7ab559a Compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3037 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-22 11:11:58 +00:00
XTra.KrazzY
c4a21269d5 Some help in DSPTool
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3036 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-22 09:03: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
hrydgard
ee933cb5d4 DSPtool: Better code comparer + cmdline interface added. header generator bugfixed. dsp_test.S now matches the binary.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2994 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-18 12:27:24 +00:00
hrydgard
e7e4ef4481 DSP: More work on dsptool. Minor bugfixes. Add some testdata for dsptool.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2993 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-18 11:31:37 +00:00
Shawn Hoffman
e6dbfb4f24 fix CreateFullPath, fix memcards not being created if the path didn't exist for some reason, don't put dsptool .pdb files in the binary dir
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2984 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-16 17:24:06 +00:00
hrydgard
d973a9e001 DSP: Give the assembler and disassembler saner public APIs. Fix bug in fileutil ReadFileToString. More cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2970 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-14 22:30:31 +00:00
hrydgard
d25d6b5f98 DSP asm/disasm: Lots of cleanup, mostly. I may have broken the DSP debugger a bit. will fix it properly later..
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2968 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-14 20:44:03 +00:00
Shawn Hoffman
b8406f8721 change dsptool's outpath to be where dolphin.exe is
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2966 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-14 13:52:10 +00:00
Shawn Hoffman
0a8731edc5 fix windows builds(s)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2961 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-13 06:14:10 +00:00
nakeee
5f862cf297 more scons build fixups
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2960 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-12 21:30:22 +00:00
nakeee
0fa8d7683a Fixing compile on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2959 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-12 19:56:59 +00:00
hrydgard
6369b48538 DSP: I seem to have forgotten assemble.h? Killed the globals in assemble.cpp by putting the entire thing in a class, which will make more improvements easier. Same with disasm. More tweaking of the shift ops.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2958 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-12 14:48:55 +00:00
hrydgard
d4055b971b DSP asm/disasm: improve the shift instructions so they at least round-trip. not 100% sure it's correct though.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2957 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-12 13:43:12 +00:00
hrydgard
e8b9e93465 DSP: Move the LLE core to a library. Added DSP assembler from gdtool, start cleaning it up. Create a new program called "DSPTool" which will become a more up to date replacement for gdtool from the devkitpro, automatically incorporating all our findings as we make them. This program depends on the new library. It can *ALMOST* roundtrip (asm->disasm->asm) hermes' DSP mixer at this point. Sorry about the unfinished Sconscript work - I'll fix it soon if nobody else does it first.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2955 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-12 10:21:40 +00:00