Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Learning PSP assembly
01-12-2017, 05:18 PM
Post: #23
RE: Learning PSP assembly
For those you listed "v*" registers are simply returning function results(so if a syscall returns a value, it'll be there), "t*" registers are temporary(they get purged with syscall so if they store anything important it's to you to save it), general purpose registers.
Argument registers "a*" as their name suggests are used for function parameters, if a syscall does take any input, the data will be set or pointed to by those arguments. Most mips documents out there should list all register types and how they're used.

To understand syscalls you really need SDK, however obtaining proper, updated PSP SDK is impossible, there are some outdated sdk's on the net which people usually use when they code anything for psp and for most stuff it's good enough. Sources of jpcsp and ppsspp would be the most updated thing to check, unfortunately there are still some, maybe even quite many syscalls which noone really have a clue about, info we have might be either wrong or incomplete, might also differ betweed firmware versions. PPSSPP is also handling lots of functions too fast hence poorly coded games can suffer from timing related issues that might affect virtually anything from causing crashes to variable input timing.

http://forums.ppsspp.org/showthread.php?tid=6594 - Custom PPSSPP Shaders!
http://forums.ppsspp.org/showthread.php?tid=3590&pid=117172#pid117172 - simple CE scripts to help creating CWCheats,
https://github.com/LunaMoo/PPSSPP_workarounds - CWCheat workarounds.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Learning PSP assembly - Yugisokubodai - 12-02-2016, 01:15 PM
RE: Learning PSP assembly - TkSilver - 12-02-2016, 09:46 PM
RE: Learning PSP assembly - Yugisokubodai - 12-02-2016, 10:45 PM
RE: Learning PSP assembly - TkSilver - 12-03-2016, 05:08 AM
RE: Learning PSP assembly - LunaMoo - 12-03-2016, 05:51 PM
RE: Learning PSP assembly - Yugisokubodai - 12-04-2016, 01:32 AM
RE: Learning PSP assembly - LunaMoo - 12-04-2016, 03:04 AM
RE: Learning PSP assembly - Yugisokubodai - 12-04-2016, 03:19 AM
RE: Learning PSP assembly - LunaMoo - 12-04-2016, 03:45 AM
RE: Learning PSP assembly - Yugisokubodai - 12-04-2016, 03:50 AM
RE: Learning PSP assembly - LunaMoo - 12-04-2016, 04:16 AM
RE: Learning PSP assembly - Tehau - 12-04-2016, 07:38 AM
RE: Learning PSP assembly - Yugisokubodai - 12-04-2016, 08:18 AM
RE: Learning PSP assembly - LunaMoo - 12-04-2016, 03:17 PM
RE: Learning PSP assembly - Yugisokubodai - 12-09-2016, 01:26 PM
RE: Learning PSP assembly - LunaMoo - 12-09-2016, 09:09 PM
RE: Learning PSP assembly - Yugisokubodai - 12-20-2016, 11:58 AM
RE: Learning PSP assembly - Yugisokubodai - 01-08-2017, 04:23 PM
RE: Learning PSP assembly - LunaMoo - 01-09-2017, 04:54 AM
RE: Learning PSP assembly - Yugisokubodai - 01-09-2017, 10:43 AM
RE: Learning PSP assembly - LunaMoo - 01-09-2017, 06:03 PM
RE: Learning PSP assembly - Yugisokubodai - 01-12-2017, 02:30 PM
RE: Learning PSP assembly - LunaMoo - 01-12-2017 05:18 PM
RE: Learning PSP assembly - Yugisokubodai - 01-15-2017, 12:06 AM
RE: Learning PSP assembly - LunaMoo - 01-15-2017, 05:30 AM

Forum Jump: