Commit Graph

179 Commits

Author SHA1 Message Date
Glenn Rice 1d40b8a5ae Systematically eliminating compiler warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5117 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-24 03:38:36 +00:00
Marko Pusljar 74a6b5638f DSPLLE - 2 new opcodes (TSTPROD,MULAXH)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5104 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-22 00:22:04 +00:00
j4ck.fr0st fdd635d273 Warning cleanup, mainly shadowed variables, const/non-const and ctor initialization order
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5098 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-21 18:55:00 +00:00
Marko Pusljar f7bf29a528 DSPLLE - 'L ext opcode fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5095 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-21 13:23:29 +00:00
Marko Pusljar 885299d985 DSPLLE - flags&stuff (more later)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5093 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-21 10:35:28 +00:00
XTra.KrazzY 2aa03f5b3b Some really (REALLY) old changes that were hanging on my computer for a while
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5091 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-20 09:36:22 +00:00
Marko Pusljar 377ece3294 DSPLLE - SR_10 flag implemented (no idea what name should it have or how/when this is supposed to be used)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5075 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-17 19:10:31 +00:00
Marko Pusljar bd1b12e357 DSPLLE - SR_TOP2BITS 16bit fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5073 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-17 10:21:25 +00:00
Shawn Hoffman b88f510984 dsp: lrs is also sign extended in "40bit" mode. tested (correctly, this time :D )
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5071 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-17 05:50:22 +00:00
Shawn Hoffman e0e5a25bcd Update_SR_Register64 sets SR_TOP2BITS based on m, not h (does someone have tests saying otherwise?)
clean up dsp_base.inc a little, use some irom funcs where possible


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5069 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-17 02:33:21 +00:00
Shawn Hoffman 887d61ec17 DSPTool: show hex and substitute names by default for disasm
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5022 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-07 01:03:31 +00:00
Glenn Rice feba09f7a3 Linux global build. At least the basic footwork is done here.
Basic usage:  "sudo scons install=global install"
Hopefully this doesn't break builds on Macs.  I have tested this on linux and windows.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4994 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-02 21:56:29 +00:00
Marko Pusljar fbdf721e0e ROM dissasm "refresh" + RE + small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4938 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-24 00:31:20 +00:00
nakeee fd40513fed Better comment the writelog code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4822 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-13 11:09:20 +00:00
Shawn Hoffman 94570d31f5 DSP: fix disassembler a little.
addis, cmpis, xori operate on ACx.M instead of ACCx
addax, subax, movax use whole AXx reg, not just AXx.L
addpaxz uses whole AXx instead of AXx.H

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4817 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-13 00:19:02 +00:00
Shawn Hoffman 3848e68585 DSP LLE: code cleanup that doesn't affect behavior.
Make DSPCore build properly in debugfast (breakpoints work again)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4816 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-13 00:11:29 +00:00
hrydgard af08186daa DSP comments & minor reorganization (moved all DSP state into the g_dsp struct). No functionality change.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4813 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-12 21:38:39 +00:00
hrydgard 573a7f4d6e DSPLLE: Add a comment describing my latest unverified theory: that 'l and the other opcode extensions might be meant to sign extend the loaded value in some cases.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4811 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-12 00:38:54 +00:00
XTra.KrazzY 56fb509729 DSPLLE: Wii games/ZWW have working-ish sound (Trust the DSP to do its reads and writes wherever it wants)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4732 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-26 15:11:26 +00:00
ayuanx 06218e9ebb Sound System Rework: Phase 2 (cont'ed)
. Fixed super fast refresh rate issue

. Recovered <TAB> shortcut key for ThrottleSkipping

. Removed redundant "soundstream->Update()" in DSPLLE
  (Thanks to LordMark)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4728 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-25 11:59:04 +00:00
Marko Pusljar f4bca6e21c DSPLLE stuff (2 new opcodes)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4660 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-08 22:44:11 +00:00
Marko Pusljar aa2f2dc95c DSPLLE - cleaning, small fixes (2 shift opcodes are more correct now (lsr,asr) + some 0x3... opcodes are working better in case they are extended)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4633 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-01 20:38:42 +00:00
Shawn Hoffman 4622bd0c8b reapply changes from 4550-4551,4556-4559 correctly...sigh...some files were ignored by tortoisesvn, and myself :|
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4570 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 17:50:51 +00:00
Shawn Hoffman dc75095f99 re-apply dsp-related changes from r4533
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4569 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 17:45:35 +00:00
Shawn Hoffman 06aa62504c revert to r4531, but keep the changes from the following revisions: 4533,4550-4551,4556-4559
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4566 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 17:08:32 +00:00
nakeee ba42d9aa58 DSPLLE moved DMA debuging to debug level (thanks ayuanx@163.com)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4558 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-13 13:47:12 +00:00
nakeee ecf667e755 DSPLLE: long due removal of exception and Zelda messages
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4557 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-13 13:33:17 +00:00
Marko Pusljar b858befba2 DSPLLE small mul fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4533 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 16:17:22 +00:00
nakeee 1c95100eb1 DSPLLE: moved breakpoint to debug to gain some speed
clrl fix from lordmark


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4521 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-08 21:37:38 +00:00
Marko Pusljar 10d7e1bf3e DSPLLE dissasm fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4501 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-06 13:28:03 +00:00
nakeee 7a0055e113 DSPLLE: made not into notc
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4499 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-05 09:06:21 +00:00
Marko Pusljar 0d7d699710 DSPLLE - small fix for previous commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4497 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-04 14:10:56 +00:00
Marko Pusljar 10fb287311 DSPLLE stuff - no real progress, mostly useful as a reference for HLE improvement, Pikmin 1 has sound in intro though (can't be sure if its ok, because its too slow)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4496 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-04 12:49:26 +00:00
nakeee 099b89d9e9 DSPLLE: some bad code clean up pointed out by lordmark
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4495 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-04 10:06:47 +00:00
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
Marko Pusljar 4d5eba2ec9 just a small fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4342 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-29 18:10:54 +00:00
Marko Pusljar d1f0294053 DSPLLE + 2 small fixes, many GC AX games are almost perfect (sound wise, ex. Super Monkey Ball 1/2), if PC is fast enough (3GHz C2D+), Zelda type games too slow to be testable
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4340 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-28 16:39:29 +00:00
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