Commit Graph

3368 Commits

Author SHA1 Message Date
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
omegadox 1ad5c7c9aa VideoCommon: Fixed a case when in debug build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2887 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 20:14:23 +00:00
hrydgard 8b6b8b61c3 DSP: Fix opcode masking for ops with extensions.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2886 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 19:30:06 +00:00
hrydgard 5508e5e718 DSP: Code simplification, comments, log improvements.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2885 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 19:17:19 +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 4913912dbb DSP: Restore CMPI and its disasm. Attempt a correct implementation but results seem worse, dunno :p (playing around with Hermes' DSP demos). Fix error logging to log pc-1 instead of pc since pc has already been incremented. minor cleanups.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2881 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 16:58:15 +00:00
nakeee 4832ffa377 implemented mulcmv mulcmvz and fixed mulcac to actually add to the acc
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2880 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 16:50:15 +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 a583950f82 DSP: Unbreak disassembler (broken since 2866), commenting, logging changes, minor cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2878 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 15:46:47 +00:00
nakeee 405480342a Openal on linux (get stuck but doens't crash)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2876 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 14:02:03 +00:00
omegadox adbd88866c Direct3D9 Plugin: More WIP BPFunctions work.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2875 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 13:06:14 +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
hrydgard 7368d712d6 DSP: Move the condition code stuff to a separate file.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2873 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 12:20:30 +00:00
hrydgard 6eb6db21ce DSP - fix ROM loading (seriously, have we only been loading half the ROMs??? doesn't make sense).
Also delete some unused old junk variables. Add some comments. Start #defining SR flag constants. "implement" nx.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2872 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 11:55:18 +00:00
omegadox a9e71fe351 OpenGL Plugin: scons script fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2871 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 11:53:24 +00:00
omegadox 1578e3e195 Recoded and moved BPStucts to VideoCommon. Some cleanup in PixelShaderManager. TODO: Have DX use BPFunctions. Note: Compiling DX plugin will not work atm.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2870 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 10:49:19 +00:00
hrydgard 07c1b7d784 tiny DSP cleanup: Move pending exceptions register into SDSP struct.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2869 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 09:23:43 +00:00
nakeee 82880f96da Condition guessing please review..
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2868 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 08:59:18 +00:00
LPFaint99 b19309fdb3 Add option to search subfolders for iso directories
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2867 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 06:46:18 +00:00
nakeee 472e67333f more opcode work removed CW as it makes problems, we can check for unknown instead.
to check:
- TST implementation seems diffrerent from docs
- CMPAR seems to cause errors in AX games (why? dis we skip clear???) - commented out for now




git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2866 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-04 23:24:26 +00:00
hyperiris 36143f98b7 OpenAL: YES! The first version of working OpenAL Backend!
I've only test in Ikaruga and Metroid Prime, at least they have sound.
Performance is ugly, :<, still need more work on it.
To enable oal in Dolphin, uncomment Source/Core/Common/Src/Common.h:
//#define HAVE_OPENAL 1



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2865 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-04 03:58:16 +00:00
hyperiris 5d72a992bf OpenAL: fix CreativeLab bug. This bug causes hang on my machine.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2864 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-04 03:48:15 +00:00
sl1nk3.s 0478301c1e Fixed a little out-of-fullscreen black screen weirdness on windows, trying to port fullscreen changes to DX, needs more work.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2863 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-04 00:45:50 +00:00
Shawn Hoffman f72d883340 enable old code to record unknown dsp opcodes to their own file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2862 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 22:23:15 +00:00
omegadox 21348622a7 OpenGL Plugin: Thinner lines for EFB copied region rectangles
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2861 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 21:32:10 +00:00
omegadox 1f6e3c024e OpenGL Plugin: some cleanup and better error messages
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2860 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 21:01:05 +00:00
omegadox 90a1d9967e OpenGL Plugin: Now prints video card info to display
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2859 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 20:22:45 +00:00
sl1nk3.s efb0a11201 Fixed various OGL fullscreen issues, screen shaking, esc key not working, misplaced fullscreen window.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2858 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 20:12:59 +00:00
Shawn Hoffman e1c3d1bfd4 dsp llet debugger: disasm the ucode when it's dumped
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2857 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 19:29:15 +00:00
Shawn Hoffman 2a5b8f4366 some progress on dsp llet debugger. go dump some ucodes ;)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2854 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 18:04:08 +00:00
Shawn Hoffman 9356a920e2 dsp lle-testing: print out address of an unknown opcode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2853 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 15:39:33 +00:00
omegadox f5feb28ae6 OpenGL Plugin: small fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2852 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 15:39:16 +00:00
nakeee f0fff9cb19 More opcodes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2851 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 15:30:50 +00:00
omegadox 6736898486 OpenGL Plugin: code cleanup trying to follow code style wiki and updated copyright date
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2850 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 14:35:49 +00:00
omegadox 41058700c9 Do not put the PDB, EXP, LIB files in the bin folder, instead put it where the obj files are located.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2849 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 13:44:36 +00:00