This shows you the differences between two versions of the page.
— | return_of_samus:data_locations:bank0 [2017/02/26 17:36] (current) – created p.jboy | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Bank 0 ====== | ||
+ | This is the contents of Bank 0 in a ROM map form. | ||
+ | < | ||
+ | Bank :0 | ||
+ | Contents :System functions | ||
+ | Range : | ||
+ | |||
+ | 0x0000: Software interrupts | ||
+ | 0x0000: RTS command: reboot | ||
+ | 0x0008: RTS command: reboot | ||
+ | 0x0028: RTS command: jump using jump table | ||
+ | 0x0040: V-blank interrupt point | ||
+ | 0x0048: LCD interrupt point | ||
+ | 0x0050: Timer interrupt point | ||
+ | 0x0058: Serial interrupt point | ||
+ | 0x0060: Joypad interrupt point | ||
+ | 0x0100: Entry point | ||
+ | 0x0104: ROM header | ||
+ | 0x0150: Boot point | ||
+ | 0x0153: Serial interrupt handler | ||
+ | 0x0154: V-blank interrupt handler | ||
+ | 0x01FB: Boot | ||
+ | 0x02F0: Handle game mode | ||
+ | 0x031B: RET | ||
+ | 0x031C: Update in-game timer | ||
+ | 0x0370: Clear OAM | ||
+ | 0x037B: Clear VRAM tilemap | ||
+ | 0x038A: Copy [bc] bytes from [hl] to [de] | ||
+ | 0x0393: Copy FFh terminated data from [de] to hl | ||
+ | 0x039B: Timer interrupt handler | ||
+ | 0x039C: Disable LCD display | ||
+ | 0x03B5: Game mode 2: loading save | ||
+ | 0x0464: Game mode 3: loading save | ||
+ | 0x04DF: Game mode 4: in-game | ||
+ | 0x05FD: Load tiles | ||
+ | 0x0673: Load current screen | ||
+ | 0x0698: Handle loading blocks due to scrolling | ||
+ | 0x06C1: Possibly load row above screen | ||
+ | 0x06CC: Load row above screen | ||
+ | 0x06F3: Possibly load row below screen | ||
+ | 0x0724: Possibly load column left of screen | ||
+ | 0x0756: Possibly load column right of screen | ||
+ | 0x0788: Load row | ||
+ | 0x07E4: Load column | ||
+ | 0x0835: Calculate metatile update addresses | ||
+ | 0x0886: Add metatile update entry | ||
+ | 0x08CF: Handle metatile update entries | ||
+ | 0x08FE: Handle scrolling / triggering door transitions | ||
+ | 0x0C37: Set up door transition | ||
+ | 0x0D21: Samus' pose handler | ||
+ | 0x0D21: Samus' pose handler | ||
+ | 0x0D87: Samus' pose handler - in Metroid Queen' | ||
+ | 0x0D8B: Samus' pose handler - escaping Metroid Queen | ||
+ | 0x0DBE: Samus' pose handler - being swallowed by Metroid Queen | ||
+ | 0x0DF0: Samus' pose handler - in Metroid Queen' | ||
+ | 0x0E36: Samus' pose handler - being eaten by Metroid Queen | ||
+ | 0x0EA5: Samus' pose handler - facing screen | ||
+ | 0x0ECB: Samus' pose handler - morphball bombed / escaped Metroid Queen | ||
+ | 0x0EF7: Samus' pose handler - knockback | ||
+ | 0x0F38: Samus' pose handler - morphball knockback | ||
+ | 0x0F6C: Samus' pose handler - standing bombed | ||
+ | 0x1029: Samus' pose handler - spider ball | ||
+ | 0x1083: Samus' pose handler - spider ball rolling | ||
+ | 0x1170: Samus' pose handler - spider ball jumping | ||
+ | 0x11E4: Samus' pose handler - spider ball falling | ||
+ | 0x124B: Samus' pose handler - morphball falling | ||
+ | 0x12F5: Samus' pose handler - falling | ||
+ | 0x139D: Samus' pose handler - turning | ||
+ | 0x13B7: Samus' pose handler - standing | ||
+ | 0x14D6: Samus' pose handler - running | ||
+ | 0x15F4: Samus' pose handler - crouching | ||
+ | 0x1701: Samus' pose handler - morphball | ||
+ | 0x179F: Samus' pose handler - morphball jumping | ||
+ | 0x17BB: Samus' pose handler - jumping | ||
+ | 0x18E8: Samus' pose handler - spin-jumping | ||
+ | 0x19E2: Samus' pose handler - starting to jump / starting to spin-jump | ||
+ | 0x1BA4: Samus' pose handler - crouching - morph | ||
+ | 0x2083: First 8 bytes of save SRAM | ||
+ | 0x21EF: Reset $DD00..FF | ||
+ | 0x2212: Toggle missiles | ||
+ | 0x2287: Update buttons | ||
+ | 0x22BC: Get tilemap address | ||
+ | 0x235C: OAM DMA | ||
+ | 0x2378: Initialise sound | ||
+ | 0x2384: Handle audio | ||
+ | 0x2390: Clear sound effects and song | ||
+ | 0x239C: Handle screen transition command set | ||
+ | 0x26EB: Screen command - load standard graphics | ||
+ | 0x2747: Screen command - load graphics | ||
+ | 0x2753: Screen command - load graphics - load graphics | ||
+ | 0x2771: Screen command - load graphics - load background graphics | ||
+ | 0x2798: Screen command - load graphics - load enemy graphics | ||
+ | 0x282A: Screen command - load $DA00 | ||
+ | 0x289C: Screen command - load $DC00 | ||
+ | 0x2887: Screen command - set Samus position | ||
+ | 0x28FB: Screen command - set screen position | ||
+ | 0x2BA3: Load tiles to VRAM | ||
+ | 0x2C5E: Wait a frame | ||
+ | 0x2CED: Game mode 8: paused | ||
+ | 0x2F29: Deal 2 damage every 16 frames | ||
+ | 0x2F60: Deal [b] damage to Samus | ||
+ | 0x2F86: Game mode 6: dying | ||
+ | 0x2FA2: Start death sequence | ||
+ | 0x3698: Clear carry | ||
+ | 0x36B0: Game mode 5: dead | ||
+ | 0x371B: Game mode 7: game over | ||
+ | 0x3ACE: Game mode Ah | ||
+ | 0x3B2F: Game mode Fh | ||
+ | 0x3B43: Game mode 10h: game cleared | ||
+ | 0x3BA1: Game mode 11h | ||
+ | 0x3C6A: Load credits text to SRAM | ||
+ | 0x3C92: Check if killed target number of Metroids | ||
+ | 0x3CE2: Game mode 9: save to SRAM | ||
+ | 0x3D5C: LCD interrupt handler | ||
+ | 0x3E29: Game mode 12h: Reached gunship | ||
+ | 0x3E34: Game mode 13h: Credits | ||
+ | 0x3E3F: Game mode 0: boot | ||
+ | 0x3E59: Game mode 1: title | ||
+ | 0x3E67: Start new game | ||
+ | 0x3E72: Load from save | ||
+ | 0x3E7D: Load sprite set | ||
+ | 0x3E88: Clear deleted OAM | ||
+ | 0x3E93: Draw Samus | ||
+ | 0x3E9E: Drawing blinking Metroid in HUD | ||
+ | 0x3ED5: Load room sprite priority | ||
+ | 0x3F60: Free space | ||
+ | </ | ||