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
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