Commit Graph

1649 Commits

Author SHA1 Message Date
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
cottonvibes 73d388fc87 microVU: Work in progress stuff... (no functional change)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1540 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-18 11:46:56 +00:00
Jake.Stine 6e894deb67 wxgui:
* Console now uses a fixed-width font by default
 * Core PCSX2 memory structures (VTLB and Recompilers) are allocated on startup.
 * Added some more gui/ini/startup mess.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1539 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-18 03:11:51 +00:00
gabest11 4a7304d6f7 GSdx: added ltrapper's modifications.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1538 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-17 23:45:32 +00:00
Jake.Stine 0f33c59509 wxgui: Whee, a basic file browser dialog for Run Iso. Eventually it *will* do something more than log the result. >_<
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1537 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-17 13:19:24 +00:00
Jake.Stine 3a5c1d180b wxgui: various cleanups.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1536 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-17 05:45:34 +00:00
Jake.Stine ccdb5d84b9 wxgui: Optimizations and improvements to the console logger's threading model.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1535 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-17 03:43:45 +00:00
gabest11 e58776e095 GSdx: just squeezing a few more fps.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1534 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-16 21:36:07 +00:00
sudonim1 800039c829 Fix flickering characters in god hand from r1509.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1533 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-16 15:13:01 +00:00
Jake.Stine 539a35fe80 wxgui [Linux]: Updated project files, fixed docking logic.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1532 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-16 13:44:40 +00:00
gigaherz de976b8234 Remove the bool from the GS exports, as Jake said.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1531 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-16 12:38:42 +00:00
Jake.Stine bea9aa2d15 wxgui: minor code cleanups.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1530 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-16 10:25:24 +00:00
Jake.Stine 657660371c wxgui: Fixed crash-on-exit problem in Release builds and made the console logger thread-safe (uses messages instead of direct wxFrame method invocations).
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1529 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-16 09:58:17 +00:00