Difference between revisions of "P37 DumpDispEnv"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 0002418c: 27bdffe0 addiu r29,r29,0xffe0 00024190: afb00018 sw r16,0x0018(r29) 00024194: 00808021 addu r16,r4,r0 00024198: afbf001c sw r31,0x001...")
 
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
  00024194: 00808021 addu r16,r4,r0
 
  00024194: 00808021 addu r16,r4,r0
 
  00024198: afbf001c sw r31,0x001c(r29)
 
  00024198: afbf001c sw r31,0x001c(r29)
  0002419c: 86050000 lh r5,0x0000(r16)
+
  0002419c: 86050000 lh r5,0x0000(r16)             # RECT.disp.x
  000241a0: 86060002 lh r6,0x0002(r16)
+
  000241a0: 86060002 lh r6,0x0002(r16)             # RECT.disp.y
  000241a4: 86070004 lh r7,0x0004(r16)
+
  000241a4: 86070004 lh r7,0x0004(r16)             # RECT.disp.w
 
  000241a8: 86020006 lh r2,0x0006(r16)
 
  000241a8: 86020006 lh r2,0x0006(r16)
 
  000241ac: 3c038003 lui r3,0x8003
 
  000241ac: 3c038003 lui r3,0x8003
 
  000241b0: 8c632890 lw r3,0x2890(r3)
 
  000241b0: 8c632890 lw r3,0x2890(r3)
 
  000241b4: 3c048001 lui r4,0x8001
 
  000241b4: 3c048001 lui r4,0x8001
  000241b8: 24840674 addiu r4,r4,0x0674
+
  000241b8: 24840674 addiu r4,r4,0x0674           # text to print
  000241bc: 0060f809 jalr r3,r31
+
  000241bc: 0060f809 jalr r3,r31                   # printf
  000241c0: afa20010 sw r2,0x0010(r29)
+
  000241c0: afa20010 sw r2,0x0010(r29)             # RECT.disp.h
  000241c4: 86050008 lh r5,0x0008(r16)
+
  000241c4: 86050008 lh r5,0x0008(r16)             # RECT.screen.x
  000241c8: 8606000a lh r6,0x000a(r16)
+
  000241c8: 8606000a lh r6,0x000a(r16)             # RECT.screen.y
  000241cc: 8607000c lh r7,0x000c(r16)
+
  000241cc: 8607000c lh r7,0x000c(r16)             # RECT.screen.w
 
  000241d0: 8602000e lh r2,0x000e(r16)
 
  000241d0: 8602000e lh r2,0x000e(r16)
 
  000241d4: 3c038003 lui r3,0x8003
 
  000241d4: 3c038003 lui r3,0x8003
 
  000241d8: 8c632890 lw r3,0x2890(r3)
 
  000241d8: 8c632890 lw r3,0x2890(r3)
 
  000241dc: 3c048001 lui r4,0x8001
 
  000241dc: 3c048001 lui r4,0x8001
  000241e0: 24840690 addiu r4,r4,0x0690
+
  000241e0: 24840690 addiu r4,r4,0x0690           # text to print
  000241e4: 0060f809 jalr r3,r31
+
  000241e4: 0060f809 jalr r3,r31                   # printf
  000241e8: afa20010 sw r2,0x0010(r29)
+
  000241e8: afa20010 sw r2,0x0010(r29)             # RECT.screen.h
  000241ec: 92050010 lbu r5,0x0010(r16)
+
  000241ec: 92050010 lbu r5,0x0010(r16)           # u_char isinter // is interlaced? flag
 
  000241f0: 3c028003 lui r2,0x8003
 
  000241f0: 3c028003 lui r2,0x8003
 
  000241f4: 8c422890 lw r2,0x2890(r2)
 
  000241f4: 8c422890 lw r2,0x2890(r2)
 
  000241f8: 3c048001 lui r4,0x8001
 
  000241f8: 3c048001 lui r4,0x8001
  000241fc: 248406ac addiu r4,r4,0x06ac
+
  000241fc: 248406ac addiu r4,r4,0x06ac           # text to print
  00024200: 0040f809 jalr r2,r31
