Commit Graph

2462 Commits

Author SHA1 Message Date
cottonvibes e8527448ca Vif: Combined a lot of duplicate functions between vif0 and vif1...
Still got some more to do...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2492 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 06:54:58 +00:00
arcum42 cc52adf6cb Bring Linux project files back up to date.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2491 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 05:05:50 +00:00
arcum42 75cdc5b955 More fiddling with Sif.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2490 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 04:52:15 +00:00
cottonvibes 92ddae17ce More vif refactoring/cleanups.
There is a lot of code duplication in the vif0/vif1 files, I will probably work on getting them to use common functions.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2489 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 04:14:59 +00:00
gigaherz 47d9ba5c7a Made the new iop dma use the hardware registers for MADR/BCR/CHCR, which lets the memcards and pads work, at least in the bios.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2488 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 04:00:55 +00:00
arcum42 fa5ba9fc29 Bring Linux project files up to date.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2487 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 03:55:07 +00:00
gigaherz 5715c181dc I give up on the dmac branch. It will be easier to just do this in trunk, since it can be easily turned off.
I made it so each part can be enabled separately, but atm they are missing some code so nothing will work if enabled.
Commit is mostly for backup/history purposes.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2486 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 03:28:32 +00:00
cottonvibes 84bc805761 Vif Cleanups - did some code refactoring so things make more sense.
I need to do more later on...

