Commit Graph

2328 Commits

Author SHA1 Message Date
gigaherz 34e44e4956 Experimental sliced transfer stuff for spu2-x in the new dmac code. Probably doesn't make anything better, and it could slow down the iop a tiny bit while doing DMAs.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2558 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-04 18:17:41 +00:00
gigaherz b05733a8fb "giga: PlainDMAWrite((u16*)data,bytesLeft); << not bytesLeft/2 ? Fixes sound in many games" whoops.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2557 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-04 16:59:48 +00:00
arcum42 ca3679a3e0 Pull the IPU Fifo code out of IPU.cpp into its own file.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2556 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-04 12:19:34 +00:00
gigaherz 06db5bba38 Hackfix a problem with sio2 in the new dmac. It needs some changes to the dmac system (possibly a dmaStart function with more accurate information) to be implemented properly but for now, this will do.
Also make the autodma messages work like before so they are configurable again.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2555 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-03 03:59:21 +00:00
gigaherz 9ae807134e Experimental implementation of spu2 interface for the new iop dmac.
It's implemented only on SPU2-X and disabled by default.
FF12 and Atelier iris had working FMVs and bgm, other games might not
Try at your own risk.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2554 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-03 03:37:55 +00:00
ramapcsx2 3ab89904e4 Adjusting the previous VIF interrupt cycle change, so it now checks for a known to be slow operation and gives it a bigger delay.
Timesplitters 2 works again.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2553 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-02 08:45:36 +00:00
MattMenke@gmail.com 1fd51a635e LilyPad: Fix for detecting devices whose instance IDs have changed (Either due to to changing OS or USB port).
Modified unplugged device behavior to match PadNull.  May work better with unplugged pads, may not.  No clue, just know the old behavior didn't work that well.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2552 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-02 06:40:02 +00:00
ramapcsx2 909a7de4f6 SPU2-X:
- Ok, skip the whole runtime reset, since we don't know (yet) what vars need to be reset, and more importantly, when.
- Makes it possible to disable the specific BIOS hack we had. :)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2551 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-02 06:28:50 +00:00
cottonvibes 09e268e251 newVif: removed the old partial transfer logic since the new code doesn't seem to break anything.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2550 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-02 05:59:32 +00:00
cottonvibes 9356d311eb newVif: Rewrote the way partial transfers are handled.
The code is very simple now and doesn't need the vif unpack interpreter anymore for partial transfers.

