Commit Graph

3246 Commits

Author SHA1 Message Date
Jake.Stine bd8127f75e newHostVM: More error/exception handling WIP stuff.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3980 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-29 02:49:01 +00:00
Jake.Stine b568256653 newHostVM: improving error handling and memory management (WIP)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3979 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-28 13:14:18 +00:00
arcum42 a61e678a12 newHostVM: Fix linux/gcc crash on startup.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3978 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-28 10:49:45 +00:00
Jake.Stine 283224290d newHostVM: Fix linux/gcc compilation errors. PCSX2 doesn't work yet tho -- crashes on startup and I don't have a proper debug environment setup to trace and troubleshoot it.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3977 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-27 23:58:10 +00:00
Jake.Stine 4dec10976d newHostVM: Working on linux side now ... (WIP)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3976 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-27 23:22:19 +00:00
Jake.Stine 4bee22a4cd newHostVM branch: Implemented VM reservation feature for all recompilers.
* SuperVU note: SuperVU recompiler now uses two separate 8mb caches for VU0 and VU1 (needed in order to simplify/saneify the reserve/alloc stages of pcsx2 app startup).
 * Added MemsetFast.inl, which houses SSE intrinsic versions of memset and memzero, for use on aligned data targets.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3975 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-27 19:18:46 +00:00
Jake.Stine bed33749b5 newHostVM branch: (now boots games!)
* EE and IOP recompilers are using the new RecompiledCodeReserve class.
 * PS2 main memory should typically be located at 0x20000000 (code still need some cleanups)

VU0/VU1 recompilers will be implemented soon.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3959 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-22 19:47:02 +00:00
Jake.Stine 01541f2c92 newHostVM branch: work-in-progress stuff...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3958 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-22 16:23:52 +00:00
Jake.Stine 495e872e98 newHostVM branch created; implementation purposes:
* a mapped memory system for PS2 virtual machine areas (32mb main memory, 2mb IOP memory, etc) that will be constant across all builds of PCSX2 (should fix problems with 3rdparty cheat apps)
 * virtual reservation system for recompilers; reduces the emulator's overall memory usage while reducing the need for recompiler resets at the same time.
 * recompiler resets (if/when needed) should be much faster.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3956 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-22 15:05:56 +00:00
Jake.Stine bc02c83360 Merge wxIsoFile branch. Feature Summary:
* Better support for unicode/multilingual editions of Windows, and less hassle with UAC (user access control).
 * Allows use of iso images that are in use by other programs (such as daemon tools, etc)
 * Allows running multiple instances of PCSX2 concurrently on the same iso image (useful for branch testing/debugging).
 * Exception-safe and slightly better error handling.
 * Better drag&drop behavior (doesn't hang the explorer window for as long as it used to)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3955 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-22 14:22:11 +00:00
Jake.Stine aba50c4bf7 wxIsoFile: fixed support for dumpfiles.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxIsoFile@3954 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-21 15:06:57 +00:00
gregory.hainaut@gmail.com b878c5db6b cmake: * make FindGlew more robust & consistent
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3946 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-19 13:33:57 +00:00
Jake.Stine 5ba7b0650d wxIsoFile: final annoying compilation error fixed. Just needs a little linux-side testing now.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxIsoFile@3945 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-19 09:51:57 +00:00
Jake.Stine e30892cf34 wxIsoFile: ... and some more fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxIsoFile@3944 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-19 09:25:44 +00:00
Jake.Stine ca9e250837 wxIsoFile: And a couple more compiler fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxIsoFile@3942 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-18 16:09:00 +00:00
Jake.Stine d5bc947e8d wxIsoFile branch: fix missing includes and gcc compilation stuffs.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxIsoFile@3941 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-18 15:46:05 +00:00
ramapcsx2 2b068be3ab SPU-X:
- Changed defaults and ranges for the soundtouch timestretch parameters. This reduces added latency from timestretching.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3939 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-18 12:50:13 +00:00
ramapcsx2 921e865c8e SPU2-X:
- Prevent the mixer from clamping to the maximum possible range as some audio output modules hate that and start clipping. Notably portaudio is unaffected in tests but all the MS APIs not ;)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3938 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-18 12:27:31 +00:00
Jake.Stine 2b4d7cc384 wxIsoFile branch: (needs linux testing)
* Convert IsoFileFormats.cpp into a class.
 * Use wxFile and wxFileInputStream instead of windows/posix specific file functions.
 * Added new ScopedAlloc classes, which are very simple dependency-free templates for exception-safe allocations.
 * FastFormatString: Improved performance ad fixed an obscure bug.
 * Drag&Drop (UI) - Improved the friendliness and responsiveness, so that PCSX2 doesn't end up tying up an explorer window while it prompts the user or issues error messages.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxIsoFile@3934 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-18 01:40:49 +00:00