I mostly separated the unpack code from the dma/transfer code in this commit.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2485 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 02:30:00 +00:00
Jake.Stine 12200c2c10 Fix the RecentIsoList.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2484 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-23 02:02:05 +00:00
Jake.Stine b594d6e37b Second try for nvidia driver bug in dx10/aero.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2480 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 23:56:06 +00:00
Jake.Stine 4e225ba113 Minor fixes to the GS Window regarding suspend/resume and a certain nvidia bug; and fix a bunch of compiler warnings.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2478 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 23:26:57 +00:00
arcum42 6d9fb042cd Hurrah for gcc.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2477 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 16:55:39 +00:00
ramapcsx2 cf809cd1df Limit EESIF1 scheduled interrupts to a maximum of 384 cycles, stops a lot of timeouts and subsequent reschedules.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2476 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 16:02:09 +00:00
Jake.Stine aac2a2e0d1 ... forgot to save the linux cbp files before committing. >_<
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2475 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 15:22:53 +00:00
Jake.Stine e747337d63 A big old crapload of UI and thread management changes. Recoded the EventSource/EventListener system to be more C++ and less hacky C. Probably breaks Linux!
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2474 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 15:22:01 +00:00
arcum42 c8fa4ffd45 Fix the release build. Minor Sif changes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2473 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 15:02:50 +00:00
arcum42 124f91920e Refactor some Sif code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2472 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 13:00:04 +00:00
arcum42 14ebc021ad Some sif fifo revisions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2471 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 12:22:32 +00:00
ramapcsx2 4bf1b1feaf Fix a screwup with the Drakan fix. Also commented it with the nice voodoocycles tag :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2470 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 11:20:04 +00:00
arcum42 b76d7c164b Just a few minor things.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2469 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 08:49:54 +00:00
arcum42 4f2601a687 SPU2Null: Fix the release version.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2468 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 05:07:34 +00:00
arcum42 b64452f074 Commit Athostr's latest patch to the cmake build support to svn. Standardizes the CMakeList files a bit, copies ps2hw.dat in to plugins, preliminary PortAudio support. Only uses the builtin SoundTouch now.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2467 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 04:36:49 +00:00
cottonvibes 242311ab1f changed an outdated comment.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2466 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 02:13:42 +00:00
ramapcsx2 ca92c6f7b2 Fix some bad/flickering textures, caused by a too big GIF interrupt delay.
Fixes Drakan and a Tekken 5 game mode.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2465 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-21 23:25:54 +00:00
arcum42 cbb2000400 Commit a modified copy of the CMake files from issue 513. (Note: work in progress. Not currently for general use. Builds made using cmake are currently not supported, and unlikely to work properly.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2464 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-21 15:12:50 +00:00
arcum42 0373c47d3a Fix up Linux. Comment out a bit of unused code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2463 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-21 13:36:01 +00:00
Jake.Stine 8e05db2c36 Fix glew_static so that it doesn't need glew installed; and add a no_asio debug build type to portaudio.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2462 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-21 10:30:47 +00:00
cottonvibes a8c2941901 Removed the old vif unpack code since pcsx2 is now using newVif.
Notes to Devs:
- Linux project files probably need to be updated since I deleted some files.
- In the vif0/vif1 Freeze() functions for saved states, I kept some dummy vars to keep saved state compatibility. We should remove them next time we decide to break saved state compatibility.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2461 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-21 06:51:09 +00:00
ramapcsx2 7bf9a0d994 Disable recCACHE, since it calls an empty interpreter function only. Small speedup in Suikoden 3.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2460 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-20 19:31:22 +00:00
gigaherz 478163c662 I implemented somethign I called pcsx2hostfs. It's a IOP driver which uses a virtual device implemented into pcsx2's emulation of the iop memory map, and not existing in the real ps2, which could be used to allow "host:" access from ps2 applications. THe pcsx2-side implementation currently is only hackedup to allow reading a hardcoded path, and it would probably not work with normal homebrew yet.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2459 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-20 18:49:41 +00:00
ramapcsx2 bb14f0ab70 Fix calling of Interpreter routines in iR5900Branch.cpp when EE_CONST_PROP is off.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2458 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-20 17:17:21 +00:00
arcum42 59ec816427 Document an Elfheader issue, so I don't forget about it.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2457 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-19 14:04:27 +00:00
ramapcsx2 4673574ca1 Disabling the not working backward propagation system in the EErec.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2456 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-19 11:33:52 +00:00
cottonvibes 3780b67ea8 minor cleanups (no functional changes)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2455 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-19 01:24:07 +00:00
ramapcsx2 b26d7fad2f Cleanup commit:
- Remove code dealing with "PROCESS_EE_MMX" ( not used without "EEINST_MMX" )

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2454 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-18 15:25:00 +00:00
ramapcsx2 c91b68c6a0 Cleanup commit:
- Remove code dealing with "EEINST_MMX"

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2453 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-18 13:36:23 +00:00
cottonvibes 9e7d4dc49a newVif: fix for rule of rose.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2452 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-18 09:15:21 +00:00
cottonvibes 804cae0b15 newVif: minor changes...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2451 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-18 05:33:06 +00:00
cottonvibes cbf25a4092 changed a comment
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2450 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-18 05:21:13 +00:00
cottonvibes 6dcc91b9c5 newVif: Added support for vif0. Also enabled newVif by default since it seems compatible enough.
Comment if this revision breaks anything.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2449 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-18 05:04:00 +00:00
cottonvibes 33bc8652e2 newVif: Cleaned up some code and added some Cleanup code. :D
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2448 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-18 04:49:45 +00:00
cottonvibes fbb95f85e4 newVif: fixed some bugs with mask/mode modes. i had forgotten that mVUmergeRegs() modifies the source reg's vectors, so data was being corrupted and breaking some games (sse4.1 users didn't have this problem).
This revision correctly fixes .hack GU Rebirth.
At this point we don't know any games newVif breaks compared to the old vif code. If you know any please leave a comment.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2447 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-18 04:07:57 +00:00
cottonvibes c6b79a4915 newVif: reverted my last change since it wasn't correct (i wasn't thinking straight when i coded it)
so .hack gu rebirth will be broken with this revision... i still need to figure out the real problem.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2446 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-18 01:28:24 +00:00
gigaherz c1cd29a534 Started implementing configuration support for PortAudio. Since PortAudio doesn't have any kind of "Unique ID" for the listed devices, I have to rely on the "host api" name and the descriptive name of the device, but it doesn't seem to be 100% reliable. In case the device name can't be found, it will try to use the default device for the specified API. If no api is specified, then it will fall back to using whatever default device PortAudio provides.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2445 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-17 16:46:28 +00:00
arcum42 ea254bac5e ZeroSPU2: Exclude a few files from the project in Visual C++, to avoid potential issues.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2444 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-17 13:45:21 +00:00
arcum42 f04235177c ZeroSPU2: Add PortAudio, and make it possible for it to be compiled as Alsa, OSS, or PortAudio on the Linux side.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2443 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-17 11:19:01 +00:00
arcum42 78aa3de579 Bring Windows in sync with the earlier changes I made to ZeroSPU2.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2442 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-17 03:21:23 +00:00
gigaherz f878a438ff Fetched a snapshot of the source from portaudio site, and embedded it into the project. I might have missed something, so this will need some more work before it's fully stable.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2441 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-17 01:04:46 +00:00
gigaherz de4f27d421 Temporarily commit <b>binary build</b> of portaudio for windows users, since I don't feel like converting the portaudio project files to work the way pcsx2 stuff does, right now.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2440 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-16 18:01:49 +00:00
gigaherz ce396272d1 SPU2-X: Experimental PortAudio module. No config dialogs. Will use the system default output device & whatever the default "api" is in portaudio. Requires user-compiled portaudio lib, might commit later.
Widnows users probably don't have any interest in this unless you want to play the audio through portaudio's ASIO driver. Arcum was interested so I commited.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2439 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-16 17:59:00 +00:00