Difference between revisions of "Bar Menu Idle Routine"
Jump to navigation
Jump to search
(Created page with " Bar Menu Idle 0006c3dc: 3c03800c lui r3,0x800c 0006c3e0: 8c63b4f0 lw r3,-0x4b10(r3) Load Selection level 0006c3e4: 27bdffe8 addiu r29,r29,0xffe8 0006c3e8: afbf0010 sw r...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | Bar Menu Controller | |
− | 0006c3dc: 3c03800c lui r3,0x800c | + | |
+ | ''' | ||
+ | 0006c3dc: 3c03800c lui r3,0x800c | ||
0006c3e0: 8c63b4f0 lw r3,-0x4b10(r3) Load Selection level | 0006c3e0: 8c63b4f0 lw r3,-0x4b10(r3) Load Selection level | ||
− | 0006c3e4: 27bdffe8 addiu r29,r29,0xffe8 | + | 0006c3e4: 27bdffe8 addiu r29,r29,0xffe8 |
− | 0006c3e8: afbf0010 sw r31,0x0010(r29) | + | 0006c3e8: afbf0010 sw r31,0x0010(r29) |
− | 0006c3ec: 00031080 sll r2,r3,0x02 | + | 0006c3ec: 00031080 sll r2,r3,0x02 ??*4 |
− | 0006c3f0: 00032040 sll r4,r3,0x01 | + | 0006c3f0: 00032040 sll r4,r3,0x01 ??*2 |
− | 0006c3f4: 00832021 addu r4,r4,r3 | + | 0006c3f4: 00832021 addu r4,r4,r3 ??*3 |
− | 0006c3f8: 000420c0 sll r4,r4,0x03 | + | 0006c3f8: 000420c0 sll r4,r4,0x03 ??*24 |
− | 0006c3fc: 00832023 subu r4,r4,r3 | + | 0006c3fc: 00832023 subu r4,r4,r3 ??*23 |
− | 0006c400: 00042080 sll r4,r4,0x02 | + | 0006c400: 00042080 sll r4,r4,0x02 selection level * 92 |
− | 0006c404: 3c01800d lui r1,0x800d | + | 0006c404: 3c01800d lui r1,0x800d |
0006c408: 24214580 addiu r1,r1,0x4580 800d4580 | 0006c408: 24214580 addiu r1,r1,0x4580 800d4580 | ||
− | 0006c40c: 00220821 addu r1,r1,r2 | + | 0006c40c: 00220821 addu r1,r1,r2 |
− | 0006c410: 8c220000 lw r2,0x0000(r1) | + | 0006c410: 8c220000 lw r2,0x0000(r1) Load |
− | 0006c414: 3c03800c lui r3,0x800c | + | 0006c414: 3c03800c lui r3,0x800c |
0006c418: 2463b930 addiu r3,r3,0xb930 800bb930 | 0006c418: 2463b930 addiu r3,r3,0xb930 800bb930 | ||
− | 0006c41c: 00021080 sll r2,r2,0x02 | + | 0006c41c: 00021080 sll r2,r2,0x02 Next routine byte * 4 |
− | 0006c420: 3c01800a lui r1,0x800a | + | 0006c420: 3c01800a lui r1,0x800a |
0006c424: 2421e690 addiu r1,r1,0xe690 8009e690 | 0006c424: 2421e690 addiu r1,r1,0xe690 8009e690 | ||
− | 0006c428: 00220821 addu r1,r1,r2 | + | 0006c428: 00220821 addu r1,r1,r2 |
− | 0006c42c: 8c220000 lw r2,0x0000(r1) | + | 0006c42c: 8c220000 lw r2,0x0000(r1) Load Pointer to next routine |
0006c430: 00000000 nop | 0006c430: 00000000 nop | ||
− | 0006c434: 0040f809 jalr r2,r31 | + | 0006c434: 0040f809 jalr r2,r31 Jump and Link to Bar Routine |
0006c438: 00832021 addu r4,r4,r3 | 0006c438: 00832021 addu r4,r4,r3 | ||
0006c43c: 8fbf0010 lw r31,0x0010(r29) | 0006c43c: 8fbf0010 lw r31,0x0010(r29) | ||
Line 28: | Line 30: | ||
0006c444: 03e00008 jr r31 | 0006c444: 03e00008 jr r31 | ||
0006c448: 00000000 nop | 0006c448: 00000000 nop | ||
+ | ''' | ||
+ | |||
+ | Routine Pointers at 0x8009e690 | ||
+ | ''' | ||
+ | 00 - 8006c9fc | ||
+ | 01 - 8006e208 | ||
+ | 02 - 8006e77c | ||
+ | 03 - 8006e9bc | ||
+ | 04 - 80070358 - [[00070358 - 00070964|Initial Bar Settings?]] | ||
+ | 05 - 80071bb0 - [[Bar Menu Controller Input Routine |Bar Menu Input Routine]] | ||
+ | 06 - 80072448 - [[00072448 - 00072614|Display Rumors Description]] | ||
+ | 07 - 80072f38 - [[00072f38 - 000732b4|Something to do with Propositions?]] | ||
+ | 08 - 80072888 - [[00072888 - 00072a14|Redisplay old Rumor Names?]] | ||
+ | 09 - 80073600 - [[00073600 - 00073774|Proposition Yes/No?]] | ||
+ | 0A - 80073b2c - [[Graphic displays for units on proposition list]] | ||
+ | 0B - 8006eeec - [[0006eeec - 0006f290|Unknown Function?]] | ||
+ | 0C - 80073ff0 - [[00073ff0 - 00074130|Unknown Function?]] | ||
+ | 0D - 80074788 - [[Set Proposition Status (Complete, failed, in progress)|Set Proposition Status]] | ||
+ | ''' |
Latest revision as of 22:21, 23 March 2021
Bar Menu Controller
0006c3dc: 3c03800c lui r3,0x800c 0006c3e0: 8c63b4f0 lw r3,-0x4b10(r3) Load Selection level 0006c3e4: 27bdffe8 addiu r29,r29,0xffe8 0006c3e8: afbf0010 sw r31,0x0010(r29) 0006c3ec: 00031080 sll r2,r3,0x02 ??*4 0006c3f0: 00032040 sll r4,r3,0x01 ??*2 0006c3f4: 00832021 addu r4,r4,r3 ??*3 0006c3f8: 000420c0 sll r4,r4,0x03 ??*24 0006c3fc: 00832023 subu r4,r4,r3 ??*23 0006c400: 00042080 sll r4,r4,0x02 selection level * 92 0006c404: 3c01800d lui r1,0x800d 0006c408: 24214580 addiu r1,r1,0x4580 800d4580 0006c40c: 00220821 addu r1,r1,r2 0006c410: 8c220000 lw r2,0x0000(r1) Load 0006c414: 3c03800c lui r3,0x800c 0006c418: 2463b930 addiu r3,r3,0xb930 800bb930 0006c41c: 00021080 sll r2,r2,0x02 Next routine byte * 4 0006c420: 3c01800a lui r1,0x800a 0006c424: 2421e690 addiu r1,r1,0xe690 8009e690 0006c428: 00220821 addu r1,r1,r2 0006c42c: 8c220000 lw r2,0x0000(r1) Load Pointer to next routine 0006c430: 00000000 nop 0006c434: 0040f809 jalr r2,r31 Jump and Link to Bar Routine 0006c438: 00832021 addu r4,r4,r3 0006c43c: 8fbf0010 lw r31,0x0010(r29) 0006c440: 27bd0018 addiu r29,r29,0x0018 0006c444: 03e00008 jr r31 0006c448: 00000000 nop
Routine Pointers at 0x8009e690
00 - 8006c9fc 01 - 8006e208 02 - 8006e77c 03 - 8006e9bc 04 - 80070358 - Initial Bar Settings? 05 - 80071bb0 - Bar Menu Input Routine 06 - 80072448 - Display Rumors Description 07 - 80072f38 - Something to do with Propositions? 08 - 80072888 - Redisplay old Rumor Names? 09 - 80073600 - Proposition Yes/No? 0A - 80073b2c - Graphic displays for units on proposition list 0B - 8006eeec - Unknown Function? 0C - 80073ff0 - Unknown Function? 0D - 80074788 - Set Proposition Status