+
  00024200: 0040f809 jalr r2,r31                   # printf
 
  00024204: 00000000 nop
 
  00024204: 00000000 nop
  00024208: 92050011 lbu r5,0x0011(r16)
+
  00024208: 92050011 lbu r5,0x0011(r16)           # u_char isrgb24 // is dithered 24 -> 15 bit? flag
 
  0002420c: 3c028003 lui r2,0x8003
 
  0002420c: 3c028003 lui r2,0x8003
 
  00024210: 8c422890 lw r2,0x2890(r2)
 
  00024210: 8c422890 lw r2,0x2890(r2)
 
  00024214: 3c048001 lui r4,0x8001
 
  00024214: 3c048001 lui r4,0x8001
  00024218: 248406b8 addiu r4,r4,0x06b8
+
  00024218: 248406b8 addiu r4,r4,0x06b8           # text to print
  0002421c: 0040f809 jalr r2,r31
+
  0002421c: 0040f809 jalr r2,r31                   # printf
 
  00024220: 00000000 nop
 
  00024220: 00000000 nop
 
  00024224: 8fbf001c lw r31,0x001c(r29)
 
  00024224: 8fbf001c lw r31,0x001c(r29)

Latest revision as of 11:57, 10 July 2023

0002418c: 27bdffe0 addiu r29,r29,0xffe0
00024190: afb00018 sw r16,0x0018(r29)
00024194: 00808021 addu r16,r4,r0
00024198: afbf001c sw r31,0x001c(r29)
0002419c: 86050000 lh r5,0x0000(r16)             # RECT.disp.x
000241a0: 86060002 lh r6,0x0002(r16)             # RECT.disp.y
000241a4: 86070004 lh r7,0x0004(r16)             # RECT.disp.w
000241a8: 86020006 lh r2,0x0006(r16)
000241ac: 3c038003 lui r3,0x8003
000241b0: 8c632890 lw r3,0x2890(r3)
000241b4: 3c048001 lui r4,0x8001
000241b8: 24840674 addiu r4,r4,0x0674            # text to print
000241bc: 0060f809 jalr r3,r31                   # printf
000241c0: afa20010 sw r2,0x0010(r29)             # RECT.disp.h
000241c4: 86050008 lh r5,0x0008(r16)             # RECT.screen.x
000241c8: 8606000a lh r6,0x000a(r16)             # RECT.screen.y
000241cc: 8607000c lh r7,0x000c(r16)             # RECT.screen.w
000241d0: 8602000e lh r2,0x000e(r16)
000241d4: 3c038003 lui r3,0x8003
000241d8: 8c632890 lw r3,0x2890(r3)
000241dc: 3c048001 lui r4,0x8001
000241e0: 24840690 addiu r4,r4,0x0690            # text to print
000241e4: 0060f809 jalr r3,r31                   # printf
000241e8: afa20010 sw r2,0x0010(r29)             # RECT.screen.h
000241ec: 92050010 lbu r5,0x0010(r16)            # u_char isinter // is interlaced? flag
000241f0: 3c028003 lui r2,0x8003
000241f4: 8c422890 lw r2,0x2890(r2)
000241f8: 3c048001 lui r4,0x8001
000241fc: 248406ac addiu r4,r4,0x06ac            # text to print
00024200: 0040f809 jalr r2,r31                   # printf
00024204: 00000000 nop
00024208: 92050011 lbu r5,0x0011(r16)            # u_char isrgb24 // is dithered 24 -> 15 bit? flag
0002420c: 3c028003 lui r2,0x8003
00024210: 8c422890 lw r2,0x2890(r2)
00024214: 3c048001 lui r4,0x8001
00024218: 248406b8 addiu r4,r4,0x06b8            # text to print
0002421c: 0040f809 jalr r2,r31                   # printf
00024220: 00000000 nop
00024224: 8fbf001c lw r31,0x001c(r29)
00024228: 8fb00018 lw r16,0x0018(r29)
0002422c: 27bd0020 addiu r29,r29,0x0020
00024230: 03e00008 jr r31
00024234: 00000000 nop