• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
April 23, 2024, 09:21:54 pm

News:

Don't be hasty to start your own mod; all our FFT modding projects are greatly understaffed! Find out how you can help in the Recruitment section or our Discord!


nearly complete documentation of every operation in the PPSSPP debugger for FFT

Started by Talcall, December 31, 2019, 01:38:34 am

Talcall

Given my requests for help were ignored twice, i figured I'd go ahead and spend my spare time creating a complete documentation of every operation i could work out, inside out and looped. Even includes operations that i don't believe would have a real impact on the registers or game.
The only things I'm missing are the exact functionality of several functions that i couldn't find anywhere on the internet or work out contextually. I still included notes on the limitations of the bytes within the operations, however, in case that helps.
  • Modding version: PSX & WotL
""The only thing more hardcoded than FFT, is more FFT."
    - A wise man"
       - Talcall
  • Discord username: Talcall

Glain

The PSP CPU is called Allegrex. The architecture it uses is MIPS32 release 2 (32 bit), and it also has some custom instructions/encodings.

When I was adding the PSP instructions into MassHexASM/LEDecoder, I was able to look up most of the instructions in the general MIPS32r2 documentation, and I found the rest in the source code of a PSP emulator.

Take a look at the replies in this thread: http://ffhacktics.com/smf/index.php?topic=7758.0

Documentation for MIPS32 release 2: http://personal.denison.edu/~bressoud/cs281-s10/Supplements/ISA_Vol_2.pdf
PSP emulator source code: http://code.google.com/p/pspemu/source/browse/trunk/src/pspemu/core/cpu/tables/Table.d?r=315
  • Modding version: Other/Unknown

Talcall

Ahh perfect! So there is some documentation about the debugging program! I probably wouldn't have gone through these lengths if I knew that. Again, I did search google but the only help it gave me were guides on MIPS code about things I already knew.
Thank you very much for this enlightening reply
  • Modding version: PSX & WotL
""The only thing more hardcoded than FFT, is more FFT."
    - A wise man"
       - Talcall
  • Discord username: Talcall