Reset Frame Buffer
(Redirected from 00042284 - 000424bc)
Jump to navigation
Jump to search
00042284: 27bdffb8 addiu r29,r29,0xffb8 00042288: afb60038 sw r22,0x0038(r29) 0004228c: 93b60058 lbu r22,0x0058(r29) 00042290: afb7003c sw r23,0x003c(r29) 00042294: 93b7005c lbu r23,0x005c(r29) 00042298: afb20028 sw r18,0x0028(r29) 0004229c: 00809021 addu r18,r4,r0 000422a0: afb10024 sw r17,0x0024(r29) 000422a4: 00a08821 addu r17,r5,r0 000422a8: afb3002c sw r19,0x002c(r29) 000422ac: 00c09821 addu r19,r6,r0 000422b0: afbf0040 sw r31,0x0040(r29) 000422b4: afb50034 sw r21,0x0034(r29) 000422b8: afb40030 sw r20,0x0030(r29) 000422bc: afb00020 sw r16,0x0020(r29) 000422c0: 3c058004 lui r5,0x8004 000422c4: 24a5091c addiu r5,r5,0x091c 000422c8: 88a20003 lwl r2,0x0003(r5) 000422cc: 98a20000 lwr r2,0x0000(r5) 000422d0: 88a30007 lwl r3,0x0007(r5) 000422d4: 98a30004 lwr r3,0x0004(r5) 000422d8: aba2001b swl r2,0x001b(r29) 000422dc: bba20018 swr r2,0x0018(r29) 000422e0: aba3001f swl r3,0x001f(r29) 000422e4: bba3001c swr r3,0x001c(r29) 000422e8: 00002021 addu r4,r0,r0 mask = 0 000422ec: 00e0a821 addu r21,r7,r0 000422f0: 3a3001e0 xori r16,r17,0x01e0 000422f4: 0010802b sltu r16,r0,r16 000422f8: 00108023 subu r16,r0,r16 000422fc: 0c00918e jal 0x00024638 SYS SetDispMask 00042300: 321000f0 andi r16,r16,0x00f0 00042304: 0c00908e jal 0x00024238 SYS ResetGraph 00042308: 00002021 addu r4,r0,r0 0004230c: 0c006fae jal 0x0001beb8 InitGeom 00042310: 00000000 nop 00042314: 001227c2 srl r4,r18,0x1f 00042318: 02442021 addu r4,r18,r4 0004231c: 00042043 sra r4,r4,0x01 00042320: 00112fc2 srl r5,r17,0x1f 00042324: 02252821 addu r5,r17,r5 00042328: 0c00746a jal 0x0001d1a8 Store Screen offsets to GTE 0004232c: 00052843 sra r5,r5,0x01 00042330: 0c007472 jal 0x0001d1c8 Store Projection plane distance in GTE 00042334: 02602021 addu r4,r19,r0 projection plane distance 00042338: 3c148005 lui r20,0x8005 0004233c: 2694ea14 addiu r20,r20,0xea14 drawenv1 00042340: 02802021 addu r4,r20,r0 00042344: 00002821 addu r5,r0,r0 00042348: 00003021 addu r6,r0,r0 0004234c: 02403821 addu r7,r18,r0 00042350: 0c008b78 jal 0x00022de0 E03 SetDefDrawEnv 00042354: afb10010 sw r17,0x0010(r29) 00042358: 3c138005 lui r19,0x8005 0004235c: 2673eacc addiu r19,r19,0xeacc dispenv1 00042360: 02602021 addu r4,r19,r0 00042364: 00002821 addu r5,r0,r0 00042368: 02003021 addu r6,r16,r0 0004236c: 02403821 addu r7,r18,r0 00042370: 0c008bac jal 0x00022eb0 E04 SetDefDispEnv 00042374: afb10010 sw r17,0x0010(r29) 00042378: 2684005c addiu r4,r20,0x005c drawenv2 0004237c: 00002821 addu r5,r0,r0 00042380: 02003021 addu r6,r16,r0 00042384: 02403821 addu r7,r18,r0 00042388: 0c008b78 jal 0x00022de0 E03 SetDefDrawEnv 0004238c: afb10010 sw r17,0x0010(r29) 00042390: 26640014 addiu r4,r19,0x0014 dispenv2 00042394: 00002821 addu r5,r0,r0 00042398: 00003021 addu r6,r0,r0 0004239c: 02403821 addu r7,r18,r0 000423a0: 0c008bac jal 0x00022eb0 E04 SetDefDispEnv 000423a4: afb10010 sw r17,0x0010(r29) 000423a8: 27a40018 addiu r4,r29,0x0018 000423ac: 00002821 addu r5,r0,r0 000423b0: 00003021 addu r6,r0,r0 000423b4: 3c018005 lui r1,0x8005 000423b8: a020ea86 sb r0,-0x157a(r1) 000423bc: 3c018005 lui r1,0x8005 000423c0: a020ea2a sb r0,-0x15d6(r1) 000423c4: 3c018005 lui r1,0x8005 000423c8: a020ea88 sb r0,-0x1578(r1) 000423cc: 3c018005 lui r1,0x8005 000423d0: a020ea2c sb r0,-0x15d4(r1) 000423d4: 3c018005 lui r1,0x8005 000423d8: a035ea2d sb r21,-0x15d3(r1) 000423dc: 3c018005 lui r1,0x8005 000423e0: a035ea89 sb r21,-0x1577(r1) 000423e4: 3c018005 lui r1,0x8005 000423e8: a036ea2e sb r22,-0x15d2(r1) 000423ec: 3c018005 lui r1,0x8005 000423f0: a037ea2f sb r23,-0x15d1(r1) 000423f4: 3c018005 lui r1,0x8005 000423f8: a036ea8a sb r22,-0x1576(r1) 000423fc: 3c018005 lui r1,0x8005 00042400: a037ea8b sb r23,-0x1575(r1) 00042404: 0c00921a jal 0x00024868 SYS ClearImage 00042408: 00003821 addu r7,r0,r0 0004240c: 0c0091b5 jal 0x000246d4 SYS DrawSync 00042410: 00002021 addu r4,r0,r0 00042414: 34040280 ori r4,r0,0x0280 00042418: 0c008bcb jal 0x00022f2c FONT FntLoad 0x280, 0x00 0004241c: 00002821 addu r5,r0,r0 00042420: 34040028 ori r4,r0,0x0028 00042424: 34050010 ori r5,r0,0x0010 00042428: 34060200 ori r6,r0,0x0200 0004242c: 34070100 ori r7,r0,0x0100 00042430: 34020200 ori r2,r0,0x0200 00042434: afa00010 sw r0,0x0010(r29) 00042438: 0c008bf4 jal 0x00022fd0 FONT FntOpen 0004243c: afa20014 sw r2,0x0014(r29) 00042440: 0c008bbb jal 0x00022eec FONT SetDumpFnt 00042444: 00402021 addu r4,r2,r0 00042448: 3c028004 lui r2,0x8004 0004244c: 8c42597c lw r2,0x597c(r2) top/bottom screen 00042450: 00000000 nop 00042454: 00022080 sll r4,r2,0x02 00042458: 00822021 addu r4,r4,r2 0004245c: 00042080 sll r4,r4,0x02 00042460: 0c0093a1 jal 0x00024e84 SYS PutDispEnv 00042464: 00932021 addu r4,r4,r19 00042468: 3c028004 lui r2,0x8004 0004246c: 8c42597c lw r2,0x597c(r2) top/bottom screen 00042470: 00000000 nop 00042474: 00022040 sll r4,r2,0x01 00042478: 00822021 addu r4,r4,r2 0004247c: 000420c0 sll r4,r4,0x03 00042480: 00822023 subu r4,r4,r2 00042484: 00042080 sll r4,r4,0x02 00042488: 0c00932b jal 0x00024cac SYS PutDrawEnv 0004248c: 00942021 addu r4,r4,r20 00042490: 8fbf0040 lw r31,0x0040(r29) 00042494: 8fb7003c lw r23,0x003c(r29) 00042498: 8fb60038 lw r22,0x0038(r29) 0004249c: 8fb50034 lw r21,0x0034(r29) 000424a0: 8fb40030 lw r20,0x0030(r29) 000424a4: 8fb3002c lw r19,0x002c(r29) 000424a8: 8fb20028 lw r18,0x0028(r29) 000424ac: 8fb10024 lw r17,0x0024(r29) 000424b0: 8fb00020 lw r16,0x0020(r29) 000424b4: 27bd0048 addiu r29,r29,0x0048 000424b8: 03e00008 jr r31 000424bc: 00000000 nop