Commit Graph

3006 Commits

Author SHA1 Message Date
Jake.Stine 688674bed9 Emitter: Major refactoring / renaming job. Improved type checking and usefulness of xAddress* (Void, 32, 64, etc) types.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3397 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-05 19:15:19 +00:00
gregory.hainaut 6e30a41931 [asm] * Set a good default GNU-stack note. Need to properly support the nx bits (security concerns)
See http://www.gentoo.org/proj/en/hardened/gnu-stack.xml for details.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3396 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-05 15:56:38 +00:00
gregory.hainaut f8163336b7 [cmake] remove -fPIC. Expect a little speed up.
[plugins] remove __forceinline on variadic function that has been broken by the removal of -fPIC.
[debian] update readme about fpic status. And add some lintian overrides.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3395 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-05 15:43:21 +00:00
arcum42 1a593a4134 zzogl-pg: Fence off an area where I can work on the register code without worrying too much about it.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3394 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-05 13:22:02 +00:00
gregory.hainaut e8a6401cf4 [debian]
* reduce requierement for ubuntu lucid
* remove windows file of the linux tarball. Copyright issue and useless anyway


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3393 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-05 12:10:15 +00:00
Jake.Stine 4f9a5c6876 Remove all MMX and XMM register freeze code.
DevNote: I could have left the code for the freezes in, except I *really* don't want us to ever have to resort to using such a system ever again in the future.  For anything. (its just not safe on modern optimizing compilers)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3392 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-05 01:12:38 +00:00
gregory.hainaut 1394b9e03c [copyright]: * Update copyright to use the new postal address of the Free Software Foundation. Nothing to see.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3391 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-04 22:49:00 +00:00
gregory.hainaut f57ac9d1d9 [cmake]
* move build options to the build module
* Add some documentation about the default cmake build options


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3389 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-04 12:37:42 +00:00
Jake.Stine 9feca5f767 * Switch the Confirmation dialogs to use '.' separators instead of ':' separators. The dots don't get escaped in the ini file, so they're much easier on the eyes.
* Remove one more dependency on the old vssprintf code; hoping to remove it soon.  Only thing left now is the r5900 disasm code (which is a monster).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3388 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-04 11:50:12 +00:00
Jake.Stine d2d6fd2964 in the world of printf, %f uses type (double) internally, not float, so might as well use double to work the math for this log entry. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3387 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-04 11:33:10 +00:00
Jake.Stine 4352a3927c Fix for broken stack unwinding in the MSVC debugger in and around the EE recompiler. Also sped up debug mode execution a bit by removing some per-block recompiled code overhead that we like almost never use anyway. (it can be re-enabled through the ini for now)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3386 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-04 11:14:06 +00:00
arcum42 cc06570bd4 zzogl-pg: Minor fix from my last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3385 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-04 10:53:41 +00:00
cottonvibes 28ae87c5f7 microVU: Move exception handler code to beginning of mVU rec execution instead of inside mVUsearchProg.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3384 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-04 07:33:24 +00:00
cottonvibes 714ea3c94f microVU: Fixed various bugs... fixes "Kingdom Hearts Re Chain of Memories" and possibly other games that were broken with mVU recently...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3383 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-04 06:07:43 +00:00
arcum42 cc47fdbb8c zzogl-pg: Enable a GifTransfer shortcut from GSdx. Comment out two variables that weren't being used.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3382 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-04 03:53:01 +00:00
Jake.Stine dd42d14410 NSIS: Fix for installer not installing VS2010 on some systems (Issue 733)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3381 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-03 15:10:12 +00:00
Jake.Stine 402f19413b Remove MMX register freezes from MemcpyFast.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3380 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-03 13:08:41 +00:00
arcum42 84c5073b7c zzogl-pg: Hack and slash at zerogs.h.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3379 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-03 07:57:56 +00:00
gregory.hainaut d7748ffcd0 [debian] * Create a second rules files to allow testing in system that have fglrx (ati/amd) drivers
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3378 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-03 07:26:04 +00:00
arcum42 841e326e0c zzogl-pg: Shuffle stuff out of zerogs.h to ZZGl.h and Util.h.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3377 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-03 06:34:27 +00:00
arcum42 4eb20d3f47 zzogl-pg: Add a new header. Remove a few includes that didn't seem to be used, or were included from elsewhere.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3376 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-03 06:16:28 +00:00
Jake.Stine c06cb7b121 (speedup!) Add missing flushes to COP0 and COP2 (VUmacro execution calls), and subsequently disable *all* XMM freezes. They aren't needed anymore.
Rationale: Pseudonym did the necessary upgrades to the recompilers a couple months ago prepping us for a day when we would no longer need MMX/XMM register freezes.  All regs are already being flushed on all memory operations, so I added proper flushing to COP0 and COP2 here, and removed XMM freeze/thaw code entirely.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3375 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-02 22:14:35 +00:00
gregory.hainaut 1cc2b210c6 [debian] * add some template to ease futur ubuntu ppa updates.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3374 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-02 18:29:28 +00:00
Jake.Stine 362294ab8b * SIGNAL! Pretty sure I got it handled accurately now, minus GIF stalling.
* Re-added a trace log for the GIFtag parse optimization; Fixed some mVU warnings.