Jake.Stine 4ee1781ce2 wxIsoFile (new branch): for introducing a heavily refactored built-in isoFile system -- rewritten to utilize wxWidgets input streams, improve exception safety, and fix a few minor bugs. Placing it into a branch awaiting Linux compilation testing; hopefully to be merged into trunk in a couple days.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxIsoFile@3933 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-18 01:31:45 +00:00
gregory.hainaut@gmail.com 8c58c8ee3c zzogl-pg:
* rework isdirty intrinsic. I miss swizzle stuff in first try :p


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3918 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-13 17:00:14 +00:00
arcum42 33214df091 spu2-x: Misc Alsa stuff. Added a few missing files into the pcsx2 codeblocks project.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3917 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-13 09:15:54 +00:00
Jake.Stine fc99f79aac Minor tweaks to assist in comparing new and old DMAC behaviors:
* VIF now sends a 128 bit tag instead of a 64 bit tag (lower 64 bits masked to 0 -- this should mimic real hardware behavior more closely)
 * Added more GIFtag logging info

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3916 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-12 12:15:57 +00:00
Jake.Stine 2d9d3a6b5c trunk/stable: logging additions for VPU's VIFcodes
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3914 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-11 13:55:28 +00:00
gregory.hainaut@gmail.com b2bb425c88 debian: do not bundle ZeroGSShaders. Now the tarball is 100% free :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3909 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-09 11:37:41 +00:00
gregory.hainaut@gmail.com b00c7da0fb zzogl-pg: Update license
* zpipe.cpp is based on a public-domain example 
* zpipe.h trivial file, I change the license to gpl


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3908 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-09 11:24:38 +00:00
gregory.hainaut@gmail.com 31ab78588a zzogl-pg: Add a usleep when toggled fullscreen.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3907 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-09 09:02:23 +00:00
arcum42 e928cc14f6 spu2-x: Work a bit on the way multiple sound modules are handled in Linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3906 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-09 07:55:01 +00:00
arcum42 bb137de2ef zzogl-pg: Add a checkbox to disable automatic hack enabling, and straighten out the way auto-enabled hacks are being done a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3905 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-09 07:32:33 +00:00
gregory.hainaut@gmail.com c1c2866c1b zzogl-pg:
* Finish to convert ASM to intrinsic
* Force the pointer outsides of the screen in fullscreen
* do not compile useless files


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3903 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-08 21:31:13 +00:00
gregory.hainaut@gmail.com 277d8fb5a6 zzogl-pg:
* Rework resolve function to reduce memory transfer in 16 bits
* Big clean
* Handle corners case when fbh is odd. For the moment I copy the line.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3894 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-07 17:19:17 +00:00
gregory.hainaut@gmail.com 2607f1a860 debian:
* drop the liba52 dependency too


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3890 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-07 10:25:37 +00:00
arcum42 5c205e00fd Get rid of the *other* copy of liba52, and make sure cmake doesn't look for it.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3889 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-07 09:55:36 +00:00
arcum42 02d21d1190 Update codeblocks to take the last two commits into account.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3888 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-07 09:39:38 +00:00
arcum42 3c966d6fbc spu2-x: Remove liba52.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3887 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-07 09:32:42 +00:00
arcum42 c7c64ee7f1 spu2-x: Remove Decoder.cpp.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3886 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-07 09:17:50 +00:00
ramapcsx2 10d04f4122 Another round of game database updates by Shadow Lady. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3885 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-06 21:01:20 +00:00
gregory.hainaut@gmail.com e0998c8d7e debian:
* forgot to remove some unstable stuff
* Remove a bad tabulation in control file...


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3882 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-06 13:36:46 +00:00
ramapcsx2 8320fa704a SPU2-X:
Quick workaround for the soundtouch / portaudio device selection / latency issue.
Let's simply increase the default output latency to 300ms so even a "default device" in Linux will work.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3881 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-06 00:36:42 +00:00
gigaherz decf1da763 SPU2-X:
- Use the cross-platform mbstowcs() function to convert from ansi/ascii/multibyte/utf8 (whatever) to widechar instead of MultiByteToWideChar. Allows linux people to configure the portaudio device in the .ini.
 - Set the requested portaudio latency to 0.2f (200ms) instead of 0, since apparently it's bad to request 0, and 200ms is a sensible(ish) default.
 - Comment out the call to Pa_Terminate on Close, since it causes issues when re-initializing later. Preferably, we should add some Init() + Shutdown()/Terminate() functions to the output module system to allow for one-time initialization and termination, but this will have to do for now.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3880 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-06 00:34:02 +00:00
gigaherz d61d46bd7b Sync with portaudio r1541 at rama's request.
Too many changes to list here, check portaudio svn log from r1505 to r1541 if you are curious.
Hope it works fine.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3879 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-05 20:52:42 +00:00
Jake.Stine 53ebbc0242 Lilypad: fix ini file support on non-english systems (unicode compliance issue).
Details: The "%S" directive in sprintf() only does a shallow wide char conversion from ASCII, it does not actually convert UTF8 to UTF16.  Replaced it with a call to MultiByteToWideChar.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3878 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-05 14:31:17 +00:00
Jake.Stine dbf1a1c7aa wxWidgets/MSW: Likely fix for "cannot commit changes to pcsx2.ini" type errors.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3877 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-05 14:11:22 +00:00
Jake.Stine c7850c2fad Likely fix for Issue 825: converted NVM/MEC file routines to unicode (fixes "file cannot be created" errors for users who's names are not english)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3876 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-05 13:19:53 +00:00
gregory.hainaut@gmail.com b93d9617cd zeropad: Properly setup the path of the ini file.
+ metadata of my previous zz merge


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3875 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-04 22:09:46 +00:00
Jake.Stine 46b526976f Linux: Compilation fix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3874 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-04 22:03:25 +00:00
Jake.Stine 573b741d7f zzogl-pg: oops.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3873 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-04 21:52:22 +00:00
Jake.Stine 1dd9f8d0d4 Fix for some general slowness in Release builds, accidentally introduced in r3724
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3872 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-04 18:18:10 +00:00
Jake.Stine 115b431af5 zzogl-pg: fix the crash problem in msvc/sse intrinsics, and avoid compiler use of MMX by using the SSE version of 64-bit loads.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3871 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-04 18:03:44 +00:00
Jake.Stine 02d5ed7f45 * Implemented GIF PATH/TAG logging option.
* Some other EE/Core logging additions and formatting tweaks.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3870 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-04 17:22:54 +00:00