Commit Graph

8918 Commits

Author SHA1 Message Date
cottonvibes 98c1855916 microVU:
- More regalloc work/fixes
- Implemented some untested SSE4.1 optimizations (can't test since don't have sse4.1 cpu)

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

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

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

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

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

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

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1543 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-19 00:42:11 +00:00
cottonvibes 81009002bb microVU: more work in progress stuff...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1542 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-18 13:57:21 +00:00
cottonvibes 5474df1479 microVU: cleanup (removed old mmx vi reg caching)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1541 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-18 11:57:10 +00:00
cottonvibes 73d388fc87 microVU: Work in progress stuff... (no functional change)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1540 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-18 11:46:56 +00:00
Jake.Stine 6e894deb67 wxgui:
* Console now uses a fixed-width font by default
 * Core PCSX2 memory structures (VTLB and Recompilers) are allocated on startup.
 * Added some more gui/ini/startup mess.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1539 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-18 03:11:51 +00:00
gabest11 4a7304d6f7 GSdx: added ltrapper's modifications.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1538 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-17 23:45:32 +00:00
Jake.Stine 0f33c59509 wxgui: Whee, a basic file browser dialog for Run Iso. Eventually it *will* do something more than log the result. >_<
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1537 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-17 13:19:24 +00:00
Jake.Stine 3a5c1d180b wxgui: various cleanups.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1536 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-17 05:45:34 +00:00
Jake.Stine ccdb5d84b9 wxgui: Optimizations and improvements to the console logger's threading model.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1535 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-17 03:43:45 +00:00
gabest11 e58776e095 GSdx: just squeezing a few more fps.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1534 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-16 21:36:07 +00:00
sudonim1 800039c829 Fix flickering characters in god hand from r1509.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1533 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-16 15:13:01 +00:00
Jake.Stine 539a35fe80 wxgui [Linux]: Updated project files, fixed docking logic.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1532 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-16 13:44:40 +00:00
gigaherz de976b8234 Remove the bool from the GS exports, as Jake said.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1531 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-16 12:38:42 +00:00
Jake.Stine bea9aa2d15 wxgui: minor code cleanups.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1530 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-16 10:25:24 +00:00
Jake.Stine 657660371c wxgui: Fixed crash-on-exit problem in Release builds and made the console logger thread-safe (uses messages instead of direct wxFrame method invocations).
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1529 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-16 09:58:17 +00:00
gigaherz 63a01f76ac Matsuri sent me a cleanup of his previous patch. No changes in functionality.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1528 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-16 03:34:30 +00:00
gigaherz c2e49ba245 Silence a stupid compiler warning, fix the layer1 detection code, and remove the hack I added before, as it does no good.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1527 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-16 00:04:22 +00:00
ramapcsx2 258dc05529 Plugin interface / GSdx changes that binds the GSdx vsync option to the pcsx2 framelimiter.
This patch by matsuri makes playing with vsync a lot nicer, so thanks for that one ;)