Need some more testing done before I remove the code for the old way...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2549 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-02 05:01:13 +00:00
ramapcsx2 300717df6c SPU2-X:
- Don't the whole core on a core reset. Fixes sound in Silver Surfer, Silent Hill Shattered Memories and prolly others.
(SH becomes playable with this. ;) Still needs GSdx software though. )

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2548 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-02 04:50:51 +00:00
gigaherz d31337902b Some reorganization of my iop dmac code, hopefully for the better.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2547 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-01 04:12:51 +00:00
arcum42 9c9760f963 Tweak a few things in Sif.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2546 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-31 15:44:15 +00:00
Jake.Stine c44db64537 eh, oops. let's not clear memcard settings on ok/apply.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2545 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-31 11:55:17 +00:00
arcum42 3d131a7ea4 Update the Linux project files. A few minor changes I had sitting around.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2544 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-31 05:38:12 +00:00
Jake.Stine 42064218ec Committing some messed up partial memorycard options panel implementation... planning to redo it but I want this on record as a backup, just in case. (all disabled, so not much to look at and nothing changed in the emu itself yet)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2543 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-31 02:21:58 +00:00
gigaherz 07927f00d6 Typo
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2542 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-30 20:42:53 +00:00
gigaherz 54b8c44dad Move a bit of code into the IopDmaStart function. In the rare case it caused any kind of noticeable slowdown (applies to the new dmac only, which is disabled by default), it could be easily reverted.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2541 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-30 20:35:10 +00:00
arcum42 b624486932 Sif: Revert one of the changes from r2537, as Sif acts a bit whackier then I thought.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2540 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-29 10:55:31 +00:00
arcum42 1b6fd8377e Revising some logging messages.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2539 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-29 07:55:06 +00:00
arcum42 4dc7d3e2ab Sif: Rename functions. Move iopsifbusy.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2538 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-29 04:44:00 +00:00
arcum42 6db393faec Sif: Refinements on my last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2537 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-29 04:06:22 +00:00
arcum42 be9faf9002 Split Sif 0 and Sif 1 into separate files.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2536 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-29 03:03:51 +00:00
arcum42 bc3b572690 Add a few structs and defines to IopHw.h
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2535 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-29 02:38:31 +00:00
Jake.Stine c2c48b91c5 GSdx: better version of my previous commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2534 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-28 13:25:18 +00:00
Jake.Stine 8473436ae4 GSdx: Another attempted fix for Issue 553.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2533 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-28 13:07:06 +00:00
Jake.Stine 934ec2c0ba Fix attempt for Issue 533 - appcrash on closing GS window.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2532 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-28 11:01:21 +00:00
Jake.Stine d43282c1ac GSdx: Crash on config ok'd fixed.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2531 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-28 04:44:07 +00:00
Jake.Stine 9fa4944536 GSdx: Removed obsolete/redundant options from the configuration dialog (vsync, fullscreen, and other things now controlled by 0.9.7). This only affects GSdx when run from 0.9.7 -- older versions of PCSX2 still have the same options.
PCSX2: Added an optional PS2EsetEmuVersion callback for plugins, so that plugins (like GSdx) can alter behavior based on the version of emulator calling them.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2530 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-28 02:53:10 +00:00
Jake.Stine a9165dfbf6 Added more info to GS window. Added const qualifiers to VIF and DMAC hw register structs/unions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2529 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-27 15:25:40 +00:00
Jake.Stine c109fbeaae * Vsync setting is retained more reliably across suspend/resume/plugin config.
* fps/cpu% readout is a bit more stable.
* Plugin config menus update plugin names after on-the-fly changes.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2528 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-27 13:31:55 +00:00
arcum42 18fbbb613b Sif: Renamed a few functions. Added a check on fifo reading/writing. A few other minor changes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2527 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-27 13:28:43 +00:00
Jake.Stine fc5a91096e Linuz CDVDiso: Fix compilation errors in debug builds.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2526 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-26 16:54:57 +00:00
Jake.Stine eba108114c SSSPSXpad: Fix crash when binding keys (Issue 550).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2525 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-26 16:39:16 +00:00
Jake.Stine e2581e5c72 LinuzCDVDiso: Added the dual layer detection fix already present in the internal iso loader (fixes running some DVD9 games from iso, like God of War 1 and Rogue Galaxy).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2524 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-26 16:28:55 +00:00
Jake.Stine 2dfad2fb24 Improved CPU usage and fps stats.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2523 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-26 13:06:53 +00:00
arcum42 c455ea38e5 Fix Linux. Use defines for CPU_INT.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2522 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-25 22:40:01 +00:00
ramapcsx2 79a212a3bc SIF:
- Adjust the IRQ cycles so ecco boots again.
- Also stopped it from doing IRQ when the cycle counts are zero, since that >should< mean
we had no transfer. In fact our SIF is commonly doing 0 sized memcpy's, probably due to the wrong approach we took with it.
- Note that this could break games, so please test! (It does fix Eternal Poison though.)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2521 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-25 16:38:34 +00:00
Jake.Stine 4383cb5b0c Added CPU and GPU load readouts (currently Win32 only). Documented possible methods for implementation in linux. (linux project files aren't updated yet, short on time -- sorry!)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2520 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-25 15:31:17 +00:00
arcum42 97c8a29fb9 Sif: Some consistency in Sif Dma.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2519 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-25 13:20:37 +00:00
cottonvibes 46079853f9 Unified vif0 and vif1's write32 functions...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2518 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-25 07:42:45 +00:00
cottonvibes 5fa30179a8 some vif/vu changes...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2517 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-25 06:42:09 +00:00
cottonvibes 34fa47eba1 fixed some vif stuff.
not sure if any game was using the code in hwwrite.cpp, so i couldn't test the fix.
the old code was wrong though (unless it was trying to implement some undocumented feature which i doubt).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2516 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-24 22:50:18 +00:00
cottonvibes 2698b3da1b Created the macro "memcpy_const" for memcpy's with constant sizes, and set pcsx2 to use it where applicable... currently just uses memcpy_amd internally...
Also some minor mVU compiler optimizations.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2515 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-24 22:04:49 +00:00
ramapcsx2 ddfb8de7f1 Document some findings on VIF1DMA issues.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2514 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-24 20:41:38 +00:00
arcum42 6fdeb8d64a The usual Linux stuff. Plus one or two minor things that I hadn't had a chance to commit yet.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2513 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-24 14:49:07 +00:00
Jake.Stine 0d92ee6d0d Quick placebo for Memory Cards (empty panel and icon). Will fill it all in later.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2512 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-24 14:29:10 +00:00
Jake.Stine 541ef9956e Fix some excessive idle event processing introduced by my earlier log spam commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2511 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-24 13:13:49 +00:00
arcum42 2c013c9126 Sif: Pull some functions to pieces. Fix issue 549 while I'm at it.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2510 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-24 08:54:10 +00:00
arcum42 3c132690f5 Sif: Revert one of the changes from r2490. Rework safeDmaGetAddr.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2509 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-24 08:10:20 +00:00