Commit graph

3624 commits

Author SHA1 Message Date
hrydgard
8001dbebc4 Comment zelda's "SetupAccelerator" now that we know what that op is...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3525 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 12:24:36 +00:00
hrydgard
edc7b17924 fix bug in my ugly hack to load the commented zelda ucode - it always loaded, no matter what game
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3524 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 12:18:04 +00:00
hrydgard
37375c7115 Implement the newly discovered DSP opcodes that I named LSRN and ASRN. Also (attempt to) implement reading ARAM through 0xFFD3, like the zelda ucode does.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3523 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 12:09:17 +00:00
hrydgard
1ca874365b Unknown DSP opcode 0x02ca tested and figured out.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3522 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 11:46:27 +00:00
hrydgard
e5b75aef09 unbreak dsptool/dspspy
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3521 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 11:12:48 +00:00
nakeee
59487bddcf Some LLE memory access
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3520 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 09:56:39 +00:00
Sonicadvance1
e91ab24bce Linux compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3519 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 09:35:31 +00:00
hrydgard
eef35f9537 zelda disasm: minor commenting/formatting
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3518 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 09:25:55 +00:00
hrydgard
aecaf271f1 New DSP debugger: step one. (not ready yet, but try loading zelda WW and look at the dsp debugger..).
Had to shuffle around quite a lot of code to be able to extract the CodeView into a library nicely so it can be used from both the main dolphin and the LLE plugin...  also extracted the symboldb code.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3517 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 08:39:21 +00:00
hrydgard
80217a6ed7 DSP: Fix the invalid memory accesses that the Zelda Ucode does in LLE. No LLE sound yet but at least no crazy errors :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3516 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 06:56:44 +00:00
hrydgard
b7e5fb6ef2 submitting just because I want to move these files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3515 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 20:21:35 +00:00
hrydgard
a19f907b32 DSP Zelda: Lots more commenting and a bit of RE of the ucode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3514 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 20:00:48 +00:00
Nolan Check
91ec07a049 Remove delay in Fifo when CP/GP distance is 0. It's a bad idea to sleep for a whole MILLISECOND when we only have about 17 milliseconds to complete a frame.
This fixes slowdown in Wind Waker's Deku Tree room in dual-core mode.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3513 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 13:07:55 +00:00
hrydgard
a68abea970 just a bit of RE, no real insights
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3512 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 12:44:17 +00:00
John Peterson
0a648b59e4 MusicMod: Added DSP HLE option to turn off streaming music for use together with the MusicMod
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3511 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 12:19:53 +00:00
Nolan Check
8cdd8cf2a7 Return render-target alpha because of a problem report. "Stage Clear" background in SSBM is black again. More investigation is needed into render-target alpha.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3510 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 12:07:04 +00:00
death2droid
09d5313410 Remove a lot of warnings from MusicMod.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3509 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 11:31:26 +00:00
XTra.KrazzY
8cf11ff58a Linux build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3508 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 11:14:54 +00:00
John Peterson
c66c54814c MusicMod: Fixed the build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3507 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 11:05:52 +00:00
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
John Peterson
636746490e MusicMod: Prepare to fix the MusicMod build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3505 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 10:58:15 +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
XTra.KrazzY
22a6533f7f State saving is now consistent with the Zelda UCode. We can now save, load, and still hear sound
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3503 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 10:24:49 +00:00
Nolan Check
4292962ea2 Changes for OpenGL plugin:
- Render targets should not have an alpha channel
- Use correct source rectangle for render-to-texture effects
- Use "GL_INTENSITY8" instead of just "GL_INTENSITY" (makes no difference)

The background of the "Stage Clear" screen in SSBM is now fixed!

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3502 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 09:29:28 +00:00
fires.gc
edf58e1478 (WIP) my zelda reverses
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3501 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 06:54:26 +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
fires.gc
d4a0e1f8d0 DSP HLE improvements...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3499 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 01:33:13 +00:00
nakeee
891ff575b0 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3497 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-19 16:07:09 +00:00
Nolan Check
5853c80050 Visual Studio solution file clean-up.
- Use "Dolphin" as the start-up project since that builds the Dolphin executable.
- Instead of having projects depend on the plug-ins, make the plug-ins part of the solution configuration.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3495 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-19 01:39:55 +00:00
death2droid
b679891d6f Move DSP_UC_SuperMarioGalaxy txt to DSP docs folder
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3494 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-18 21:33:42 +00:00
nakeee
07af37d11a opsss..
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3493 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-18 21:15:49 +00:00
nakeee
d91389fea2 dspcodeutil now name is always dsp_code as needed by main_spy.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3492 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-18 20:47:02 +00:00
daco65
b92be31df0 an attempt to move docs to trunk. god tortoisesvn was an ass to do this with tortoisesvn and google code (core pdf was refused multiple times) NOTE: docs/WiiMote/Core V2.1 + EDR.pdf is still missing deu to googlecode hating me
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3491 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-18 16:07:45 +00:00
death2droid
5d590d5934 Chance m_InterfaceFramelimit to m_Framelimit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3490 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-18 11:23:37 +00:00
luigi2us
fc617299a7 Add a disassembly of SMG ucode.
TODO: move it? I can't commit it to docs/DSP because I only checked out trunk :(

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3489 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-18 10:56:29 +00:00
Shawn Hoffman
b6bdc29935 fix booting with a disc inserted
make disc changing a scheduled affair
fix some breakage from removal of mappedfile
cleanup

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3488 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-18 08:22:02 +00:00
nakeee
24192ab23c createtest small windows fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3487 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-18 05:22:10 +00:00
Sonicadvance1
51c51c0fda Just helps BBA in Linux a bit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3486 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-18 01:15:48 +00:00
nakeee
37ceb042e1 DSPCodeUtil some code fixing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3485 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 23:36:04 +00:00
nakeee
a536460067 Fixed buffer overflow in CodesToHeader, now dsptool -m creates files correctly as far as I could test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3484 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 22:16:48 +00:00
nakeee
697ce7b1ab createtest fixes and compile fixes for linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3482 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 21:44:03 +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
Shawn Hoffman
a852b6228d add some regs to PixelEngine.cpp: not sure, but probably no behavioral differences.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3476 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 07:08:57 +00:00
XTra.KrazzY
2baca7ca3d Added installing of WADs via context menu
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3475 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 06:37:34 +00:00
itsnotmailmail
232217c1cd Added the ability to install WADs (such as DLC WADs). Currently it just installs a WAD when booting it fails (when it's not bootable), I'm not sure whether there should be a menu option specially for installing WADS...
note: If you previously manually installed WADS by creating a *file* called "CONTENT", trying to reinstall that WAD automatically will fail unless you delete the file.

Added some empty log files that some games require for DLC to be recognized.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3474 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 02:50:54 +00:00
Sonicadvance1
c468d1e36a Woops, forgot to switch back a line I changed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3473 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 00:17:31 +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