Commit Graph

1772 Commits

Author SHA1 Message Date
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
Shawn Hoffman 25df6acb15 HLE bios before loading a .dol
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2987 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-17 09:27:35 +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
Shawn Hoffman e6dbfb4f24 fix CreateFullPath, fix memcards not being created if the path didn't exist for some reason, don't put dsptool .pdb files in the binary dir
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2984 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-16 17:24:06 +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 9516a6b19e compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2981 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-16 08:21:57 +00:00
Shawn Hoffman 0ef794369c fix some gui items which should have been available while running, and some that shouldn't be (issue 875)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2980 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-16 05:29:45 +00:00
Shawn Hoffman a152639683 add wii detection to ISOFile, gray refresh list menuitem when core is running, some cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2979 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-16 02:32:21 +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
sl1nk3.s 5cb2fe6daf quick crash fix if there's no nand dump.. woops..
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2976 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-15 22:25:07 +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
sl1nk3.s 20be60f9b9 fixed last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2974 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-15 20:27:37 +00:00
sl1nk3.s c857f71e80 Minor bugfixes : disable Refresh list and Load wii menu when game is running and fix silly init of njoy's rumble
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2973 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-15 20:19:25 +00:00
donkopunchstania 66ca49d3b8 revised how texture scaling is handled. it now works correctly when adding output together from indirect stages which use power 2 and non power 2 textures and it is simpler.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2972 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-15 03:55:38 +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
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
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 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
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
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
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
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
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 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
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
hrydgard 0fd2edbf98 DSP: Remove all mentions of the mysterious DROM. Write protect the ROMs and IRAM as much as possible while loaded (to make sure they don't get corrupted by some memory overwrite or whatever). Make instruction reads stricter - iram and irom don't wrap anymore (not 100% sure about this one). Misc cleanup + changes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2904 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 18:47:21 +00:00
omegadox 13ac45db1a More commenting and cleanup and added another BP Function.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2903 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 18:20:28 +00:00
XTra.KrazzY e3e7c88ff1 Added separate log for DSP LLE.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2901 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 17:12:05 +00:00
omegadox 80d48a08d8 Change "BreakPoint" to "Bypass", YAGD says BP REG is a "Bypass Raster State Register"
Also some cleanup in BPStructs and I think this should be SETTLUT not LOADTLUT, because there is already a LOADTLUT earlier in the reg list.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2898 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 16:10:45 +00:00
omegadox 67834f960e Direct3D9 plugin now uses BPFunctions and removed its BPStructs. Some cleanup and commenting in BPStructs.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2897 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 15:24:40 +00:00
Shawn Hoffman c126c5a9f9 "better" ppc exception handling. I don't see any real world difference, though
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2896 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 14:15:02 +00:00