Difference between revisions of "JOBSTTS.OUT Load Image & Wait"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " 001e1ff0: 27bdffe8 addiu r29,r29,0xffe8 001e1ff4: afbf0010 sw r31,0x0010(r29) 001e1ff8: 0c00923f jal 0x000248fc 001e1ffc: 00000000 nop 001e2000: 0c0091b5 jal 0x000246d4...")
 
m
Line 1: Line 1:
 +
#      Parameters:
 +
#          r4 = RECT *recp (points to destination rectangular area to load image into)
 +
#          r5 = u_long *p (points to source of transmission)
 +
# parameters go directly into LoadImage.
 +
 
  001e1ff0: 27bdffe8 addiu r29,r29,0xffe8
 
  001e1ff0: 27bdffe8 addiu r29,r29,0xffe8
 
  001e1ff4: afbf0010 sw r31,0x0010(r29)
 
  001e1ff4: afbf0010 sw r31,0x0010(r29)
  001e1ff8: 0c00923f jal 0x000248fc
+
  001e1ff8: 0c00923f jal 0x000248fc           [[SYS LoadImage]]
 
  001e1ffc: 00000000 nop
 
  001e1ffc: 00000000 nop
  001e2000: 0c0091b5 jal 0x000246d4
+
  001e2000: 0c0091b5 jal 0x000246d4           [[SYS DrawSync]](0x1)
 
  001e2004: 34040001 ori r4,r0,0x0001
 
  001e2004: 34040001 ori r4,r0,0x0001
  001e2008: 1440fffd bne r2,r0,0x001e2000
+
  001e2008: 1440fffd bne r2,r0,0x001e2000     loop if there are still things to draw in queue.
 
  001e200c: 00000000 nop
 
  001e200c: 00000000 nop
 
  001e2010: 8fbf0010 lw r31,0x0010(r29)
 
  001e2010: 8fbf0010 lw r31,0x0010(r29)

Revision as of 23:37, 20 September 2024

#       Parameters:
#           r4 = RECT *recp (points to destination rectangular area to load image into)
#           r5 = u_long *p (points to source of transmission)
# parameters go directly into LoadImage.
001e1ff0: 27bdffe8 addiu r29,r29,0xffe8
001e1ff4: afbf0010 sw r31,0x0010(r29)
001e1ff8: 0c00923f jal 0x000248fc            SYS LoadImage
001e1ffc: 00000000 nop
001e2000: 0c0091b5 jal 0x000246d4            SYS DrawSync(0x1)
001e2004: 34040001 ori r4,r0,0x0001
001e2008: 1440fffd bne r2,r0,0x001e2000      loop if there are still things to draw in queue.
001e200c: 00000000 nop
001e2010: 8fbf0010 lw r31,0x0010(r29)
001e2014: 27bd0018 addiu r29,r29,0x0018
001e2018: 03e00008 jr r31
001e201c: 00000000 nop