Commit Graph

94 Commits

Author SHA1 Message Date
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
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
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
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 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
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
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
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
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
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 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
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
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
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
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
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
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 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
XTra.KrazzY 9cae54fbb8 LLE-testing now stops on pressing the stop button.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2847 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 12:21:02 +00:00
XTra.KrazzY c33db95bf5 Games now boot with LLE-testing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2846 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 11:53:40 +00:00
nakeee 38e3b7039a hacky pro/epi solution, following XK's suggestion.
This doesn't fix zelda boot, XK can you check why?



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2845 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 10:55:42 +00:00
XTra.KrazzY d3552a8e2c Added msub and andfc/andcf to LLE, also fixed compiler warning.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2844 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 10:32:39 +00:00
nakeee 7c4e654253 More merging (based on shuffle's opcode merging) includes some fixes/new functions
F|res this has the jumps you were looking for :-) (not all implemented)



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2843 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 09:14:52 +00:00