Commit Graph

2017 Commits

Author SHA1 Message Date
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
gigaherz 60987c08eb (new dmac) Sending the sio interrupts on the dma interrupt seems like a more sensible solution, but I don't know if it will actually be better or worse.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2508 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-24 03:00:41 +00:00
ramapcsx2 83a6898651 Small log stuff for new iop dma.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2507 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-24 02:43:43 +00:00
Jake.Stine 6b899c9bbd More UI bugfixes and tweaks:
* Hopeful fix for GSwindow getting stuck maximized when pcsx2 crashes when fullcreen.
 * Altered RestoreDefaults behaior for EE/IOP and VU CPU panels.
 * CDVD Verbose Reads toggle takes effect immediately now.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2506 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-24 02:26:53 +00:00
gigaherz 3eb3991b9a Apparently the sio didn't really like me setting count to 1 every byte. Hardcoded a block size of 0x24 for now, since it's what the bcr in the bios has.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2505 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-24 02:16:06 +00:00
cottonvibes 287bd773f8 Fixed a compiler warning.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2504 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-24 02:07:19 +00:00
Jake.Stine 781e7d8d2e Let's try this instead for appeasing GCC. ;)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2503 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-24 00:36:39 +00:00
gigaherz 54e399ec31 Small cleanup of the new dma update function.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2502 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-24 00:14:01 +00:00
arcum42 fc18068c94 Quick Linux fix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2501 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 23:52:54 +00:00
Jake.Stine 6307feebc4 Fix some random crashing on exit. Add some log spam threshold handling (untested).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2500 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 23:48:54 +00:00
gigaherz a323d31bf3 Fixed a bunch of silly mistakes I'm ashamed of. no the bios can actually access the memcards.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2499 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 22:42:49 +00:00
ramapcsx2 7dfaa65ef3 SIF: Some logging that might be interesting when trying to fix this.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2498 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 21:38:04 +00:00