DevNotes:
Places where GIF needs stalled and resumed are marked with [TODO]'s.  We also need to add a way for SIGNAL to abort the currently processing GIFtag, which might need a return code added to the callbacks.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3373 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-02 15:32:03 +00:00
gregory.hainaut 501cb676bc [debian]
* finish the rename.
* add the support of the new man pages for the package


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3372 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-02 15:02:44 +00:00
gregory.hainaut f5fd43f3c9 [debian]
* mass package rename from pcsx2 to pcsx2-unstable
* refresh some patches


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3371 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-02 14:55:41 +00:00
Jake.Stine 2fda352baf GSdx:
* Fix BIOS graphical errors by re-introducing part of the PATH1 hacks, which is still needed until further notice.
 * Likely fix for DX10+ cards crashing on Configure...  (still can't test directly because MSI sucks, sorry folks)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3370 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-02 14:31:50 +00:00
gregory.hainaut 02a655dc76 [doc] Add a linux man page for pcsx2. Re use Jack command line description ^^
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3369 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-02 13:43:49 +00:00
arcum42 4289d544d2 zzogl-pg: Move various stuff related to GSmain around.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3368 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-02 12:10:40 +00:00
arcum42 e35211addb zzogl-pg: Move the Keyboard code to a separate file.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3367 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-02 10:33:44 +00:00
arcum42 cab7a894e4 zzogl-pg: Move the logging code to its own file.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3366 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-02 09:32:04 +00:00
gregory.hainaut d4fdb08049 [cmake] Fix a typo
[debian] Multiple lintian (package checker) fix


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3365 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-01 22:50:18 +00:00
Jake.Stine 390b811a1a ... and it helps when I save both files before committing.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3364 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-01 20:22:26 +00:00
Jake.Stine 7c156efb2b zzogl-pg: Bugfix for g_bSaveFlushedFrame, which is *not* used as a boolean, in spite of the fact it used to be a BOOL type in zerogs (must have started as a bool that zerofrog later added a few extra bits and toggles to).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3363 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-01 20:21:26 +00:00
Jake.Stine ab9f479f70 UI: Fix hangs when hot-swapping GS plugins (which was introduced r3357)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3362 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-01 17:47:47 +00:00
Jake.Stine bba618beed GSdx: Improved DX10/11 detection. Fixes crashes using the Configure... button mid-game.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3361 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-01 17:46:25 +00:00
gregory.hainaut 195c9e82b8 [debian]
* rename the directory to be more explicit
* update some files


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3360 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-01 16:47:00 +00:00
Jake.Stine 5a92dd0895 Fixed another minor bug or two in the optimized GIFtag parser (one relating to curreg management, and the other a minor hack to fix weird behavior only exhibited by the BIOS). Please test extensively.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3359 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-01 16:18:57 +00:00
Jake.Stine 1b587538a2 LinuzCDVDiso: Second part for fixing Issue 679. Have CDVD plugin return "1" from Open() if the user cancels iso source selector.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3358 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-01 15:09:36 +00:00
Jake.Stine 483c6878a4 UI:
* Added more thread checks when closing the program, to avoid occasional crashes or hangs.
 * Close the GS window on shutdown or critical errors.
 * Fixed part of Issue 679 (excessive CDVDiso popup errors)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3357 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-01 15:08:12 +00:00
refraction a9b8160d9e removed path1 hack from gsdx (not needed) and the redundant path3 hack
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3356 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-01 00:40:19 +00:00
refraction d7f88d05b2 Fixed up VU1 looping so it works how it did, Rock Band should hopefully work again now. (And Guitar Hero 3, Tony Hawks Project etc)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3355 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-01 00:32:06 +00:00
refraction d2838ddc00 Fixed up the optimization disabled in r3353 and should now be safe.
Altered a couple of PATH3 Masking bits again which don't seem to be needed any more.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3354 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-30 23:21:58 +00:00
Jake.Stine 709fa71a92 Disabled GIFtag optimization added in r3305. Added detailed comments explaining why its not safe. Not totally ruling out the potential to fix and restore it to working order, but am fairly skeptical that it will provide any worthwhile speed gain once its been safe-guarded.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3353 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-30 12:16:26 +00:00
gregory.hainaut 1cde49455a [pcsx2]: minor clean of a previous patch.
[debian]: * refresh patch and clean
          * fix copyright file


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3352 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-30 11:18:25 +00:00
Jake.Stine 2a33cd4ffd Minor comment cleanups regarding SIGNAL behavior.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3351 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-30 03:23:37 +00:00
Jake.Stine 5ad95b28eb UI:
* Fix for Issue 780 (missing uppercase iso extensions in the Open File Dialog).
 * A few minor threading fixes for the GameDB loader to avoid crashes/hangs when closing the emulator immediately as it opens.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3350 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-30 03:21:59 +00:00
refraction 25887c62ee -Sorted some VIF problems causing unknown vifcmd errors (Enter the Matrix)
-Fixed up some path3 masking stuff, trying a slightly different approach too.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3349 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-30 00:55:22 +00:00
refraction e035209623 Missed a little bit :P
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3348 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-29 19:34:44 +00:00
refraction 0c6e6d8274 Modified some recent changes a little, should bring back some more of the performance that was lost recently.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3347 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-29 19:32:30 +00:00