Note: For now its directx 10 only, due to dx9 needing a swapchain reset..

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1526 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-15 19:44:06 +00:00
gigaherz 437d05e9f8 Give more information about the active disk even in Release builds.
Remove unnecessary re-checks at startup, so the cdvd info only shows up once (and every time the plugin notifies of a disk change).
Add a condition to print which shouldn't be printing always.
Add a little "hack" to Mechacon command 0x80 ... will get rid of it later if it doesn't help.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1525 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-15 18:23:46 +00:00
sudonim1 21dac50152 Cleaner version of the EE reset optimisation, there's no particular reason not to skip these steps every time so there's no need for a second function.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1524 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-15 18:07:34 +00:00
ramapcsx2 ae85ad0f3b Tweak for recompiler resets, helps a bit against the stalls when those happen.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1523 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-15 17:39:08 +00:00
gigaherz 429d0aac50 Just a tiny cleanup, nothing interesting.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1522 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-15 17:34:08 +00:00
gigaherz 92f4f9a93c Cleaned up Disk Type detection code, when workign with CDs, which in turn fixes CD-based games booting (as far as I can tell).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1520 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-15 17:24:14 +00:00
gigaherz 82d0657ecc Whoops.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1519 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-15 16:55:59 +00:00
gigaherz 602599c5c2 Fixed broken blockdumping in last change.
Added the possibility for plugins supporting getBuffer2 to return -2, meaning "still busy".

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1518 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-15 16:54:09 +00:00
ramapcsx2 fadea3d7bb SPU2-X: Just the version update
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1517 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-15 14:07:42 +00:00
arcum42 f2ae2afe45 Linux: Added the new menu options, and cdvd/bios running doesn't reset the emulator on Linux, either.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1516 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-15 06:45:11 +00:00
gigaherz 4f1baabd3c Debug message slipped in.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1515 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-15 04:32:40 +00:00
gigaherz f910d26c6e Some fixes and cleanups. Now the File->Run* options won't reset the emulation, so it might be possible to swap discs properly from nodisc, iso or whatever cdvd plugin has been selected (to switch between iso/cdvdplugin/nodisc, it's necessary to use the file menu options, as run->execute will not update the active cdvd interface).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1514 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-15 04:31:14 +00:00
gigaherz e2c31ae72a Now that having internal CDVD interfaces is easy, I added a NODISC interface, with a menu option to run the BIOS with no disc.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1513 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-15 01:17:28 +00:00
gigaherz 89c239d443 Tiny "Whoops".
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1512 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-15 00:32:50 +00:00
gigaherz 3f28c12fe7 Start improving the CDVD interface. Change the internal ISO interface to use it.
I will later work on getting the typical plugins to support these new functions.
I have tried to also update the linux side, but I can't compile or test it so it might not work properly.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1511 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-15 00:27:27 +00:00
gigaherz eda0b1ab13 Remove some messages from release builds, switch some remaining printf to Console::Status and remove a layer of bloat when checking if an iso image is double-layer.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1510 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-14 22:36:53 +00:00
sudonim1 5bd531e212 Made the EE recompiler 64-bit constant buffer (was called a "stack" despite not being used as one) reuse recent constants rather than duplicating for every instance, resulting in less recompiler resets (e.g. espgaluda resetting every couple of seconds).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1509 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-14 21:33:38 +00:00
Krakatos 633d83a2c4 Switched from vs2008 to NSIS for creating the installer.
Not final version, but putting it here as backup
Instructions in the txt

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1508 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-14 20:20:31 +00:00
Jake.Stine 94a4897624 wxgui: fixed up linux size (and omg it was easy for once!)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1507 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-14 14:22:40 +00:00
arcum42 60e1365e8a Linux: Implemented the gui side of the new built in ISO loading functions in Linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1506 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-14 10:36:56 +00:00
Jake.Stine 8505e4a7e7 wxgui: Added plugin selection dialog (complete with plugin enumeration and an exceedingly fancy progress bar), fixed some menus, added isofile recent lists, and lots more stuff is correctly saved and loaded from the configuration file.
* Dev note: Re-enabled USE_STL in wxWidgets since that's required to ensure thread safety.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1505 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-14 06:18:52 +00:00
Jake.Stine b8b7e8d14d Minor code conformity cleanups and svn properties settings for new cdvd code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1504 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-13 13:09:27 +00:00
arcum42 31869753a0 Fixed Linux again. Still don't have time to actually implement adding the new features yet in Linux. (Likely won't till next week or later)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1503 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-13 11:09:42 +00:00
Jake.Stine 366357228d Bugfixed thread affinity restoration during CpuSpeed detection; pcsx2 should use all your cores properly again. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1502 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-13 02:14:09 +00:00
gigaherz 792b1031e6 Fixed the crashing with blockdumps. It was the "iso file format" lib I took from cdvdiso.
So I axed the compressed iso (Z/BZ2) format reading, as part of fixing it. Anyone needing it can still use CDVDiso.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1501 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-13 01:11:29 +00:00
gigaherz 6924e9cc44 Shit I'm commit-spamming again. >_<
Fixed a "omgf"-class bug, which just happened to work while using ISOs because of a shared variable which wasn't meant to be shared.
And more cleanups.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1500 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-13 00:24:43 +00:00
gigaherz bd5eaf9077 Fixed a "whoops" bug on CDVD closing. Removed some unused code from CDVDisoReader.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1499 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-13 00:13:36 +00:00
gigaherz 0d879dec90 Remade CDVDisoReader from CDVDiso, without removing the blockdump stuff.
Included CDVDiso's iso handing functions into core (with renamed filenames).
Implemented block dumping into CDVDaccess so that it also dumps from a CDVD plugin.
Made the blockdump creation use a timestamped filename (can be turned off in the code), but it needs implementing a linux version of the timestamp.
The blockdump choice doesn't get saved (yet), and I'm not sure if I should make it save, or leave it as is.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1498 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-12 22:52:39 +00:00
arcum42 c27e1328c6 Unbreak Linux. (I'll wait on actually adding the new features.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1497 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-12 20:20:25 +00:00