nakeee
b787f5f8f7
DSPLLE: attempt to fix extended ops please review this patch carefully.
...
thinks to note
- All ext commands should call zeroWriteBackLog() (before changing any
reg)
- increase/decrease ar functions now only return a value not actually
change anything
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4018 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-19 21:37:24 +00:00
nakeee
45a71bf3ef
DSPLLE: fix some comments, returned andc and orc (according to tests)
...
but andc'ls still behaves strange and we couldn't merge them together.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3915 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-31 15:21:35 +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
nakeee
6a92924636
DSPLLE: remove the if 0 around SR_MUL_UNSIGNED in hope to figure out why it makes AX games sound bad
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3892 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-27 16:41:11 +00:00
nakeee
a9b7813462
DSPLLE: lordmark's fix for ilrrn opcode + some mask fixes
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3888 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-26 20:19:26 +00:00
nakeee
e79b11af5b
DSPLLE: fixed the unknown opcode errors
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3883 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-25 20:12:38 +00:00
nakeee
3b0e949c93
DSPLLE: make ext opcodes to use table as well (tell me if you get
...
unknown opcodes or the like). LD changes are reverted until we get the
right code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3880 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-24 16:04:29 +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
f5cb2efb3e
That's what happens when you get excited and go too fast...
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3804 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 17:59:16 +00:00
luigi2us
e81c99da92
DSPLLE: Fix LSRNR.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3803 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 17:57:35 +00:00
nakeee
90f595bada
DSPLLE: added lsrnr (based on lordmark and luigi suggestions) Still somethings seems wrong as it didn't fix the zelda problem:(
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3800 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 15:12:42 +00:00
nakeee
1654c582ab
DSPLLE: razi approved condition code naming.
...
(we need to go over the dspspy code to see that we use the right names)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3698 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-07 10:01:34 +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
Shawn Hoffman
16bf555f7b
dsp lle: add default names for pdlabels[], so you don't get "(null)" with the disassembler
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3641 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 22:49:32 +00:00
hrydgard
04105baf4e
DSPLLE: sort of semi-working breakpoints and stepping, if you flip an #ifdef. more work to do, for some reason it gets very slow when you enable it atm
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3573 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 16:23:40 +00:00
hrydgard
895b02f410
DSP: Add txt file with luigi ucode comments (very basic). Rename some stuff. Remove function pointer in g_dsp structure, replace with a "Host" function call. Fix a problem where symbols weren't loaded into DSP debugger.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3563 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 10:00:25 +00:00
hrydgard
f6ebaae792
dsp: disable the newfangled ext stuff until it can be verified and used. fix typo.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3527 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 13:11:47 +00:00
hrydgard
37375c7115
Implement the newly discovered DSP opcodes that I named LSRN and ASRN. Also (attempt to) implement reading ARAM through 0xFFD3, like the zelda ucode does.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3523 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 12:09:17 +00:00
hrydgard
aecaf271f1
New DSP debugger: step one. (not ready yet, but try loading zelda WW and look at the dsp debugger..).
...
Had to shuffle around quite a lot of code to be able to extract the CodeView into a library nicely so it can be used from both the main dolphin and the LLE plugin... also extracted the symboldb code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3517 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 08:39:21 +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
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
e89af68f4d
DSPLLE: Split the huge DSPInterpreter.cpp into separate files for the different categories of ops. Minor cleanups.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3134 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-02 16:15:52 +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
dfb5fef792
oops
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3127 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 19:09:17 +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
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
nakeee
cf5b6efba0
DSP change condition code in accordance to latest finding
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3027 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-21 08:53:36 +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
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
nakeee
508b32b94f
dsp: small disasm fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2983 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-16 16:02:54 +00:00
nakeee
99e29c82fd
DSP: make all logical operations set the logical SR_LOGIC_ZERO flag instead of the arithmetic flags
...
assumed 0x20 is a mistake and suppose to be the logical zero flag
Couldn't see any change whatsoever.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2975 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-15 22:04:44 +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
nakeee
15624cb11c
added small comment
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2965 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-14 13:13:12 +00:00
nakeee
a77c4f808b
guessing unknown extension (seems not to crash anything while other guesses did)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2964 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-14 12:37:44 +00:00
nakeee
0fa48f2b44
DSP doc adding + dsp table ext changes
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2963 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-14 11:43:44 +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