hrydgard
0a576c7508
Linux: Tons of warning cleanup plus workaround a nasty crash problem in StatusBarMessage.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4234 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-08 21:16:05 +00:00
nakeee
49601e0af2
DSPLLE added carry and overflow now we (lordmark) should add them in
...
the right ops ;)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4222 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-07 10:46:22 +00:00
nakeee
b0a09c55b4
Compile fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4068 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-26 19:39:11 +00:00
nakeee
92d4c55e14
DSPLLE small sign fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4023 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-20 22:09:54 +00:00
XTra.KrazzY
99b4b04705
DSP LLE on Thread with LLE now boots, but no sound. The mail connection appears to be incomplete in the on thread mode, but it's much faster than on the CPU thread.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4022 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-20 21:38:10 +00:00
nakeee
3c59b8bded
DSPLLE trying to fix mul
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4021 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-20 15:11:07 +00:00
nakeee
fdc141e333
DSPLLE: Small fixes for zeroing flags
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4020 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-20 13:49:30 +00:00
nakeee
56c4eea4c1
DSPLLE: trying to optimize a bit (based on drkrazi's suggestion)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4019 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-20 07:01:04 +00:00
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
8155439dd1
DSPLLE fix for latest commit (thanks lp)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4017 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-18 15:57:41 +00:00
nakeee
9dc90df0af
DSPLLE: small cleanup
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4015 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-17 20:11:44 +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
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
nakeee
32d213a823
DSPLLE: small cleanup
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3981 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-14 10:55:07 +00:00
nakeee
c4dda436c6
DSPLLE: fixed 0x20 handling, we still don't know what it is good for
...
though:(
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3980 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-14 10:40:35 +00:00
nakeee
13a901146f
DSPLLE:
...
- Extension fixes (Joined work with LM)
- Shuffle fix for my off by one error
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3958 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-10 09:20:12 +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
07617f757c
DSPLLE added new LD code (please report games misbehaving)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3887 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-26 16:36:22 +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
af010c6bc2
DSPLLE: set currentEpilogeFunc to NULL
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3882 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-25 18:31:01 +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
873190d148
fix a few issues with actually using the dsp lle debugger: stepping/reg updates/etc should behave better
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3879 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-24 02:15:04 +00:00
nakeee
ef6b00f9b0
DSPLLE: LD now doesn't give memory errors, still need to be tested with LDM/N and if it really takes 0x00
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3870 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-22 06:28:04 +00:00
nakeee
94cc33cb0c
DSPLLE: ld only increase 0x3 by one
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3867 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-20 22:12:53 +00:00
Shawn Hoffman
3d28eb5dbc
fix silly typo when using -m with dsptool
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3853 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-19 20:25:14 +00:00
nakeee
fb7238eeb5
dsptool: add -f option (errors are not critical)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3847 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-19 10:08:25 +00:00
hrydgard
9b0bed1e7f
fix a build error and some warnings.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3835 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-18 17:53:15 +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
nakeee
18e45baafc
DSPLLE minor clean
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3816 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-16 10:25:27 +00:00
nakeee
4212773b1b
DSP LLE small reg load fixes
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3815 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-16 10:02:47 +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
c6b3c6a69b
DSPLLE minor cleanup nothing important
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3789 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-14 08:30:23 +00:00
Nolan Check
d85f5a6937
Rearrange LogManager includes. The main purpose is to make it possible to modify Thread.h without recompiling the whole entire project.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3770 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 21:58:32 +00:00
daco65
73516cc8e9
just some , useless for emulation , changes that might make it easier for us all :P
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3752 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 20:30:48 +00:00
hrydgard
ccebd7512e
Fix a DSP disasm problem, misc minor stuff .. not much to see here
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3745 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 10:18:25 +00:00
nakeee
eaa93ed839
DSPLLE more exception work (not sure we need reset at all)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3732 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-10 15:00:29 +00:00
nakeee
42fed5c111
DSPLLE: exception work, please review/test/-1
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3731 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-10 11:19:47 +00:00
nakeee
1fe26436ca
accidently commited the uncomment exception
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3727 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-09 12:56:16 +00:00
nakeee
7f40dddcd6
DSPLLE comment cleanup
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3726 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-09 12:54:35 +00:00
nakeee
1c52139d94
DSPLLE: the reset exception is needed by zelda to init correctly, but it get stuck in the
...
middle. If you wish to help debugging uncomment the SetException line.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3715 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-09 00:07:08 +00:00
nakeee
a0a7116fe0
DSPLLE uncomment else:
...
[23:00] <LordMark> if i reenable those 2 else-s in bloop and bloopi sth strange happens
[23:00] <LordMark> LLE sound in crazy taxi is like almost perfect
I still don't think they make sense though..
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3712 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-08 20:06:15 +00:00
luigi2us
47ea4936b3
DSP LLE: Fix ASR as well.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3706 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-07 21:48:32 +00:00
luigi2us
6c7aadd5ab
Fixed LSR opcode (shift would always be a crazy value like 65479 instead of 7).
...
Now SMG ucode jumps to the right command handlers.
Unfortunately still no sound :(
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3705 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-07 20:40:19 +00:00
XTra.KrazzY
92e63e3ac4
Various changes: Fixed linux build, added some zelda ucode RE, added HLE mail logging features
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3704 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-07 15:12:52 +00:00
nakeee
e17a097113
Fix AX exp 4 (Ector should it be named new ucode request?)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3702 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-07 14:11:40 +00:00
nakeee
cfb2518612
DSPLLE: make exceptions names make sense
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3700 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-07 12:48:38 +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
nakeee
d8d2b8030e
DSPLLE: Commented out the else in bloop, it doesn't make sense, and I didn't get any
...
regression, but please check and tell me if it broke something.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3695 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-06 21:27:56 +00:00
nakeee
ce6e8ed798
DSPLLE: More minor clean up, some log mistake fixes and revert the +1 loop (it seems to got
...
zelda ucode stuck for some weird reason)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3694 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-06 19:19:03 +00:00
nakeee
c44dabfe8b
DSPLLE: comments and logging clean up
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3693 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-06 18:15:01 +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
nakeee
36883d6a48
Returned the exception in action check, it seems that we are missing how 2 exceptions are
...
handled together. For example SSBM got both 32 and 4 exception together but with the hack 4 is
lost. Removed some junk from LLE logging
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3682 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-05 16:18:17 +00:00
nakeee
96429cf752
DSPLLE Take 2 in getting rid of exception hack.
...
This time zelda seems to work and mails seems to pass between CPU and SPU
Very similar to the ones from HLE
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3680 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-05 13:07:38 +00:00
nakeee
df3abc6a2a
DSPLLE: small loop fix (ector pls take a look)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3679 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-05 10:17:52 +00:00
hrydgard
90a2096a24
Assorted cleanup, perf counter logging, and minor fixes that have been accumulating on my hdd :p
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3663 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-03 18:33:28 +00:00
hrydgard
c97dc8df52
remove audiocommon include from DSPCore
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3653 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-02 22:15:19 +00:00
nakeee
ac9510187c
LLE Recommit some clean up from previous commits
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3652 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-02 21:20:47 +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
Shawn Hoffman
599c9fd15c
revert r3521 - r3523
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3639 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 22:47:01 +00:00
nakeee
e6d78bcf3c
DSPLLE some more exception clean up, still couldn't get zelda to work:(
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3623 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-30 17:33:38 +00:00
nakeee
22aa9128ee
DSPLLE enabled int on reset
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3622 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-30 10:33:08 +00:00
nakeee
292b3f675f
DSPLLE got rid of exception in progress hack.
...
I didn't get any change in behaviour though.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3621 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-30 10:10:30 +00:00
hrydgard
cc38e72dc3
DSPLLE: Setting breakpoints and stepping through code now works in the (still rather basic) DSP debugger. Decided not to share the breakpoints code between PPC and DSP because it can be done much more efficiently for the DSP case due to the very limited memory space.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3575 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 17:18:52 +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
nakeee
900287be50
Compile fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3569 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 12:50:51 +00:00
hrydgard
6c52ab1c39
give the DSP breakpoints that can be toggled but don't work yet :p
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3568 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 12:30:34 +00:00
hrydgard
7c92dada85
added an AX disasm with (few) comments. Moved some code around to prepare to share some breakpoint code between the ppc and dsp
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3566 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 11:47:39 +00:00
hrydgard
5c7fc8ed7b
DSP: build fixin', more movin', some comments.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3564 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 10:24:44 +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
nakeee
a398096584
fixed copy paste error:)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3547 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-26 09:05:14 +00:00
nakeee
159feed662
DSP LLE: results of wide if testing please test :)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3546 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-26 08:58:54 +00:00
hrydgard
c306374577
DSP: update docs for lrs/srs
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3528 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 13:39:48 +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
e5b75aef09
unbreak dsptool/dspspy
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3521 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 11:12:48 +00:00
nakeee
59487bddcf
Some LLE memory access
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3520 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 09:56:39 +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
hrydgard
80217a6ed7
DSP: Fix the invalid memory accesses that the Zelda Ucode does in LLE. No LLE sound yet but at least no crazy errors :p
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3516 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 06:56:44 +00:00
nakeee
07af37d11a
opsss..
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3493 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-18 21:15:49 +00:00
nakeee
d91389fea2
dspcodeutil now name is always dsp_code as needed by main_spy.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3492 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-18 20:47:02 +00:00
nakeee
37ceb042e1
DSPCodeUtil some code fixing
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3485 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 23:36:04 +00:00
nakeee
a536460067
Fixed buffer overflow in CodesToHeader, now dsptool -m creates files correctly as far as I could test
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3484 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 22:16:48 +00:00
nakeee
697ce7b1ab
createtest fixes and compile fixes for linux
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3482 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 21:44:03 +00:00
hrydgard
ff83f9eb71
sorry
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3481 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 21:18:56 +00:00
hrydgard
28122e0a9b
Implement the findings about CR and lrs/srs in LLE plugin. Don't hear any difference in the few games i tried.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3480 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 21:08:49 +00:00
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
sl1nk3.s
d99deae17d
Fix for tatsunoko vs capcom and those wii games getting corrupted memory error
...
+ a couple of (serious...) fixes for some of my mistakes, and some warning fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3411 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 15:47:41 +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
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
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
bb06a53e28
DSP LLE: Just some renaming and cleanup. Prepared for proper base address support in disassembly. Added a "DebugInterface" for the DSP which would allow us to hook up a CodeView .. although CoreView currently doesn't have any support for variable-length instructions.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3351 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-07 11:06:40 +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
2ca4567601
DSP: Improve multiplier code. Add support for unsigned operation - but temporarily disabled, since it somehow makes things sound even worse :P
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3139 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-02 22:17:24 +00:00
nakeee
4ae8ad7cf2
compile fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3136 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-02 19:42:19 +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
474f1343f7
DSPLLE: Wrapping behaviour for single increments/decrements of address registers implemented. It made little/no difference as far as I can tell :P
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3129 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 22:17:22 +00:00
hrydgard
2352cf0fed
DSPLLE:
...
Enable the SET40 sign extension stuff.
Try to separate the "core" from the "interpreter" logically, a little bit. It's still a bit of a fuzzy border.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3128 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 20:06:24 +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
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
nakeee
6cc8c0744b
DSP: Fixed case and some printing in asm
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3117 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 12:15:48 +00:00
nakeee
e39f0f9ce8
DSP: reverting some condition code until we handle 0x1 and 0x2 correctly
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3115 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 09:26:47 +00:00
nakeee
1f4c000ae6
DSP: updated condition code
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3099 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-28 09:12:29 +00:00
XTra.KrazzY
989e2590a2
Tiny fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3072 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-25 10:44:42 +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
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
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
nakeee
d939afdcf2
one file missing in sconstruct
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3002 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-18 21:26:44 +00:00
hrydgard
10989fda06
DSP: Comment some new discoveries.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3001 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-18 20:44:42 +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
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
nakeee
42726a7576
Trying clr15/set15, this is an educated guess after looking at ucodes. Please test it and tell me if you see any
...
real difference in sound beside on hermes' demo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2985 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-16 21:46:55 +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
0801abdcc8
small cleanup
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2978 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-16 00:06:37 +00:00
nakeee
19cdbb3e15
Reverting the change that made logical function update logical zero
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2977 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-15 22:29:16 +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
f9903f2054
remove some outdated junk
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2969 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-14 20:55:27 +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
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
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
f6474b98a8
DSP assembler: Error message improvements.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2956 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-12 13:12:42 +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