Commit Graph

2468 Commits

Author SHA1 Message Date
arcum42 64da7dd76b zzogl-pg: Remove a few hardcoded game options that shouldn't be there.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2903 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-25 19:52:33 +00:00
arcum42 2daee33eae zzogl-pg: Revamp the crc code to pull from a table, and add a few crc codes. Based off of code from GSdx.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2902 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-25 11:14:37 +00:00
arcum42 07a16bc76d zzogl-pg: Get rid of RELEASE_TO_PUBLIC, and use ZEROGS_DEVBUILD instead. Fix a typo I noticed.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2901 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-25 09:02:36 +00:00
arcum42 9293c2eb8e zzogl-pg: Got rid of the logging macros. Changed the text of some of the messages a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2900 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-25 08:33:05 +00:00
arcum42 0ccd832efe zzogl-pg: Start reworking the way logging works.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2899 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-25 07:21:29 +00:00
refraction 92a8baab56 Fixed small bug where if a DMA is started with an 8bit or 16bit write, it can repeatedly try to start the DMA (shouldn't be many games doing this anyway).
Adjusted some IPU logging.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2898 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-25 01:04:09 +00:00
sudonim1 4457fe40fc Removed all trailing whitespace in *.c *.cpp *.h because it irritates me.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2897 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-25 00:31:27 +00:00
arcum42 790cd55608 zzogl-pg: I don't think this should be hardcoded to 640x480...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2896 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-24 23:22:49 +00:00
refraction dc4899e65d Minor changes:
- Removed small line on PATH3 masking
- Fixed a smally bug from my previous cockups
- Replaced the SIF irq hack with something that makes more sense.
- Removed the vif1DMA call from IPU, this was just causing double IRQ's on VIF1 in Klonoa

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2895 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-24 22:36:16 +00:00
sudonim1 a05e9c62be Set svn:eol-style=native on all *.c *.cpp *.h
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2894 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-24 21:37:39 +00:00
arcum42 6cb4d35e50 Adjust Ipu1Dma to use the helper functions in Dmac.h for tag transferring. A few minor changes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2893 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-24 21:19:34 +00:00
sudonim1 0fa4a5e433 Reinstated 0x10000000 limit on uninstalled memory map for DMA. Removed scratchpad support from toSPR/fromSPR address translation (this is documented as absent).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2892 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-24 20:21:09 +00:00
arcum42 0f661e8f47 Chcr is a non-pod type.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2891 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-24 20:14:09 +00:00
refraction 662d589217 Improved my previous fix, Psychonaughts exhibited behaviour sudo mentioned (data not being grabbed from VU) so added a seperate SPR handler.
Removed an old check which is useless now and added a new replacement one.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2890 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-24 18:59:31 +00:00
refraction e99837abaf Fix for Neo Contra to stop crashes and DMA spam
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2889 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-24 17:22:22 +00:00
ramapcsx2 e785a5b861 And one other bugfix commit. Hopefully fixes more stuff :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2888 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-23 02:29:55 +00:00
sudonim1 d97484a008 Oops, lost the quadword alignment in dmaGetAddr
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2887 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-22 16:44:21 +00:00
ramapcsx2 f11de3c60e Bugfix commit. Please test your recently regressed games with this :)
(Typo'd a path2 clear instead of a path3 one.)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2886 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-22 14:42:41 +00:00
arcum42 bf1d011049 The usual batch of Linux fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2885 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-22 00:48:06 +00:00
sudonim1 5643a95a0e For some reason we're getting a lot of 0x2XXXXXXX addresses in DMA. No games seem to break because of this but it's very noisy. Putting the mask back in dmaGetAddr for now for a little peace and quiet. (Maybe it's even right. The high bits could be handled by the bus.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2884 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-22 00:34:05 +00:00
sudonim1 a21fb4b984 Map uninstalled main memory (>32MB). I can't see any suggestion in the manuals that accessing these addresses generates a bus error or tlb miss (and they are in the bios default tlb initialisation), so I'm assuming that it acts as write only memory for both DMA and normal accesses. The write-only implementation is a little sketchy for DMA, but it's very unlikely to matter in practice.
Changed dmaGetAddr to not lookup addresses in the TLB.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2883 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-22 00:11:53 +00:00
refraction 912a90a605 Fixed a small VIF FIFO error on my part, and clarified the clarification on vif direction ;p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2882 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-21 23:48:32 +00:00
sudonim1 4582b281c1 RTC: correct date change at midnight bordering the 28th and 29th of January on a leap year.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2881 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-21 01:08:15 +00:00
sudonim1 633938b4dd RTC: Testing with real hardware showed that the 0x80 written to the month is not read back. Just discarding it for now.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2880 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-21 00:48:29 +00:00
refraction cbc7bbb33e Fixes for Tri-Ace games and Dark Summit (Which seems to use a similar video engine). Also a couple of other modifications for IPU resuming
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2879 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-20 22:10:49 +00:00
refraction 0788dec404 Fix for Fahrenheit :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2878 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-20 20:24:04 +00:00
ramapcsx2 b640733d59 Committing some changes to the dma code for ref.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2877 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-20 15:40:55 +00:00
refraction 78f45ef832 Onimusha 2 fix, Trying to do a divide with an uninitialized variable = bad!
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2876 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-20 01:39:22 +00:00
refraction f01e10fc9a -Rewrote the DMA checking functions as per the manual specs so certain situations can alter the DMA's while busy.
-Improved DMA Queuing slightly, less "all over the place" code.
-Jiggled some IPU bits around to clean up some clutter.
-Added the FFX and Digital Devil Saga video fixes as a Gamefix for now. Due to the delay involved, this causes other videos to terminate early, so now disabled by default.
-Added a load of logging for hardware in dev builds (also now label more correctly) and some bits for debugging IPU easier. Some are commented out, but can be enabled for testing.
-Made a small clarification in VIF

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2875 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-20 01:18:31 +00:00
sudonim1 36c9d63495 New less intrusive BIOS skip hack replacing the old BIOS skip hack. Works with Ico, Tekken 5, and probably any other games that were problematic with the old hack.
Changes to patch system required by this and fix for boot time (first field = 0) patches when booting through BIOS.
Store Sony part number for the game disc globally for future use in selecting game fixes, patches, providing information to the user, etc.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2874 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-19 23:46:12 +00:00
ramapcsx2 d857fec233 Clear interrupts on double dma requests. Fixes the game Fahrenheit (Indigo Prophecy).
Thanks to "blood" for the discovery :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2873 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-19 13:22:00 +00:00
sudonim1 93e3205a09 The RTC bug doesn't exist. Well, it was a little buggy, but not in the reported way. I've made the code clearer.
The PS2 BIOS does not feature automatic DST adjustment! You have to set DST from the triangle button menu on the date/time in the BIOS!

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2872 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-19 04:20:56 +00:00
MattMenke@gmail.com fa9953d461 Minor RTC day fix. Still getting times an hour off, but apparently not the case for everyone.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2871 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-19 03:28:02 +00:00
ramapcsx2 86546338ea GSdx:
Fix a memory leak with the blend interlace modes.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2870 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-18 17:11:45 +00:00
ramapcsx2 618e295c95 IPU fix for a few games. Bring back the overflow into pad area handling for IPU1.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2869 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-17 12:29:23 +00:00
ramapcsx2 ac901140a2 RTC fix attempt #2, thanks Bositman :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2868 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-16 23:20:16 +00:00
ramapcsx2 d8dd8ce8cb Small fix to the real time clock.
Should work correctly now when booting through the BIOS (and the correct time zone and daylight saving settings are set).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2867 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-16 19:42:17 +00:00
arcum42 678f2018d0 pcsx2: A few misc changes. && != &. zzogl-pg: Comment out a log message that was spamming in Mana Khemia.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2866 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-16 05:08:41 +00:00
arcum42 6d6eb253c6 zzogl-pg: Fix a few game crashes in Windows. (Reverted a few misc changes in r2833.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2865 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-16 04:17:46 +00:00
arcum42 9f7032d0f6 zzogl-pg: Comment out a log message left in accidentally. Move the Gust checkbox on the Windows dialog to not be on top of a button.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2864 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-16 02:21:46 +00:00
refraction d4d4d78c39 Fix for Eternal Poison video (really this time :P)
There is a current issue with IPU causing videos to cut short, going to need to spend some time checking this

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2863 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-16 01:27:03 +00:00
refraction 6382f6811b - Improved Path3 Masking, Should fix Sega Superstars Tennis and hopefully improve Star Wars Episode 3 some.
- Fixed bug in the GIF_Tag decoding which caused huge QWC values on GIF if the FIFO was "read" beforehand.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2862 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-15 22:26:39 +00:00
gigaherz cd36e5fd24 Fix PadSSSPSX building, properly fix ZeroSPU2 and the null plugins too. Remove nullplugin_svnroot.props since it's not used anymore (I misunderstood the way props work).
Silence many of the warnings related to TargetName.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2861 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-15 22:18:32 +00:00
arcum42 a91d499f17 zzogl-pg: Pull a check out of a for loop in Mem.cpp. Break CheckChangeInClut in two. Turn a bit of repeated code in ZeroGS::CRangeManager::Insert into a function. Work on creating a new tex0 struct.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2860 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-15 22:03:23 +00:00
gigaherz a79f87439f Fix the resources' build steps not being run (thanks ltc.inv).
sorta-hack-fix zzogl into linking with libjpeg7 and zlib (having the projects as dependencies is supposed to link to the .libs automatically, isn't it?).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2859 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-15 21:19:51 +00:00
refraction 0d1d4d97f2 Further fixes for arc the lad, ar tonelico, eternal poison. (I presume so, i ran out of blockdump, thats good, right? :P)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2858 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-15 12:17:57 +00:00
refraction 887a05fa4d Missed hwwrite.cpp in my last commit, whoops ;p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2857 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-15 10:50:40 +00:00
refraction 40bdbf9748 Fixes for r2853.
- BIOS works again, Issue involving GIF Tag looping from the VU (which must have never worked!)
- Fixed KH freeze issue, possibly fixes Onimusha 2 as well. Thx Arcum for spotting it, thanks Rama for trying to bring fast resolution to the issue (however it wasnt quite right)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2856 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-15 10:48:44 +00:00
ramapcsx2 e0bbb8f59d Fix typo that broke a few games in r2853. Thanks for spotting it, arcum :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2855 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-15 10:14:42 +00:00
arcum42 43530ff703 vif.h -> Vif.h.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2854 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-15 03:18:23 +00:00