hrydgard
35a9f15efa
typo
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3506 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 11:02:16 +00:00
hrydgard
8d30e3f3c0
DSP HLE: Break out the ADPCM decoder, add a few comments.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3504 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 10:39:45 +00:00
hrydgard
d62635d483
DSP_UC_Zelda.txt: Did a fresh disassembly, and transferred all the comments with a tricky little python program :-)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3500 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 06:35:29 +00:00
hrydgard
ff83f9eb71
sorry
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3481 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 21:18:56 +00:00
hrydgard
28122e0a9b
Implement the findings about CR and lrs/srs in LLE plugin. Don't hear any difference in the few games i tried.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3480 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 21:08:49 +00:00
hrydgard
51cbdea782
MemoryView can now view ARAM (rightclick -> toggle memory). Add "search for instruction" capability to debugger. Code cleanup, log zelda pb type (9 all the time in Zelda Four Swords)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3479 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 19:50:59 +00:00
hrydgard
9d9ce4274b
WII IPC HLE: error logging instead of panicalerts for unknown DVD operations.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3478 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 19:03:30 +00:00
hrydgard
4a5cf26160
messing about with the zelda ucode hle code, not really getting anywhere :/
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3472 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-16 21:58:49 +00:00
hrydgard
81f6d431dc
stop the preliminary zelda ucode from overreading from its own internal buffers.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3468 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-16 20:01:08 +00:00
hrydgard
4ed15aedf5
Add a couple of comments to Zelda ucode HLE - now we know exactly what the DSPADPCM_FILTER is at least.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3467 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-16 19:35:54 +00:00
hrydgard
4dba267775
Improve accuracy of FPU emulation slightly - still no F-Zero improvements :(
...
Generic code cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3458 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 21:10:11 +00:00
hrydgard
f2a26f550e
Revert much of the last commit.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3455 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 20:07:09 +00:00
hrydgard
ac50318a8b
OpenGL: Fix problem with OSD text not showing up with post-processing enabled, causing gl errors.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3443 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 11:56:48 +00:00
hrydgard
0bee242493
Unbreak the build (sorry, forgot a few includes), move FP classification to MathUtil, add some more unittests.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3442 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 11:30:33 +00:00
hrydgard
f67660cbfe
Remove the last use of MappedFile and kill the code. (less code is good!) (we've found that file mapping in the context of Dolphin only causes problems and give no speed gain - Dolphin gobbles address space ferociously on its own without mapping in huge disk images). Add some math util functions.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3441 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 10:59:06 +00:00
hrydgard
a517d054e3
deactivate some debugging code I left in..
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3437 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 08:50:06 +00:00
hrydgard
31f7020b2d
Add mini unit testing framework to Dolphin itself - use it to find bugs and verify the portable powerpc fp number classifier. also random cleanup.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3432 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 22:08:01 +00:00
hrydgard
757e8e5b4c
TestSuite: fix bug in first fpu test (must use stfd to get value of FPSCR, stfs corrupts the value trying to convert to single precision)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3430 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 20:20:48 +00:00
hrydgard
625eeec130
TestSuite: start an FPU test.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3429 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 20:08:51 +00:00
hrydgard
10442c8faa
PowerPC: Fixed moronic bug in mcrfs - together with correctly computing FPRF (which is a new option, slows down slightly) in a few ops this fixes most remaining math errors in Super Monkey Ball and eliminates the need for the HLE hacks. Make sure to have up-to-date gameconfigs. Unfortunately, F-Zero still doesn't work. Misc other small changes. Indent some code.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3426 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 14:10:10 +00:00
hrydgard
e8767497b5
JITIL 64 - fix stupid bug in IR.cpp. Almost there... loadstorepaired left. fix disasm in 32-bit mode.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3414 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 23:56:31 +00:00
hrydgard
087fe68d6d
apply itsnotmailmail's DLC fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3413 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 20:29:50 +00:00
hrydgard
759263351a
JITIL: Disable all load/store instructions in 64-bit mode. This actually makes a lot of games work - but slowly. Investigation needed. Reindent a bunch of code.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3405 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-10 19:43:47 +00:00
hrydgard
3717578d7c
Postprocessing - lame toon shader. (ok ok I'll stop :p)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3400 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 23:23:33 +00:00
hrydgard
212aa292bc
Postprocessing shader: Make every game look like Mad World :)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3399 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 22:48:51 +00:00
hrydgard
6f845b8bb0
Patch in Iulius' framelimiter, since it has advantages over "Other Audio" in many games (more speed).
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3397 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 21:27:45 +00:00
hrydgard
919ca8ac6d
Postprocessing: new and improved acidtrip shader :)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3393 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 19:56:03 +00:00
hrydgard
df91fc8648
Post-processing: Added options to graphics config dialog.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3391 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 19:40:47 +00:00
hrydgard
e9a08dc281
Add vignette to bloom shader, for that NEXT GEN FEELING!!! :D (eh)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3382 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08 20:29:20 +00:00
hrydgard
085fa5f526
Simple post-processing shader implementation. No UI yet. Does not work together with AA yet. To use shader bad_bloom, for example, set PostProcessingShader under [Enhancements] in gfx_opengl.ini.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3380 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08 19:42:25 +00:00
hrydgard
fd5a4ee71a
minor cleanup - don't leak so many fragment shaders :p also fix address range for the Generate Symbol Map feature
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3379 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08 18:34:24 +00:00
hrydgard
bb06a53e28
DSP LLE: Just some renaming and cleanup. Prepared for proper base address support in disassembly. Added a "DebugInterface" for the DSP which would allow us to hook up a CodeView .. although CoreView currently doesn't have any support for variable-length instructions.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3351 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-07 11:06:40 +00:00
hrydgard
89cd1a4a76
DSPSpy: Extract the dsp-interfacing code into a class. Fix colors - that new dark red was almost unreadable. Fix the size of a data cache flush.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3350 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-07 10:45:13 +00:00
hrydgard
87d07f3d17
remove a spurious rand() from interpreter, leftovers from monkeyball/f-zero hacking from long ago :P
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3244 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-15 17:27:06 +00:00
hrydgard
7c75b01dbf
make sure _SECURE_SCL=0 is set properly in a couple of new project files
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3212 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-12 19:12:14 +00:00
hrydgard
42fb5a4d67
project file updates. (grr, why has something replaced the tabs in one of the vcprojs with spaces? VS will just write the tabs back...)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3205 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-11 20:28:11 +00:00
hrydgard
e7af5a31bd
Disable PC-native DXT texturing. Too many problems for now.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3203 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-11 19:04:46 +00:00
hrydgard
05efaeeef1
Move the printresult tool so that it doesn't mess with the DSPSpy build.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3158 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-05 20:56:40 +00:00
hrydgard
a0cfbe9fa5
DSPSpy: Add feature to dump results to file.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3143 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-03 12:27:04 +00:00
hrydgard
59ed31f291
(just some obsessive code cleanup)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3142 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-03 11:57:53 +00:00
hrydgard
0772db6af6
DSP: add a crazy little shell script that will build DSPCore into DSPSpy. make DSPCore build in gekko mode. re-add GC-pad controls to DSPSpy (now it can run inside Dolphin, kind of neat but not super useful for the obvious reasons).
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3141 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-03 11:15:17 +00:00
hrydgard
2ca4567601
DSP: Improve multiplier code. Add support for unsigned operation - but temporarily disabled, since it somehow makes things sound even worse :P
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3139 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-02 22:17:24 +00:00
hrydgard
ae86ec4df6
DSP: heavily extend mul test. Seems that only MULX* family instructions support unsigned operation.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3138 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-02 21:43:38 +00:00
hrydgard
e89af68f4d
DSPLLE: Split the huge DSPInterpreter.cpp into separate files for the different categories of ops. Minor cleanups.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3134 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-02 16:15:52 +00:00
hrydgard
732562325d
DSP: Document in a comment what CLR15/SET15 appears to do. (unsigned multiplication)
...
minor fix in op table.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3133 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-02 14:57:26 +00:00
hrydgard
b5ea4ef9a8
DSP: update base test to match new register naming. add mul test.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3132 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-02 13:19:20 +00:00
hrydgard
474f1343f7
DSPLLE: Wrapping behaviour for single increments/decrements of address registers implemented. It made little/no difference as far as I can tell :P
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3129 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 22:17:22 +00:00
hrydgard
2352cf0fed
DSPLLE:
...
Enable the SET40 sign extension stuff.
Try to separate the "core" from the "interpreter" logically, a little bit. It's still a bit of a fuzzy border.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3128 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 20:06:24 +00:00
hrydgard
dfb5fef792
oops
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3127 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 19:09:17 +00:00
hrydgard
0d57b7f01a
DSP: I hereby name R08-R11 WR0-WR3, standing for Wrap control Registers 0-3.
...
Kill "CR".
Document decrements a little bit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3126 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 19:07:29 +00:00
hrydgard
9b642fa1f8
DSPSpy. test decrements too. Damn they are weird.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3125 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 16:29:44 +00:00
hrydgard
cd50850bca
DSPSpy: Add a test for looped addressing when using address increments. Delete unused old code.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3123 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 16:18:46 +00:00
hrydgard
b0bb4e6335
DSPSpy: Hide loop stack registers - they aren't relevant for most investigations.
...
Highlight differences on both sides.
Show the accelerator subregs in order.
Make it possible to include some code from Dolphin into DSPSpy, good for grabbing useful #defines. (had to change the GEKKO log to POWERPC).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3120 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 15:17:03 +00:00
hrydgard
11206892b7
DSPSpy cleanups.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3118 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 13:53:05 +00:00
hrydgard
07b774c7de
debugfast build fixing. make the hle bios loading-or-not logic make sense.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3113 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01 08:23:25 +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
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
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
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
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
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
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
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
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
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
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
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
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
hrydgard
e62b7f35ce
Clean up OpenGL plugin error handling macros. No longer bother with enabling TEXTURE_2D and TEXTURE_RECTANGLE_ARB - they don't apply when using shaders. Change a PanicAlert when looking for valid plugins into a LOG_WARN.
...
Let me know if this breaks anything - it shouldn't.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2726 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-22 11:21:44 +00:00
hrydgard
4dc6dd7db7
Upgrade SubWCRev to the latest version, so that we can successfully build even with a checkout from the latest TortoiseSVN.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2725 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-22 10:55:51 +00:00
hrydgard
76d24f2c0d
improve PE logging + misc
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2716 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-21 18:00:54 +00:00
hrydgard
81996b890b
Switch DTK ADPCM decoder to the one by hcs/destop, since it sounds quite a bit better. Affects Ikaruga, Crazy Taxi and maybe some more GC games.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2715 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-21 17:19:46 +00:00
hrydgard
d1285b75ee
Paper over some bad logic in logwindow with more bad logic :p (that is, log checkbox values now load OK even if you disable the logwindow). really should stop with all this addlistener / removelistener stuff and just add them once and then enable/disable. would be much clearer. but too lazy.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2714 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-21 17:00:07 +00:00
hrydgard
99c7c11f35
logwindow: fix various brokenness related to the new log-to-window checkbox
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2707 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 23:00:26 +00:00
hrydgard
d046b55d1b
Change a bunch of project settings to reduce the flood of warnings you get when building in debug mode. Tweak bootup logging a bit.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2706 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 22:54:59 +00:00
hrydgard
226aac6cac
Protect the log to window queue with a mutex.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2705 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 22:51:59 +00:00