Build & Draw Squaresoft Logo
(Redirected from 00041890 - 00041b18)
Jump to navigation
Jump to search
00041890: 27bdff70 addiu r29,r29,0xff70 00041894: afbf008c sw r31,0x008c(r29) 00041898: afb40088 sw r20,0x0088(r29) 0004189c: afb30084 sw r19,0x0084(r29) 000418a0: afb20080 sw r18,0x0080(r29) 000418a4: afb1007c sw r17,0x007c(r29) 000418a8: afb00078 sw r16,0x0078(r29) 000418ac: 3c058004 lui r5,0x8004 000418b0: 24a50924 addiu r5,r5,0x0924 000418b4: 88a20003 lwl r2,0x0003(r5) 000418b8: 98a20000 lwr r2,0x0000(r5) 000418bc: 88a30007 lwl r3,0x0007(r5) 000418c0: 98a30004 lwr r3,0x0004(r5) 000418c4: aba20073 swl r2,0x0073(r29) 000418c8: bba20070 swr r2,0x0070(r29) 000418cc: aba30077 swl r3,0x0077(r29) 000418d0: bba30074 swr r3,0x0074(r29) 000418d4: 341200f8 ori r18,r0,0x00f8 000418d8: 34040140 ori r4,r0,0x0140 000418dc: 340500f0 ori r5,r0,0x00f0 000418e0: 34060200 ori r6,r0,0x0200 000418e4: 00003821 addu r7,r0,r0 000418e8: afa00010 sw r0,0x0010(r29) 000418ec: 0c010566 jal 0x00041598 Initialise Drawing & Display Environments 000418f0: afa00014 sw r0,0x0014(r29) 000418f4: 0c008f42 jal 0x00023d08 P16 SetPolyF4 000418f8: 27a40018 addiu r4,r29,0x0018 000418fc: 27a40018 addiu r4,r29,0x0018 00041900: 34050001 ori r5,r0,0x0001 00041904: 34020140 ori r2,r0,0x0140 00041908: 34110100 ori r17,r0,0x0100 0004190c: a3a0001c sb r0,0x001c(r29) 00041910: a3a0001d sb r0,0x001d(r29) 00041914: a3a0001e sb r0,0x001e(r29) 00041918: a7a00020 sh r0,0x0020(r29) 0004191c: a7a00022 sh r0,0x0022(r29) 00041920: a7a20024 sh r2,0x0024(r29) 00041924: a7a00026 sh r0,0x0026(r29) 00041928: a7a00028 sh r0,0x0028(r29) 0004192c: a7b1002a sh r17,0x002a(r29) 00041930: a7a2002c sh r2,0x002c(r29) 00041934: 0c008f1a jal 0x00023c68 P10 SetSemiTrans 00041938: a7b1002e sh r17,0x002e(r29) 0004193c: 8fa20018 lw r2,0x0018(r29) 00041940: 8fa3001c lw r3,0x001c(r29) 00041944: 8fa40020 lw r4,0x0020(r29) 00041948: 8fa50024 lw r5,0x0024(r29) 0004194c: afa20030 sw r2,0x0030(r29) 00041950: afa30034 sw r3,0x0034(r29) 00041954: afa40038 sw r4,0x0038(r29) 00041958: afa5003c sw r5,0x003c(r29) 0004195c: 8fa20028 lw r2,0x0028(r29) 00041960: 8fa3002c lw r3,0x002c(r29) 00041964: afa20040 sw r2,0x0040(r29) 00041968: afa30044 sw r3,0x0044(r29) 0004196c: 27a40048 addiu r4,r29,0x0048 00041970: 00002821 addu r5,r0,r0 00041974: 00003021 addu r6,r0,r0 00041978: 34070040 ori r7,r0,0x0040 0004197c: 27b00070 addiu r16,r29,0x0070 00041980: 0c009533 jal 0x000254cc P41 SetDrawMode 00041984: afb00010 sw r16,0x0010(r29) 00041988: 8fa20048 lw r2,0x0048(r29) 0004198c: 8fa3004c lw r3,0x004c(r29) 00041990: 8fa40050 lw r4,0x0050(r29) 00041994: afa20054 sw r2,0x0054(r29) 00041998: afa30058 sw r3,0x0058(r29) 0004199c: afa4005c sw r4,0x005c(r29) 000419a0: 02002021 addu r4,r16,r0 000419a4: 00002821 addu r5,r0,r0 000419a8: 00003021 addu r6,r0,r0 000419ac: 00003821 addu r7,r0,r0 000419b0: 340201e0 ori r2,r0,0x01e0 000419b4: a7a00070 sh r0,0x0070(r29) 000419b8: a7a00072 sh r0,0x0072(r29) 000419bc: a7b10074 sh r17,0x0074(r29) 000419c0: 0c00921a jal 0x00024868 SYS ClearImage 000419c4: a7a20076 sh r2,0x0076(r29) 000419c8: 0c0091b5 jal 0x000246d4 SYS DrawSync 000419cc: 00002021 addu r4,r0,r0 000419d0: 0c00918e jal 0x00024638 SYS SetDispMask 000419d4: 34040001 ori r4,r0,0x0001 000419d8: 00008021 addu r16,r0,r0 000419dc: 0c0076ea jal 0x0001dba8 VSync call 000419e0: 00002021 addu r4,r0,r0 000419e4: 26100001 addiu r16,r16,0x0001 000419e8: 2a02000f slti r2,r16,0x000f 000419ec: 1440fffb bne r2,r0,0x000419dc 000419f0: 00121400 sll r2,r18,0x10 000419f4: 0440003c bltz r2,0x00041ae8 000419f8: 00000000 nop 000419fc: 27b40060 addiu r20,r29,0x0060 00041a00: 27b10018 addiu r17,r29,0x0018 00041a04: 27b30048 addiu r19,r29,0x0048 00041a08: 3c108004 lui r16,0x8004 00041a0c: 8e10597c lw r16,0x597c(r16) 00041a10: 34050002 ori r5,r0,0x0002 00041a14: 001080c0 sll r16,r16,0x03 00041a18: 02908021 addu r16,r20,r16 00041a1c: 0c0092a2 jal 0x00024a88 SYS ClearOtag 00041a20: 02002021 addu r4,r16,r0 00041a24: 3c038004 lui r3,0x8004 00041a28: 8c63597c lw r3,0x597c(r3) 00041a2c: 00000000 nop 00041a30: 00031040 sll r2,r3,0x01 00041a34: 00431021 addu r2,r2,r3 00041a38: 000210c0 sll r2,r2,0x03 00041a3c: 00511021 addu r2,r2,r17 00041a40: a0520004 sb r18,0x0004(r2) 00041a44: 3c038004 lui r3,0x8004 00041a48: 8c63597c lw r3,0x597c(r3) 00041a4c: 00000000 nop 00041a50: 00031040 sll r2,r3,0x01 00041a54: 00431021 addu r2,r2,r3 00041a58: 000210c0 sll r2,r2,0x03 00041a5c: 00511021 addu r2,r2,r17 00041a60: a0520005 sb r18,0x0005(r2) 00041a64: 3c038004 lui r3,0x8004 00041a68: 8c63597c lw r3,0x597c(r3) 00041a6c: 00000000 nop 00041a70: 00031040 sll r2,r3,0x01 00041a74: 00431021 addu r2,r2,r3 00041a78: 000210c0 sll r2,r2,0x03 00041a7c: 00511021 addu r2,r2,r17 00041a80: a0520006 sb r18,0x0006(r2) 00041a84: 3c028004 lui r2,0x8004 00041a88: 8c42597c lw r2,0x597c(r2) 00041a8c: 02002021 addu r4,r16,r0 00041a90: 00022840 sll r5,r2,0x01 00041a94: 00a22821 addu r5,r5,r2 00041a98: 000528c0 sll r5,r5,0x03 00041a9c: 0c008eed jal 0x00023bb4 P06 AddPrim 00041aa0: 02252821 addu r5,r17,r5 00041aa4: 3c028004 lui r2,0x8004 00041aa8: 8c42597c lw r2,0x597c(r2) 00041aac: 02002021 addu r4,r16,r0 00041ab0: 00022840 sll r5,r2,0x01 00041ab4: 00a22821 addu r5,r5,r2 00041ab8: 00052880 sll r5,r5,0x02 00041abc: 0c008eed jal 0x00023bb4 P06 AddPrim 00041ac0: 02652821 addu r5,r19,r5 00041ac4: 3c058004 lui r5,0x8004 00041ac8: 24a55a00 addiu r5,r5,0x5a00 squaresoft Logo 00041acc: 0c0105dd jal 0x00041774 Draw Image to screen (46,70) b4 x 10 00041ad0: 02002021 addu r4,r16,r0 00041ad4: 2642fff8 addiu r2,r18,0xfff8 00041ad8: 00409021 addu r18,r2,r0 00041adc: 00021400 sll r2,r2,0x10 00041ae0: 0441ffc9 bgez r2,0x00041a08 00041ae4: 00000000 nop 00041ae8: 0c0091b5 jal 0x000246d4 SYS DrawSync 00041aec: 00002021 addu r4,r0,r0 00041af0: 0c0091b5 jal 0x000246d4 SYS DrawSync 00041af4: 00002021 addu r4,r0,r0 00041af8: 8fbf008c lw r31,0x008c(r29) 00041afc: 8fb40088 lw r20,0x0088(r29) 00041b00: 8fb30084 lw r19,0x0084(r29) 00041b04: 8fb20080 lw r18,0x0080(r29) 00041b08: 8fb1007c lw r17,0x007c(r29) 00041b0c: 8fb00078 lw r16,0x0078(r29) 00041b10: 27bd0090 addiu r29,r29,0x0090 00041b14: 03e00008 jr r31 00041b18: 00000000 nop