Commit graph

2088 commits

Author SHA1 Message Date
hrydgard
f6ebaae792 dsp: disable the newfangled ext stuff until it can be verified and used. fix typo.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3527 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 13:11:47 +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
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
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
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
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
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
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
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
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
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
sl1nk3.s
635a1a3a37 Trying to fix MK:Wii save corruption (see r3344) while not breaking everything using wb mode...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3466 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-16 19:10:37 +00:00
Sonicadvance1
5b9f26c660 Work being done. Had to change MAC address to my current one, Was being lazy to get MAC address from the device. One hack I was working with to get commercial games to work is removed, only one hack left. Socket Test responds to the DHCP packets every few tries, kind of a fail still. Haven't tested in Windows yet. If only commercial games worked, and socket test didn't fail still
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3465 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-16 15:16:09 +00:00
Shawn Hoffman
09f1c98785 windows buildfix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3461 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-16 02:26:17 +00:00
itsnotmailmail
d6c40f65ff Emulate ES's GetStoredTmd and GetStoredTmdSize commands (patch from issue 1016)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3460 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 22:27:46 +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
omegadox
05a8c0115b Just log the bcctrx error instead and a small comment about it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3456 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 20:22:08 +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
omegadox
a83a4fbc0a bcctrx opcode will fall back to the interpreter, and a minor compile and warning fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3454 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 19:06:59 +00:00
nakeee
cac04c958b More work on create test (almost working beside some annoying bug)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3451 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 16:48:34 +00:00
Sonicadvance1
ae463c4ac4 Forgot the waiting part so we don't have multiple threads reading from the net device. some other stuff. PSO when set to static addresses fails to send the correct DNS server IP in the packet, is always 0.0.0.0 for some reason.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3449 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 12:47:41 +00:00
nakeee
75045807a7 linux compile fix, I'm not sure it was right of me to remove the mmsystem include (was it used?) but if it's
for the timer function please put it in Timer.h and not in each seperate file.
(And yes, I have a script that does that).


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3448 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 06:39:26 +00:00
John Peterson
5c04af50a4 Attempt to calculate actual refresh rate (i.e. a CPU-GPU synced Mhz), no real success. Anybody have any ideas?
Is there no indication from the game when the screen refresh should occur? No, not what I could find, we currently calculate the refresh rate and m_VBeamPos from the CPU ticks progress. That works perfectly if the CPU and GPU is perfectly synced as in the single core and no-idle skipping mode. So I guess it's possible that the game doesn't indicate when the screen should be refreshed, but rather that the hardware calculate that from the CPU ticks progress. That leaves us with a problem in the dual core and idle skipping modes to calculate a CPU-GPU synced CPU ticks progress.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3447 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 04:30:02 +00:00
Sonicadvance1
3295ec38eb Have to create a thread in Linux to receive packets. Socket Test does DMA reads, but still fails to get IP address from DHCP. PSO doesn't ever call startRecv function to start up the socket reading, Which is why PSO doesn't receive sockets in Windows either. Will have to look in to this more
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3446 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 04:14:34 +00:00
Sonicadvance1
4b5ab642cd Finally got my subversion working again. Fixed a swap issue that I recently found, still not sure why I'm not receiving the packets, even though Wireshark shows the OS is returning DHCP packets
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3445 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 20:54:26 +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
XTra.KrazzY
8a5c382dad Linux build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3436 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 08:37:27 +00:00
Nolan Check
7812b2a231 Fix null-dereferencing error in EXI_DeviceMemoryCard.cpp;
Make wx projects build for 64-bit JITIL configuration

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3435 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 03:29:58 +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
nakeee
df7b29da32 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3431 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 20:55:25 +00:00
donkopunchstania
77c7161e7d Add projection hack back. The previous commit helped, but did not fix all the problems. Projection hack values may need to be changed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3428 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 19:36:19 +00:00
donkopunchstania
fcd7fa997b Possible fix for projection hacks
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3427 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 17:44:14 +00:00