Commit Graph

1126 Commits

Author SHA1 Message Date
arcum42 be6c314e27 Various changes that were accumulating. Broke off Gif.h from GS.h. Changed some defines to enums. A few other minor things.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1676 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-25 09:19:45 +00:00
cottonvibes a3f0ba5315 microVU:
- Started implementing VU macro mode (code off by default)
- Disabled Constant Propagation for Jump Addresses (this rarely was a speedup, and it slowed down recompilation time a lot in some games causing bad slowdowns (GoW))

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1675 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-24 02:48:50 +00:00
cottonvibes 3734a30c55 microVU: minor change...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1674 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-23 11:28:28 +00:00
mattmenke 5558ceafb3 Some preliminary HID code that I may or may not build off of.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1673 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-23 03:15:42 +00:00
arcum42 33d64faa5e Lets use the Gif stat enums, too. And set some of the dmac irqs to have more accurate names, and misc other things.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1672 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-22 21:03:02 +00:00
cottonvibes b00c60c7e6 Changed some more stuff to use the vif stat enum's; and some other minor changes...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1671 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-22 19:34:59 +00:00
arcum42 44bb5cdbb5 Odds and ends. Various defines involving vif->stat are now enums, and are now used in various places. Added a new file to GSnull. Moved the new Vif functions to Vif.h.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1670 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-22 09:52:00 +00:00
cottonvibes 21fed6e90c microVU: Cleanup of opcode lookup tables. (Removed the macros since multiple instances of the tables aren't needed anymore)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1669 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-22 06:12:53 +00:00
cottonvibes a5884b6577 microVU: Finally fixed the Kingdom Hearts missing poly bug =D
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1668 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-22 03:13:50 +00:00
arcum42 643e884b03 Added Vif Error flags to Tags.h.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1666 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-21 07:00:59 +00:00
cottonvibes 75c41d0c62 microVU: minor change...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1663 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-21 00:29:40 +00:00
cottonvibes 75a688a530 microVU: Changed some VU0 syncing stuff. mVU0 will only exit out early from recompilation for syncing whenever mBit has been set, instead of all the time.
This is a nice speedup in Nanobreaker, as well as fixes the constant recompilation problem.

If anything breaks with this let me know :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1662 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-21 00:07:08 +00:00
Jake.Stine cd5934fb57 Correct fix for thread affinity in CpuDetect, and fixed commenting in clean_msvc.cmd
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1659 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-20 15:53:17 +00:00
arcum42 4ce901c47b Tags.h: 0x8000000 != 0x80000000.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1657 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-20 12:27:32 +00:00
cottonvibes 685ceb245c Disabled precompiled headers for release builds. This fixes the random crash introduced 2 revisions ago (caused by some crappy IPU code we need to eventually get rid of)
Since the IPU code randomly works/breaks with different changes to pcsx2, eventually we'll be able to re-enable PCH.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1656 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-20 04:02:39 +00:00
cottonvibes 90b89dfc2d pcsx2: removed some warnings from the new dma tag code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1655 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-20 01:13:42 +00:00
cottonvibes 3c458affad microVU: Finished properly supporting branch in branch delay slots.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1654 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-20 00:49:13 +00:00
arcum42 490d996abc Tags.h meets SPR.cpp. Plus some more work on Tags.h and Misc...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1653 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-19 12:08:50 +00:00
cottonvibes 0587cdc210 microVU: 70% implemented Branch in Branch Delay Slots. Hopefully I'll finish tomorrow.
Compare Star Ocean 3 intro with mVU vs sVU, and you can see mVU now correctly renders the title menu/new game startup screen =)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1652 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-19 07:48:20 +00:00
cottonvibes 614cc7e55d microVU: minor changes...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1651 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-19 04:00:53 +00:00
ramapcsx2 dc4f05d7c2 GSdx:
Initial pixel offsetting support via gsdx.ini.
Use pixoff_x = somevalue and pixoff_y = somevalue.
This can be used as a workaround for the various upscaling errors :)

