Change Clear Pad

From Final Fantasy Hacktics Wiki
Revision as of 01:58, 4 September 2016 by Glain (talk | contribs) (Created page with " # ROUTINE: CHANGE CLEAR PAD # Parameters: r4 = (System call input parameter: int val) # Returns: r2 = (System call return value - int) # The kernel function bein...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
# ROUTINE: CHANGE CLEAR PAD
#    Parameters: r4 = (System call input parameter: int val)
#    Returns: r2 = (System call return value - int)

#   The kernel function being called here has the signature: int ChangeClearPad (int val)
    
000220f4: 240a00b0 addiu r10,r0,0x00b0
000220f8: 01400008 jr r10                   # System call: Jump to 0xB0, with r10 (t2) = 0xb0, and r9 (t1) = 0x5b (91). This calls the PSX kernel function ChangeClearPad. 
000220fc: 2409005b addiu r9,r0,0x005b