![]() ![]() ![]() ![]() (+24)ĭmaCopy basically copies data from ROM to RAM. LW RA, $0014 (SP) Load back our lost return address.ĪDDIU SP, SP, $0018 Restores stack. SW RA, $0014 (SP) Push return address to stack. Basically finds a desired amount of free space in the heap and returns a pointer to the area.ĭst being the RAM offset! bottom is the beginning ROM offset to copy the bytes and top is the end.ĪDDIU SP, SP, $FFE8 -24 to stack. Segment-offset to true ram address converterįunction that seems to be a memory allocator. Returns: V0 = 0x80-prefix-less ram addressĮssentially just: *(uint32*)( 0x8033B400 + segment_number << 2) = ram_address & 0x00FFFFFF Start of EEPROM and goes up to 0x80207900Īrguments: A0 = segment number, A1 = ram address All level mesh textures are loaded here by the 0x1A level script command. Segment 0x04 - Contains the data for Mario's modelīehavior script - Spinning exclamation pointīehavior script - Misc level architecture (eg the castle tower)ĭecompressed geo-layout script for the castle tower You can restore the old symbols by patching in the images from the Japanese ROM, and modifying the pointers in this table. Since some of the HUD symbols were removed in the USA release, some of the slots are left empty: Table with segment-offset pointers to the HUD symbol textures. The segment is allocated by a hardcoded routine on startup. Segment 0x02 constant location - Contains image data for the hud symbols and other textures. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |