Commit Graph

109 Commits

Author SHA1 Message Date
Marko Pusljar 12c38d3afa llejit - fix for flag generation code + dspspy jit workaround
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7459 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-04-15 13:04:20 +00:00
Shawn Hoffman e480ab2b10 drop vs2008 projects in favor of vs2010
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7129 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-11 15:43:05 +00:00
hrydgard 7f97ce79bb Put some stuff in the gfx plugins into namespaces, so that the symbols won't collide if someone decides to merge the gfx plugins into dolphin too. still more things left to do though.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6972 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-29 20:16:51 +00:00
Shawn Hoffman e70e623624 Second attempt at issue 3458. Fixes issue 3458.
Replaces all occurrences of ftell and fseek with ftello and fseeko, respectively. This matters on non-win32 where only these names are altered by the _FILE_OFFSET_BITS define. Win32 still just maps the funcs to ftelli64/fseeki64.
Also add some File::GetSize I had skipped in my last commit.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6515 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-12-04 03:50:55 +00:00
Marko Pusljar 0a606d7356 fixes for my previous commits
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6095 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-08-14 09:07:28 +00:00
Marko Pusljar 5cef906467 dspspy working again
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6094 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-08-14 08:53:05 +00:00
Shawn Hoffman 4a0c8fc0c9 Hg:
enable newline normalization
get revision number via `hg svn info` for svnrev.h
ignore incremental/generated binary files (windows/VS at least)
leave a comment if some files need native eol set in svnprops

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5637 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-09 01:37:08 +00:00
Soren Jorvang 664cea45c7 Meta:
Using Unix tools to operate on a tree containing filename with spaces in them
is really annoying, so rename the handful of instances where there were spaces.

Host.cpp has never been used.

Games tend to lookup the following directories that we don't yet have anything
to put in, so prepopulate them in Data/User/Wii:

title/00010001
title/00010002
title/00010003
title/00010004
title/00010005
title/00010006
title/00010007
meta
shared2/title
 
Set eol-style native on a number of text files which didn't already have it.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5572 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-02 18:00:22 +00:00
Shawn Hoffman 11eb1bba9b add example of how you can use dspspy to dump results from an entire ucode (commented out)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5107 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-22 01:06:11 +00:00
Shawn Hoffman 16b21f3790 oops, dsp assembler can't handle labels with whitespace before them :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5070 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-17 02:37:58 +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
Marko Pusljar dc76856736 dspspy - small fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5068 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-16 21:12:50 +00:00
Shawn Hoffman 98c7993a8a re-add alignment for dspbuffer in DSPSpy...turns out it's needed :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5054 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-14 02:31:42 +00:00
j4ck.fr0st 43051ffe41 some cleanup, housekeeping for error cases and increased a few buffer sizes that are overflown by its content.
Thanks to Fatalis for the initial patch and pointing us to cppcheck.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5004 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-03 20:29:49 +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
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 5be88b9202 fix a bug from last commit, thanks lpfaint :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3995 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-16 00:56:49 +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 eba5b83772 tstaxh SR
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3978 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-13 16:13:49 +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
nakeee eec7cba0af DSPLLE improved 'ld test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3871 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-22 20:36:16 +00:00
Shawn Hoffman cee69b24d0 start some RE on the memcard unlocking ucode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3857 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-20 11:27:49 +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
nakeee ad440b9e47 Fix dspspy, typo in ld_Test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3843 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-19 07:21:29 +00:00
nakeee 9d90f1868c test for ld
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3842 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-19 06:49:03 +00:00
Shawn Hoffman 6b711a55cf double eek, dma length is in bytes, immediate store/load are in words. fixes coef dumping
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3840 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-18 22:56:36 +00:00
Shawn Hoffman 9dbfb38e4e eek, fix length to read in the dsp dumper...luckily this does not affect correctness of the dump on real hardware :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3839 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-18 22:13:54 +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 56d55f2d22 DSPSpy: added a test for opcode 0x3D80.
Ran this test on my Wii, with AC0.M = 0x0004 and AC1.M = 0x1234
Result: AC1.M = 0x2340 
This opcode is NOT andc'ls. It left-shifts ACC1 by value in ACC0.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3796 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 10:09:48 +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
nakeee 10d854a02c remove the if tests, if you want to run them use the template
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3699 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-07 10:07:33 +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 37fe91bad1 Waiting for someone to run it:)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3603 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 20:31:41 +00:00
nakeee e1e9d609ed few fixes for arith test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3599 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 17:13:21 +00:00
nakeee 63547535a1 Test for testing the acc effect on SR flags
@cmd@ should be either l h or m @sr@ should be the values like in the other tests
Todo some cleanup


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3598 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 17:09:43 +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
hrydgard 1ca874365b Unknown DSP opcode 0x02ca tested and figured out.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3522 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 11:46:27 +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
nakeee 24192ab23c createtest small windows fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3487 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-18 05:22:10 +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
Shawn Hoffman 212c406d0b dspspy createtest: don't end list file with a newline
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3471 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-16 20:25:03 +00:00
nakeee ac572e9d03 dsp: createtest added -m to merge few command test creation into one
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3459 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 21:56:00 +00:00
hrydgard 4dba267775 Improve accuracy of FPU emulation slightly - still no F-Zero improvements :(
Generic code cleanup.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3458 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 21:10:11 +00:00
nakeee dcae21f692 Dsp: create test now works for full SR tests, and now creates a final .h file from the template while erasing the tmp
test files. 


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3457 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 20:59:46 +00:00