Try these values for Takes of the Abyss for example:
pixoff_x=-8
pixoff_y=-8

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1650 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-19 01:08:40 +00:00
arcum42 a1f45eab3c And we can add Gif.cpp to the list of files now using Tags.h
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1648 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-18 11:15:10 +00:00
cottonvibes 9da4a53929 microVU: Now properly supports E-bit set on branch delay slot instructions.
(Gets rid of "Unknown Micro VU opcode called" errors in Dark Cloud 2, and possibly fixes some other games)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1647 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-18 00:17:09 +00:00
arcum42 4509e085c6 Convert Sif.cpp & Vif.cpp to use the Tags.h code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1646 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-17 20:41:32 +00:00
arcum42 9714a50dc5 Changed the MFIFO test and message because it spams too much now that it actually does what it said it did before. Fixes the FFXII opening.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1645 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-17 12:34:27 +00:00
ramapcsx2 5b1700f98d Fix a foopah, and get rid of the useless imdct warning.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1644 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-17 10:36:53 +00:00
Jake.Stine fc35912a52 Removed duplicate null checks on safe_delete.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1643 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-17 09:52:50 +00:00
cottonvibes e08c2cc57d microVU: Now prints some more Warnings to the console when unimplemented features are happening.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1642 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-17 06:38:56 +00:00
cottonvibes 47b04ffb5b microVU: Fixed a case where a cached microProgram was killed but was still being used...
This fixes Suikoden III hanging/infinite loop problems, and possibly some other games...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1641 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-17 01:51:13 +00:00
Jake.Stine 761e36796a Improved the safe_delete / safe_free macros to avoid potential block scoping pitfalls, and fixed what looks to have been a minor typo in Tags.h :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1640 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-16 21:09:35 +00:00
arcum42 5c187ebed7 Minor correction to the last revision.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1639 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-16 20:12:07 +00:00
arcum42 adb9c06dba Converted VifDma.cpp over to using Tags.h. Worked some more on straightening out Tags.h.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1638 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-16 20:03:55 +00:00
gabest11 de2d3603a0 GSdx: corrected recording code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1637 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-16 16:45:26 +00:00
ramapcsx2 7a36e448c9 GSdx: Fix for the bad colors when capturing.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1636 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-16 13:46:50 +00:00
ramapcsx2 2dc77cd128 GSdx:
Re-enabled capturing via F12 key. It was missing the callback entirely.
The videos I capture here turn out all blueish though. No idea why :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1635 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-16 11:35:30 +00:00
cottonvibes 05bf33c35c pcsx2: fixed some msvc++ compiler warnings
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1633 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-16 06:22:45 +00:00
cottonvibes a364c72a57 microVU:
- Fixed a bug from r1630 (it was breaking SO3 and probably some other games)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1632 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-16 06:09:11 +00:00
cottonvibes e0aaf5569a microVU: minor cleanups
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1631 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-16 05:24:02 +00:00
cottonvibes 1c37a9abf4 microVU: Implemented some undocumented stuff which lets Champions Return to Arms get in-game.
The game still looks ugly, I'm not sure if its problems are gsdx or pcsx2. zeroGS just renders a black screen which it no help xD

Note: I still need to optimize this fix.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1630 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-16 02:49:25 +00:00
cottonvibes 0efb1c534f microVU: minor changes
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1629 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-16 00:49:34 +00:00
arcum42 233f4348bc Fix a silly mistake I made in naming functions in Tags.h.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1627 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-15 11:38:17 +00:00
ramapcsx2 d156fcfddb Disable vsync when going from "limit" to "skip" framelimit mode.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1626 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-15 11:25:52 +00:00
arcum42 b6cce7c560 A bunch of IPU.cpp now uses Tags.h. Ironed out a few things in Tags.h.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1625 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-15 09:51:23 +00:00
arcum42 fb3f07b2d6 Link in Tags.h, use one of my new enums in various places, and move some code in IPU.h to a new function of it's own.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1623 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-15 04:37:01 +00:00
arcum42 5ce6df15bc Added some tag code in I was fiddling with. (Nothing uses it yet. I mainly wanted a backup of what I was working on.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1622 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-14 10:24:23 +00:00
cottonvibes 18a12b10b0 microVU:
- Cleaned up microVU_Compile
- Added file microVU_Branch

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1621 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-13 05:04:04 +00:00
gabest11 ab010b2b4c forgot to set function level linking..., that trims more unused code and dlls deps, any good revision number ahead to reach? :D
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1620 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-12 23:27:22 +00:00
gabest11 b44e6fcb8a doh, so many missing files
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1619 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-12 22:47:48 +00:00
gabest11 e9277c36d7 missing project files
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1618 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-12 22:26:39 +00:00
gabest11 0d40e9963e vs2010 project files for pcsx2 (plugins later)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1617 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-12 22:11:06 +00:00