Commit Graph

3660 Commits

Author SHA1 Message Date
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
omegadox 4395417b68 some more shaders...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3453 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 17:40:33 +00:00
luigi2us 0c4c35d732 Add a basic test that reads unknown regs (0xFF8X).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3452 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 17:00:32 +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
nakeee f8d2411dc3 DSP createtest now calculate the size of body/header
now we need to split the test 


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3444 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 20:52:17 +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
XTra.KrazzY 955e446e91 PadSimple configuration now fully works on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3440 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 10:01:01 +00:00
XTra.KrazzY 0609a1fa9e Added grayscale post processing shader
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3439 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 09:22:58 +00:00
omegadox 8721dae6e1 More Shaders :), Fire2, Stereoscopic, toxic, christmas, and more...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3438 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 08:56:13 +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
omegadox ecf073ee15 Create some shaders
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3434 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 00:24:00 +00:00
XTra.KrazzY 5d09a8c718 DSPSpy: Added list of all tests in the source code for use with DSPSpy testing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3433 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 00:15:27 +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
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
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
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
XTra.KrazzY dd640a4937 Zelda ucode cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3423 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 12:02:02 +00:00
XTra.KrazzY 92ef5e144a Small cleanup. Pad configuration *should* work on my Linux machine now. I'll verify it tomorrow.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3422 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 11:59:58 +00:00
Shawn Hoffman c1b18457c4 dspspy: just some more cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3420 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 05:53:07 +00:00
Shawn Hoffman b304332469 dspspy: add missing file to vcrpoj, fix resetting step counters on loading new ucode, normalize mem_dump.h newlines
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3419 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 05:23:07 +00:00
Shawn Hoffman 402d9068e1 dspspy: highlighted values were black...on black. now "bright cyan"
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3418 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 05:04:55 +00:00
Shawn Hoffman ff7f9020fe dsp: renamed R09 to WR1 in some tests, removed unused code in DSPTables.cpp, added showing of origin file in dspspy (please fix if [runningUcode - 1] is wrong)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3417 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 04:55:58 +00:00
XTra.KrazzY f8a221dea2 small thread fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3416 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 00:21:47 +00:00
XTra.KrazzY 2f0c872cd2 Flushing the memory card data to the hard-drive is now being done in a separate thread. Eliminates emulation delay/hang during memory card flush.
I made this because for some reason my HD is probably failing and saving hangs the emulation for a couple of seconds (at least in SA2:B). Now everything runs smoothly.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3415 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 00:01:51 +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
sl1nk3.s 04db7f5260 I need glasses
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3412 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 16:07:07 +00:00
sl1nk3.s d99deae17d Fix for tatsunoko vs capcom and those wii games getting corrupted memory error
+ a couple of (serious...) fixes for some of my mistakes, and some warning fixes

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3411 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 15:47:41 +00:00
Shawn Hoffman a1fd2defc4 add missing define of DEBUGFAST in win32 build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3410 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 15:15:01 +00:00
hyperiris ff0ec2b3f8 a NEED DEBUG version of openal sound system, nakee, try to FIX it! :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3409 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 14:40:50 +00:00
death2droid b8d3cae6e3 Dolphin now saves frame limiter setting.
Info Window now also gets the frame limiter setting :P

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3408 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 13:21:54 +00:00
XTra.KrazzY c4632fe345 DSPSpy can now dump all microcodes in a press of a button (2 on the Wii). Please test this
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3407 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 10:46:22 +00:00
XTra.KrazzY aeb7053230 DSPTool now accepts multiple files with the '-m' flag. See usage for more information.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3406 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-11 07:11:05 +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
XTra.KrazzY 46f8178ab1 New shader: Everything looks like the sun is setting. Otherwise called 'crazy colors'
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3404 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-10 09:08:05 +00:00
sl1nk3.s 82154abdd5 Postprocessing - quick fix for mad_world shader failing to compile (ATI cards only ?)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3403 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-10 02:47:02 +00:00
death2droid a9728b50b9 Fix for setting projection hacks in ISO Properties.
And added a projection hack for Skies of Arcadia by downloadaja.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3402 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-10 01:26:42 +00:00