Commit graph

34 commits

Author SHA1 Message Date
Jean-Philip Desjardins
5e32c0586a Implement TLBR & move TLBWI. 2020-08-06 16:57:13 -04:00
Jean-Philip Desjardins
76413f1fa0 Add implementation for TLBWI. 2020-08-06 16:57:12 -04:00
Clang-Format
acf75535ec Clang format 2018-04-30 21:01:23 +01:00
Jean-Philip Desjardins
6122f674e6 Add guards to prevent unwanted formatting. 2018-04-30 11:19:06 -04:00
Jean-Philip Desjardins
0724bb96b9 MTPS only do something when reg equals zero. 2016-05-08 17:43:26 -04:00
Jean-Philip Desjardins
36145a0aa2 Implement MFPS/MTPS and MFPC/MTPC. 2016-05-08 17:43:25 -04:00
Jean-Philip Desjardins
6c32b51d81 Added proper handling of the EIE bit by EI and DI. (needed for liberx) 2015-04-13 00:51:25 -04:00
Jean-Philip Desjardins
98af131793 Added stub for TLBWI. 2015-03-22 00:22:36 -04:00
Jean-Philip Desjardins
63fbc0aa88 Added support for BC0FL. 2015-03-03 11:49:14 -08:00
Jean-Philip Desjardins
f9f04dab35 Cleanup. 2015-03-03 10:47:18 -08: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
7c4ce6dba9 Cleanup. 2014-06-04 23:35:08 -04:00
jpd002
e83a427c11 Added a generic way to distinguish branch instructions that don't have a delay slot (needed for VCALLMS, ERET and SYSCALL) from those who have.
Added a real COP_SCU_Reflection file.

git-svn-id: http://svn.purei.org/purei/trunk@821 b36208d7-6611-0410-8bec-b1987f11c4a2
2011-12-10 20:49:50 +00:00
jpd002
c8c33ccda3 Added a way to force checking of pending interrupts when EI is used.
Specifed the type of exception in SYSCALL and ADDIU R0, R0, $x

git-svn-id: http://svn.purei.org/purei/trunk@804 b36208d7-6611-0410-8bec-b1987f11c4a2
2011-10-23 20:26:15 +00:00
jpd002
bd3b167fde Force the EXL bit to stay active even if it's forced to be cleared with MTC0.
git-svn-id: http://svn.purei.org/purei/trunk@795 b36208d7-6611-0410-8bec-b1987f11c4a2
2011-10-18 19:48:51 +00:00
jpd002
be0b44ce90 Fixed OpenGL texture mapping shaders so they take vertex colors in consideration.
Fixed oddity in constant string array declaration.

git-svn-id: http://svn.purei.org/purei/trunk@749 b36208d7-6611-0410-8bec-b1987f11c4a2
2011-04-06 01:35:58 +00:00
jpd002
f3eeac4d76 More changes to allow quake.elf to run a bit further.
git-svn-id: http://svn.purei.org/purei/trunk@707 b36208d7-6611-0410-8bec-b1987f11c4a2
2010-09-21 02:33:34 +00:00
jpd002
ea974bcd47 More changes to allow quake.elf to run a bit further.
git-svn-id: http://svn.purei.org/purei/trunk@706 b36208d7-6611-0410-8bec-b1987f11c4a2
2010-09-17 18:44:40 +00:00
jpd002
4574b116f7 Integrated new JIT compilation engine in the trunk.
- Removed the old CodeGen classes.
- Fixed everything to make PsfPlayer work at a decent level.
- Added 64-bits configs to PsfPlayer.

git-svn-id: http://svn.purei.org/purei/trunk@692 b36208d7-6611-0410-8bec-b1987f11c4a2
2010-08-11 03:47:19 +00:00
jpd002
8094e3303a MacOSX Compilation Fixes
git-svn-id: http://svn.purei.org/purei/trunk@540 b36208d7-6611-0410-8bec-b1987f11c4a2
2009-09-07 19:23:46 +00:00
jpd002
4e0f22621c Added a proper BC0T and BC0F.
git-svn-id: http://svn.purei.org/purei/trunk@524 b36208d7-6611-0410-8bec-b1987f11c4a2
2009-05-30 14:10:45 +00:00
jpd002
bced4b20e2 Some work done to make Half-Life work.
git-svn-id: http://svn.purei.org/purei/trunk@509 b36208d7-6611-0410-8bec-b1987f11c4a2
2009-04-28 01:20:03 +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
5f31206020 Got rid of CCacheBlock.
Cleaned up a lot of code.

git-svn-id: http://svn.purei.org/purei/trunk@293 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-04-09 02:52:38 +00:00
jpd002
b07241ba0d More conversion done for quake.elf.
git-svn-id: http://svn.purei.org/purei/trunk@222 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-01-12 01:27:04 +00:00
jpd002
05f6255ea0 Converted some instructions for quake.elf
git-svn-id: http://svn.purei.org/purei/trunk@221 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-01-10 05:18:34 +00:00
jpd002
568d187f87 MacOS
git-svn-id: http://svn.purei.org/purei/trunk@185 b36208d7-6611-0410-8bec-b1987f11c4a2
2007-12-07 00:26:56 +00:00
jpd002
6835a6da83 Completed enough opcodes to be able to run the "Final Heaven" demo.
git-svn-id: http://svn.purei.org/purei/trunk@181 b36208d7-6611-0410-8bec-b1987f11c4a2
2007-12-06 21:36:12 +00:00
jpd002
1205201c88 git-svn-id: http://svn.purei.org/purei/trunk@148 b36208d7-6611-0410-8bec-b1987f11c4a2 2007-04-23 06:40:16 +00:00
jpd002
82f59727ab git-svn-id: http://svn.purei.org/purei/trunk@139 b36208d7-6611-0410-8bec-b1987f11c4a2 2007-03-30 20:11:37 +00:00
jpd002
d9a018a33f git-svn-id: http://svn.purei.org/purei/trunk@116 b36208d7-6611-0410-8bec-b1987f11c4a2 2007-01-24 03:40:35 +00:00
jpd002
fc10d9b0e0 git-svn-id: http://svn.purei.org/purei/trunk@48 b36208d7-6611-0410-8bec-b1987f11c4a2 2006-06-27 21:44:45 +00:00
jpd002
763c8fa483 git-svn-id: http://svn.purei.org/purei/trunk@47 b36208d7-6611-0410-8bec-b1987f11c4a2 2006-06-26 09:31:14 +00:00
jpd002
0c5fb983fd Moved remotely
git-svn-id: http://svn.purei.org/purei/trunk@40 b36208d7-6611-0410-8bec-b1987f11c4a2
2006-06-15 04:19:30 +00:00