Commit Graph

3418 Commits

Author SHA1 Message Date
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
donkopunchstania 2b2c2afa3c Did clean up of indirect texture look up and fixed some bugs related to indirect unit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2954 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-11 07:05:57 +00:00
sl1nk3.s c43b1c18e5 build fix + fix for issue 850
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2953 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-10 21:12:34 +00:00
hrydgard 4b8741d524 Add Fix002 gameini parameter (no ui yet). Hack to fix games that display "002 error" without having to manually patch the games. (yeah this is ugly).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2952 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-10 21:09:49 +00:00
nakeee 4fa154bb56 Started cleaning up the ext_op code
Trying to get rid of the case and use a table like the main opcodes
not sure how to handle epilog/prolog... maybe another table?



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2951 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-10 14:40:25 +00:00
nakeee c1fe6def46 Fixed smg patch being on by default (it was disabled instead of off by mistake)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2950 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-10 13:22:25 +00:00
nakeee e84ec7855a smg projection hack, taken from http://forums.dolphin-emu.com/thread-165-page-3.html
maybe we should just make configurable linear trasnformation hack;)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2949 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-10 10:25:53 +00:00
fires.gc 65fa1cb729 just added a small function for HLE
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2948 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-10 08:13:36 +00:00
nakeee 96251a911f compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2946 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-09 22:32:30 +00:00
nakeee a421ab0fd0 more comments
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2945 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-09 22:29:59 +00:00
nakeee f0641ebe3f fixed possible mistake in mulcmv
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2944 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-09 22:07:58 +00:00
nakeee 5184b578c8 added subp from duddie's doc also added more comments
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2943 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-09 22:00:08 +00:00
Shawn Hoffman f6bc828e63 fix for issue 839
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2942 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-09 18:24:23 +00:00
hrydgard 5166251b2c DSP: Further disasm improvements. Make a few mul ops (only two of which I have seen, both in Zelda) behave like Duddie's doc says they should.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2941 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-09 14:33:34 +00:00
hrydgard 0f26228ef2 DSP: Fix broken disassembly (deleted some remaining byteswaps). Don't check for external interrupts every cycle. Loop endpoint detector added to Analyzer (this will be useful for a future JIT).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2940 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-09 13:03:41 +00:00
hrydgard 8c861ad58d DSP LLE: Remove byteswaps and other bloat from the hot path (do them at load/dma time). Minor speedup, perhaps.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2939 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-08 21:46:54 +00:00
hrydgard e5edb4c4ad remove old define WITH_DSP_ON_THREAD
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2938 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-08 20:38:23 +00:00
hrydgard 8c3bb3796b DSP: New non-threaded mode for the LLE plugin, with some idle skipping enabled. Use Dolphin Main config to set it. Some minor optimization and some spelling fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2937 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-08 20:26:33 +00:00
Shawn Hoffman 5dbdc4e6cf linux build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2936 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-08 20:21:07 +00:00
Shawn Hoffman 4a7f01348d windows build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2935 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-08 20:04:48 +00:00
Shawn Hoffman f8ed0b5c4c chop the "testing" moniker off of dsp lle
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2934 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-08 20:02:22 +00:00
Shawn Hoffman edf0be235b remove WTL, the last project using it was DSP LLE
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2933 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-08 19:46:30 +00:00
hrydgard 0c4d4835ac DSP: Add cycles parameter to all Update functions in HLE, might be useful someday :p A couple more signatures for the idle skip detector. no big functional changes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2932 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-08 18:36:53 +00:00
hrydgard 541832e4f0 DSP: Fix sln file now that old LLE is dead. Add preliminary DSPAnalyzer, which looks for idle skip opportunities.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2930 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-08 17:58:58 +00:00
sl1nk3.s 5c56066519 Fix for issue 831, add .gcz to the cache file of compressed iso and corrected fullscreen tool tip message
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2929 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-08 16:38:41 +00:00
nakeee 7dccebfef2 Got rid of loop step + added some comments
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2928 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-08 14:11:23 +00:00
nakeee 65daec3554 Removing old LLE plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2927 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-08 13:42:30 +00:00
XTra.KrazzY a2855dcf2d Pausing now works in LLE-Testing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2926 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-08 12:37:15 +00:00
omegadox 33cd584b38 small fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2925 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-08 01:46:02 +00:00
omegadox 449aa57de3 Some commenting fixes and use INFO_LOG again.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2923 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-08 01:20:52 +00:00
nakeee 66ea22e8fb added register updates (tell me if you think it makes sense)
Reverted shift changed which seems to be wrong



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2922 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-07 22:11:51 +00:00
omegadox d1c9d2463c More commenting.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2921 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-07 21:17:15 +00:00
nakeee 1397ca100a more docs few small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2920 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-07 21:03:17 +00:00
Shawn Hoffman bae02be45e dsp llet: remove some deleted files from the vcproj
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2918 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-07 17:22:09 +00:00
nakeee 8e87735afa More docs, cleanup and some fixes
(ector I think you'll want to review DSPInterpreter.cpp changes)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2917 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-07 17:10:50 +00:00
nakeee d2b11faa05 DSP: some clean up feel free to revert if you want those files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2916 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-07 15:04:37 +00:00
nakeee 5a9fcaea62 linux compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2915 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-07 12:32:11 +00:00
nakeee 5354cb57c3 comments, tstaxl guessing, clear log messages
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2914 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-07 12:14:04 +00:00
nakeee ea01132087 DSP: condition fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2913 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-07 07:52:00 +00:00
tmator c662713ba0 osx build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2912 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-07 03:56:21 +00:00
nakeee f18718922e more doc and small fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2911 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 22:47:12 +00:00
nakeee cd439cdce0 implement clrl (clral0/1) in the table
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2910 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 21:55:50 +00:00
nakeee 24991b60a3 forgot the opcode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2909 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 21:12:15 +00:00
nakeee a300a37906 More clean up + ilrrn
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2908 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 21:09:42 +00:00
Shawn Hoffman b801e16cd3 minor dsp debugger improvements
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2907 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 20:32:37 +00:00
hrydgard 957127d505 DSP: minor shift instruction tweaks. that stuff about negated shift amount in the comments is spooky though. gonna have to run some test code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2906 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 19:57:54 +00:00
nakeee 215e014515 splitting shifti to lsr/lsr/asl/asr please review
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2905 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 19:03:53 +00:00