Final Fantasy Hacktics

Modding => War of the Lions Hacking => Topic started by: Talcall on December 31, 2019, 01:38:34 am

Title: nearly complete documentation of every operation in the PPSSPP debugger for FFT
Post by: Talcall on December 31, 2019, 01:38:34 am
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.
Title: Re: nearly complete documentation of every operation in the PPSSPP debugger for FFT
Post by: Glain on December 31, 2019, 09:22:42 am
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
Title: Re: nearly complete documentation of every operation in the PPSSPP debugger for FFT
Post by: Talcall on December 31, 2019, 05:38:23 pm
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