Commit Graph

98 Commits

Author SHA1 Message Date
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
nakeee 1380497eae unresolved symbol in linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2962 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-13 09:14:24 +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 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
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 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
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 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
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
hrydgard 40a7cd15ad DSP: fix IF_CC - could end up in the middle of ops if they were multiword!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2882 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 17:29:06 +00:00
hrydgard 51aa5d75fa Unbreak old LLE plugin build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2879 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 16:20:38 +00:00
hrydgard 5d13f233e7 DSP: Separate the two UpdateRegister functions more clearly. Add more comments about the condition codes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2874 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 12:59:40 +00:00
nakeee 8cfc832599 moved wavefile to audiocommon, you might need to add audiocommon include/lib paths to DSP-LLE on windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2753 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-25 19:03:32 +00:00
Shawn Hoffman 2301d072a6 nakee's new logmanager. added a console window for windows builds (prints to parent console on non-win32). also fix some random wxw bugs: main window's position is saved when using debugger, disabling windows from the tools menu are saved settings, some other small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2675 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-18 17:17:58 +00:00
XTra.KrazzY d8ee333bd7 Some LLE comments
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2495 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-01 01:11:57 +00:00
omegadox 8c93e39ddd Linux build fixes and some warning cleanup for GCC
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2406 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24 05:20:52 +00:00
hrydgard 6cd34b318f The Mega Change Of Doom - or, fixing Stop. Almost. At least it's better than before. However, the OpenGL plugin seems to lose textures a lot between game restarts :P I think the GL plugin needs to do a lot more cleanup.
This change also includes tons of minor code formatting cleanup. Yeah, should've separated it ... sorry :(

Kills the old CPUCompare support. I'll resurrect it if I need it again, right now it mostly clutters the code.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2321 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 22:04:52 +00:00
omegadox fb3e523401 some more warning cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1999 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 01:50:23 +00:00
omegadox 8f98f0b778 Some warning and code cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1998 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 00:45:46 +00:00
magumagu9 0099b5c957 Misc Linux build fixes in the wake of r1887; still doesn't work right
because Source/Plugins/Plugin_DSP_HLE/Src/Debugger/Logging.cpp appears 
to be missing, and I haven't looked at the fallout of r1884 yet.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1897 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 19:59:20 +00:00
John Peterson ae9cfbd8e3 Common: Moved Windows console functions to common
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1887 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 14:28:09 +00:00
LPFaint99 7afc53c3a1 Revert r1861
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1879 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-16 02:58:34 +00:00
Shawn Hoffman ba8c2aa7e4 nakee's work on dolphin events. Also get wxw out of logmanager. This commit wants your comments
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1875 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-15 06:48:15 +00:00
LPFaint99 f1a3bc1397 Move #include <window.h> from all files that include it and common.h to common.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1861 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-13 04:23:26 +00:00
hrydgard 4916bf54b6 rollback 1829. Seriously, WTF?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1831 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-09 00:09:07 +00:00
tinctorius e94ba056b6 Removed unused code, removed inclusion of unused headers.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1829 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-08 22:31:02 +00:00
nakeee bf18502077 ADding functions
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1828 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-08 12:12:15 +00:00
bushing 7a18cf44b3 I don't know why this won't load on OSX, but at least now we can
tell which of these modules fails to load...


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1714 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-29 12:48:49 +00:00
nakeee e6424f750b scons changes
added fastlog flavour with LOGGING and -O3
changed debug to include _DEBUG
changed devel to include DEBUGFAST
for now wxonassert is disabled as I couldn't make it work


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1571 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 00:37:24 +00:00
nakeee b0f17043bd new MsgHandler replacing common
Most things moved to macros



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1542 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 22:00:18 +00:00
bushing 901fe7c00f set svn:eol-style=native for Plugins/**.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1441 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 05:25:12 +00:00
bushing 30c883bcfc set svn:eol-style=native for **.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1438 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 04:46:09 +00:00
nakeee 064d45024c (requires review for windows/mac)
Fix up so that various libraries wont be fatal for build with scons
wiiuse lib is used only if HAVE_WIIUSE is defined to 1 
made major cleanup for darwin and osx64


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1404 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-05 13:46:19 +00:00
hrydgard 148aa7c326 warning fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1339 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 14:02:48 +00:00
nakeee e8b0757ee7 Fix compile on windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1308 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-26 21:27:01 +00:00
nakeee 0bad9e9385 warning fixes
please review Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1307 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-26 20:28:03 +00:00
nakeee e17e084a15 make DSP LLE work on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1238 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-21 11:51:46 +00:00
John Peterson be6a6215c9 Calibrated emulated Wiimote aiming in widescreen mode. Added config menu to Wiimote. Added hide cursor option to OpenGL plugin. Added custom Wii settings and moved SYSCONF to User/Config (it will be copied by the game to Wii/shared2/sys when a game is run). Made the DSP and Video debugging windowses run on the same dll instance as the main instance.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1188 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-16 20:09:13 +00:00
John Peterson 2976f3f1e3 Fixed Wii AX sound, for real this time
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1169 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-14 11:47:17 +00:00
John Peterson 1184d16864 Fixed Wii Sound
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1160 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-13 13:45:32 +00:00