Difference between revisions of "Card write"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m
Line 15: Line 15:
 
  000287e8: 0c00883d jal 0x000220f4                    # Change Clear Pad
 
  000287e8: 0c00883d jal 0x000220f4                    # Change Clear Pad
 
  000287ec: 00002021 addu r4,r0,r0
 
  000287ec: 00002021 addu r4,r0,r0
  000287f0: 0c00880d jal 0x00022034                    #
+
  000287f0: 0c00880d jal 0x00022034                    # [[Enter Critical Section]]
 
  000287f4: 00000000 nop
 
  000287f4: 00000000 nop
  000287f8: 0c00a225 jal 0x00028894
+
  000287f8: 0c00a225 jal 0x00028894                   # [[init card]]
 
  000287fc: 02002021 addu r4,r16,r0
 
  000287fc: 02002021 addu r4,r16,r0
  00028800: 0c00a247 jal 0x0002891c
+
  00028800: 0c00a247 jal 0x0002891c                   # [[early_card_irq_patch]]
 
  00028804: 00000000 nop
 
  00028804: 00000000 nop
  00028808: 0c00a275 jal 0x000289d4
+
  00028808: 0c00a275 jal 0x000289d4                   # patch_card_specific_delay
 
  0002880c: 00000000 nop
 
  0002880c: 00000000 nop
  00028810: 0c008811 jal 0x00022044                     # print float
+
  00028810: 0c008811 jal 0x00022044                   # [[Exit Critical Section]]
 
  00028814: 00000000 nop
 
  00028814: 00000000 nop
 
  00028818: 8fbf0014 lw r31,0x0014(r29)
 
  00028818: 8fbf0014 lw r31,0x0014(r29)

Revision as of 11:40, 17 July 2024

000287b8: 240a00b0 addiu r10,r0,0x00b0
000287bc: 01400008 jr r10
000287c0: 2409004e addiu r9,r0,0x004e                # _card_write(port,sector,src)
000287c4: 00000000 nop
000287c8: 240a00b0 addiu r10,r0,0x00b0
000287cc: 01400008 jr r10
000287d0: 24090050 addiu r9,r0,0x0050                # _new_card()
000287d4: 00000000 nop
000287d8: 27bdffe8 addiu r29,r29,0xffe8
000287dc: afb00010 sw r16,0x0010(r29)
000287e0: 00808021 addu r16,r4,r0
000287e4: afbf0014 sw r31,0x0014(r29)
000287e8: 0c00883d jal 0x000220f4                    # Change Clear Pad
000287ec: 00002021 addu r4,r0,r0
000287f0: 0c00880d jal 0x00022034                    # Enter Critical Section
000287f4: 00000000 nop
000287f8: 0c00a225 jal 0x00028894                    # init card
000287fc: 02002021 addu r4,r16,r0
00028800: 0c00a247 jal 0x0002891c                    # early_card_irq_patch
00028804: 00000000 nop
00028808: 0c00a275 jal 0x000289d4                    # patch_card_specific_delay
0002880c: 00000000 nop
00028810: 0c008811 jal 0x00022044                    # Exit Critical Section
00028814: 00000000 nop
00028818: 8fbf0014 lw r31,0x0014(r29)
0002881c: 8fb00010 lw r16,0x0010(r29)
00028820: 27bd0018 addiu r29,r29,0x0018
00028824: 03e00008 jr r31
00028828: 00000000 nop