Difference between revisions of "Reset CDROM, CPU RAM"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 000424c0: 27bdffe8 addiu r29,r29,0xffe8 000424c4: afbf0010 sw r31,0x0010(r29) 000424c8: 0c0087d5 jal 0x00021f54 000424cc: 34040002 ori r4,r0,0x...")
 
m (Talcall moved page 000424c0 - 00042504 to Reset CDROM, CPU RAM)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
  000424c0: 27bdffe8 addiu r29,r29,0xffe8
 
  000424c0: 27bdffe8 addiu r29,r29,0xffe8
 
  000424c4: afbf0010 sw r31,0x0010(r29)
 
  000424c4: afbf0010 sw r31,0x0010(r29)
  000424c8: 0c0087d5 jal 0x00021f54
+
  000424c8: 0c0087d5 jal 0x00021f54             [[SetMem]] 2 megabytes
 
  000424cc: 34040002 ori r4,r0,0x0002
 
  000424cc: 34040002 ori r4,r0,0x0002
  000424d0: 0c007a31 jal 0x0001e8c4
+
  000424d0: 0c007a31 jal 0x0001e8c4             [[CdInit]]
 
  000424d4: 00000000 nop
 
  000424d4: 00000000 nop
  000424d8: 0c007aa6 jal 0x0001ea98
+
  000424d8: 0c007aa6 jal 0x0001ea98             [[CdSetDebug]]
  000424dc: 00002021 addu r4,r0,r0
+
  000424dc: 00002021 addu r4,r0,r0               no debug checks performed
 
  000424e0: 3c048005 lui r4,0x8005
 
  000424e0: 3c048005 lui r4,0x8005
  000424e4: 2484eaf4 addiu r4,r4,0xeaf4
+
  000424e4: 2484eaf4 addiu r4,r4,0xeaf4         store no file opening in file descriptor byte (in callee)
  000424e8: 0c004776 jal 0x00011dd8
+
  000424e8: 0c004776 jal 0x00011dd8             [[Reset and Pause CDROM]]
 
  000424ec: 00000000 nop
 
  000424ec: 00000000 nop
 
  000424f0: 3c018005 lui r1,0x8005
 
  000424f0: 3c018005 lui r1,0x8005
  000424f4: ac20eaf8 sw r0,-0x1508(r1)
+
  000424f4: ac20eaf8 sw r0,-0x1508(r1)           just for good measure, stores no file opening again.
 
  000424f8: 8fbf0010 lw r31,0x0010(r29)
 
  000424f8: 8fbf0010 lw r31,0x0010(r29)
 
  000424fc: 27bd0018 addiu r29,r29,0x0018
 
  000424fc: 27bd0018 addiu r29,r29,0x0018

Latest revision as of 05:48, 11 June 2024

000424c0: 27bdffe8 addiu r29,r29,0xffe8
000424c4: afbf0010 sw r31,0x0010(r29)
000424c8: 0c0087d5 jal 0x00021f54              SetMem 2 megabytes
000424cc: 34040002 ori r4,r0,0x0002
000424d0: 0c007a31 jal 0x0001e8c4              CdInit
000424d4: 00000000 nop
000424d8: 0c007aa6 jal 0x0001ea98              CdSetDebug 
000424dc: 00002021 addu r4,r0,r0               no debug checks performed
000424e0: 3c048005 lui r4,0x8005
000424e4: 2484eaf4 addiu r4,r4,0xeaf4          store no file opening in file descriptor byte (in callee)
000424e8: 0c004776 jal 0x00011dd8              Reset and Pause CDROM
000424ec: 00000000 nop
000424f0: 3c018005 lui r1,0x8005
000424f4: ac20eaf8 sw r0,-0x1508(r1)           just for good measure, stores no file opening again.
000424f8: 8fbf0010 lw r31,0x0010(r29)
000424fc: 27bd0018 addiu r29,r29,0x0018
00042500: 03e00008 jr r31
00042504: 00000000 nop