Commit Graph

1711 Commits

Author SHA1 Message Date
cottonvibes 8b288e8917 microVU: more optimizations
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1590 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-31 07:34:03 +00:00
cottonvibes dea6f1ced2 microVU: Optimizations, cleanup, and fixed a bug...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1589 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-31 02:30:32 +00:00
arcum42 a4e0009a7e Stub out some functions in the cache code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1588 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-30 23:50:39 +00:00
arcum42 d1f8bf4d71 Some cleanup around iCore.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1587 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-30 22:41:36 +00:00
cottonvibes 3d18ddf16b minor fix for broken compiling
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1586 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-30 01:50:18 +00:00
cottonvibes b470a9ae31 microVU:
Saw that SSE4.1 has ptest, and I wanted to try it out xD
untested though cuz I don't have an SSE4.1 cpu :)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1585 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-30 01:35:25 +00:00
ramapcsx2 a0828bc8f9 GSdx:
- Trippled the number of cached textures, many games constantly recreated them
- Don't clear some shaders at each drawcall (in dx10) , which is a nice speedup (but could potentially be bad, please check..)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1584 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-30 00:21:33 +00:00
cottonvibes 83081605b4 microVU: fixed a bug
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1583 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-30 00:05:42 +00:00
Jake.Stine 71490981bf wxgui: synced with trunk, and started work on an improved plugin initialization procedure. (branch currently does NOT compile, sorry)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1582 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-29 14:00:00 +00:00
Jake.Stine b93f5bf91a More new plugin api work.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1581 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-29 13:54:49 +00:00
cottonvibes e514d340b6 microVU: tweaked some regAlloc stuff; i think it should be faster.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1580 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-29 01:14:56 +00:00
Jake.Stine 16fb25c1ed NewPluginApi: Some tweaks as per Gabest suggestion; probably a tired disaster in need much review.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1579 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-28 07:34:49 +00:00
cottonvibes 2bcf704ff3 microVU: Improved microProgram management/searching.
Instead of just having live/dead programs, we now have young/old/dead programs.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1578 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-28 01:36:37 +00:00
Jake.Stine 3935927a99 Cleaned up some loose ends I left behind in my initial rough draft of PluginCallbacks.h, and added some eol-style:native properties to /common/include files that lacked them.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1577 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-28 01:25:51 +00:00
Jake.Stine 2cbb853535 Working on a brand new plugin interface, based on passing APIs via structure instead of individually binding each function (which is generally cumbersome and limited in a number of ways).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1576 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-27 23:51:52 +00:00
cottonvibes d190776639 microVU: fixed a bug in my clamping code from r1568. Fixes TOTA invisible characters when clamp-mode set to 'normal'
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1575 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-27 04:27:08 +00:00
cottonvibes f058728f09 microVU: tweaking/testing some stuff...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1574 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-27 02:55:25 +00:00
cottonvibes 37675b6c49 microVU:
- Finished implementing regAlloc. Sadly the speedgain wasn't great (0%~2% in the games I tried). I think the speedup should be bigger with a CPU that supports SSE4.1, but I don't have one to test :p


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1573 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-27 00:27:33 +00:00
Jake.Stine 6566f6a018 wxgui: Improved threading model used by the log window, plus a few minor fixes to main window startup/shutdown code.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1572 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-26 23:53:52 +00:00
gabest11 cc3130660a GSdx:
- Automatic texture filtering should be ok now, occasionally point filtering was used. Tested it on the ps2 and figured with no mip levels LoD and minification settings are just ignored altogether.
- Also run a few tests on the gather instruction with the reference rasterizer and found a fatal flaw with it. It returns the four samples for bilinear sampling (in a funny order, which isn't documented of course, x = bl, y = br, z = tr, w = tl), but there is no way to guess which four were selected exactly. Due to some hidden rounding error it might grab different texels than I would when calculating the position of the upper-left texel, of which the fractional part is be used for the interpolation. When the texel positions do not match it leaves annoying discontinuity errors. Oh well...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1571 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-26 15:30:25 +00:00
cottonvibes c595eab036 microVU: more regAlloc work...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1570 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-26 05:54:30 +00:00
arcum42 e768150a4b Quick fix for r1566.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1569 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-25 03:22:40 +00:00
cottonvibes aedf28726c microVU: Setting VU clamp mode to "normal" should fix sps/problems in alot of games now.
I'll list what I think should be fixed:
Dawn of Mana SPS <- Should be fixed, untested
ToTa Characters <- Should be fixed, untested
FFXII SPS in Barheim Passage <- Should be fixed, untested
KH1 floor bug <- Fixed for me, but theres still other sps on characters caused by something else

Most-likely SPS in some other games is fixed as well...
If anyone can confirm the games I listed are fixed, please leave a comment :D

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1568 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-25 02:38:09 +00:00
cottonvibes 829efedfb5 microVU:
- Re-implemented logical min/max code
- Re-implemented tri-ace gamefix
- Fixed some bugs...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1567 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-25 01:56:27 +00:00
arcum42 93d6d5a2ac Fixed some bleedthrough on the colors on the console, took care of a typo I made earier, and did assorted cleanup.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1566 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-25 01:40:34 +00:00
gabest11 4eaa5265df Added vs2010 project files for xpad and CDVDolio, too.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1565 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-24 12:54:54 +00:00
gabest11 319782cf39 GSdx: just updating vs2010 project files
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1564 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-24 09:24:09 +00:00
arcum42 5abbb0c242 Unbreak FF X-2 with the new iso code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1563 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-24 05:33:02 +00:00
arcum42 56a98ca922 Converted a few of the file paths to strings, and moved the generic file manipulation functions in IsoFileFormats to their own file.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1562 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-24 03:08:14 +00:00
arcum42 90c2f8ebc6 Fixed up Linux after my previous changes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1561 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-24 01:11:41 +00:00
arcum42 a9999cbffa Reworked a few things in PcsxConfig, to make things a little more organized, and make path changes later easier. (May have broken Linux temporarily. If so, I'll fix it in a bit.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1560 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-24 00:53:40 +00:00
arcum42 20b95fd187 Added a few new calls to PathUtils, and used them to get rid of some platform specific code in the new Iso code. I also modified some other code to use the new calls, and fixed a few microVU compiler warnings.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1559 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-23 23:30:19 +00:00
Jake.Stine 3751c928d3 wxgui: synced with trunk (to acquire new CDVD/ISO api)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1558 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-23 14:58:17 +00:00
Jake.Stine 9f35752ed8 Added clean_msvc.cmd, which is a batch file that deletes all the mess MSVC leaves behind even with Clean/Rebuild. Chances are if you're having compiler/linker problems you can just double-click clean_msvc.cmd and have it fixed, rather than having to do a full re-checkout of sources (see file for more details on why).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1557 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-23 13:52:27 +00:00
Jake.Stine bd91426bab Made a clean fix for the memzero.h template expansion bug/warning (caused by msvc treating template parameters like macros).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1556 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-23 13:40:13 +00:00
cottonvibes ba0f21463c microVU: minor changes
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1555 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-23 03:25:28 +00:00
Jake.Stine 2814323298 wxgui: Tons of updates and fixes ...
* Mostly finalized the i18n system.
 * fully implemented the speedhacks dialog.
 * improved the wxHelpers quite a lot.
 * added a new gamefixes icon as put together by gigaherz.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1554 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-23 02:11:45 +00:00
ramapcsx2 0b6ed4bc15 GSdx: Disabled requesting of thread safe D3D devices. This is a speedup, and we shouldn't need the safety.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1553 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-22 19:04:48 +00:00
gabest11 3599acc618 GSdx: ffxii fmv works again and even less bogus
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1552 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-22 14:28:14 +00:00
gabest11 3a569dba23 GSdx: disabled "gather" until I can sort it out
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1551 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-22 12:23:58 +00:00
arcum42 6aacb2899c More iso work. Timestamps work in Linux now (and use Paths.h). Worked on getting rid of other redundant code, moving the logging to the standard pcsx2 log functions, and misc cleanup.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1550 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-22 12:06:32 +00:00
gabest11 83b15dbac0 GSdx:
- trying the dx10.1-only "gather" shader instruction for palletized lookups ("8-bit texture" mode), saves 4 instructions which isn't much but still... (not tested, don't have ati)
- may fix the intel gma "no output" bug (don't have gma either :P)
- and the usual small code optimizations


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1549 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-22 03:55:28 +00:00
arcum42 6aeda9884a Did a bit of cleanup on the new iso code, mainly so we're using the Console functions for messages.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1548 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-21 21:29:27 +00:00
cottonvibes 98c1855916 microVU:
- More regalloc work/fixes
- Implemented some untested SSE4.1 optimizations (can't test since don't have sse4.1 cpu)

pcsx2:
- Added an SSE4 instruction to the legacy emitter (just a wrapper to the new emitter function).

Note: Currently tri-ace fix and logical min-max code (thing that mad DaZ safe to use) is broken with mVU. Will fix later.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1547 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-21 06:36:56 +00:00
cottonvibes fb0a990605 microVU:
- Fixed Micro Program Logging (broke it on my last commit)
- More regAlloc work
- Big Cleanup, deleted about a thousand lines of obsolete code.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1546 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-20 07:36:35 +00:00
cottonvibes 5518d8072e microVU: more W.I.P. regAlloc stuff (upper opcodes are using my regAlloc class but are set to flush every opcode so speedwise this commit should be slower (or the same as before)
Once I rewrite my lower opcodes to use regAlloc, I can remove all the flushes.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1545 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-20 03:40:00 +00:00
Jake.Stine aaf1acf58d wxgui: Added more functionality to configuration dialogs and more options are saved to ini.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1544 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-20 00:39:38 +00:00
cottonvibes 6c8a075131 PCSX2:
- Added *.MDF Disc Images to the "Run ISO" file browser.
I'm not entirely sure if theres any file system differences between .mdf and .iso (couldn't find much info on it); but all my .mdf files are working as-is with gigaherz's code, so I think compatibility should be fine.
- Moved "Run ISO" menu option above "Run BIOS" since users will run ISO's more often than the bios xD

microVU:
- More work in progress stuff... hopefully I finish within the next few days.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1543 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-19 00:42:11 +00:00
cottonvibes 81009002bb microVU: more work in progress stuff...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1542 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-18 13:57:21 +00:00
cottonvibes 5474df1479 microVU: cleanup (removed old mmx vi reg caching)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1541 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-18 11:57:10 +00:00