Commit Graph

2762 Commits

Author SHA1 Message Date
nakeee 92e6d7c283 DSP: fixed compiler warnings and 2 crash bugs
made the dsp_code test use our lable table rather than the table which was there before (and had few mistakes).
The other tests need to be fixed as well.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3063 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-24 14:36:31 +00:00
Sonicadvance1 c3926a35ae Only have this in OSX since that is only where it compiles apparently?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3061 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-24 05:42:57 +00:00
Shawn Hoffman 6c29abe2ef fix existenze demo! warning: this may be a bad hack :( paging ector
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3060 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-24 03:59:32 +00:00
Sonicadvance1 599d9e9067 Fix OSX compiling. Still need to rollback nakee's revision 2566 if you want it to link in to a binary though. SMS under my unibody MBP looks like crap, dunno what's wrong
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3059 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-24 01:51:42 +00:00
Sonicadvance1 41b02601d7 Make OSX running more stable with a single line change. You can't pass nil to makeKeyAndOrderFront and expect it to work well. Also the checking for GL version didn't work because the GL version is defined for all it supports, so first we check if we support GL version 1.3 and if we don't, check if we support 1.2 and set software rendering. Little bit of cleaning in the GL config as well, the checkboxes are default enabled and max aniso wasn't using it's own text ID
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3058 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-24 01:30:45 +00:00
Shawn Hoffman 6ed52d0d93 get rid of annoying extra null byte at the end of log lines written to file.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3057 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-24 00:02:18 +00:00
luigi2us c525563d77 Added support for AZERTY keyboard layout. Most keys should now work correctly for AZERTY keyboards, if you set the correct Wii language in Dolphin.
To change keyboard layout used, you need to open User\Config\Dolphin.ini and add the following two lines:

[USB Keyboard]
Layout = {0 for QWERTY, 1 for AZERTY}

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3056 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-23 18:19:38 +00:00
daco65 35b99a80ed XFB in Single Core thx to Luigi___ on the forum
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3055 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-23 16:31:55 +00:00
luigi2us a0e39011a3 Added experimental USB keyboard support. It works almost fine, some keys don't work correctly.
This is my first commit. Tell me if I did something wrong.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3054 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-23 16:17:04 +00:00
nakeee ac55a807ef DSP: Created test directory and added some dspspy tests
This way we can commonly share the tests we ran


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3052 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-23 08:55:12 +00:00
nakeee 992dcea5ce Made s16 into set40 and s40 into set16, should fix the test getting stuck
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3051 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-23 08:52:21 +00:00
Shawn Hoffman b4f108102d implement some ES functions which were impeding sd card support.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3050 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-23 08:05:22 +00:00
Shawn Hoffman 092496a5b3 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3049 8ced0084-cf51-0410-be5f-012b33b47a6e 2009-04-23 00:09:47 +00:00
Shawn Hoffman 409ec4ba5c wii sd: final revision to it, i think :p. Remove some logging that could slow stuff down
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3048 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-22 21:35:12 +00:00
Shawn Hoffman c89ab7ba02 wii sd: reading now works in nintendo apps. not sure if writing works or not, yet :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3047 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-22 20:42:18 +00:00
Shawn Hoffman 9e9abba9f8 wii sd: reply with the correct response for cmd64
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3046 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-22 20:31:49 +00:00
nakeee 89178f411c DSP switched mode 16 and 40
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3045 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-22 19:08:13 +00:00
Shawn Hoffman e3c4e040e9 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3044 8ced0084-cf51-0410-be5f-012b33b47a6e 2009-04-22 17:20:20 +00:00
Shawn Hoffman ed598d3c67 aaaand the always-fun linux build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3043 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-22 17:15:51 +00:00
Shawn Hoffman 0709df4172 gah, some missing files from last commit...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3042 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-22 17:06:26 +00:00
Shawn Hoffman d2516e3ad1 auto-create a blank fat32 sd card image if one does not exist, thanks to google :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3041 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-22 17:03:46 +00:00
Marcus Wanners ea11b28e3d Better tooltip for DC Mode option.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3040 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-22 16:40:46 +00:00
Shawn Hoffman c638de6f99 fix an unknown pointer error r3035 caused
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3038 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-22 15:24:36 +00:00
XTra.KrazzY 8cb7ab559a Compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3037 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-22 11:11:58 +00:00
XTra.KrazzY c4a21269d5 Some help in DSPTool
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3036 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-22 09:03:06 +00:00
Shawn Hoffman a5a0e0fd08 wii sd can now get through the more intricate libogc init (which happens if the card is uninitialized). Unfortunately still doesn't work in nintendo apps... :(
Thanks a lot lpfaint99 for dumping some values!

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3035 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-22 06:44:49 +00:00
nakeee e7846a94ba compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3034 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-21 17:25:35 +00:00
Marcus Wanners 2d723d45ee More changes to tooltip.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3033 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-21 16:44:10 +00:00
Marcus Wanners bc8efa41fb Changed tooltip for LLE Thread option. Probably still needs revising, though.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3032 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-21 15:44:29 +00:00
Marcus Wanners c32572bfaf Tooltip for Dual Core Mode setting.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3031 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-21 15:26:45 +00:00
Marcus Wanners eecfb56219 Move LLE DSP on thread setting to advanced section and added a not-so-helpful tooltip to it (probably needs to be changed to something more informative).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3030 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-21 15:19:07 +00:00
Shawn Hoffman cb02eac791 wii sd: got some register values from real hardware. nintendo apps still don't accept it though :(
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3028 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-21 13:17:02 +00:00
nakeee cf5b6efba0 DSP change condition code in accordance to latest finding
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3027 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-21 08:53:36 +00:00
Shawn Hoffman 874a31e8ba starting on wii sd writing and other things. I need someone to dump values of CID, CSD, and OCR! :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3025 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-20 21:18:21 +00:00
Shawn Hoffman 821dd625b3 wii sd: fix reading!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3024 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-20 18:19:03 +00:00
Shawn Hoffman daac0d8ca1 some more error logging goodness in wii sd
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3023 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-20 17:26:40 +00:00
Shawn Hoffman 8ef66cac92 fix memleak in wii sd reading
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3022 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-20 16:24:51 +00:00
Shawn Hoffman afef9b2251 minor changes to wii sd test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3021 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-20 16:13:12 +00:00
Shawn Hoffman 8a35ed5c6b wii sd: trying to send back a block, not sure why it doesn't work
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3018 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-20 04:11:29 +00:00
Shawn Hoffman d6158b90d9 wii sd: now gets to trying to read a block.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3013 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-19 21:38:17 +00:00
Shawn Hoffman dee79c719e defined the rest of the wii sd commands which libogc actually uses
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3012 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-19 19:26:45 +00:00
Shawn Hoffman 2b906ae8b2 correct some wii sd cmd names
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3011 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-19 18:56:57 +00:00
Shawn Hoffman bf42d9a268 wii sd: ioctl is done, gotta do ioctlv and cmds
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3010 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-19 18:33:51 +00:00
Shawn Hoffman 2e4ffb356a Add better logging to wii SD device
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3009 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-19 17:14:33 +00:00
Shawn Hoffman a1ab247533 give /dev/stm it's own log
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3008 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-19 17:03:48 +00:00
Shawn Hoffman 7434c0c4cd Disable JITing of negx. Fixes controls in Sonic Adventure DX, maybe more. I'm not sure how to fix the jit func tho :(
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3007 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-19 17:02:39 +00:00
Shawn Hoffman 173aa569c4 add a simple test to try and list contents of an wii SD card
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3006 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-19 17:00:48 +00:00
donkopunchstania 93348abc18 Created a free look utility which only works on win32 right now. It lets the user fly around with the mouse and keyboard. Had to add some ugly matrix functions to the math utilities.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3005 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-19 10:10:45 +00:00
hrydgard b4c22390ac More DSPSpy findings - nakee's "TSTAXL" isn't test. Not sure what it is though.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3003 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-18 21:35:21 +00:00
nakeee d939afdcf2 one file missing in sconstruct
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3002 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-18 21:26:44 +00:00
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 1e10c567ff This one shouldn't be in SVN.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3000 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-18 19:27:53 +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
XTra.KrazzY 5f0ac1db68 Fixed the DSP LLE debugger, it also automatically shows the disassembly on image load.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2998 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-18 19:06:47 +00:00
hrydgard ab5354d644 DSP: Comment the DSPSpy ucode a bit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2997 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-18 18:10:51 +00:00
hrydgard 13b50e44c1 Add fake VS project for DSPSpy.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2996 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-18 14:09:26 +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
Marcus Wanners c395b93590 Fix those dependencies, once and for all (I hope!). Thanks to Nolan.Check.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2991 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-17 23:04:00 +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
Marcus Wanners 0c65e2fe11 Fix for issue 864. Thanks to Nolan.Check.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2967 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-14 16:36: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 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
Shawn Hoffman 0a8731edc5 fix windows builds(s)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2961 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-13 06:14:10 +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
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 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
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
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
nakeee 62fed97a34 Copied register table from hermes code
Please use instead of magic numbers


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2902 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 17:28:14 +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
nakeee 1156a0df9e Fixed mov + some logging for memory write
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2899 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 16:53:49 +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
nakeee 8af05ec4fb DSP: mov impl / comments
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2895 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 12:20:12 +00:00
nakeee 670ef16ace opss
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2894 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 09:56:47 +00:00
nakeee 5f5b43c659 some docs small clean up fixed the loop size correctly I hope this time
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2893 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 09:42:29 +00:00
LPFaint99 956b06700d When searching iso directories subfolders, do not include folders multiple times
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2892 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 06:58:00 +00:00
nakeee 17d54d9771 some comments and cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2891 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 22:50:00 +00:00
nakeee 12557c4a7e DSP: loop should jump the right instruction size
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2890 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 21:30:08 +00:00
nakeee 360c7e69e6 make tsta into helper function
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2889 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 21:11:47 +00:00
hrydgard e3b1356f3d DSP: Corrected CMPI implementation. (i think)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2888 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 21:04:46 +00:00