Commit Graph

2220 Commits

Author SHA1 Message Date
ramapcsx2 8d7971466d SPU2-X:
- Added an interrupt call on a special register write, which mimics peops spu2 behavior.
This lets Silent Hill Origins get further when booting up.
Note that it's not complete and hackish, need someone with spu2 experience to make it right :p
- Also added various logging stuff

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2600 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-17 17:35:06 +00:00
arcum42 839d5b37f4 Fix back up CMake.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2599 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-17 13:40:45 +00:00
ramapcsx2 2edc495520 Added a check for NOPs in the eerec. Seems like "SLL" and "NOP" share the same opcode table entry :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2598 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-17 09:27:35 +00:00
arcum42 4b4cdf595f Linux compilation fix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2597 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-15 22:43:31 +00:00
ramapcsx2 50f48c01e6 The "highload" version of ps2link seems to work fine for our purposes.
So this commit enables the new pcsx2hostfs driver :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2596 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-15 19:22:40 +00:00
gigaherz 82739f9b60 Commit for backup/history purposes. Tried to make "Run ELF file" load the elf through pcsx2hostfs_ldr.elf so that elfs would have host: readily available, but it does not appear to work.
The code is disabled by default.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2595 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-15 17:18:13 +00:00
ramapcsx2 9960c24af7 GSdx:
- Added a hack that changes how alpha is handled.
This can be used to fix stuff like too bright blending, bad effect leftovers or "ghost layers".
Enable via ini > UserHacks_AlphaHack = 1

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2594 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-14 15:19:35 +00:00
cottonvibes 16750e9289 Committing some God Of War patches by Prafull that skip certain parts of FMVs allowing you to get past certain hangs in the game, making the game playable afaik.
Note: best to play the game with patches OFF until you reach the FMV's that cause the hangings since most FMV's work fine.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2593 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-13 20:48:33 +00:00
arcum42 3b4ccf8a31 Fix for my last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2592 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-13 01:06:10 +00:00
MattMenke@gmail.com 32c7e80634 LilyPad: Yet another minor change to window hook cleanup that probably isn't really needed. "LilyHaxxor" property wasn't always being removed.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2591 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-12 23:28:42 +00:00
MattMenke@gmail.com cd5c262e7f LilyPad: Oops...Forgot to copy two lines. Don't think they're really needed, but can't hurt.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2590 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-12 23:09:27 +00:00
MattMenke@gmail.com 3a725ee6f6 LilyPad: Fix for testing rumble breaking test button. Jake was the one who broke it, not me. Honest. Should fix issue 531.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2589 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-12 23:07:07 +00:00
arcum42 7f46f80015 ZeroSPU2: Various cleanups, refactors, and general mucking about with code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2588 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-12 11:42:29 +00:00
MattMenke@gmail.com 742bae8d94 SSSPSX: Slight change to analog stick zero position, at rama1's suggestion. Zero should be 0x7F instead of 0x80. Untested, as I don't use the plugin and am rather lazy.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2587 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-11 16:09:00 +00:00
ramapcsx2 9d2699529a Enable the SIO_INLINE_IRQS define, to free some load from the IOP event handler.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2586 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-11 10:04:00 +00:00
cottonvibes 76194c82dc Vif - Cleanups/refactoring
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2585 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-11 04:36:47 +00:00
ramapcsx2 706c68c1cd PCSX2:
- Fix SPR interrupts to a delay of 4 cycles always. Makes sure they're handled first.
(Fixes Obscure2 and Alone in the Dark FMV.)
GSdx:
- One more CRC :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2584 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-10 18:44:58 +00:00
ramapcsx2 9906e82efc New IOPDMAC:
- Add basic savestate support

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2583 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-10 15:49:35 +00:00
gigaherz ad5d7376d0 So yeah, an idiot. Everything i coded the other day was bugged, and somehow i didn't realize it before commiting.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2582 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-10 14:40:14 +00:00
gigaherz fcf5b97e46 Not my day. Reverted the last change and reimplemented it in a cleaner way.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2581 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-10 14:34:52 +00:00
gigaherz ae3934cffb Forgot some people might want to run pcsx2 WITHOUT my new dmac enabled.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2580 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-10 14:29:22 +00:00
gigaherz c8269a44a3 I'm an idiot. No comments.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2579 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-10 14:24:01 +00:00
arcum42 4a6b425832 Fix Linux builds.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2578 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-09 10:57:25 +00:00
gigaherz 6730abd967 Whoops missed a file. Another small refactoring too.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2577 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-08 16:35:18 +00:00
gigaherz 822e2a8166 Moved some stuff around, removed some unnecessary code, added some comments. No functional changes.
Will need updating the linux build files.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2576 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-08 16:19:01 +00:00
arcum42 fbbe9c3299 Forgot this in the last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2575 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-07 13:04:37 +00:00
arcum42 dc79e34ac9 ZeroSpu2: Add some placeholders for new iop dma code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2574 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-07 12:36:49 +00:00
arcum42 e4702bf67a Various IPU & logging stuff.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2573 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-07 06:29:58 +00:00
gigaherz 582ec766e4 "Fix" dev9null to allow the new iop dmac stuff. It's null, so it has no other purpose than to check if the plugin loads correctly. Which it does.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2572 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-06 22:33:45 +00:00
gigaherz 86d96ffbf2 Implemented the handlers for channel 8 (dev9) in the new iop dmac. No plugins support the changes yet so don't enable it.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2571 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-06 22:18:26 +00:00
ramapcsx2 19b9ef1cea Some more CRC's for GSdx and altered speedhacks descriptions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2570 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-06 16:34:36 +00:00
arcum42 ebadb4b971 See last commit, only for ipu.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2569 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-06 09:08:08 +00:00
arcum42 0ab52c9274 Do the same thing for the Sif savestate code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2568 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-06 03:42:54 +00:00
cottonvibes 15f01118e8 Added some saved-state code for newVif.
Not in effect yet cuz there seems to be a minor bug in the current saved-state versioning system. (GetVersion() is not correctly returning the loaded-state's version when loading a saved state)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2567 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-06 03:11:19 +00:00
gigaherz cdb5de009b Experimental stuff, "newly discovered" flag from some old ps1 source code (so yeah not new, just I had never seen it) which appears to indicate the status of the spu's internal transfer queue (both dma and non-dma transfer styles).
Only applied for DMAs, and only in the new dmac code. Please tell if it breaks anything! and also if it fixes anything!


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2566 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-06 01:35:36 +00:00
ramapcsx2 0de9848106 GSdx:
- Just a few more SMT games CRC's. Too many versions of these games.. :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2565 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-05 23:43:03 +00:00
arcum42 6fa8bbc6d1 Correction to last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2564 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-05 13:01:16 +00:00
arcum42 e86d7fba0e Sif: Implemented a new _sif structure, and made the code use it. Added some temporary code to try to keep the savestate backward compatible.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2563 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-05 12:41:25 +00:00
arcum42 cc585042ce Spu2-x: A few quick changes to get it compiling in Linux again.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2562 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-05 03:59:19 +00:00
arcum42 84194fb892 IPU: Folded a few related variables into a struct.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2561 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-05 03:31:56 +00:00
gigaherz 8ef8958e2d Forgot to check if my changes compiled with the new dmac stuff disabled. Thanks Pashifika.kasuru for pointing it out.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2560 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-04 21:04:48 +00:00
gigaherz 7090edf371 Chagne a few thigns around for the spu2-x Irq flagging. If this breaks anything please tell.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2559 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-04 18:39:15 +00:00
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