Commit Graph

1169 Commits

Author SHA1 Message Date
gabest11 3a569dba23 GSdx: disabled "gather" until I can sort it out
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1551 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-22 12:23:58 +00:00
arcum42 6aacb2899c More iso work. Timestamps work in Linux now (and use Paths.h). Worked on getting rid of other redundant code, moving the logging to the standard pcsx2 log functions, and misc cleanup.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1550 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-22 12:06:32 +00:00
gabest11 83b15dbac0 GSdx:
- trying the dx10.1-only "gather" shader instruction for palletized lookups ("8-bit texture" mode), saves 4 instructions which isn't much but still... (not tested, don't have ati)
- may fix the intel gma "no output" bug (don't have gma either :P)
- and the usual small code optimizations


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1549 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-22 03:55:28 +00:00
arcum42 6aeda9884a Did a bit of cleanup on the new iso code, mainly so we're using the Console functions for messages.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1548 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-21 21:29:27 +00:00
cottonvibes 98c1855916 microVU:
- More regalloc work/fixes
- Implemented some untested SSE4.1 optimizations (can't test since don't have sse4.1 cpu)

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

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

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

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

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1545 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-20 03:40:00 +00:00
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
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
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
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
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
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 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
gigaherz 43f8746906 Implemented WIP code to run a ISO image from within pcsx2, ignoring the currently selected cdvd plugin.
I tried it and it seems to work, but I can't assure it's bugfree.
Next step is to implement internal blockdump creation and loading, and fix any problems ppl might have with this.
(And sorry for breaking linux on every commit I do. :P)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1496 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-12 17:17:57 +00:00
gabest11 aa438a6b73 GSdx: game fixes and small optimizations
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1495 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-12 13:46:05 +00:00
arcum42 a72f0e6ee2 Fixed up the Linux build.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1493 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-12 01:19:28 +00:00
ramapcsx2 f166306276 SPU2-X:
Fixed a problem in volume slides that caused them to update way too slow.
Music in Ys 6 works again.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1490 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-11 23:46:34 +00:00
gigaherz bef8f8b07f Refactored the IsoFS crap to use better function names, and removed some stupid remains from when this code was part of a PS2 driver.
Added a WIP Iso reader to pcsx2. Right now it doesn't do anything (meant to be a backup in case I mess things up too much later), but the idea is to integrate iso reading, blockdump creation and loading into pcsx2, obsoleting CDVDiso and cdvdBlockDumper, and giving support for potential future features.



git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1489 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-11 23:24:23 +00:00
arcum42 18dfadfa79 Fixed the last commit. :(
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1488 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-11 17:26:11 +00:00