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
Jake.Stine
fa04244375
Add some new checks for blocking VM reset/shutdown while savestates are saving (avoids accidental corruption). Renamed a lot of the new event listener code so that it's consistent... ish.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2497 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 17:13:03 +00:00
arcum42
bb3eda1524
More Sif stuff. Factor out a few functions. Played around with SIF0Dma & SIF1Dma a bit.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2496 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 16:08:39 +00:00
arcum42
6d7f46751c
More sif cleanup. tagMode is no longer needed.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2495 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 10:07:57 +00:00
cottonvibes
26c25a2537
Vif: Finished combining all the duplicated vif0/vif1 command functions.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2494 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 09:55:57 +00:00
arcum42
2f33f163a4
Get Grandia III working again.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2493 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 08:15:02 +00:00
cottonvibes
e8527448ca
Vif: Combined a lot of duplicate functions between vif0 and vif1...
...
Still got some more to do...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2492 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 06:54:58 +00:00
arcum42
cc52adf6cb
Bring Linux project files back up to date.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2491 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 05:05:50 +00:00
arcum42
75cdc5b955
More fiddling with Sif.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2490 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 04:52:15 +00:00
cottonvibes
92ddae17ce
More vif refactoring/cleanups.
...
There is a lot of code duplication in the vif0/vif1 files, I will probably work on getting them to use common functions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2489 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 04:14:59 +00:00
gigaherz
47d9ba5c7a
Made the new iop dma use the hardware registers for MADR/BCR/CHCR, which lets the memcards and pads work, at least in the bios.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2488 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 04:00:55 +00:00
arcum42
fa5ba9fc29
Bring Linux project files up to date.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2487 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 03:55:07 +00:00
gigaherz
5715c181dc
I give up on the dmac branch. It will be easier to just do this in trunk, since it can be easily turned off.
...
I made it so each part can be enabled separately, but atm they are missing some code so nothing will work if enabled.
Commit is mostly for backup/history purposes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2486 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 03:28:32 +00:00
cottonvibes
84bc805761
Vif Cleanups - did some code refactoring so things make more sense.
...
I need to do more later on...
I mostly separated the unpack code from the dma/transfer code in this commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2485 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 02:30:00 +00:00
Jake.Stine
12200c2c10
Fix the RecentIsoList.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2484 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 02:02:05 +00:00
Jake.Stine
b594d6e37b
Second try for nvidia driver bug in dx10/aero.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2480 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 23:56:06 +00:00
Jake.Stine
4e225ba113
Minor fixes to the GS Window regarding suspend/resume and a certain nvidia bug; and fix a bunch of compiler warnings.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2478 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 23:26:57 +00:00
arcum42
6d9fb042cd
Hurrah for gcc.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2477 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 16:55:39 +00:00
ramapcsx2
cf809cd1df
Limit EESIF1 scheduled interrupts to a maximum of 384 cycles, stops a lot of timeouts and subsequent reschedules.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2476 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 16:02:09 +00:00
Jake.Stine
aac2a2e0d1
... forgot to save the linux cbp files before committing. >_<
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2475 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 15:22:53 +00:00
Jake.Stine
e747337d63
A big old crapload of UI and thread management changes. Recoded the EventSource/EventListener system to be more C++ and less hacky C. Probably breaks Linux!
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2474 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 15:22:01 +00:00
arcum42
c8fa4ffd45
Fix the release build. Minor Sif changes.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2473 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 15:02:50 +00:00
arcum42
124f91920e
Refactor some Sif code.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2472 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 13:00:04 +00:00
arcum42
14ebc021ad
Some sif fifo revisions.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2471 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 12:22:32 +00:00
ramapcsx2
4bf1b1feaf
Fix a screwup with the Drakan fix. Also commented it with the nice voodoocycles tag :p
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2470 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 11:20:04 +00:00
arcum42
b76d7c164b
Just a few minor things.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2469 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 08:49:54 +00:00
arcum42
4f2601a687
SPU2Null: Fix the release version.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2468 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 05:07:34 +00:00