Commit graph

248 commits

Author SHA1 Message Date
Jean-Philip Desjardins
85038b47a3 Added "GetPadHandler" function in PS2VM. 2015-05-06 01:49:23 -04:00
Jean-Philip Desjardins
fcf1b11f1b Moved EE and GS specific files in a separate folder. 2015-05-06 00:54:15 -04:00
Jean-Philip Desjardins
ebb87561d5 Tags will now be stored in "Play Data Files" folder. 2015-05-04 00:22:45 -04:00
Jean-Philip Desjardins
f9b59cfe59 Set proper FPU rounding mode when creating thread. 2015-04-20 00:22:53 -04:00
Unknown W. Brackets
2f5e2d99b9 Add support for CSO compressed files. 2015-04-13 22:13:31 -07:00
Jean-Philip Desjardins
c6617f83a0 Merge branch 'audio' 2015-04-11 00:00:27 -04:00
Jean-Philip Desjardins
09e61b0543 Make IszImageStream compile on Android. 2015-04-09 02:17:42 -04:00
Jean-Philip Desjardins
9bcca8beec Properly reset pointer when deleting sound handler. 2015-04-07 02:00:11 -04:00
Jean-Philip Desjardins
33b4498883 Cleanup. 2015-04-06 15:52:09 -04:00
Jean-Philip Desjardins
9ac85e517e Added proper way to create sound handler and moved sound handler creation at platform level. 2015-04-06 15:51:59 -04:00
Jean-Philip Desjardins
e92ed06407 Renamed some variables. 2015-04-06 00:32:43 -04:00
Jean-Philip Desjardins
e6a4934ba9 Merge branch 'master' into audio 2015-04-05 22:25:57 -04:00
Jean-Philip Desjardins
8822638035 Make sure modules are reset properly. 2015-04-03 01:54:39 -04:00
Jean-Philip Desjardins
a1ad381c82 Fixed Win32 build. 2015-03-31 22:54:51 -04:00
Jean-Philip Desjardins
b04e4cbc6b Fixed inability to load ISO files on the OSX version. 2015-03-31 22:33:43 -04:00
Jean-Philip Desjardins
35b4b970ca Cleanup. 2015-03-31 22:20:49 -04:00
Jean-Philip Desjardins
bac8082677 Merge branch 'master' into audio 2015-03-27 22:52:33 -04:00
Jean-Philip Desjardins
f5a5755362 Removed useless initialization. 2015-03-17 00:37:45 -04:00
Jean-Philip Desjardins
6e86ee0df1 Merge branch 'master' into audio 2015-01-30 02:00:48 -05:00
Jean-Philip Desjardins
60c15b22a3 Prevent thread from hanging if a VU subroutine is being executed and doesn't terminate. 2015-01-01 18:42:34 -05:00
Jean-Philip Desjardins
b24364f3d4 Added proper support for stepping in VU0 microprograms. 2014-12-31 23:22:07 -05:00
jpd002
86af245464 Android build fixes.
git-svn-id: http://svn.purei.org/purei/trunk@1600 b36208d7-6611-0410-8bec-b1987f11c4a2
2014-11-27 03:48:58 -05:00
jpd002
6a680df4a7 Updated Android build configuration.
git-svn-id: http://svn.purei.org/purei/trunk@1532 b36208d7-6611-0410-8bec-b1987f11c4a2
2014-11-27 03:48:52 -05:00
Jean-Philip Desjardins
622e75d4db SMODE2 register is written to frame dumps for proper interlaced mode settings when playing back the dump. 2014-11-22 01:23:49 -05:00
Jean-Philip Desjardins
e34b806125 Experimental audio support. 2014-10-20 22:34:44 -04:00
Jean-Philip Desjardins
b0cb1485d7 Profiler improvements. Now uses a proper timer to count time passed in various zones. Stat presentation still needs work though. 2014-10-05 01:41:06 -04:00
Jean-Philip Desjardins
c3ac2da22f Moved all EE related stuff in a separate file. 2014-10-04 23:02:32 -04:00
Jean-Philip Desjardins
826d785f3d New cycle counting method is now enabled by default and removed code for old method. 2014-07-12 02:16:04 -04:00
Jean-Philip Desjardins
f66e4366cc Force threads to be rescheduled at the end of an exception on the EE. 2014-06-04 23:37:40 -04:00
Jean-Philip Desjardins
9938ce4692 Added improved cycle counting (not enabled yet because it still causes problems with some games). 2014-06-01 19:23:45 -04:00
Jean-Philip Desjardins
0162119ea5 Prevent interrupts from being serviced when stepping in the debugger. 2014-06-01 19:07:43 -04:00
Jean-Philip Desjardins
ef050923ea Update VU integer registers when calling a VU subroutine from EE. 2014-05-04 21:54:43 -04:00
Jean-Philip Desjardins
f4a149903b Notify GIF and VIF components when CPU writes to their registers. 2014-05-03 03:03:25 -04:00
Jean-Philip Desjardins
739a30736f Mapped VU MEM 1 in EE memory space. 2014-04-27 20:27:59 -04:00
Jean-Philip Desjardins
e05cef003c Minor cleanup. 2014-04-17 00:42:05 -04:00
Ian Brown
aafa277bdb Implement INT0 (GS) interrupt handler 2014-04-15 02:25:32 -04:00
jpd002
f9e9fb0ed6 Removed some usage of boost::thread.
git-svn-id: http://svn.purei.org/purei/trunk@1147 b36208d7-6611-0410-8bec-b1987f11c4a2
2013-06-17 05:06:47 +00:00
jpd002
5c71b6657f Added a way to trigger a GS frame dump from PS2VM.
git-svn-id: http://svn.purei.org/purei/trunk@1140 b36208d7-6611-0410-8bec-b1987f11c4a2
2013-06-09 05:47:33 +00:00
jpd002
1a71b0d0b9 Using std::thread instead of boost::thread + some cleanup.
git-svn-id: http://svn.purei.org/purei/trunk@1114 b36208d7-6611-0410-8bec-b1987f11c4a2
2013-04-25 05:51:31 +00:00
jpd002
8565987c4f Removed frame skipping and VPU state saving stuff.
git-svn-id: http://svn.purei.org/purei/trunk@1113 b36208d7-6611-0410-8bec-b1987f11c4a2
2013-04-22 03:06:16 +00:00
jpd002
8627d177b2 IPU Changes:
- Not using threads anymore, because there's no point in using them.
- Will try to execute commands ASAP, even waiting till more data can be pulled from DMA channel.
- Some minor bugfixes.
Can you believe it still doesn't work properly after all that?

