Commit graph

22 commits

Author SHA1 Message Date
Jean-Philip Desjardins
11e8566ed3 Check SPU IRQs every 1000 ticks.
Prevents IRQs from being spammed. Helps Klonoa 2 and MMX7.
2021-06-04 09:54:51 -04:00
Jean-Philip Desjardins
2fd28aa904 Hook up DEV9 and SPEED to MMIO. 2021-03-02 07:24:05 -05:00
Jean-Philip Desjardins
ad46f12694 Use direct memory accesses on IOP. 2019-04-29 22:38:04 -04:00
Jean-Philip Desjardins
050bf0f854 MipsExecutor is now owned by MIPS CPU context.
Will help to make new breakpoint implementation simpler.
2018-07-26 21:38:16 -04:00
Jean-Philip Desjardins
f23dce025b Made MipsExecutor a template.
Allows choosing block lookup policy.
2018-07-26 21:38:14 -04:00
Jean-Philip Desjardins
6bc7f346f1 IopSubSystem now is reponsible for creating the kernel. 2018-06-23 10:56:25 -04:00
Clang-Format
acf75535ec Clang format 2018-04-30 21:01:23 +01:00
Jean-Philip Desjardins
00fc68d96e Move interrupt checking code in a separate function. 2017-05-07 22:02:08 -04:00
Jean-Philip Desjardins
9d1ead2464 Cleanup. 2014-10-05 02:00:20 -04:00
jpd002
163300111e Replaced the "DmaDisabled" mode by a "StreamingEnabled" mode in SpuBase since that unknown register in SPU2 CORE seems to be used for that.
git-svn-id: http://svn.purei.org/purei/trunk@1088 b36208d7-6611-0410-8bec-b1987f11c4a2
2013-03-06 04:42:17 +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
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
jpd002
4233c33cfe Plugged SIO2 emulation module in the IOP subsystem.
We now allow PADMAD and DBCMAN modules coming from games to be emulated and receive SIF packets.
Added a special case for the SetModeAndLock command in SIO2.
Removed DBCMAN module emulation.



git-svn-id: http://svn.purei.org/purei/trunk@1005 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-09-24 02:37:03 +00:00
jpd002
7a4a6cc4aa Cleanup/Compilation fixes.
git-svn-id: http://svn.purei.org/purei/trunk@979 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-08-22 06:09:29 +00:00
jpd002
521f7bc544 Improved RootCounters emulation (added more counters used in IOP and fixed counting modes).
Improved Timrman IOP module emulation (removed lots of hardcoded stuff).
Added a way to switch from PSX's CPU frequency to IOP's CPU frequency (needed for proper PSX/PS2 PSF playing).

git-svn-id: http://svn.purei.org/purei/trunk@933 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-05-29 01:01:02 +00:00
jpd002
74ddd5ef12 Second pass of cleanup for C++11.
git-svn-id: http://svn.purei.org/purei/trunk@852 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-03-11 20:16:15 +00:00
jpd002
d66aed7028 Fixed Vagrant Story PSF calling function at 0x0.
Added missing PSX system calls for Vagrant Story and Granstream Saga.
Added COP0 to the IOP subsystem for FF6 and Chrono Trigger PSF.
Added non-default char encoding handling in PSF tags.
Now patches the PSX-EXE header of loaded PSF files because Grandstream Saga specifies bad text section size in its header.

git-svn-id: http://svn.purei.org/purei/trunk@769 b36208d7-6611-0410-8bec-b1987f11c4a2
2011-06-06 00:18:33 +00:00
jpd002
5782cc9710 Changed the way waiting for VBlank start and end on IOP works to improve Castlevania: Curse of Darkness stability.
git-svn-id: http://svn.purei.org/purei/trunk@755 b36208d7-6611-0410-8bec-b1987f11c4a2
2011-05-05 04:28:11 +00:00
jpd002
b3ddf427d0 Compilation fixes for changes in Framework.
git-svn-id: http://svn.purei.org/purei/trunk@534 b36208d7-6611-0410-8bec-b1987f11c4a2
2009-07-31 02:51:31 +00:00
jpd002
a6e12114d7 Added changes to MIPSInstructionFactories. Not a singleton anymore, so it allows a 32-bits and 64-bits version of the architecture to live together.
PsfPlayer bios memory ownership fixes.

git-svn-id: http://svn.purei.org/purei/trunk@490 b36208d7-6611-0410-8bec-b1987f11c4a2
2009-03-30 04:57:52 +00:00
jpd002
68daccb985 Hacked placeholder definitions so it can compile on multiple platforms.
git-svn-id: http://svn.purei.org/purei/trunk@454 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-12-24 01:39:03 +00:00
jpd002
5c1036d110 git-svn-id: http://svn.purei.org/purei/trunk@423 b36208d7-6611-0410-8bec-b1987f11c4a2 2008-11-25 02:00:42 +00:00