Commit Graph

142 Commits

Author SHA1 Message Date
unknown b188bdae3c forgot to recycle `del = EleSpec[RSPOpC.rs].B[el];` in VABS 2015-08-11 22:21:51 -04:00
unknown 5ad04ed067 newline fixes -- These were my (or Notepad++'s?) fault somehow. 2015-06-23 18:35:21 -04:00
zilmar 16f4780f9a Merge pull request #521 from cxd4/PR_513_to_vectop
[RSP] installed op-code strings matrix to COP2::C2
2015-06-24 07:22:18 +10:00
zilmar 5121db34db Merge pull request #522 from cxd4/PR_513_to_SPECIAL
[RSP] installed op-codes string matrix to SPECIAL
2015-06-24 07:20:46 +10:00
zilmar 8b27c5fd44 Merge pull request #523 from cxd4/PR_513_to_COP2
[RSP] installed op-code strings matrix to COP2
2015-06-24 07:19:50 +10:00
unknown cfc1123378 [RSP] installed primary op-codes matrix 2015-06-23 15:46:02 -04:00
unknown 61ebf68196 [RSP] installed op-code strings matrix to COP2 2015-06-23 15:07:28 -04:00
unknown 4299e4a621 [RSP] installed op-codes string matrix to SPECIAL 2015-06-23 13:51:25 -04:00
unknown 6d215d4846 [RSP] installed op-code strings matrix to COP2::C2 2015-06-23 13:06:36 -04:00
zilmar 4b1ff1983f Merge pull request #513 from cxd4/in_ur_codez_disassembling_ur_ops
Document the RSP op-code matrices + static disassembler debugger code.
2015-06-23 14:34:54 +10:00
unknown ee13bf0c82 Merge branch 'master' into lool
Conflicts:
	Source/RSP/Interpreter Ops.c
2015-06-21 21:03:42 -04:00
unknown 84b099b3e9 Merge branch 'master' into loooool
Conflicts:
	Source/RSP/Interpreter CPU.c
2015-06-21 19:44:29 -04:00
unknown 021a49eeb2 condensed (uint32_t)(uint32_t) since everything is in one line 2015-06-21 19:03:00 -04:00
unknown de2bd58c13 VM?DL, VM?DM, VM?DN, VM?DH: keep multiply sources in single line 2015-06-21 18:39:12 -04:00
zilmar 13508d7fe3 Merge pull request #516 from cxd4/loooooool
centered standard MIPS PC-relative branch stuff to its own func
2015-06-22 07:15:13 +10:00
unknown a93fff0cc6 [RSP] SLT[I][U]: ternary for more static interpreter code 2015-06-21 16:12:18 -04:00
unknown 767756cfb4 centered standard MIPS PC-relative branch stuff to its own func 2015-06-21 15:52:30 -04:00
unknown 3d62b70b49 [RSP] installed SWC2 mnemonics matrix to the command stepper 2015-06-20 00:13:59 -04:00
unknown e503041f5d [RSP] installed LWC2 mnemonics matrix to the command stepper 2015-06-20 00:11:44 -04:00
unknown 56369a4214 [RSP] added, but not installed, vector unit mnemonics matrix 2015-06-20 00:07:19 -04:00
unknown 7cd2641d8b [RSP] added COP2 mnemonics matrix (have not installed yet) 2015-06-20 00:05:49 -04:00
unknown 3dca6c7f5f [RSP] installed COP0 mnemonics matrix to the command stepper 2015-06-20 00:03:22 -04:00
unknown 2335b7b0e7 [RSP] installed REGIMM mnemonics matrix to the command stepper 2015-06-19 23:59:36 -04:00
unknown 55b3edd6d1 [RSP] added SPECIAL mnemonics matrix 2015-06-19 23:47:18 -04:00
unknown 11e5ce1bb3 [RSP] Introduce op-codes string matrix for cleaner debugging code. 2015-06-19 23:45:17 -04:00
zilmar d39b58ae9a Merge pull request #508 from cxd4/looool
[RSP] Ternary, SHMERNARY!  Blasphemous.
2015-06-20 06:49:02 +10:00
unknown fcfad37360 [RSP] junk trailing whitespace cleanups 2015-06-19 13:09:24 -04:00
unknown 2d2b8d3c9d [RSP] Ternary, SHMERNARY! Blasphemous. 2015-06-19 12:44:12 -04:00
unknown 44d8f13f58 [RSP] Continue to use standard int types for multiply operands. 2015-06-19 12:14:03 -04:00
unknown 38c6993be7 [RSP] removed extra type-casting: (uint16_t)-32768 2015-06-19 11:46:59 -04:00
unknown fee77c1aae DRAM address range bounds checking was off by one byte. 2015-06-18 19:51:30 -04:00
zilmar bc78316504 Clean up some of the 64bit projects 2015-05-22 06:07:24 +10:00
zilmar 0c8d500328 Merge pull request #464 from AmbientMalice/patch-18
Change "segement" to "segment".
2015-05-16 11:05:35 +10:00
zilmar 13e62d7354 [64bit] Get nrage and rsp compiling as 64bit 2015-05-16 10:55:23 +10:00
AmbientMalice baf8d3907e Corrected "segment" typo. 2015-05-15 23:36:42 +10:00
LegendOfDragoon 882b0f5841 Change CompilerWarning to DisplayError in Cop0_MF
In RSP interpreter, it is DisplayError and I feel like it's an important
message, so it should be DisplayError in RSP recompiler as well, in my
opinion.
2015-04-19 21:20:10 -07:00
LegendOfDragoon 603df8e167 Add 2 cases in Cop0_MF for RSP Recompiler
Case 0 and Case 1 was missing in RSP Recompiler. Jet Force Gemini LLE
GFX uses case 1.
2015-04-19 21:11:47 -07:00
LegendOfDragoon 82f614ff2d Fix / Optimize RSP Accumulator Analysis
the & 0xFFC was missing, which caused it to return true when it should
have returned false. This means that LLE audio should be more optimized
now.

I also made it do delay slot, incase the delay slot instruction writes
to accumulator. Minor optimization here.

As for JAL, I made it do break instead of return FALSE because in Battle
For Naboo, it actually does come back and continue an existing
calculation. I think it is only an issue if you do a separate analysis
for the Low Accumulator and Mid/High Accumulators. It's still better to
be safe, just incase I or someone else actually implement a separate
analysis for the Accumulators later down the road.
2015-04-19 20:56:36 -07:00
LegendOfDragoon f22e5125c5 Fix memory leak in RSP
Due to the newer spec design in PJ64 2.x, CloseDLL() doesn't get called
as often. So there are instances where it calls AllocateMemory()
multiple times without ever calling FreeMemory().
2015-04-19 19:16:10 -07:00
Lioncash bdd7f0e48f RSP: Fix a typo in Compile_ADDI 2015-04-16 23:33:35 -04:00
LegendOfDragoon eda19cfc5e Fix regression in GetInstructionInfo
I previously made a commit to fix a reordering issue, but did not
realize it needed that COPO_MF_Instruction flag for branching. This
should fix the Ogre Battle issue.
2015-04-14 22:07:45 -07:00
zilmar 11bb35f024 [RSP] 1.7.0.13 2015-03-29 17:38:30 +11:00
unknown b890afe78b [RSP] some scope and spacing formatting clean-ups 2015-03-18 00:50:48 -04:00
zilmar 080f7dfc17 Update version Number:
Glide64: 2.0.0.4
Project64: 2.2.0.2
RSP: 1.7.0.12
Nrage: 1.7.0.12
2015-03-10 18:36:58 +11:00
unknown cb9f9e2b56 keeping $0 overwrite prevention to just the CPU interpreter loop
Tried my best to make sure I didn't miss any op-codes.  (Ctrl+F searching for "!= 0" and "== 0" throught the file shows me that I didn't.)  If I did miss any op-codes, it's no bug, just remaining extra unnecessary checking for zero.
2015-03-08 20:20:05 -04:00
unknown 1772f1467c Prevent remaining possibilities of overwriting $zero in RSP.
In the RSP, MFC0, MFC2, and CFC2 were all susceptible to overwriting $zero.  Some of us have tried waiting for some games to use handcoded assembly in an attempt to purposely overwrite $zero in their microcode (to throw off emulators), but so far what few occurrences there have been of this have not included using those 3 opcodes.  Since it was decided to centralize the security of register $zero in the main R4300 CPU, it was decided to do so in the RSP as well.
2015-03-08 20:17:18 -04:00
LegendOfDragoon 7f5aa6b521 Implement MMX version of VABS in RSP Recompiler 2015-03-01 03:39:14 -08:00
LegendOfDragoon b4dbc570a5 Small optimization to VSUB 2015-03-01 03:33:17 -08:00
LegendOfDragoon 9706484850 Small optimization to VADD 2015-03-01 03:31:57 -08:00
LegendOfDragoon 9bb8ca9b3c Small optimization to VMUDH 2015-03-01 03:25:41 -08:00