Commit Graph

704 Commits

Author SHA1 Message Date
cottonvibes 9e60168cbb mostly vu changes. also changed some SSE move instructions to only move when reg1 != reg2.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@507 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
arcum42 8b00b31411 Simplify the code in MixADSR, and restore a few values I changed inadvertantly.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@506 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
arcum42 4531a1406f ZeroSPU2: Reformat zerospu2.cpp & h so that they are readable. Change a few unneccessary case statements into if statements.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@505 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
cottonvibes 6ba8e669e7 minor vu changes.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@504 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
arcum42 651ce3ec2d ZeroSPU2: Break ALSA & OSS into separate files.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@503 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
arcum42 9ce023bf26 Get rid of a bunch of old commented code in ZeroSPU2, to make it easier to read and modify. Get rid of a compiler warning, and mark as the Playground version.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@502 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
arcum42 bb71fcfe70 Fix the Linux makefiles to know about the C++ Files.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@501 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
Jake.Stine a0148c6242 Win32 GUI: The load/save other savestate dialog box defaults to the savestates folder now, and also defaults to the new NT/XP style open file dialog box (the bigger, fancier, better one).
Several project management changes:
 - Renamed all .c files to .cpp.
 - Added pthreads-win32 to the project (along with a couple fixups).  Future revisions will use pthreads code exclusively, and remove the need for win32/linux ifdefs in multithreaded code sections.
 - Added MTGS.cpp (but it's still empty yet)

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@500 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
arcum42 8019062b04 Convert the glade file for CDVDiso to be the moderately out of date version we normally use, rather then some version out of the mists of time that Glade can't read anymore.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@499 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
arcum42 5c121d632b Adjust ZeroSPU2's file structure a bit, so it isn't so cluttered.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@498 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
Jake.Stine a7d3fee8ce Pcsx2: Possible fix for the MTGS giftag handler, as reported in Issue 88 (should fix several Kingdom Hearts issues I hope, but I can't test it here right now).
CDVDiso: Fixed the folder/directory remembering.  It didn't always work. -_-

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@497 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
Jake.Stine af14756352 Improved the MTGS enable/disable option, so that it only resets the GS plugin now, instead of everything. Using File->RunCD performs a full reset now, as it should.
CDVDiso: The last used directory is now saved correctly.  You won't have to re-nav to your iso folder constantly anymore. :)

CDVDiso: Added missing resource file to the project (configure boxes appear/work now).

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@496 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
cottonvibes f93e8c1beb fixed/added/optimized some VU stuff. i plan to go over most (all) VU micro instructions over the next few days/weeks, if i don't get bored of it that is ;)
3 down, 100+ more to go! :D

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@495 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
Jake.Stine 8aa7f3c3d1 CDVDiso: Applied svn:eol-style:native attribute, and added the .vcproj file missed in the last commit.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@494 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
Jake.Stine aa99d7781d CDVDiso: Now compiles under Win32 properly (can be compiled as either C or C++ code so linux should hopefully still work too). Fixed the issue where leaving the ISOfile blank (auto-prompts for ISO on RunCD) won't auto-prompt everytime you resume execution.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@493 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
arcum42 092110eb06 Fix Windows build of pcsx2 and Linux build of CDVDiso.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@492 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
Jake.Stine cf9eaae693 Tried to fix up the CDVDiso plugin so that it doesn't ask for ISOfile when resuming execution of a game, but for some reason the plugin isn't recognized by Pcsx2. Too tired to figure out what I did wrong. :/
Also, fixed a typo in PS2Edefs.h - had _cplusplus instead of __cplusplus.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@491 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
arcum42 d98ed02035 Correct compiling in Linux again. Cpu & Savestate code still need to be reworked in Linux.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@490 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
Jake.Stine 243dcfedc8 Removed a VU0 memory allocation hack that wasn't needed anymore (real problem ended up being something else and I forgot to remove the hack later), and moved some header defines around to alleviate compilation woes.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@489 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:33 +02:00
Jake.Stine 2d95e58bba Major GUI stability renovations: Pcsx2 now supports an "automagic" to-memory savestate system that allows it to recover on-the-fly from most dialog box changes (speedhacks, advanced roundmodes, and even MTGS). Use Run:Execute to resume your game right where you left off!
Fixed several memory leaks, including one that ate up about 40 megs of ram everytime you hit esc to go to the GUI.  Also added quite a bit more error checking to init/deinit procedures.

Run:Reset menu now *fully* resets all plugins, including the GS.

Added color to the Win32 console! :)

TODO: The "Configure" dialog box doesn't support the new recovery system yet, so you can't change plugin versions on the fly yet (coming soon).

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@488 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:32 +02:00
arcum42 9a70d486f5 Get rid of PCSX2_NORECBUILD. It's never compiled with this defined in playground, and doesn't compile with it in the official pcsx2 svn.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@487 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:32 +02:00
arcum42 d4804208f3 Add Zeydlitz's OGL patch to ZeroGS, plus the fix from issue 4.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@486 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:32 +02:00
arcum42 661c529443 Add a configuration dialog box to the Linux version of ZeroSPU2.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@485 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:32 +02:00
ramapcsx2 53ef8d1ea4 Included more plugins. We now have CDVDiso, ZeroGS, Zeropad and ZeroSPU2 included.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@484 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:32 +02:00
Jake.Stine d3b51a4529 SPU2ghz: Bugfix for when loading older/non-compatible spu2 savestates.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@483 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:32 +02:00
arcum42 d5b99ae3fe Change the appearance of the logging dialog box in Linux.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@482 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:32 +02:00
arcum42 2fe3728018 Update the Linux Gui.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@481 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:32 +02:00
arcum42 1fc2a98c22 Fix Linux compilation issues introduced in r467, r476, and r478.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@480 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:32 +02:00
Jake.Stine 9e57dd3c85 Single-thread GS: Fixed a bug from around r466 that caused the GS to crash on startup (did not affect MTGS mode)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@479 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:32 +02:00
Jake.Stine dfec17bab2 Fixed compilation errors in dev builds introduced in the last commit (Which, ironically, fixed compilation errors in the non-dev builds.. heh).
The Profiler is now toggleable via a menu option under Misc - below the Console/Patches toggles.

Removed some more dead code and unused logging options.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@478 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:32 +02:00
Jake.Stine 9d0c0ef2de Fixed last revision so it compiles (the vuMicro files got missed somehow), and cleaned up resource.h to remove all the old dead defines from ancient GUI revisions of the distant past.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@477 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:32 +02:00
Jake.Stine 8654341dec CDVD fix: "CDVD Ready" and "Seek Complete" flags are managed correctly now, and Cdvd timing accuracy is more precise.
Disabled PS2 BIOS console logging in non-dev Release builds.

Win32: Profiler no longer freezes the emulator for 1-3 seconds during startup.  (and yes I'll make it an option soon!)

Win32: Updated build names in project and workspace files

Code cleanups:
 * Heavy modifications to how Pcsx2 devbuild logging works.  Devbuilds should be a bit more efficient now.
 * Removed all color tags from SysPrintf's.  The colors didn't work on Win32 builds (may have worked on linux) and were needlessly complex.  Will replace them with a (working!) console colorizer that works on a per log-type basis soon.
 * Added a new Console namespace with various replacements for SysPrintf.  API is loosely modeled after C#'s Console class.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@476 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:32 +02:00
ramapcsx2 8650ba5817 Updated zlib library (used for savestates), and changed the default settings it uses. It's now faster at saving games, but uses some 5% more space. Savestates created with older builds are compatible.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@475 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:32 +02:00
cottonvibes 0afcfd1736 "Nearest" should have been "None" in the EE Clamp Mode options :(
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@474 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:32 +02:00
cottonvibes 3656aa355e fix for the EE clamp mode not initializing correctly.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@473 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:32 +02:00
cottonvibes f6d7d5b440 moved the overflow clamping speedhacks to the Advanced Options dialog box. also added a new VU clamping mode that when i'm finished with it, should be the most compatible mode (but its also the slowest). be sure to go into the Advanced Options dialog and hit 'default' once in order to properly configure the options. (or alternatively you need to delete your ini file)
also disabled the 1 warning from the windows builds.

note: linux needs to make the proper modifications.
( sorry to keep breaking the linux builds :( )

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@472 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:32 +02:00
gigaherz b455090bb2 Plugin loader cleanup.
In case this breaks Linux:
I simplified the code based on the assumption that SysLoadSym will return NULL on error, and that SysLibError will return a pre-formatted string ready to print.
If the Linux side can work on these "rules", then everything will be good. :P

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@471 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:32 +02:00
ramapcsx2 ad5e19e350 Fixed GT4 hang at startup.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@470 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:32 +02:00
Jake.Stine a3c30625f6 Fixed the broken savestates in the previous revision. -_-
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@469 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:31 +02:00
Jake.Stine c9acd16b5c Removed some Console spamming left in from the prev revision (I always forget that stuff >_< )
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@468 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:31 +02:00
Jake.Stine 7e5b1c504b Fixed VUSkip a bit - it is no longer unstable and should also give better/more consistent skipping then before.
MTGS mode fix: Retooled the MTGS's GIFtag handler so that it's based on Gsdx's GIFtag handler (may fix MTGS problems in DigitalDevilSaga).

Updated VM build to give an error when trying to load VTLB states.

Various tweaks and code cleanups.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@467 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:31 +02:00
arcum42 1876fbc49c Few minor Linux changes. Fix debug build. Delete some unneeded code. (Linux build segfaults when run.)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@466 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:31 +02:00
Jake.Stine 274c92b832 Hopefully fixed Linux/GCC compiles of vtlb.cpp with this update (should be no functional changes for Win32 users)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@465 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:31 +02:00
arcum42 c8e246fbfe Fix everything else in Linux except for vtlb.cpp. Compilation is still broken, though.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@464 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:31 +02:00
cottonvibes f137821d9c minor FPU min/max opcode fix. minor VU Clip opcode fix.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@463 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:31 +02:00
cottonvibes 786eeee503 improved "Extra VU Overflow Checks" mode. this fixes the garbage in some tracks on GT4.
note: the game is still broken from r448, but you can use a saved-state to get past the intro where it hangs for now.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@462 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:31 +02:00
arcum42 26dfd9846c Fix a bunch of compilation errors in Linux. (It still doesn't compile, but I wanted to commit these before more changes are made...)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@461 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:31 +02:00
gigaherz a946fad125 Hackish-fixed the crash when you run a game through run->execute in release builds. Some code is corrupting ebp and not preserving it, so I made execute() do that instead. Put a nice fixme in there in case anyone is worried. :p
Yes you read the nickname correctly.
Yes I did take the time to fix a problem in pcsx2.
No you are not dreaming, I was bored.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@460 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:31 +02:00
Jake.Stine 0123e80888 Merged drk||Raziel's new VTLB codebase into Playground. It's a faster and more stable replacement for the old TLB build. It lacks the full suite of recompiler optimizations, so don't get too excited (yet). It'll get better though. :)
Important Note: VM and VTLB saves are incompatible!

Also in this revision: Part 1 of a major code cleanup to the EE recompiler.  Adding namespaces and better/safer scoping, and the Standard, Special, and MMI instructions work through a single structured opcode table now.  (other instructions will follow suite when I have the time).

Fixed some sloppiness in the R5900 disassemblers.  Those also need more work yet.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@459 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:31 +02:00
arcum42 77392f06a7 Fixing linux build after 457, as requested. :)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@458 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:31 +02:00