arcum42
c2d3f78ee1
Patch r891 so the release build builds.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@892 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-03 02:43:49 +00:00
arcum42
b44d1590ca
Fiddle with ProcessFKeys a bit, and hack in a key to turn logging on and off(F10).
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@891 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-03 01:05:28 +00:00
Jake.Stine
f0a97d3633
wxGui branch: Fixed Release build errors, removed WinMain.cpp and Remote Debugger stuff from the build project (slowly but surely eliminating dependencies on old code!!), and added AboutBoxDialog files, which I plan to work on next. (gotta have an about box!)
...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@890 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-03 00:50:39 +00:00
Jake.Stine
3b570f8a2b
Fixed a bug from an earlier vtlb commit that caused some slowdown when INTC_HACK was disabled. Turns out games spinning on INTC_STAT don't do it in a way that allows the recompiler to propagate consts.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@889 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-02 22:22:02 +00:00
ramapcsx2
e39dec6ddb
Oh well, a problem with the T/D flag code made the bios screw up.
...
Since it can't be fixed without further code in superVU, full revert for now :/
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@888 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-02 22:01:16 +00:00
ramapcsx2
2caebe0069
T/D flag interrupting was missing on the VUs.
...
Nneeve implemented it :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@886 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-02 21:04:45 +00:00
Jake.Stine
a8d9cbc25d
Final pass of today's vtlb optimizations: Improved the codegen for const-propagated direct reads and writes (very minor optimization).
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@885 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-02 15:17:47 +00:00
Jake.Stine
d60718e79d
More vtlb optimizations: Switched over to full const resolution of the TLB, and added a shortcut for the INTC_STAT register (replacing the one rama added to HwRead.cpp a couple days ago).
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@884 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-02 14:50:19 +00:00
Jake.Stine
4c8cf52c94
Implemented some more vtlb optimizations: Regalloc should be working a bit better now, and removed some unneeded code on the LWL/SDL/etc interpreter callbacks.
...
Emitter: Added Rm/RmOffset forms for AND32 - Untested. I'm pretty sure they're valid instructions but I could be wrong.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@883 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-02 13:42:30 +00:00
Jake.Stine
00528b3be3
wxGui branch: Moved and renamed some files and classes. I'm quite a bit more fond of the C# / Java naming schemes for forms and dialogs over the wxGlade frm/dlg prefixes. Namespaced all dialogs into Dialogs::. (all two of them at this point, but many more will come! .. someday)
...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@882 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-02 11:54:19 +00:00
Jake.Stine
2c3c5401e8
wxGui branch: major progress on many fronts!
...
* Added new files AppConfig.cpp and StringUtils.cpp, and removed memzero.h (we'll use the win/linux platform dependent implementations)
* Enabled wxWidgets memory tracing since we don't use a memory trace util of our own.
* Switched many instances of std::string to wxString.
* Added preliminary support for configuration settings and ini file creation.
* Added a set of parsing and splitting tools to StringUtils.
* Set it up so that the Console log is attachable to the main window, when dragging (fun!)
* Main window and console log window record and restore window positions between runs (only partially implemented yet)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@881 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-02 11:30:23 +00:00
arcum42
a0146d9db1
How that compiled with a space missing, I may never know...
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@880 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-01 12:28:21 +00:00
arcum42
65a4061c3a
Still messing with Sif, Vif, and SPR.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@879 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-01 11:55:29 +00:00
cottonvibes
a547ef4cea
<cotton>for april fools i can put on my next commit that microVU is finished and doubles fps
...
<cotton>but i guess i shouldn't do that on the svn :D
<cotton>or maybe i can >.> <.< >.>
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@878 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-01 08:26:35 +00:00
ramapcsx2
1e4f48437f
Shortcut for intc_stat reads. Speeds up games that use it a lot.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@877 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-31 18:52:43 +00:00
Jake.Stine
cf0c53f152
wxGui branch: Merged with trunk (2 weeks of changes!)
...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@876 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-31 15:54:14 +00:00
Jake.Stine
b3043d4c41
wxGui Branch: Added some console logging code (not yet finished). Can't really use wxWidgets built in version because it's not extensible (grr).
...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@875 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-31 15:27:42 +00:00
ramapcsx2
149f84b00d
A few tweaks to more often called functions = general speedup :)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@874 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-31 15:06:27 +00:00
ramapcsx2
a0e6c8c260
Increased the MTGS ringbuffer from 2 to 8mb. Fixes slowness in games with lots of data moving.
...
(Xenosaga series for example)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@872 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-31 11:26:42 +00:00
Jake.Stine
e79c1c3cd4
wxGui branch: More improvements to CheckedStaticBox. It's mostly complete now, and I'll likely move on to implementing some new dialog boxes now.
...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@869 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-31 07:03:32 +00:00
refraction
0748dca5af
Fix for Crash N Burn
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@867 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-30 21:43:47 +00:00
refraction
66fe03ad0d
Fix for crash of the titans, unbroke FF12 in my last commit, fixed a couple of other things. Now handles DMAs which are enabled while the DMAC is stopped, so they start when the DMAC is re-enabled. Might need some testing to make sure stuff isnt broke :p
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@866 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-30 21:10:22 +00:00
Jake.Stine
e9d722ba1a
Set zlib to use fast compression for savestate (big speedup for when making savestates).
...
Disabled Edit and Continue and re-enabled optimizations in devel mode (thought I disabled Edit and Continue earlier, but I guess it didn't get saved/committed correctly).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@865 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-30 18:19:05 +00:00
refraction
f8fb985737
Fixed issue with DBZ Tenchaichi 2 not booting, also fixed line endings for the logging to file, man that was hard to read!
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@864 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-30 18:05:23 +00:00
refraction
695608991c
removed an incompatible option from devel builds (it refuses to build), presumably whoever changed it wanted the debug option on, so ive removed the optimization.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@863 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-30 17:10:57 +00:00
arcum42
8a99bf1d63
More cleanup. Ran Artistic Vision on a few of the files rama had suggested, and did a few changes that make things easier to read. Still more work to be done here...
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@862 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-30 13:21:15 +00:00
cottonvibes
fa134fb61b
microVU: some lower opcode changes...
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@861 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-30 07:43:37 +00:00
cottonvibes
e0c3ecbc8f
miscellaneous microVU changes...
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@860 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-30 01:00:38 +00:00
mattmenke
99b0019d1b
LilyPad: Fixed a binding bug due to old debug code still hanging around, added ability to swap pad bindings (Right-click context menu).
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@859 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-29 18:03:42 +00:00
arcum42
4af9d5be57
Add dmaIPU0 & dmaIPU1 externs. :(
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@858 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-29 12:29:08 +00:00
arcum42
c8ee95b39f
More work on Gif.cpp & IPU.cpp. Got fed up with straightening IPU.cpp up by hand, so I ran Artistic Style on it, and then strightened the results out.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@857 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-29 11:10:44 +00:00
mattmenke
74dcf7d8a9
Forgot to remove a couple debug lines.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@856 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-29 06:48:18 +00:00
mattmenke
ee7008ded8
Pcsx2: Added experimental mtap support, must be enabled through pad plugin. Fixed bug in default PADfreeze function that would fail to load states created with LilyPad when using other pad plugins. Added support for disconnected pads (Mostly a convenience for mtap support, for games that use pad presence to assign pads to players).
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@854 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-29 06:24:28 +00:00
arcum42
0feb9de523
General cleanup in Gif.cpp && IPU.cpp. Did a bit of refactoring in Gif.cpp. Moved the path3hack to patches.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@850 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-28 06:53:18 +00:00
ramapcsx2
2a570c5f91
Fix the vu interpreter thing again. This should be right now (according to cotton, blame him if its not!) :p
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@849 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-28 00:42:37 +00:00
ramapcsx2
0e61bd6b35
- Nneeve fixed the Tri-Ace gamefix so Gradius5 doesn't crash with it enabled anymore.
...
- Moved one global variable for the VU interpreters, which surprisingly speeds up Star Ocean 3 for me.
- Set Flush to Zero for FPU and VU back to on. Let's see how long it lasts this time :p
- Removed the FFX hack from pcsx2! It's still toggled in the GS plugins, the correct behaviour is having it always on.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@848 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-27 23:52:17 +00:00
Jake.Stine
5cfb4e6e49
Added a new CheckedStaticBox panel, which is something I like to use a lot (semi-working test use in frmLogging).
...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@846 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-27 11:57:46 +00:00
arcum42
007c34a8b0
Since WriteLn is used for logging, and it automatically appends newlines, remove a bunch of legacy newlines from various logging functions.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@844 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-27 06:34:51 +00:00
arcum42
4ea9d9292f
Replaced more SysPrintf's with Console:: functions then I want to think about. A few minor changes in passing, mainly format-related.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@843 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-27 01:42:51 +00:00
arcum42
5969bcc621
Linux: A little bit of catchup with Windows; Add the VU Clip hack back in for Persona.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@842 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-26 12:16:31 +00:00
Jake.Stine
376b694baa
wxNewGui: Cleanups of the Logging dialog layout (yet unfinished).. added some helper functions for common dialog layout stuff. Still learning my way around wx. :/
...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@837 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-23 10:42:08 +00:00
cottonvibes
235b19c858
microVU: backing up current code, going to have to rethink some things :/
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@836 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-23 04:11:39 +00:00
ramapcsx2
157e696182
- Various fixes to MMI and more changes to opcodes to mimic ps2 behavior, thanks to Nneeve.
...
- Brought back a gamefix for Persona games. They still have missing geometry without it (VU clip flag problem)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@835 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-22 19:40:43 +00:00
arcum42
c96334ddf2
Linux: All right, this will have to be fixed properly at some point, but hack in a printf so that Linux users can at least see the exact exception games crash on if they crash (Though it won't get logged at the moment).
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@833 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-22 11:01:35 +00:00
arcum42
267d964126
Linux: Fix up console logging so it both doesn't insert newlines every time the color is changed, and doesn't log the color change codes in logs, as unless you are using a console based text editor, it's harder to read.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@832 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-22 09:14:53 +00:00
cottonvibes
3e3ffef417
microVU: moved stuff around, and implemented some other stuff... also added the file microVU_Analyze.inl to project.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@831 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-22 07:36:02 +00:00
cottonvibes
df95ec6b87
microVU: implemented CLIP instruction + minor changes...
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@830 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-21 04:03:14 +00:00
Jake.Stine
9528571ea3
Buildsystem improvements - Added two new property sheets for Incremental Linking and Global Linking. Incremental Linking is fast and allows for Edit and Continue debugging (debug/devel builds), Global Linking is for Release builds.
...
Applied new property sheets to Pcsx2, SPU2-X, ZeroStuff, and NULLs.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@829 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-21 04:01:44 +00:00
ramapcsx2
2afa8bb7b3
2 more things by Nneeve. Let's see:
...
A few changes to the full fpu mode, so it behaves as erratical as the ps2 fpu.
And a fix for a MMI opdcode.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@828 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-20 18:50:54 +00:00
cottonvibes
d5b88723d2
microVU: implemented first pass for upper instructions.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@825 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-20 04:00:15 +00:00
arcum42
78520b9a24
Get rid of some duplicated code in cpuException...
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@823 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-20 01:26:38 +00:00
ramapcsx2
aea075320b
Nneeve worked a bit on our lovely floating point cpu's (mis)ability to do rsqrt the way the ps2 does.
...
Should be better now ;)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@822 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-19 19:47:06 +00:00
Jake.Stine
6ce8ac189c
wxgui branch: Full merge of trunk into the new wxgui, including a revision from way long ago that somehow got missed (when I renamed Windows folders in some plugin dirs)
...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@821 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-19 12:14:37 +00:00
arcum42
382431ebcb
Linux: Make some of the assembly look a bit better. Change the PCSX2_ALIGNED_EXTERN defs a bit.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@820 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-19 11:11:30 +00:00
Jake.Stine
c5b366095a
Fix for some random slowdown introduced in 815 (bad cacheline coloring caused a random 30% speed drop when not using speedhacks) >_<
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@819 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-19 10:20:56 +00:00
arcum42
774929b273
Linux: Fix a minor breakage in the gui code I just noticed...
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@818 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-19 09:44:57 +00:00
Jake.Stine
ce6dcd3871
A few very minor comment cleanups; getting all my code branches in sync for when I hit the road today.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@817 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-19 08:28:00 +00:00
Jake.Stine
1f36e97927
Major overhaul of the savestate system!
...
Since backwards compat of savestates got totally broken a few revisions ago anyway, I decided to take this opportunity to revamp the savestate system with some significant cleanups (yes it loses all backward compat once again). Improvements include:
* Reduced state size by removing some unneeded data (faster saves now too!)
* Added string tags to varios "sections" of the states to assist in troubleshooting and retaining savestate compat in future versions.
* Better error handling and fewer memory leaks.
* Removed some unused/obsolete data from psxRegs, Counters, and psxCounters structures.
* Removed all old savestate versioning code, since none of the old versions are supported anymore anyways.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@815 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-19 04:16:24 +00:00
Jake.Stine
a51b407cdb
More changes to the IOP's memory model. Some of these are experimental and might cause problems (needs testing). Quick rundown:
...
* The R3000 does not have a TLB, and has no valid addresses mapped above page 0x2000 in physical memory [lower 512M]. Thus all addresses can have the top 6 bits masked off and still retain full validity. For example, address 0xbfc0 is simply a mirror of physical address 0x1fc0. Technically speaking, a full emulation of the IOP memory model would raise bus error exceptions for accesses between 0x2000 to 0x8000 segments (instead of treating them as mirrors of the lower 0x2000 segment), but buss errors are generally fatal (unrecoverable) program errors that would never happen within the context of game emulation.
* The IOP's SIF register space is only 256 bytes, and then mirrored repeatedly through it's 64k page at 0x1d00.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@814 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-19 03:59:25 +00:00
Jake.Stine
f2477537f9
Implemented more correct support for the IOP's "isc bit" (bit 16 on the COP0 status register), which in turn allowed me to simpify some of the IOP's memory access and paging logic.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@813 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-18 22:38:36 +00:00
Jake.Stine
1bbcf07a22
Added a BastTaskThread class to the threading tools.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@812 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-18 18:56:03 +00:00
cottonvibes
996f229cbf
pcsx2: got rid of the compile warning.
...
microVU: minor changes/cleanup.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@811 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-18 08:22:01 +00:00
Jake.Stine
d1ae92e203
Minor optimizations to vssprintf.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@809 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-18 06:39:55 +00:00
sudonim1
fa3288971f
Save a few bytes on const flushing using 5 byte eax movs for 0 and -1 instead of 10 byte immediate movs.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@808 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-17 20:58:59 +00:00
sudonim1
43c0d895ad
Removed unnecessary rs flushes for loads and stores
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@807 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-17 20:07:17 +00:00
Jake.Stine
6c13dcdb41
Fixed a bug in the vtlb constprop support (stores weren't using the right macro).
...
Reduced the BIOS rom warnings from gaudy red text and stars to simple yellow warnings (since they really don't matter).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@805 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-17 18:15:02 +00:00
Jake.Stine
063703e28a
Improved CDVD seek timing; should speed up some games that had abnorally long load times -- hopefully without breaking other games. (testing needed)
...
Fixed a condition in the INTC hack that could cause it to hang in rare occasions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@804 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-17 14:48:13 +00:00
cottonvibes
2c0f8fe41e
more W.I.P. stuff..
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@801 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-17 03:34:26 +00:00
sudonim1
c2e3536818
Emitter: encode negative 8 bit immediates for some instructions and EAX forms for MOV
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@800 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-17 00:57:59 +00:00
Jake.Stine
7c00edfc07
Disabled global optimization properly, and enabled Incremental Link, on devel builds. Minor code changes compile fairly instantly now. ;) I'll make some property sheets for enabled/disabled LTCG/WPO in the future.
...
Added a new Threading class: ScopedLock. Used as an automatic unlocking mutex (safe for use with C++ exceptions, and cleaner/simpler code too). It works like C#'s "using" and "lock" directives, for those familiar with that.
Optimized the AtomicExchange implementations for MSVC.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@798 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-16 18:32:18 +00:00
cottonvibes
2fa30cabf4
work in progress stuff...
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@797 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-16 08:19:46 +00:00
cottonvibes
0deb44c70d
seems i had misunderstood ACC's pipeline rules.
...
turns out there only needs to be 1 instance of it, so i had to fix all opcodes that use ACC.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@795 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-16 01:43:13 +00:00
ramapcsx2
3f87ae7078
Looks like the new PCR/TIMR code wasn't called correctly in recMFC0.
...
This broke Fatal Frame (yes, again..).
Thanks to Nneeve for finding and fixing it so fast :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@793 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-15 12:24:24 +00:00
cottonvibes
7a0e3dca12
implemented all vu lower instructions (second pass).
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@792 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-15 10:03:34 +00:00
mattmenke
0efde91a92
Save States: Added PADfreeze calls to PCSX2, though they're currently only implemented by LilyPad. Also fixed a bug where a save state would failed to load when the last plugin's freeze function actually saved something. Minor changes to new plugin API as well.
...
Because of a convenient bug in load state function, older save states with no saved pad info should still work. Don't blame me if they don't, though.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@791 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-15 09:30:31 +00:00
arcum42
fadeb5d86f
Linux: Bring the gamefixes dialog up to date.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@787 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-15 01:15:18 +00:00
sudonim1
64a1b3fb45
Forgot this.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@785 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-14 19:13:24 +00:00
tmkkmac
9ad464377a
Removed a VU Clip gamefix.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@784 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-14 18:50:46 +00:00
tmkkmac
2b843ce49d
Fixed a problem around the VU clip code, introduced in r659. GoW and Persona (and more) now work without a gamefix.
...
I'll remove the gamefix if there is no problem.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@783 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-14 16:59:03 +00:00
sudonim1
c483f17331
Rewrite immediate jumps from the block manager instead of having dispatchers to do this at execution time.
...
Should be a tad faster.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@782 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-14 16:30:35 +00:00
sudonim1
17298b7e6b
Made constant register saving more simple and certain. Grandia 2 is probably the only game that this would've fixed, but maybe there are others.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@778 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-14 02:06:18 +00:00
refraction
c8f3a36d66
Made a rough start to what will hopefully be helpful in the future with dma timing and control. So VIF1 (and MFIFO) now have a restructured layout, i have left old code in place for the moment just incase its all a waste of time :p
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@777 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-14 01:34:16 +00:00
sudonim1
1689b73c77
Realised that I probably broke MOVZ/N with my last commit and tried again.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@776 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-14 01:21:13 +00:00
arcum42
3f6a5d358b
wx: Add a logging dialog box, and a debug menu.
...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@775 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-14 00:40:59 +00:00
sudonim1
e248cf8cf0
Grandia 2 is playable again. The old block manager was incorrectly clearing a block which didn't need clearing and thus masking this constprop bug.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@774 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-14 00:21:35 +00:00
refraction
762b022df5
Disabled whole program optimization for dev builds, it really isn't needed for development builds, all it does is slows us down :P
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@773 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-13 22:16:51 +00:00
refraction
81b038ed41
Fixed a slight error in my last commit, fixed a bug from another previous commit and put in rama's hack for FFX which was bugged from r604, i know why its happening, but how to solve it properly is the issue.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@772 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-13 22:15:31 +00:00
refraction
c8683cb350
Adjusted the backwards timing on GIF for intermediate transfers, this resolves issue101
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@771 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-13 21:14:33 +00:00
sudonim1
3aedd8acb2
Further work on the block manager.
...
Grandia 2 is still broken but this is a little faster, less clear happy and "impossible block clearing failures" shouldn't occur any more.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@770 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-13 18:23:28 +00:00
arcum42
d228e92e83
wx: Get the wx port to compile in Linux. (Note: will not actually run games at this stage.)
...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@769 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-13 10:43:04 +00:00
cottonvibes
43d7191927
cleanup: moved 'software emulate mul' to gamefixes section since it seems to only be needed by 1 game.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@765 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-13 07:20:04 +00:00
Jake.Stine
915fe28c23
pcsx2-wxgui: maintenence merging of trunk revisions into the brance (always a good idea to update branches after header file renames)
...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@764 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-13 06:14:08 +00:00
arcum42
e0347fd285
Some header work, get rid of some dead code, and rename PsxCommon.h.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@762 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-13 04:49:23 +00:00
Jake.Stine
3821425442
Minor fixes to the IOP Interpeter and const prop regarding the SLTIU instruction.
...
Removed the rest of the references to the UseGui global boolean since it wasn't used anymore.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@761 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-13 04:21:50 +00:00
cottonvibes
cbe108e99d
implemented some more opcodes...
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@760 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-13 02:03:18 +00:00
arcum42
71c4561f86
Linux: memcpy_fast seems stable enough on Linux, so I'm removing the switch, and turning it on by default.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@759 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-13 01:39:54 +00:00
arcum42
12cd3f8b6c
Linux: Fix Final Fantasy XII. (memcmp_mmx appeared to be freezing MMX and not thawing it, and it didn't freeze it in Windows.) Comment out some unused code. Remove some code I commented earlier. And consolidate some of the calls to FreezeXMMRegs/FreezeMMXRegs.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@757 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-13 01:05:43 +00:00
arcum42
378a84658c
Linux: Bring in sync with recent changes. (as usual)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@756 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-12 23:37:50 +00:00
cottonvibes
13c56743c1
microVU recs: fixed a bug in LQ, and implemented LQI and LQD.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@754 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-12 14:46:42 +00:00
Jake.Stine
b82d9a6541
Fixed a bug that caused pcsx2 to crash when loading/saving savestates using the "other..." menu option.
...
Added new command line options for running pcsx2 without a gui. Using "pcsx2 [filename]" where filename is the name of a cd image, will run the game. use "pcsx2 -nogui" to boot whatever you have configured in your CDVD. Use -bootmode=1 to enable the quick boot method (same as RunCD) .. default boots through the BIOS. [untested feature! please report if it's broken]
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@752 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-12 12:44:22 +00:00
cottonvibes
b894a7a217
some tweaks based on some optimization tips jake found.
...
the idea is that with SSE, doing operations that don't modify all the vectors can give false-dependencies, and in some situations prevent CPU's out-of-order execution (slows things down).
so the solution is to only use stuff like "movss" when you need to preserve the upper 3 vectors, if not, its always better(faster) to use movaps.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@751 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-12 05:32:27 +00:00
cottonvibes
3870debc22
implemented ERCPR (seems i forgot about it on my last update).
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@750 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-11 23:59:51 +00:00
cottonvibes
93b85af339
optimized some stuff, and implemented all EFU opcodes.
...
note: most of the microVU EFU opcodes are implemented with completely different algorithms than zerorecs. this might prove to be more accurate, but i mainly did it to avoid using x87 FPU instructions (since i'm using mmx regs for storage).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@749 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-11 23:49:39 +00:00
Jake.Stine
5d93b6bbe9
Minor PERF fixups -- moved the diagnostic msg to a less spamming-like area (on PCCR assignment, rather than on PCR update).
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@748 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-11 19:08:08 +00:00
Jake.Stine
90263a17d6
More work on the PERF counters. Counters now selectively count or don't count depending on mode (which should keep some games happier which might try and use them, if still not being totally accurate or correct).
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@746 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-11 14:09:43 +00:00
Jake.Stine
dc3d9f4bfc
Fixed the bug in r740 that broke speedhacks; and improved the PERF support a bit more using bitfields and more correct mode tests.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@745 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-11 07:40:23 +00:00
cottonvibes
0bcb9cc0e3
nneeve fixed min/max FPU opcodes to be more precise when running in "Full" clamp mode.
...
he also cleaned up some other stuff in iFPUd.cpp
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@744 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-10 23:50:17 +00:00
cottonvibes
4620f4c5aa
cleaned up some code (knocked off 100+ lines in Alloc.inl), and implemented 'ESUM' opcode.
...
<drk||Razi>cotton2: write more helpful logs kthx ;p
<cotton2>doesn't matter, no-one cares what i write since it doesn't effect anything for now
<Krakatos>cotton, stop posting those useless commit comments XD
<feal87>no no, please continue. they're fun, i look forward to read them
<feal87>from time to time
<feal87>:°D
<cotton2>lol :D
<Dwarg>Please spend more time making them more amusing.
<drk||Razi>cotton2: it does matter
<cotton2>dwarg: yeah i know!
<Dwarg>drk||Raz: Why? They're useless for reversion testing
<cotton2>i have to think of good stuff to write :O
<drk||Razi>when the next vu coders (if any, ever ;p) want to look at your code .. and the history is full of crap
<drk||Razi>that won't be much useful
<drk||Razi>;p
<cotton2>there won't be a next vu coder!
<Dwarg>Comments in the actual code would be more useful, wouldn't they?
<cotton2>my code is perfect!
<drk||Razi>lol
<cotton2>>.> <.<
<cotton2>but seriously
<cotton2>i don't think it can get better
<cotton2>unless like
<Dwarg>Rather than going back and comparing SVN comments to changes made way back when
<cotton2>you want to support AVX
<cotton2>or w/e intel's new SSE thing is called
<feal87>and anyway AVX is like 3 years away
<feal87>in that timeline pcsx2 i think will be stabilized
<feal87>:°D
<cotton2>yeah
<drk||Razi>cotton2: just log kthx
<drk||Razi>implemented y,x,z
<drk||Razi>:>
<cotton2>thats what the diffs are for!
<feal87>and anyway really its useless for this stage
<drk||Razi>yea i know
<feal87>until microVU is active and used by PCSX2
<cotton2>i'm just implementing different opcodes though, its not like i'm chaning features
<drk||Razi>you can tell anything from the code -- no comments or changelog needed.Right ? ;p
<feal87>then every change should be documented for regression testing
<cotton2>drk: yup!
<cotton2>well
<cotton2>its not like i'm changing stuff
<cotton2>i'm just implementing things that havn't been coded
<cotton2>so theres nothing to regress to
<feal87>yep
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@742 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-10 21:02:44 +00:00
tmkkmac
68ec2f25a8
Fixed my stupid mistakes in the previous commit.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@741 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-10 20:16:13 +00:00
Jake.Stine
03a6406ff0
Added some preliminary exception handler code to the PCR's. No point in finishing it right now since the rest of the EE's exception handler is still in flux, but at least it's ready for a quick upgrade now. :)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@740 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-10 20:03:49 +00:00
tmkkmac
7425f1bb6e
Fixed a problem in the new VU clip flag code that a history of the flag is cleared wrongly in a certain situation. Unfortunately the problem in GoW is still there :(
...
MMI: Optimizations for some opcodes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@739 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-10 19:44:32 +00:00
Jake.Stine
15901551b4
Improved PCR/TIMR support -- fixed a case where games would try and read from the PCR multiple times in the same recompiled block, reuslting in bogus values, and fixed some sign extension errors on the interpreted version of MFC0.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@738 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-10 19:21:54 +00:00
arcum42
cef77785cb
Fix the yuv2rgb.cpp issues, per Zeydlitz's patch in issue 100. fast_memcpy works in Linux now as of r727, so I'll leave it enabled for a while, and if it seems stable, I'll remove the switch for it, and have it permanently enabled.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@735 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-10 12:25:45 +00:00
Jake.Stine
b8b36445cb
Pcsx2-newgui: I missed *just one* file in my last commit to the newgui branch. This'll fix it so it compiles. >_<
...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@734 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-10 11:54:19 +00:00
Jake.Stine
0bf5d1c43b
Pcsx2-wxGui: Initial commit of "non-functional" gui (WIP). It compiles but doesn't do anything yet (none of the menus have been bound to actions, except for the GameHacks dialog). Initial wxWidgets project additions and prepwork are courtesy of Feat87.
...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@732 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-10 11:35:24 +00:00
Jake.Stine
22a0eeb3e3
Minor cleanups to NTFS_CompressFile error handling, and the Linux YUV/RGB thingie.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@729 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-10 01:32:08 +00:00
Jake.Stine
aef3af8a29
nneeve improves the software-emulated FPU accuracy ("Full" mode in Advanced Dialog).
...
Appended notes:
* ADD in iFPUd should be bit accurate (unless it isn't. needs TESTING)
* MUL in iFPUd with Software Emulate MUL is as much as I could get near bit accurate (not quite enough, probably. needs TESTING)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@728 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-09 23:54:38 +00:00
Jake.Stine
5dc76238bf
Fixed a bug in memcpy_fast that caused memory corruption on blocks not aligned to 32-bits in length (this might fix the linux memcpy fast problem too).
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@727 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-09 21:52:33 +00:00
cottonvibes
04fba65901
something.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@726 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-09 19:53:41 +00:00
cottonvibes
a5d95b75c5
more lower instructions implemented
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@725 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-09 11:09:44 +00:00
cottonvibes
80f3dc5840
started on the lower instructions
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@724 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-09 08:24:52 +00:00
cottonvibes
a44c6f0f83
microVU's upper instruction implementations (second pass) finished (except for clip instruction)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@723 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-09 05:28:37 +00:00
Jake.Stine
ca4ce225a0
Linux: inline asm fixes.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@720 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-08 23:28:39 +00:00
Jake.Stine
71e2dc2fb4
Many small bugfixes and optimizations:
...
* Fixed Memcard init so that Memcard1 isn't default in both slots (oops!)
* Fixed Memcard path logic so that cards outside your pcsx2 folder can be browsed/selected.
* Fixed CDVD-to-BIOS time sync (I simply forgot a function call!)
* Optimized yuvrgb_sse2, by using Mod/RM form instructions.
* Win32: Same optimization applied to FreezeXMMRegs and FreezeMMXRegs (linux already had this optimization)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@719 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-08 20:10:09 +00:00
arcum42
25df8958b2
Linux: Straighten up or remove a few Windows/Linux differences in the code (experamental), remove some dead code, fix a mistake in the Linux version of memcpy_amd_ (still broken, though), and change optimization levels due to gcc optimization induced errors.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@718 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-08 12:37:35 +00:00
cottonvibes
804050aaef
A frog in a well won't know the ocean.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@717 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-08 09:05:53 +00:00
refraction
d42bf82f7b
added some missing CRC's for the ffx hack when MTGS is enabled
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@715 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-07 21:15:09 +00:00
Jake.Stine
dacfe85189
SPU2-X: Fixed some problems with saving/loading states, when loading from old savestate versions.
...
Pcsx2: Small speedup for the IOP's recClearMem (used a forceinline to cure MSVC's laxidazical inlining)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@714 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-07 19:04:37 +00:00
refraction
e88cf84e9c
Fixed a silly error (on my part) which stopped the Gran Turismo games loading, looks like it was the same reason Tekken 5 broke too.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@713 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-07 13:10:12 +00:00
tmkkmac
661d5442a8
Fixed a bug in the new patch code introduced in r669, and applied a patch for ICC from Issue 69. Thanks, feal87 :)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@712 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-07 12:27:55 +00:00
tmkkmac
60b7edd273
A fix for some VU clamp functions, by Nneeve.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@711 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-07 11:42:45 +00:00
cottonvibes
c904878257
implemented more microVU 'crap' :D
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@710 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-07 04:21:26 +00:00
cottonvibes
4f63ac1101
implemented alot of microVU shit...
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@708 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-07 02:38:05 +00:00
arcum42
56f802c80f
Linux: Fix up the .S files to match recent changes. Make changes to SafeArray to avoid compiler warnings on every file.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@706 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-07 00:48:57 +00:00
refraction
5cc9704989
Fixed bug in VIF causing Tenchu "weapons" and some backgrounds not to be displayed which was introduced in r454
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@705 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-07 00:47:30 +00:00
refraction
056d8c8417
Fix for games which start VIF1 off while the DMA is paused (Crash of the Titans being one of them)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@704 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-06 22:59:01 +00:00
ramapcsx2
4b3d1ccab3
More block manager fixes/optimizations by Pseudonym.
...
This should be the last one (but you never know :p ).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@703 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-06 21:03:39 +00:00
Jake.Stine
954b7a5255
Buged my last commit (as usual). This one fixes savestate support. :)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@702 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-06 20:57:14 +00:00
Jake.Stine
97cdf187e5
Nneeve patch for "Full" FPU, improves some clamping and adds missing values to the savestate info.
...
Savestates: Pcsx2 now errors when it encounters a savestate made by a newer version of pcsx2.
Added a new SafeList type to the SafeArray collection (not well tested yet).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@701 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-06 19:01:30 +00:00
ramapcsx2
801d71f7f0
Fixes for the new block manager optimizations by Pseudonym.
...
There's a bit more speed even :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@700 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-06 17:14:30 +00:00
arcum42
3880bf5a14
Move the configuration section of Misc.h to a new file, Pcsx2Config.h.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@699 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-06 15:09:42 +00:00
ramapcsx2
9a89523532
Made the GSdx render switch thing a bit cleaner, moved it where it belongs
...
and changed the hotkey to F9. (Sure hope no plugin uses that yet :p )
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@698 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-06 10:04:32 +00:00
arcum42
5d971b5931
Linux: Some work on the plugin code.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@697 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-06 07:20:16 +00:00
Jake.Stine
8d5b2cf6a9
Added missing files from prev commit.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@696 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-06 01:45:43 +00:00
Jake.Stine
23e0ca1b1f
Added googlecode's sparsehash / densehash classes, which may or may not be useful in the future.
...
Removed various instances of legacy VM code that is no longer needed for reference purposes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@695 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-06 01:11:17 +00:00
gabest11
620ba58085
pcsx2: -highpriority switch, other processes generate too much noise and I cannot trust my performance counters without it :P
...
GSdx: nothing new just committing a few cleanups and my findings on AA1 before doing it, tested a few things with ps2dev on a real machine, got really strange results when not using the standard 0 1 0 1 blending mode, but it doesn't seem harder to implement than a line drawing (which it is), and only adds a few extra pixels here and there, should be fast at least.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@694 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-06 00:53:59 +00:00
arcum42
3ae6ff0856
Remove lots of evil %'s.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@693 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-05 21:35:26 +00:00
Jake.Stine
8614bbd0f8
Added Path::GetFilenameWithoutExt, and fixed some other PathUtil API layouts.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@692 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-05 21:06:29 +00:00
arcum42
a09157ab59
Patch up the last few commits for Linux.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@691 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-05 20:43:36 +00:00
Jake.Stine
1b95a52b1e
Better implementation of MSVC's _SCL_SECURE macro, plus some PrecompiledHeader.h cleanups.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@690 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-05 20:06:38 +00:00
ramapcsx2
5897d04917
Experimental commit!
...
Hacked in a way to make GSdx change the renderer on the fly.
When you press F11 it will switch to DX9 sowftware rendering.
Press it again to get back to the setting you were using before.
Notes:
-For this change I had to modify a few lines in GSdx. If that's not acceptable
we can do more drastic measures and modify the gsdx.ini :p
-F11 is currently also used for doing gsstates in debug modes, it will likely be changed.
-When in dx10 hardware + fullscreen mode, pressing this key will crash GSdx. Sorry.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@689 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-05 20:00:41 +00:00
Jake.Stine
8092692047
Linux: Quick fixes to the new .S files, and did a mild cleanup of the recLUT macros.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@688 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-05 18:27:16 +00:00
Jake.Stine
482505d241
Pseudonym Crazy-Opts Projects Inc presents: Improved block managers for EE/IOP recompilers! Basic asm optimizations combined with a technique of replacing NULL/invalid pointer checks with a direct link to a JIT dispatcher. A collab effort on irc produced this gem, which improves speed on all accounts, and even makes the linux .S files uber-simple and clean. (no more wondering if they're broke or not!)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@687 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-05 18:13:14 +00:00
arcum42
ce3a2c7d32
Linux: Fix compilation and a typo in my last commit.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@686 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-05 13:42:19 +00:00
cottonvibes
76dd2488a1
microVU stuff
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@685 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-05 06:39:24 +00:00
Jake.Stine
fc84ade01d
IPU Bug/Feature fix: Pseudonym has coded a new yuv2rgb decoder which is up to IPU spec (which differs slightly from MPEG spec). Improves color hue/saturation on many vids, and is a bit faster too.
...
Dynarec: Removed RET2().
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@683 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-05 02:21:07 +00:00
cottonvibes
7fd0f67f93
pork chop sandwiches!
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@682 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-05 01:19:54 +00:00
arcum42
1492382253
Linux: Get everything compiling again. There is still a nasty crahing bug or two from r675, in particular when using the menus for load and save states rather then keyboard commands. I'll work on fixing that tomorrow, but wanted it to at least compile and run.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@679 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-04 20:58:41 +00:00
Jake.Stine
74db449e88
Gah! I forgot a line in my prev commit, so the SPRdma savestate fix wasn't actually being used. Btw, this *may* fix unstable savestate problems experienced in many games, including FFX and SMT3:Nocturne (but it;s so random it's hard to know for sure).
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@678 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-04 13:05:06 +00:00
Jake.Stine
a7fcdbaafa
Savestate version upgrade and stability fix -- added some vars that the SPRdma might like to preserve between states, and removed some old hacky VM-related stuff while I was at it.
...
Fixed up the Saveslot detection somewhat (File:Load > menu now greys out unavailable saveslots).
Applied ICC fixup patch from Issue 84. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@677 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-04 13:00:32 +00:00
Jake.Stine
05e3554541
Damn buggy TortoiseSVN >_<
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@676 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-04 11:41:00 +00:00
Jake.Stine
cc930f86c5
Major GUI API Cleanups. Most likely buggy as all hell.
...
* Moved most of the shared code between the two GUIs into platform independent source modules (System.cpp, Saveslots.cpp, and RecoverySystem.cpp)
* Created two new namespaces which house functions that need to be implemented by OS/platforms: HostGui and HostSys. HostGui is useful -- HostSys I'm not sure I'll keep around in the long run.
* Moved keyEvent struct from PS2Edefs.h to PS2Etypes.h
* Many improvements to the logic flow of the GUI (should be a little less fallible).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@675 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-04 11:33:45 +00:00
cottonvibes
900d4bd485
i assume these headers aren't needed anymore but were accidentally left in VS project file :p
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@674 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-04 07:57:34 +00:00
cottonvibes
b0217bd38a
necessary change to properly compile microVU's templates (c++ is picky with templates :p)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@673 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-04 07:38:14 +00:00
cottonvibes
2add61d729
backup, just ignore this
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@672 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-04 07:11:59 +00:00
arcum42
c1a59e6cc6
Quick fix for r668; the new radio buttion hadn't been assigned to that group.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@671 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-03 21:51:55 +00:00
cottonvibes
b019dc6884
minor emitter fix and dialog text tweaking.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@670 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-03 16:42:43 +00:00
ramapcsx2
57abad9d44
Pontifice from our forums fixed some cheating related code he wrote for pcsx2 earlier.
...
This supposedly makes using codebreaker / ar max cheats more reliable :p
Thanks for that, Pontifice ;)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@669 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-03 15:34:51 +00:00
arcum42
c4aec82c00
Fix Linux, and update to match gui changes.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@668 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-03 14:32:18 +00:00
tmkkmac
6a3bf0c644
Added Nneeve's fix for some issues in VU pipeline. SPS in Arc The Lad will be fixed.
...
Added a temporary gamefix option for God of War, which has been broken since r659. Anyway I'll fix this problem in a proper way.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@667 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-03 12:02:38 +00:00
ramapcsx2
223156a29a
You might need this one as well :p
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@666 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-03 09:37:09 +00:00
ramapcsx2
4286c20dda
Nneeve coded a new FPU clamp mode "Full" that can help some games which wouldn't work with the other modes.
...
This fixes the Digimon menu for example (Gamefix will stay a while longer though, until we confirm ingame is fine as well).
He also updated the advanced dialog a bit.
Remember that this mode can break games if VU clamp is below "Extra + preserve sign"
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@665 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-03 09:27:58 +00:00
Jake.Stine
207e0345e0
SPU2-X (Linux): Did some preliminary work on the Alsa driver.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@664 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-03 04:50:26 +00:00
tmkkmac
6372375800
Fixed the problem in recompiled version of PPAC5/PEXT5. I forgot about the case with Rt == Rd.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@663 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-03 03:14:23 +00:00
arcum42
498ede1692
Linux: Fix Issue 78 (Pcsx2 crashing if you change graphical plugins).
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@662 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-02 20:28:56 +00:00
Jake.Stine
b7afccac7d
Proper uploading of new debugger.rc and it's header file. :)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@661 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-02 20:20:24 +00:00
Jake.Stine
1f2509edcf
Fixed a bug in r658 caused by some sloppy macros.
...
Win32: Moved various debugger-related dialogs into a new debugger.rc file, to help reduce clutter between both the std resources and the debugger resources.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@660 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-02 20:08:12 +00:00
tmkkmac
699cdbba1e
Fixed a problem that VU clip flag wasn't propagated correctly between recompiled blocks in some cases. SPS in Rule of Rose will be fixed by this.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@659 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-02 18:45:19 +00:00
Jake.Stine
79cde4c09e
Set up the x86 emitter so that it always uses MOVAPS over MOVDQA. This generates slightly faster code since movaps is 1 byte shorter than movdqa (both instructions are functionally identical). The optimization is optional via AlwaysUseMovaps defined in ix86_sse.inl
...
Enabled optimization stuff for zlib and bzip2 projects (Release/Devel build targets).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@658 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-02 18:39:29 +00:00
Jake.Stine
63fe0a5fdc
SPU2-X: Fix for DMC1, closing Issue 17 once and for all; also added ICC patch from Issue 75.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@657 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-02 06:41:02 +00:00
arcum42
7d4a7d3c10
Fix up the last revision for Linux.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@655 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-01 22:12:19 +00:00
Jake.Stine
f270064b41
Committing the beginnings of a new PS2 Exception Handler! This is very much a work in progress, but it shouldn't really break (or fix) anything in its current state.
...
EE Interpreters: Fixed some signed/unsigned mistakes in some instructions, namely DIVU, DIVU1, unsigned Traps, and a couple unsigned right shifts. (all of these were already emulated correctly in the recs)
Also: Removed the ThreadPriority stuff from Pcsx2, since it was a throwback to the days of Win95's unstable multitasker. If you really really feel like you need to change the thread priority of Pcsx2, use the Windows Task Manager or a third party util.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@654 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-01 21:49:17 +00:00
arcum42
b0c3151aca
Fix a few typos, as well as Linux.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@653 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-01 21:42:09 +00:00
Jake.Stine
2cf4bc3920
Added the second part of emitter macro functionality, by making the emitter instance configurable. We can't actually use it yet tho, since everything shares iCore, and thus everything needs to share the same emitter instance (for now!).
...
Fixed new emitter so it compiles in Debug builds, cleaned up the header files a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@652 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-01 20:44:48 +00:00
tmkkmac
b6f3f8e415
MMI: Added recompiled version of PPAC5/PEXT5, and optimized PADDUW a bit.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@651 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-01 16:01:53 +00:00
cottonvibes
8fa5c65884
minor VU fix thanks to nneeve
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@650 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-01 15:03:18 +00:00
cottonvibes
0990cf3ccb
accidentally deleted this file and didn't include some other file ><
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@649 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-01 14:50:27 +00:00
cottonvibes
af2e99c196
these files aren't needed anymore
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@648 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-01 14:44:00 +00:00
cottonvibes
e2d583c7fe
major pcsx2 emitter change.
...
the emitter is now 'templified' so that you can run multiple instances such as:
eMOVRtoR<0>(EAX, ESP);
this uses emitter instance #0
to use another instance you can simply change the number in the brackets like:
eMOVRtoR<1>(EAX, ESP);
will use instance #1 .
all old-functions are mapped to instance #0 by macros.
like:
#define MOVRtoR eMOVRtoR<0>
why do this to the emitter?
so we can have thread safety, and eventually thread the recompilers using different emitter instances.
note: this took me forever to get working (around 12 hours of non-stop coding).
however for some reason debug build is being extra-picky and still giving compile errors.
hopefully Jake or someone else can fix this, because i tried a few stuff, and just got more compile errors ><
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@647 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-01 14:42:31 +00:00
arcum42
9deff96c78
A few minor changes.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@646 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-01 11:38:05 +00:00
arcum42
abbaa90a7d
Get the Linux side of things ready for when cotton's done with microVU. I'm sure I'll have to make significant changes at that point, but it's good to have the framework in place...
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@645 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-01 09:47:16 +00:00
Jake.Stine
2fd0e1d538
Win32: One more foopah left over from r634 needed fixing, this one caused games running at very high FPS to "freeze" for 2 second intervals at a time.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@644 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-01 08:50:05 +00:00
arcum42
2270ba4eee
Finish the Linux implementation of memcpy_fast_. I've disabled it by default until I'm sure it's working right, but it can easily be enabled in build.sh. Should be a speed boost in Linux (which Windows already had), but I haven't tested it enough to be able to tell yet.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@643 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-01 08:21:14 +00:00
arcum42
ad0705de56
90% of an implementation of memcpy_fast_ for Linux. And fix debug mode.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@642 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-01 06:31:33 +00:00
Jake.Stine
44d47ca891
Ah fudge. -_-
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@641 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-01 05:26:41 +00:00
Jake.Stine
cecc7cbe73
Linux: Fix the SysPageFaultExceptionFilter so that it aligns to the pagesize.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@640 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-01 05:24:44 +00:00
arcum42
88f95dd22e
Fix Linux. Move most of the externs for functions in .S files in Linux to one header, and reenable using memcmp_mmx in Linux.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@638 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-01 04:28:17 +00:00
cottonvibes
e87d55f153
microVU rec stuff
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@637 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-01 03:36:52 +00:00
Jake.Stine
da25976c6b
Re-re-fixed the Windows.h mess. PsxCommon.h still had a win32 include, and cdvd.cpp and misc.cpp had some win/linux code which I relocated. Also, cleaned up the vtlb's SysExceptionHandler stuff -- moved the platform-specific portions to WinSysExec and LnxSysExec, and moved the shared code portion to a new function in Memory.cpp.
...
(Yes, Linux is probably broken again.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@636 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-01 03:30:19 +00:00
arcum42
0acef23784
Clean up Jakes commit in r634, and get rid of some dead code in the assembly files.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@635 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-01 01:03:16 +00:00
Jake.Stine
ebb5339418
Yay more header file cleanup chores! Removed most of the Windows.h dependencies from non-Win32 specific files, and fixed the annoying ARRAYSIZE warnings. Let's say it together: "We all should love C's archaic include system, because it makes Jake and Arcum work really hard for no good reason."
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@634 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-28 20:55:53 +00:00
ramapcsx2
a801b6f091
Bring in the ICC patch that makes pcsx2 build on that compiler.
...
Thanks to fea for this one ;)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@633 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-28 20:16:28 +00:00
tmkkmac
35386b1d2a
MMI: Fixed a minor issue in PSUBUB/PSUBUH, and implemented recompiled opcodes for PMTHL/PSUBUW.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@632 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-28 09:55:18 +00:00
arcum42
19e56dc33e
Linux: Quick fix for the last revision.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@629 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-27 23:18:01 +00:00
Jake.Stine
377830b3a9
IOP Fixes/Optimizations:
...
* Fixed the IOP's recExecute so that it correctly preserves X86 registers (EDI and EBX were not preserved!)
* Optimized the recExecute procedure, seems like a nice speedup in FMVs and some games that are IOP intensive.
* Renamed psxMemRead to iopMemRead, added new Virt/Phys functions, and fixed several instances of DMAs using translated addresses (DMAs are always physical maps). Our IOP doesn't really emulate the tlb so it won't fix anything, but it's more correct in cas stuff is better supported in the future.
* Removed unneeded FreezeMMXRegs, since the IOPrec doesn't use any mmx/xmm regs anyway.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@628 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-27 18:12:59 +00:00
Jake.Stine
e205999744
Minor Optimization: Added Const support to Vtlb's Load and Store implementations.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@627 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-27 06:40:05 +00:00
arcum42
ed97a291dd
Linux: Remove the ICO Gamefix, since refraction took it out on Windows.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@625 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-27 05:26:40 +00:00
Jake.Stine
5b09d81f36
Fixed a bug in the savestate system that caused memcards to eject when they shouldn't have (had uint instead of u64 >_<).
...
Developers: Changed the way PCSX2_ALIGNED16 macros work, so that they're more friendly to MSVC and Visual Assist X intellisense (more more red squigglies on vars like cpuRegs!)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@618 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-27 01:43:43 +00:00
refraction
7dc9138d04
Fix for my earlier mistake causing green blocks on videos, remind me its never good to alter memory that you arent suppose to alter ^_^
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@612 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-26 11:39:55 +00:00
Jake.Stine
fe78c668de
RC: Reverted SPR "fix" from r506 for now, since it turned many game FMVs into green screens, followed by hard locks. >_<
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@609 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-26 04:05:14 +00:00
refraction
b372f359b5
Small fix for a regression i caused in r604 with Ridge Racer V, also fixed a bug in MAXbc on the VUrecs and added an optimization for MINIbc
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@605 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-26 02:13:51 +00:00
refraction
441b70239a
Modified the GIF and SPR in my wierd backward dma way :P should resolve problems with the Avatar games, 24 videos and hopefully anything else which has broken due to recent changes.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@604 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-25 19:31:26 +00:00
Jake.Stine
8d86297533
Damnit. LWR() is a pita.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@603 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-25 19:29:32 +00:00
Jake.Stine
d200ab382d
Fixed a foopah in the LWL fix from earlier. >_<
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@602 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-25 18:34:25 +00:00
Jake.Stine
8f0bacec20
Completely botched my last commit. Left the IPU's cleanup only half finished. >_<
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@601 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-25 16:57:34 +00:00
Jake.Stine
c46ef87c89
Fixed bugs in LDL/LDR instructions; fixing various TLB Miss errors in assorted games (namely ones that worked in the old VM builds). The instructions were not sign-extending values into the upper 32 bits of the target register. (LDR in particular has odd rules for sign extension)
...
Some minor cleanups / correctness fixes to the IPU's register Read/Write functions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@600 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-25 16:51:05 +00:00
ramapcsx2
bf31172d07
Ico gamefix not needed anymore.
...
(It's still there for Linux, I better don't touch that :p )
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@598 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-25 15:07:09 +00:00
tmkkmac
b50b9df3cf
Applied SUPERVU_VIBRANCHDELAY fix to IBGEZ/IBGTZ/IBLEZ/IBLTZ opcodes. ICO SPS will be gone without gamefix now :)
...
WinGUI: Added SSSE3 detection message into a CPU config dialog.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@596 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-25 09:22:36 +00:00
Jake.Stine
2110018e58
New Feature: Press TAB to toggle the framelimiter on/off (as a substitute for hitting F4 several times). Usable as a "turbo" feature, similar to other emus.
...
Many minor code cleanups to logging and constants.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@595 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-25 01:36:06 +00:00
Jake.Stine
021c7b28a3
Added some better support for 8 bit VIFdma writes, cleaned up some logging stuff, and added version resources to SPU2-X and ZeroSPU2.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@593 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-24 19:58:17 +00:00
ramapcsx2
8d87a3660d
Revert a cdvd timing change from playground. Fixes some games that depend on longer seek times.
...
Also removed one more console log from release builds.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@592 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-24 17:00:25 +00:00
tmkkmac
1f01b45833
Now calmping code added in r579 is enabled only in "extra" setting or above, because it slows down some games
...
WinGUI: Disabled arguments menu in release build, for sure :p
Buildsystem: Made pcsx2 dependent on zlib, and changed post-build script a bit
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@591 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-24 15:35:10 +00:00
arcum42
53bfe7cab1
Linux: Get the main program compiling again. I'll work on the plugins later.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@590 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-24 13:10:59 +00:00
Jake.Stine
f4d1e632a0
Oops, hit OK instead of cancel on my last commit. Here's the second part I missed.
...
Removed Commandline dialog from Release builds (it's meant for giving debug-style commands to homebrew diagnostic ELFs used for testing Pcsx2/Ps2 compatibility). Removed the compatibility list, which was just a local copy of the online resource. Replaced it with a link to Pcsx2 website. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@589 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-24 13:10:54 +00:00
Jake.Stine
73cf4cd361
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@588 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-24 12:56:51 +00:00
Jake.Stine
055504f512
Fixed some small errors in the new solution file settings, and added gnu_gettext to bin, since it's a dll dependency of Pcsx2.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@583 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-24 06:29:51 +00:00
Jake.Stine
7ffd3d3aea
Restructured the build system from the ground up. 3rdparty libs have been moved back into a /3rdparty folder, and are compiled as libraries. Most relevant plugins are part of the pcsx2_suite_2008.sln. Revision tagging of filenames is still there, but is now disabled by default. Pathnames with spaces shouldn't break the buildscripts anymore. Removed tons and tons of files in an effort to simplify the repository and build system management. So if a solution file you're used to using is missing, it's missing for a good reason (means the project can be built either from the Suite solution, or by double-clicking the project file from explorer, from which MSVC creates a new solution for you).
...
I'll put up a wiki soon which covers new compilation features and stuff, like how to re-enable revision tagging, and how you can direct compiled exe/dlls to be copied to any destination of your choice (yay!) -- plus many other compiling tips (if I can remember them all! >_<)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@581 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-24 02:08:37 +00:00
refraction
a5eab9da86
Implemented a fix for Art of Fighting, MFIFO was clearing our counted size when it shouldn't have been.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@580 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-23 19:59:22 +00:00
tmkkmac
986f2a1a71
Changed a behavior of recUpdateFlags a bit; now it also clamps results when flag updating is skipped.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@579 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-23 19:30:07 +00:00
tmkkmac
ad5c6cff48
Fixed a minor issue in MADDiq/MADDAiq VU opcode.
...
(when _Fs_ == 0)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@578 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-23 17:08:33 +00:00
Jake.Stine
cf2919cc5a
Assorted code cleanups to WinMain's message handling, and streamlined the language selection 'gui restart' procedure.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@577 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-23 12:03:22 +00:00
tmkkmac
5870bb43e9
Code cleanup of some VU clamp functions for SSE4, and reverted my previous useless commit :p
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@576 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-23 11:54:24 +00:00
tmkkmac
44d1ff527c
Fixed some potential dangerous situations in VU rec
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@575 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-23 10:58:53 +00:00
cottonvibes
4cc6662246
some more vu clamping fixes by nneeve (fixes problems with the non-sse4 code)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@573 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-23 05:33:23 +00:00
cottonvibes
09d581217d
- nneeve fixed some bugs when VU extra/extra+sign clamp modes were enabled.
...
- i added paths.h to the vs2008 project file.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@572 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-23 03:42:39 +00:00
arcum42
4744652b5b
Clean up r568 a bit.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@571 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-22 20:42:27 +00:00
arcum42
0f6f310c71
Linux: Show the version number for release builds.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@569 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-22 14:12:21 +00:00
arcum42
85c6db67c2
Linux: Get the locations of ini files for plugins mostly working again (I know about the USB & FW stubs). (Issue 55). This is still somewhat hackish; I'll probably be cleaning up bits later, and this does put LOCAL_PLUGIN_INIS out of commission for the moment. It will come back eventually. This ought to also take care of issue 54. You may need to delete pcsx2.cfg for everything to work properly.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@568 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-22 12:08:05 +00:00
cottonvibes
61ef2143bc
minor vu changes
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@566 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-21 21:15:54 +00:00
tmkkmac
a22035664d
Modified EE opcode table to make add/sub require sign-extended operands. This fixes a crash in Unlimited SaGa.
...
WinGUI: Fixed a minor issue when changing language.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@564 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-21 18:07:15 +00:00
cottonvibes
de2e939fcc
FPU fixes:
...
tweaked the fpu compare clamping so now gt4 works again.
made the digimon rumble arena 2 fix into a gamefix.
tekken 5 doesn't need a gamefix anymore.
VU fixes:
fixed 2 opcodes thanks to nneeve.
optimized FCOR a bit.
changed the way ICO gamefix works so its less hacky (just always sets VI to 1 instead of setting VI to the opposite of the 'correct' result)
General fix:
there was some odd bug with the autogenerated TEXTINCLUDE stuff.
if you edited a resource, it would generate
#include "afxresmw.h
instead of
#include "afxresmw.h"
(a quotation mark was missing so you'd get compile errors)
so i fixed that ;p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@563 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-21 17:33:10 +00:00
Jake.Stine
4a8ba5cd40
Added some diagnostic and recovery checks to the MTGS queued frame counter, as per problems expressed in Issue 49.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@562 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-21 17:23:39 +00:00
arcum42
816647a86f
Linux: A little more consistancy about using the System.h wrappers, restore the bin symlink, and a few other minor changes to plugins.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@561 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-21 11:14:09 +00:00
Jake.Stine
f6f1f8665b
Minor cleanups to the order in which plugin init/open/close functions are called (PADs are always closed before the GS now, for example, since they usually rely on the GS's window handle).
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@560 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-21 10:39:18 +00:00
ramapcsx2
192d8e6b5e
Tri-Ace gamefix works again :p
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@553 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-20 17:47:43 +00:00
cottonvibes
c669407b33
minor FMAND VU opcode change thanks to nneeve
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@548 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-20 05:43:18 +00:00
cottonvibes
7e065afb4d
tweaked FPU compare opcode clamping.
...
this fixes a bug with Digimon rumble arena 2.
thanks to Nneeve for figuring out the problem.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@547 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-20 05:37:01 +00:00
Jake.Stine
e56eac1862
Fixed two bugs in the savestates. Older savestate versions will work now, as they should.
...
Added a queued frame counter to the MTGS to help keep keyboard input in sync with video output, which is needed now thanks to the INTC speedhack making the menus of some games run really really fast. ;)
Spiffed up the about box a wee bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@546 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-20 04:36:55 +00:00
cottonvibes
32a8bef206
minor change
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@543 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-20 03:12:27 +00:00
Jake.Stine
35d2328dd1
Added some more relevant persistent state vars from the GIF to the savestates. There's still a known bug in the IPU's savestate however, so saving/loading while FMVs are playing could result in bad states (not sure when the bug started, and it could be very old, only noticed it today)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@541 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-20 00:39:58 +00:00
arcum42
32c6b06127
Linux/ZeroGS: Bring the memcard and gamefix dialogs up to date. Get rid of some compilation warnings on ZeroGS, and some misspellings that were bugging me.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@540 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-20 00:33:20 +00:00
refraction
e9e9a2c273
Seems my last commit change didnt quite do what i expected and broke FFXII. Reverted it.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@539 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-20 00:31:29 +00:00
Jake.Stine
243e4fba9f
Added several important variables to the VIFdma savestate, relating to it's SSE unpacker; which should make the gifdone savestate hack obsolete (it broke savestates for most FMVs and some games). Seeing how important the unpacker tables are, it's a miracle VIFdma ever recovered from a savestate without them ;)
...
Fixed a bug in the memorycard hotswapper. It wasn't reloading the cards correctly after changes.
Improved the new INTC hack slightly, and changed its description since it's not quite as universally awesome as Pseudonym and I had hoped when we worked on it last night. -_-
Added __fastcall and __forceinline to some of the VIF's unpack functions, where appropriate (very small speedup).
Removed some code I added to the MULT/DIV instructions, since it wasn't needed afterall, and fixed some typos in vtlb's API.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@538 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-19 22:48:05 +00:00
refraction
23336fe987
Fixed a small bug in FCOR under the VUrecs, also put a hack in there for ICO to cure the SPS, this can be selected in the gamefixes dialog.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@537 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-19 22:17:58 +00:00
ramapcsx2
68aaf91b5d
Tmkk managed to fix a huge hack in the superVU delay slot handling.
...
This new code properly handles these situations now, removing the need
for the magna carta gamefix, and also fixing problems in dragon quest 8(jp).
Thanks again, tmkk :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@536 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-19 15:56:07 +00:00
Jake.Stine
29ea3c8ebc
Moved an MTGS log to help troubleshoot some kind of rare system hard-crash problem in MTGS, and removed an errant playground reference. :)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@534 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-19 10:50:18 +00:00
Jake.Stine
3532ebada0
Added Nneeve's fix for recMADDU (it was using the IMUL instruction which would have produced potentially incorrect results in rare cases).
...
Cleaned up some of the signed/unsigned ambiguity surrounding MULT/MULTU instructions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@533 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-19 09:59:02 +00:00
Jake.Stine
4bd685485d
New Speed Hack! And a good one! This is an idea I had a while back, as implemented by Pseudonym, and is intended as an eventual replacement for all EE speed hacks (x2, x3, etc). Expect huge speedups in most games way beyond even X3, and it shouldn't break FMVs or cause graphical artifacts either like the old hacks do.
...
Memorycard Fixups:
* Replaced the old disfunctional memcard manager with a neat and practical one, with options!
* Improved memcard hotswapping support.
* Added memcard CRC checks to savestates, so that memory cards are only ejected when needed (should fix Guitar Hero problems from Issue 32)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@532 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-19 09:51:21 +00:00
cottonvibes
443ef97f1f
fpu interpreter bugfix thanks to nneeve.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@531 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-18 20:21:44 +00:00
Jake.Stine
2a389da932
Counters fix from tmkk -- a rarely used gate mode of the EE counters was being handled incorrectly.
...
Added FreezeMMXRegs to SPU2async in IopDma, which is callable directly from the recompilers.
SPU2-X: Fixed another reverb bug, this one put too much reverb on voices and sndfx.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@530 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-18 18:05:58 +00:00
ramapcsx2
460a2b4edf
Small change - removed 2 console logs from release builds
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@528 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-18 16:11:30 +00:00
ramapcsx2
058ec7db30
A few fixes for MMI stuff by tmkk, and disabled a logging printf in release builds.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@526 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-18 14:03:35 +00:00
ramapcsx2
bee40a2948
Re-enabled the superVU optimization (It had problems with FFX on non SSE4 cpus, likely a bug in AssignVFRegs).
...
To make up for the speed loss in Tekken5 and Persona4 the vu cache size is now bigger.
This means another 10% more speed for Tekken, and a whooping 30% for Persona :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@524 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-18 13:35:55 +00:00
arcum42
ec3a17d9cc
A few minor changes to the Linux port, and a minor ZeroGS bugfix.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@523 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-18 12:51:36 +00:00
ramapcsx2
33d5c66ac7
Lots of work from tmkk. This update adds recompiling for several MMI opcodes, fixes bugs and adds SSSE3 detection.
...
Thanks again, tmkk! :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@522 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-17 23:29:47 +00:00
ramapcsx2
af89808f8f
Disabled a superVU optimization that slowed down VU intense games lots.
...
Big speedup for Persona4 and Tekken5 :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@521 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-17 23:20:10 +00:00
ramapcsx2
26f33da0b6
- Disabled all broken memory card manager options
...
- Set DaZ to on for the VUs as default
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@519 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-17 18:45:45 +00:00
Jake.Stine
09bb31aaa4
Missed an important bit of last night's build script update. >_<
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@517 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-17 10:52:18 +00:00
Jake.Stine
68ceb3b8fb
Fixed a bug that caused MTGS to throw "pure virtual function called" errors on rare occasions, and cause crashes in Linux. (Issue 31)
...
Improved the Win32 build scripts to solve some end case scenarios on some systems/configs, where they would fail due to missing path separators.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@514 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-17 01:38:02 +00:00
Jake.Stine
fe6f45e45e
Updated the Copyright to reflect the passing of another year. :)
...
Updated the pcsx2_suite_2008.sln; changed SPU2ghz to SPU2-X.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@502 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-15 23:23:46 +00:00
Jake.Stine
11abea2d5a
Pcsx2 now correctly sends CRC info to the GS plugin when using Run->Execute to boot games through the BIOS. And, Omg! The X button in the about box was broken! Thank goodness I fixed it before someone got hurt! ;)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@500 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-15 12:31:49 +00:00
cottonvibes
c7deaad3c6
coded the microVU opcode tables, this took me all-day to get right lol xD
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@498 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-15 09:10:24 +00:00
refraction
fe183b91bf
Whoops, overdid that a bit (thanks for pointing it out Bositman :P)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@494 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-14 17:08:32 +00:00
refraction
c4cc49cda6
Fixed an issue which caused savestates (or escaping) to freeze up the emu if MFIFO was in use
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@493 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-14 16:47:31 +00:00
arcum42
a8706a94ce
Linux: Moved the new memcard work to separate files, and enabled it, as it seems to be about as safe as switching memcards in the Windows port. Cleaned up Linux.h a bit, and started a bit of work on the debugger.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@491 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-14 10:28:25 +00:00
refraction
2cc719d5b0
Slight modification to the MFIFO's to prevent potential situations which could cause bad data to be copied.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@490 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-13 23:57:39 +00:00
refraction
56ed72b8a1
Implemented a hackfix for FFX (I hate this game lol) also fixed a bug in VIF i think i introduced during some tests.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@489 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-13 21:22:50 +00:00
arcum42
5252d45ed7
Linux: A bit of work on memcard support in Linux. Disabled for the moment because it seemed like the emulator wasn't seeing memcards being swapped till after restarting pcsx2, and I was worried about memcard corruption. I also made it put in default values for memcards if you didn't have them in preferences already.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@486 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-13 12:50:01 +00:00
arcum42
a0da3ee37a
Linux/Plugins: Use spu2ghz's noise rng in ZeroSPU2, clean various plugins before compiling them, put in better default values for the Linux port when configuring, and go into pcsx2 after configuring for the first time, rather then quitting. Oh, and disable the debugger for the moment in Linux.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@485 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-13 09:57:15 +00:00
gabest11
e7536c1bbb
No wonder snapshots didn't work, the directory is not there. Renamed "snap" to "snaps" for GSmakeSnapshot.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@483 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-13 09:26:15 +00:00
arcum42
6e22fe3557
More cleanup on Patch.cpp.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@482 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-13 03:21:38 +00:00
refraction
1823be2503
Disabled a default EE Rec option, which shouldnt have been on in the first place, fixes Enthusia freeze up (maybe others that froze in 3d)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@481 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-13 02:15:48 +00:00
refraction
97afc20607
Small hack (possibly) so the Katamari games boot from "Run CD/DVD" Fixed SRS so it doesn't hang on loading ingame 3D (please report any broken games), also moved one of the hwRead case statements for SPR logging.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@480 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-12 23:19:54 +00:00
cottonvibes
0e9629b01e
minor microVU rec changes
...
note to pcsx2 users: for those that still don't know, these are new VU recompilers i'm working on. They're not working yet, and won't be for at least a few months. So don't expect noticeable changes when i update microVU stuff, since currently they're not being used (when they're in a semi-working/usable state, i'll be sure to put a note in the revision message ;p)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@478 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-12 03:15:46 +00:00
refraction
29fe1673ba
Fixed Fatal Frame once and for all due to a DMA issue which it shouldnt have been doing ;p Also fixed the COP0 condition for the Recompiler and Interpreter, this was stopping Mojib Ribbon and Shadow of Colossus (after the Fatal Frame fix) from running. Int some how worked but it was wrong lol :P
...
Also fixed some Copy n Pasta typos
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@477 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-11 22:57:37 +00:00
arcum42
fd4f5bab0b
Various minor cleanup. Get rid of those annoying extra newlines in Linux.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@474 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-11 13:25:17 +00:00
Jake.Stine
d5bc5099d1
SPU2ghz: Significant overhaul of the volume system! Volumes for most games should be much more accurate now, and distortion greatly reduced. This is still a work-in-progress, and I intend to follow up with another commit soon that should improve performance in a few areas, improve overall audio quality and (hopefully!) fix up the Special Effects system as well.
...
Pcsx2: This time the Pg icon really has been replaced/reverted to the original (dunno why my last attempt didn't commit, oh well). Also improved the syntax of the SourceLogs; fixing if/else statement scoping problems.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@470 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-11 07:20:14 +00:00
arcum42
5249b67a56
Let's see: Fix Linux build so it compiles, both under normal and devbuilds. Add the ZeroGS patch for SSE2, and preliminary work on the configuration issue. Get build.sh postix compliant. And let's not feed C++ strings to WriteLn.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@468 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-10 12:42:26 +00:00
Jake.Stine
c433291c67
Bugfixed the Elfloader; resolves a bootup crash in Psychonauts.
...
Renamed MemoryAlloc to SafeArray, and added linux files to the Win32 solutions (they're disabled, so they don't compile or anything -- I just needed them in the solution so that I can more easily update Linux code when I make API changes to the GUI)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@467 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-10 11:34:35 +00:00
cottonvibes
0f0cf9d84d
some microVU work
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@466 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-10 09:18:57 +00:00
Jake.Stine
68afc71ba8
SPU2ghz: Bugfixed the update of the ENDX flag; fixes Summer Heat Beach Volleyball. Added afxresmw.h to the SPU2ghz project, so that VS Express folks can (hopefully) compile it now, relatively hassle free.
...
Reverted the Pg icon back to the Official Pcsx2 "2" icon.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@465 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-10 03:20:25 +00:00
refraction
2247e97f20
Removed VSync INTC timing hack, could possibly sort others too
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@464 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-09 22:13:22 +00:00
Jake.Stine
6ebfae8ef1
Re-Added eol-style:native properties to the repository. The settings got lost when we merged from Playground to Official.
...
Added interface.cpp (plugin/pcsx2 interface) and savestate.cpp to SPU2ghz, to help clean up SPU2.cpp.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@463 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-09 21:15:56 +00:00
refraction
d2ef18113c
Removed my VIF tests, put some other means of protection in place that seems to work. Should fix Issue 22 which was introduced in r454. Also fixed a vif mfifo bug which has been there god knows how long..
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@462 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-09 20:45:14 +00:00
ramapcsx2
71c16d061d
A new VU MIN / MAX code by Nneeve allows more games to use DaZ on the VUs.
...
We'll test if any game still needs DaZ off, and if not so, make that default to on.
DaZ is a more correct behavior for the VU's, and only bugs prevented it from working as expected.
Thanks to Nneeve for his hard work :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@461 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-09 18:50:10 +00:00
ramapcsx2
25459ba1fc
Changed the Magna Carta gamefix to something more plausible.
...
Thanks to tmkk for spotting this :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@460 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-09 18:04:31 +00:00
Jake.Stine
632b73ccad
Added preliminary hotswapping and "Memorycard Not Present" support to the SIO. Among other things, this fixes memcard problems when using savestates, where-by some games would fail to recognize that the memory card had changed. So those of you with savestates for games that refuse to save to a newly-formatted memcard, this *should* allow you to save now. :)
...
Added several new files to organize some large files: HwRead.cpp, HwWrite.cpp, MemoryCard.cpp, MemoryCard.h.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@459 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-09 17:53:35 +00:00
Jake.Stine
098c38113a
Removed various references to "Playground" in plugins and dialogs.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@458 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-09 07:47:49 +00:00
Jake.Stine
9a1f678952
Helps if I add all the files.. >_<
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@457 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-09 06:11:19 +00:00
Jake.Stine
fcad9f8ebc
Added NTFS compression to the memcards folder and any memory cards used from pcsx2. Most memory cards compress exceptionally well (from 16M to 3M typically).
...
Also in this commit: Some minor code cleanups to sio.cpp, and added some missing setup code to the Iop Counters savestate loader; psxhblankgate and psxvblankgate weren't being re-initialized.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@456 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-09 06:02:46 +00:00
refraction
b1600e57f7
Small bug in the new VIF timing i forgot to fix :P
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@455 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-08 09:38:17 +00:00
refraction
fbff495952
Fixes for Fatal Frame VIF errors and FF7 DoC grey screens. Experimental VIF timings included
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@454 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-08 09:10:09 +00:00
Jake.Stine
27af6983c7
Fixed a foopah in r451 that caused most games to run at PAL framerates and timings. Oops, heh.
...
Squashed another race condition in the MTGS; this one when hitting escape to close the GS window (very rare).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@453 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-08 07:59:42 +00:00
cottonvibes
9f454da8d6
- fixed a warning from last revision
...
- made "framelimit" mode default, instead of "normal" mode (was discussed by team)
- some more microVU rec work...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@452 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-08 07:21:56 +00:00
Jake.Stine
63d5ce867b
Yay! Fixed a memory corruption bug in the SuperVU that caused several "VU-intense" games to crash randomly: Tekken 5, Persona 4, and God of War to name a few.
...
Changed the Hw FiFo to use what should be a more correct register addressing scheme. The entire contents of each page of the FIFO is mirrored into the lowest register(s). For example, any address between 0x10006010 and 0x10006ff0 should always be treated as address 0x10006000.
Code cleanups and minor optimizations to hw.cpp, FiFo.cpp, and gs.cpp.
Added some additional utility functions to the Path namespace, for splitting paths into files/folders parts.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@451 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-08 06:29:43 +00:00
arcum42
7e8aeba9c2
Hmmm... I remember adding this to svn. Oh well, it's in now.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@450 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-08 06:25:09 +00:00
arcum42
5ad9f85500
Linux: Save slots are now disabled in the menu unless a) a game is running, and b) it was saved with the same game as you are running. So you should now be able to tell at a glance which slots you've used. Experimental...
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@448 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-08 01:41:00 +00:00
Jake.Stine
22bacc999e
Modified the build system so that both the original and new "revisioned" copies of EXE/DLL files are copied into the target build folder. Example: When compiling Release, pcsx2.exe will always reflect the most recent successful compilation.
...
Fixed COP0's recompiled branch instructions (BC0F, BC0T, etc) -- the conditional was not implemented correctly (thanks to Refraction for spotting that one).
Used a better method of clearing the errorlevel during the Pre/Post Build steps. Should be a little less error-prone (pun?)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@447 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-07 20:11:13 +00:00
arcum42
1709b2a74f
Linux: Some cleanup on the Linux headers as followup to r443.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@446 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-07 19:56:37 +00:00
Jake.Stine
2cf8006ab0
Fixes some various compilation problems (people without TortoiseSvn installed won't get errors anymore)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@444 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-07 15:14:23 +00:00
arcum42
57c8281242
Linux: Reorganized the files to a somewhat familiar file structure. Adjusted some Linux code to be closer to the Windows version.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@443 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-07 06:15:22 +00:00
cottonvibes
9f75e5b825
minor update - i forgot to rename a few things
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@440 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-07 01:25:16 +00:00
cottonvibes
73d6a8aca0
- renamed pcsx2pg.ini to pcsx2.ini
...
- made pcsx2 to default to MTGS mode "on" instead of "off"
- renamed "Mega VU" recs to "Micro VU" recs since the team thought "Mega" sounded lame ;p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@439 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-07 01:20:44 +00:00
refraction
f70ce7be01
Tweaked the Game Fixes GUI slightly so it was less ugly, buttons were hanging off the edge etc.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@438 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-06 23:18:33 +00:00
Jake.Stine
670b6e5491
Pointed pthreads Intermediate folder to a location other than Pcsx2's. This resolves some linker warnings and other build issues.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@436 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-06 22:46:46 +00:00
arcum42
b16a122e9f
Remove anything saying Playground from the Linux version. Minor change to the Linux cpu code.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@435 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-06 22:46:05 +00:00
refraction
2350a55864
Updated logo to remove the "Playground" stamp :) Welcome aboard guys!
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@433 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-06 22:16:40 +00:00
Jake.Stine
3f392e4e6e
Removed "Pg" from filenames and project names. Removed "Vtlb" from build target names and pcsx2.exe (so the new pcsx2.exe is the same as the old pcsx2pg-vtlb.exe)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@431 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-06 21:40:06 +00:00
refraction
aa94c30dc3
Should be the last of the trunk, gotta finish the branches/tags, but thats the main bulk transferred.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@426 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-06 20:04:37 +00:00
refraction
57616b8916
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@407 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-06 18:28:52 +00:00
bigianb
b0907169a4
change to allow compilation on latest linux. Only tested on xubuntu 8.10, 32 bit so far.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@403 96395faa-99c1-11dd-bbfe-3dabce05a288
2008-11-25 22:15:21 +00:00
laurence.muller
a2791d843e
Using standard SVN folder structure
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@398 96395faa-99c1-11dd-bbfe-3dabce05a288
2008-11-06 23:27:06 +00:00