git-svn-id: http://svn.purei.org/purei/trunk@1092 b36208d7-6611-0410-8bec-b1987f11c4a2
2013-03-12 06:38:44 +00:00
jpd002
91f6d7d10f Added a way to flush parts of the instruction cache when loading data from disk.
git-svn-id: http://svn.purei.org/purei/trunk@1091 b36208d7-6611-0410-8bec-b1987f11c4a2
2013-03-10 05:11:53 +00:00
jpd002
a16ecc9564 Enabled SPU updates in the main emulation loop (needed for some games who like reading the SPU status).
git-svn-id: http://svn.purei.org/purei/trunk@1089 b36208d7-6611-0410-8bec-b1987f11c4a2
2013-03-06 05:36:03 +00:00
jpd002
cc911af940 Added state saving support on EE Timers.
git-svn-id: http://svn.purei.org/purei/trunk@1072 b36208d7-6611-0410-8bec-b1987f11c4a2
2013-02-03 05:03:15 +00:00
jpd002
2ee98db330 Compilation fixes.
git-svn-id: http://svn.purei.org/purei/trunk@1069 b36208d7-6611-0410-8bec-b1987f11c4a2
2013-01-29 05:46:29 +00:00
jpd002
a5aaa0bea0 Rewrote the profiler to make it simpler to use and more accurate.
git-svn-id: http://svn.purei.org/purei/trunk@1051 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-12-23 21:35:04 +00:00
jpd002
91030fbbdd Added support for LOADCORE's "LoadElf" function which allows loading an executable into EE memory.
Fixed a bug with module parameter passing in the LoadModule function.

git-svn-id: http://svn.purei.org/purei/trunk@1023 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-10-24 06:39:29 +00:00
jpd002
f0a025f11e Moved CBiosBase shared ptr definition in BiosBase.h.
git-svn-id: http://svn.purei.org/purei/trunk@1021 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-10-21 02:08:14 +00:00
jpd002
3b56af1456 Made breakpoints handling more reliable by moving the breakpoint checking code after function partitioning because a breakpoint inside a non-partitioned function could never be hit.
Also added a different "first run" check for breakpoints that is only enabled when we come back from paused virtual machine state.
Moved more stuff between "DEBUGGER_INCLUDED" ifdefs.

git-svn-id: http://svn.purei.org/purei/trunk@1010 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-09-29 01:28:23 +00:00
jpd002
30dfc3fe28 Changed way ticks are counted to make sure the speed hacks are activated when both the EE and IOP are idle. EE/IOP time synchronization is probably not quite right yet though.
git-svn-id: http://svn.purei.org/purei/trunk@1006 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-09-25 03:17:46 +00:00