;;; $8000: Reset: hardware init and main loop ;;;
;;; $8079: Upload data blocks to SPC700 (SPC700UploadLoop) ;;;
;;; $80E8: Upload SPC700 engine (UploadSPCEngine) ;;;
;;; $80F7: Upload data with IRQs disabled (UploadDataToSPC) ;;;
;;; $80FD: Upload sample data to SPC700 (UploadSamples) ;;;
;;; $810E: Upload music bank 1 (title, overworld) (UploadMusicBank1) ;;;
;;; $811D: Request and run SPC700 upload (StrtSPCMscUpld) ;;;
;;; $8127: Clear APU ports and sound mirrors (SPC700ZeroLoop) ;;;
;;; $8148: Upload music bank 2 (levels) (UploadMusicBank2) ;;;
;;; $8159: Upload music bank 3 (ending) (UploadMusicBank3) ;;;
;;; $816A: NMI handler: sound, PPU mirrors, DMA (NMIStart) ;;;
;;; $8246: NMI tail: scroll, IRQ setup, Mode 7 path (NMINotSpecialLv) ;;;
;;; $8374: IRQ vector entry (IRQHandler) ;;;
;;; $8375: IRQ: save registers, check timer (IRQStart) ;;;
;;; $838C: IRQ: set BG3 scroll and screen mode (IRQNMIEnding) ;;;
;;; $83B9: IRQ return and Mode 7 boss splits (EmptyHandler) ;;;
;;; $8416: Set BG1 base addresses and scroll (SETL1SCROLL) ;;;
;;; $843B: Wait for H-blank, then delay (WaitForHBlank) ;;;
;;; $8449: DMA OAM buffer to OAM (DoSomeSpriteDMA) ;;;
;;; $8475..848D: Table: OAM size table offsets ;;;
;;; $8494: Pack OAM size bits into high table ;;;
;;; $84D0: Pointer table: stripe images (ImagePointers) ;;;
;;; $85D2: Upload stripe image to VRAM (LoadScrnImage) ;;;
;;; $8649..8649: Table: DMA setup for BG3 clear ;;;
;;; $8650: Read joypads, update input bytes (ControllerUpdate) ;;;
;;; $86DF: JSL trampoline: 16-bit pointer table (ExecutePtr) ;;;
;;; $86FA: Long pointer trampoline and VRAM uploaders (ExecutePtrLong) ;;;
;;; $8A16..8A47: Table: DMA setups for tilemap updates ;;;
;;; $8A4E: Clear RAM except the stack page (ClearStack) ;;;
;;; $8A79: Reset PPU layer addresses and effects (SetUpScreen) ;;;
;;; $8AB4..8ACC: Table: sine index adjustments ;;;
;;; $8ACD: Calculate Mode 7 rotation matrix ;;;
;;; $8B57..8C88: Table: sine values, then unused tilemap words ;;;
;;; $8C89..8CF9: Table: initial status bar tilemap ;;;
;;; $8CFF: Upload initial status bar to VRAM (GM04DoDMA) ;;;
;;; $8D90..8DA5: Table: DMA setups for status bar init ;;;
;;; $8DAC: Upload status bar tile numbers (DrawStatusBar) ;;;
;;; $8DE7: Table: DMA setup, status bar line 1 (DMAdata_StBr1) ;;;
;;; $8DEE: Status bar: update counters and tiles (DMAdata_StBr2) ;;;
;;; $8FFA..8FFC: Table: powers of ten for decimal conversion ;;;
;;; $9012: Convert 32-bit value to six decimal digit tiles ;;;
;;; $9045: Hex to decimal and item box drawing (HexToDec) ;;;
;;; $90D1..9101: Table: text sprite tiles, upper half ;;;
;;; $9105..9135: Table: text sprite tiles, lower half ;;;
;;; $9139..9169: Table: text sprite properties, upper half ;;;
;;; $916A..919A: Table: text sprite properties, lower half ;;;
;;; $919B: Mario Start text and level setup helpers ;;;
;;; $922F: Set CGRAM color 0 to black by DMA (NintenDMAINIT) ;;;
;;; $9249..9249: Table: DMA setup for black backdrop ;;;
;;; $9250: Init HDMA window effect (channel 7) ;;;
;;; $9277..927F: HDMA setup and table: window effect ;;;
;;; $9283: Window HDMA: enable fully covered window ;;;
;;; $9291: Fill window table lines, set up scroll HDMA (WindowHDMAenable) ;;;
;;; $9313..931D: Table: HDMA setup for BG scroll channels ;;;
;;; $9322: Run current game mode (GetGameMode) ;;;
;;; $9329: Pointer table: game modes (Ptrs009329) ;;;
;;; $937D: Turn off NMI, IRQ, HDMA and screen (TurnOffIO) ;;;
;;; $9389: Table: Nintendo logo sprite X positions (NintendoPos) ;;;
;;; $938D: Game mode 00: load Nintendo Presents (NintendoTile) ;;;
;;; $93F7: Enable NMI and joypad, return (Mode04Finish) ;;;
;;; $93FD: Set screen layers; game modes 01 and 06 (ScreenSettings) ;;;
;;; $9451: Table: cutscene background settings (CutsceneBgColor) ;;;
;;; $9458: Cutscene, ending and game mode code (castle scenes, credits, game over) (CutsceneCastlePal) ;;;
;;; $96D5: Game mode 11: Mario Start, level music (MarioStartGameMode) ;;;
;;; $9875..9875: Unused data (8 bytes) ;;;
;;; $987D: Mode 7 boss room: per-frame update ;;;
;;; $9891..98A1: Table: VRAM addresses for boss room tile updates ;;;
;;; $98A9: Boss room tile animation and Mode 7 setup ;;;
;;; $9A4E..9A4E: Unused data (4 bytes) ;;;
;;; $9A52: Boss room frame code (bit 6 set) ;;;
;;; $9A74: Detect connected controllers into [$0DA0] (SetUp0DA0GM4) ;;;
;;; $9AC8..9AC8: Table: menu cursor movement ;;;
;;; $9ACB: Menu cursor handler ;;;
;;; $9B17..9B17: Unused data (3 bytes) ;;;
;;; $9B1A: Game mode 09: erase file menu ;;;
;;; $9B8D: Pointer table: Continue/End menu, save prompt (Ptrs009B8D) ;;;
;;; $9C1B: Tail of CODE_009C13 (JSR $9D29) (Instr009C1B) ;;;
;;; $9C1F: Title demo: first buttons byte (IntroControlData) ;;;
;;; $9C20: Title screen demo input script (ItrCntrlrSqnc) ;;;
;;; $9C64: Game mode 07: title screen and demo (GAMEMODE_07) ;;;
;;; $9CCB..9CCE: Table: SRAM offsets of save files ;;;
;;; $9CD1: Game mode 08: file select, mode 0A: players ;;;
;;; $9E6A..9E72: Table: menu entry counts ;;;
;;; $9E74..9E7C: Table: menu cursor VRAM addresses ;;;
;;; $9E7E..9E7E: Table: cursor position bit masks ;;;
;;; $9E82: Draw blinking menu cursor ;;;
;;; $9EE0: Table: new game save data entries (TBL_009EE0) ;;;
;;; $9EF0: Table: new game overworld state (TBL_009EF0) ;;;
;;; $9F06: Initialize new save file data (CODE_WRITEOW) ;;;
;;; $9F29: Set fade step delay (KeepModeActive) ;;;
;;; $9F2F..9F33: Table: fade step values ;;;
;;; $9F37: Game modes 0F/13: fade with mosaic (TmpFade) ;;;
;;; $9F5B: Advance game mode, apply mosaic; fade (GM++Mosaic) ;;;
;;; $9F88..9FB0: Table: layer 3 setup per tileset ;;;
;;; $9FB8: Set up layer 3 (BG3) for the level ;;;
;;; $A001: Layer 3 setup, continued; clear L3 RAM (in1Remember) ;;;
;;; $A06B..A073: Table: overworld X start per submap ;;;
;;; $A079..A081: Table: overworld Y start per submap ;;;
;;; $A087: Game mode 0C: load overworld (LoadMapGameMode) ;;;
;;; $A195: Copy save data to overworld state (ConfMapFromSave) ;;;
;;; $A1A6: Clear RAM; game mode 0E: overworld (Clear_1A_13D3) ;;;
;;; $A1CE: Table: ground shake Y offset (low) (GrndShakeDispYLo) ;;;
;;; $A1D2: Table: ground shake Y offset (high); unknown (GrndShakeDispYHi) ;;;
;;; $A1DA: Game mode 14: in level (InLevelGameMode) ;;;
;;; $A300: DMA Mario graphics and palette (MarioGFXDMA) ;;;
;;; $A47F..A481: Table: palette buffer pointers ;;;
;;; $A488: Upload queued palette records to CGRAM (MoreDMA) ;;;
;;; $A521..A525: Table: tilemap page offsets ;;;
;;; $A529: DMA tilemap pages to VRAM ;;;
;;; $A586..A58D: Table: DMA setup for tilemap pages ;;;
;;; $A594: Long wrapper for CODE_00AD25 ;;;
;;; $A59C: Game mode 12: prepare level (GM04Load) ;;;
;;; $A608: Instruction: AND #$07 (Instr00A608) ;;;
;;; $A60D..A619: Data: unreferenced, purpose unclear ;;;
;;; $A61D..A62D: Data: unreferenced, purpose unclear ;;;
;;; $A635: Level start setup, Mario Start! graphics ;;;
;;; $A8C3: Table: sprite GFX file lists (SPRITEGFXLIST) ;;;
;;; $A92B: Table: tileset GFX lists, raw GFX upload (OBJECTGFXLIST) ;;;
;;; $A9D2..A9D6: Table: VRAM slot addresses for GFX upload ;;;
;;; $A9DA: Upload sprite and tileset GFX to VRAM (UploadSpriteGFX) ;;;
;;; $A9F4: Sprite GFX: upload loop over 4 slots (GFXTransferLoop) ;;;
;;; $AA0B: Sprite GFX: next slot (Don'tUploadSpr) ;;;
;;; $AA11: Remember loaded sprite GFX files (UpdtCrrntSpritGFX) ;;;
;;; $AA28: FG/BG GFX: pick files and upload (PrepLoadFGBG) ;;;
;;; $AA4C: FG/BG GFX: next slot (NoUploadFGBG) ;;;
;;; $AA52: Remember loaded FG/BG GFX files (UpdateCurrentFGBG) ;;;
;;; $AA5B: Tileset $FE/$FF: Mode 7 upload, empty slots (SetallFGBG80) ;;;
;;; $AA60: Mark all FG/BG slots empty (NoUpdateVRAM80) ;;;
;;; $AA64: Store $80 in FG/BG slot table (Store80) ;;;
;;; $AA6B: Decompress GFX file and start upload (UploadGFXFile) ;;;
;;; $AA80: Choose 3bpp conversion mode (SkipSpecial) ;;;
;;; $AA96: Convert 3bpp GFX to 4bpp, upload to VRAM (JumpTo_____) ;;;
;;; $AB02: Full 3bpp to 4bpp conversion setup (FilterSomeRAM) ;;;
;;; $AB09: 3bpp to 4bpp: tile loop start (Upload????ToVRAM) ;;;
;;; $AB0F: 3bpp to 4bpp: planes 0-1 of a tile (AddressWrite1) ;;;
;;; $AB23: 3bpp to 4bpp: planes 2-3; Mode 7 upload (AddressWrite2) ;;;
;;; $ABD3..ABDB: Table: palette set offsets (step $18) ;;;
;;; $ABDF..ABE7: Table: 16-bit offsets (step $38) ;;;
;;; $ABED: Load level palettes into buffer (LoadPalette) ;;;
;;; $ACED: Set one color in 8 palettes (LoadCol8Pal) ;;;
;;; $ACFF: Load rows of colors into palette buffer (LoadColors) ;;;
;;; $AD1E..AD1E: Table: overworld palette set by map ;;;
;;; $AD25: Load overworld, title and boss room palettes ;;;
;;; $AE41..AE44: Tables: color channel shifts and COLDATA bits ;;;
;;; $AE47: Set fixed color from backdrop color ;;;
;;; $AE65..AEEF: Tables: color masks, fade steps and dither masks ;;;
;;; $AEF7..AF0F: Table: dither step bit masks ;;;
;;; $AF17: Level end dithered palette fade ;;;
;;; $B001: Finish pose: add offsets, store frame (Remember) ;;;
;;; $B091..B099: Padding ($FF) ;;;
;;; $B0A0: Palette data: backdrop, BG, FG and sprite sets (Palettes?) ;;;
;;; $B3C0: Palette data: Bowser ending, overworld, shared (BowserEndPalette) ;;;
;;; $B60C: Palette data: animated color, title, ending (MorePalettes) ;;;
;;; $B70E: Ending palettes and GFX decompression (TheEndPalettes) ;;;
;;; $B983: Read byte from 24-bit source pointer (ReadByte) ;;;
;;; $B992..B9C2: Table: GFX file address, low byte ;;;
;;; $B9C4..B9F4: Table: GFX file address, high byte ;;;
;;; $B9F6..BA26: Table: GFX file bank ;;;
;;; $BA28: Decompress GFX file to buffer ;;;
;;; $BA4D..BA5D: Unused. Padding ($FF bytes) ;;;
;;; $BA60..BA68: Table: layer 1 horizontal screen offsets, low byte ;;;
;;; $BA70..BA78: Table: layer 2 horizontal screen offsets, low byte ;;;
;;; $BA80..BA88: Table: layer 1 vertical screen offsets, low byte ;;;
;;; $BA8E..BA96: Table: layer 2 vertical screen offsets, low byte ;;;
;;; $BA9C..BAA4: Table: layer 1 horizontal screen offsets, high byte ;;;
;;; $BAAC..BAB4: Table: layer 2 horizontal screen offsets, high byte ;;;
;;; $BABC..BAC4: Table: layer 1 vertical screen offsets, high byte ;;;
;;; $BACA..BAD2: Table: layer 2 vertical screen offsets, high byte ;;;
;;; $BAD8..BB00: Table: screen addresses, layer 1 horizontal bank $7E ;;;
;;; $BB08..BB30: Table: screen addresses, layer 2 horizontal bank $7E ;;;
;;; $BB38..BB60: Table: screen addresses, layer 1 vertical bank $7E ;;;
;;; $BB62..BB8A: Table: screen addresses, layer 2 horizontal bank $7E ;;;
;;; $BB92..BBBA: Table: screen addresses, layer 1 horizontal bank $7E ;;;
;;; $BBC2..BBEA: Table: screen addresses, layer 2 vertical bank $7E ;;;
;;; $BBEC..BC14: Table: screen addresses, layer 1 vertical bank $7E ;;;
;;; $BC16..BC3E: Table: screen addresses, layer 2 vertical bank $7E ;;;
;;; $BC40..BC68: Table: screen addresses, layer 1 horizontal bank $7F ;;;
;;; $BC70..BC98: Table: screen addresses, layer 2 horizontal bank $7F ;;;
;;; $BCA0..BCC8: Table: screen addresses, layer 1 vertical bank $7F ;;;
;;; $BCCA..BCF2: Table: screen addresses, layer 2 horizontal bank $7F ;;;
;;; $BCFA..BD22: Table: screen addresses, layer 1 horizontal bank $7F ;;;
;;; $BD2A..BD52: Table: screen addresses, layer 2 vertical bank $7F ;;;
;;; $BD54..BD7C: Table: screen addresses, layer 1 vertical bank $7F ;;;
;;; $BD7E..BDA6: Table: screen addresses, layer 2 vertical bank $7F ;;;
;;; $BDA8: Pointer table: layer 1 screens, bank $7E (Ptrs00BDA8) ;;;
;;; $BDE8: Pointer table: layer 2 screens, bank $7E (Ptrs00BDE8) ;;;
;;; $BE28: Pointer table: layer 1 screens, bank $7F (Ptrs00BE28) ;;;
;;; $BE68: Pointer table: layer 2 screens, bank $7F (Ptrs00BE68) ;;;
;;; $BEA8: Pointer table: layer pointer tables, bank $7E (LoadBlkPtrs) ;;;
;;; $BEAC: Pointer table: layer pointer tables, bank $7F (LoadBlkTable2) ;;;
;;; $BEB0: Generate Map16 tile at block position (GenerateTile) ;;;
;;; $BFC9: Pointer table: tile generation handlers (TileGenerationPtr) ;;;
;;; $C063..C063: Unused. Bit masks to clear one bit ;;;
;;; $C06B: Table: Map16 tile per generated block, page 0 (TileToGeneratePg0) ;;;
;;; $C0AA..C0AA: Unused. Bit mask table (duplicate) ;;;
;;; $C0B2: Generate Map16 tiles: page 1 and wings block (TileToGeneratePg1) ;;;
;;; $C29E: Cage tile data and cage/empty block generation (FlippedGateBgTiles?) ;;;
;;; $C453..C46B: Unused: $FF fill and bit masks ;;;
;;; $C470..C478: Tables: keyhole window animation ;;;
;;; $C47E: Per-frame Mario state: keyhole, timers, animation ;;;
;;; $C599: Pointer table: Mario animation routines (AnimationSeqPtr) ;;;
;;; $C5B5: Mario animation B: freeze with message box (UnknownAniB) ;;;
;;; $C5E1..C6D9: Data: cutscene poses and Mario movement scripts ;;;
;;; $C6DF..C6DF: Table: cutscene script offsets ;;;
;;; $C6E7: Mario animation C: scripted cutscene movement (UnknownAniC) ;;;
;;; $C7F9..C7F9: Table: Yoshi wings exit thresholds ;;;
;;; $C7FD: Mario animation 8: Yoshi wings exit (YoshiWingsAni) ;;;
;;; $C845: Jump stub and demo input script (Instr00C845) ;;;
;;; $C870: Mario animation A: scripted walk, level end (EnterCastleAni) ;;;
;;; $C9A4: Jump to Mario physics, cutscene level list (Instr00C9A4) ;;;
;;; $CA31: Peace pose and iris-out effect (SetMarioPeaceImg) ;;;
;;; $CB12..CC12: Data: iris shape tables ;;;
;;; $CC14: Iris half-width lookup ;;;
;;; $CC5C..CC64: Data: debug free roam speeds ;;;
;;; $CC68: Mario animation 0: normal per-frame handling (ResetAni) ;;;
;;; $CDA9: Yoshi poses and L/R scrolling (OnYoshiAnimations) ;;;
;;; $CE08: L/R screen scrolling (ScrollScreen) ;;;
;;; $CE79..CE97: Data: Mario slide poses ;;;
;;; $CE99..CEA9: Data: spin jump tables ;;;
;;; $CEB1: Cape image update (air) ;;;
;;; $CEDE: Cape update: on ground (MarioAnimAir) ;;;
;;; $CEE4: Cape update: step image down (MrioNtInWtr) ;;;
;;; $CF16: Choose Mario pose: spin, slide, duck, walk (lbl14A2Not0) ;;;
;;; $CFC3: Walk animation frame counter (MarioAnimNoAbs1) ;;;
;;; $D002: Finish pose: add offsets, store frame (Remember) ;;;
;;; $D030: Store Mario pose and return (MarioAnimNo45) ;;;
;;; $D034..D03C: Table: cape interaction offsets ;;;
;;; $D044: Cape hit point, cape spin and fireball input ;;;
;;; $D0AE..D0AE: Unused data ;;;
;;; $D0B6: Mario animation 9: death (MarioDeathAni) ;;;
;;; $D0E6: Death: choose fade to overworld or Time Up (DeathNotGameOver) ;;;
;;; $D0F5: Death: start the message and set game mode (DeathShowMessage) ;;;
;;; $D104: Death: set game mode and return (DeathNotTimeUp) ;;;
;;; $D108: Death: Mario falls, flips pose (DeathNotDone) ;;;
;;; $D11C: Return (DeathNotDoneEnd) ;;;
;;; $D11D: Table: Mario poses while changing size (GrowingAniImgs) ;;;
;;; $D129: Mario animation 1: power down (PowerDownAni) ;;;
;;; $D147: Mario animation 2: mushroom power up (MushroomAni) ;;;
;;; $D15F: Mario animation 3: cape power up (CapeAni) ;;;
;;; $D16F: Mario animation 4: flower power up (FlowerAni) ;;;
;;; $D18D: Table: pipe X speeds (left, right) (PipeSpeedX) ;;;
;;; $D18F: Table: pipe Y speeds (PipeSpeedY) ;;;
;;; $D193: Table: Mario hide values by pipe type (HIDEPIPESETS) ;;;
;;; $D197: Mario animation 5: horizontal pipe (DoorPipeAni) ;;;
;;; $D1FF: Table: pipe X center targets (PipeCntrBoundryX) ;;;
;;; $D201: Table: pipe centering speed (PipeCntringSpeed) ;;;
;;; $D203: Mario animation 6: vertical pipe (VertPipeAni) ;;;
;;; $D287: Mario animation 7: shot from pipe cannon (PipeCannonAni) ;;;
;;; $D2BD..D2C5: Table: jump Y speed by X speed ;;;
;;; $D2CD..D305: Table: X decelerations, ground and air ;;;
;;; $D309..D341: Table: X decelerations, water ;;;
;;; $D345: Table: walk and run accelerations (MarioAccel?) ;;;
;;; $D346: Table: walk and run accelerations (MarioAccel2?) ;;;
;;; $D34E: Table: walk and run accelerations (00D34E) ;;;
;;; $D356: Table: walk and run accelerations (00D356) ;;;
;;; $D35E: Table: walk and run accelerations (00D35E) ;;;
;;; $D366: Table: walk and run accelerations (00D366) ;;;
;;; $D36E: Table: walk and run accelerations (00D36E) ;;;
;;; $D376: Table: walk and run accelerations (00D376) ;;;
;;; $D37E: Table: walk and run accelerations (00D37E) ;;;
;;; $D386: Table: walk and run accelerations (00D386) ;;;
;;; $D38E: Table: walk and run accelerations (00D38E) ;;;
;;; $D396: Table: walk and run accelerations (00D396) ;;;
;;; $D39E: Table: walk and run accelerations (00D39E) ;;;
;;; $D3A6: Table: walk and run accelerations (00D3A6) ;;;
;;; $D3AE: Table: flight accelerations (00D3AE) ;;;
;;; $D3B6: Table: flight accelerations (00D3B6) ;;;
;;; $D3BE: Table: sliding accelerations (00D3BE) ;;;
;;; $D3C6: Table: sliding accelerations (00D3C6) ;;;
;;; $D3CE: Table: sliding accelerations (00D3CE) ;;;
;;; $D3D6: Table: running decelerations (00D3D6) ;;;
;;; $D3DE: Table: running decelerations (00D3DE) ;;;
;;; $D3E6: Table: running decelerations (00D3E6) ;;;
;;; $D3EE: Table: running decelerations (00D3EE) ;;;
;;; $D3F6: Table: running decelerations (00D3F6) ;;;
;;; $D3FE: Table: running decelerations (00D3FE) ;;;
;;; $D406: Table: running decelerations (00D406) ;;;
;;; $D40E: Table: running decelerations (00D40E) ;;;
;;; $D416: Table: running decelerations (00D416) ;;;
;;; $D41E: Table: running decelerations (00D41E) ;;;
;;; $D426: Table: running decelerations (00D426) ;;;
;;; $D42E: Table: running decelerations (00D42E) ;;;
;;; $D436: Table: running decelerations (00D436) ;;;
;;; $D445: Table: running accelerations, slippery levels (00D445) ;;;
;;; $D44D: Table: running accelerations, slippery levels (00D44D) ;;;
;;; $D455: Table: running accelerations, slippery levels (00D455) ;;;
;;; $D45D: Table: running accelerations, slippery levels (00D45D) ;;;
;;; $D465: Table: running accelerations, slippery levels (00D465) ;;;
;;; $D46D: Table: running accelerations, slippery levels (00D46D) ;;;
;;; $D475: Table: running accelerations, slippery levels (00D475) ;;;
;;; $D47D: Table: running accelerations, slippery levels (00D47D) ;;;
;;; $D485: Table: running accelerations, slippery levels (00D485) ;;;
;;; $D48D: Table: running accelerations, slippery levels (00D48D) ;;;
;;; $D495: Table: running accelerations, slippery levels (00D495) ;;;
;;; $D49D: Table: running accelerations, slippery levels (00D49D) ;;;
;;; $D4A5: Table: running accelerations, slippery levels (00D4A5) ;;;
;;; $D4AD: Table: running accelerations, slippery levels (00D4AD) ;;;
;;; $D4B5: Table: slippery slope accelerations (00D4B5) ;;;
;;; $D4BD: Table: slippery slope accelerations (00D4BD) ;;;
;;; $D4C5: Table: slippery slope accelerations (00D4C5) ;;;
;;; $D4CD: Table: running decelerations, slippery levels (00D4CD) ;;;
;;; $D4D5: Table: running decelerations, slippery levels (00D4D5) ;;;
;;; $D4DD: Table: running decelerations, slippery levels (00D4DD) ;;;
;;; $D4E5: Table: running decelerations, slippery levels (00D4E5) ;;;
;;; $D4ED: Table: running decelerations, slippery levels (00D4ED) ;;;
;;; $D4F5: Table: running decelerations, slippery levels (00D4F5) ;;;
;;; $D4FD: Table: running decelerations, slippery levels (00D4FD) ;;;
;;; $D505: Table: running decelerations, slippery levels (00D505) ;;;
;;; $D50D: Table: running decelerations, slippery levels (00D50D) ;;;
;;; $D515: Table: running decelerations, slippery levels (00D515) ;;;
;;; $D51D: Table: running decelerations, slippery levels (00D51D) ;;;
;;; $D525: Table: running decelerations, slippery levels (00D525) ;;;
;;; $D52D: Table: running decelerations, slippery levels (00D52D) ;;;
;;; $D53D: Table: maximum walk and run speeds (00D53D) ;;;
;;; $D545: Table: maximum walk and run speeds (00D545) ;;;
;;; $D54D: Table: maximum walk and run speeds (00D54D) ;;;
;;; $D555: Table: maximum walk and run speeds (00D555) ;;;
;;; $D55D: Table: maximum walk and run speeds (00D55D) ;;;
;;; $D565: Table: maximum walk and run speeds (00D565) ;;;
;;; $D56D: Table: maximum walk and run speeds (00D56D) ;;;
;;; $D575: Table: maximum walk and run speeds (00D575) ;;;
;;; $D57D: Table: maximum walk and run speeds (00D57D) ;;;
;;; $D585: Table: maximum walk and run speeds (00D585) ;;;
;;; $D58D: Table: maximum walk and run speeds (00D58D) ;;;
;;; $D595: Table: maximum walk and run speeds (00D595) ;;;
;;; $D59D: Table: maximum flight speeds (00D59D) ;;;
;;; $D5A5: Table: maximum flight speeds (00D5A5) ;;;
;;; $D5AD: Table: maximum swim speeds (00D5AD) ;;;
;;; $D5B5: Table: maximum slope sliding speeds (00D5B5) ;;;
;;; $D5BD: Table: sliding speeds, carrying item (00D5BD) ;;;
;;; $D5C5: Table: sliding speeds, carrying item (00D5C5) ;;;
;;; $D5D2: Table: auto-slide speeds on slopes (00D5D2) ;;;
;;; $D5DA: Table: auto-slide speeds on slopes (00D5DA) ;;;
;;; $D5E2: Table: auto-slide speeds on slopes (00D5E2) ;;;
;;; $D5EA: Mario X speed on ground, jump start (00D5EA) ;;;
;;; $D7A5..D7AD: Table: Y acceleration (gravity) ;;;
;;; $D7AF..D7B7: Table: max fall speed ;;;
;;; $D7B9..D7C1: Table: cape and Yoshi wings float limits ;;;
;;; $D7C8..D7C8: Table: cape flight max fall speed ;;;
;;; $D7CF: Cape flight phase tables, then Mario Y speed (CapeSpeed) ;;;
;;; $D980..D984: Table: swim poses and Y speed limits ;;;
;;; $D988: Swimming physics and controls ;;;
;;; $DAB7..DAC5: Table: unclear (water/climb) ;;;
;;; $DACD..DAD5: Table: Mario pose numbers (unclear) ;;;
;;; $DADB: Table: climbing poses (ClimbingImgs) ;;;
;;; $DADD: Mario climbing, tile and position tables (ClimbPunchingImgs) ;;;
;;; $DC78: Tables: walk animation and tile layouts (NumWalkingFrames) ;;;
;;; $DF16: Table: tileset offset by powerup (TilesetIndex) ;;;
;;; $DF1A: Table: image to 8x8 tile set (TileExpansion?) ;;;
;;; $DFDA: Table: Mario OAM tile numbers (Mario8x8Tiles) ;;;
;;; $E18C: Mario OAM drawing and cape data tables, draw routine (MarioPalIndex) ;;;
;;; $E4B9..E4D9: Table: slope steepness codes ;;;
;;; $E4DA..E4FA: Table: max Y speed on slope ;;;
;;; $E4FB..E51B: Table: slope launch Y speed ;;;
;;; $E51C..E53C: Table: slope height limit ;;;
;;; $E53D..E62D: Tables: slope push and step profiles ;;;
;;; $E632..E82A: Table: slope ground height ;;;
;;; $E830..E898: Table: Mario collision point X offsets ;;;
;;; $E89C..E904: Table: Mario collision point Y offsets ;;;
;;; $E90A..E91B: Table: side blocked bits and pushes ;;;
;;; $E91F..E927: Table: tile push Y offsets ;;;
;;; $E92B: Mario level collision, borders and water ;;;
;;; $EAB9..EAD9: Data: wall-walk tables and slope tile list ;;;
;;; $EADB: Mario block and slope collision (rest) ;;;
;;; $EFAE: Cape ground pound on landing (CallGroundPound) ;;;
;;; $F05C..F07C: Table: bounce block sprite by block ;;;
;;; $F080..F0A0: Table: item spawned by block ;;;
;;; $F0A4..F0C4: Table: hit directions that trigger block ;;;
;;; $F0C8..F0E8: Table: tile a block turns into ;;;
;;; $F0EC..F0F4: Table: bit masks for block hits ;;;
;;; $F0F8..F118: Table: block X positions and ? block contents ;;;
;;; $F120: Block interaction: hurt tiles, bounce blocks, coins ;;;
;;; $F3E3..F3E3: Table: pipe entry alignment offsets ;;;
;;; $F3E5: Pipe entry, map16 lookup at collision point (PIPE_BUTTONS) ;;;
;;; $F55A: P-switch: coin and switch palace tiles (PSwitchNotInvQBlk) ;;;
;;; $F56C: P-switch tile swaps and fall-off kill (PSwitchCoinBrown) ;;;
;;; $F5B7: Hurt Mario (HurtMario) ;;;
;;; $F5E2: Hurt: cape soaring ends (CancelSoaring) ;;;
;;; $F5F3: Hurt: shrink to small Mario (PowerDown) ;;;
;;; $F606: Kill Mario (KillMario) ;;;
;;; $F62D: Clear controller, Mario GFX DMA setup (NoButtons) ;;;
;;; $F69F..F6BB: Table: vertical scroll thresholds and steps ;;;
;;; $F6BF..F6C7: Table: horizontal scroll steps ;;;
;;; $F6CB..F6D7: Table: static camera region values ;;;
;;; $F6DB: Scroll screen to follow Mario ;;;
;;; $F8DF..F8E7: Table: Y tile offsets by platform tilt ;;;
;;; $F8E8..F8F0: Table: Mario ceiling Y limit per boss room ;;;
;;; $F8F2: Mario vs Mode 7 boss room platform/ceiling ;;;
;;; $F9F5..FA0D: Freespace ;;;
;;; $FA10: Unused clear sprites, then slope pointer setup ;;;
;;; $FA45: Spawn Flat Palace Switch (FlatPalaceSwitch) ;;;
;;; $FA80: Level end: clear effects, start sprite loop (TriggerGoalTape) ;;;
;;; $FA91: Level end: process every sprite (LvlEndSprLoopStrt) ;;;
;;; $FAD1: Level end: next sprite, clear extended sprites (LvlEndNextSprite) ;;;
;;; $FADF..FAF7: Table: powerup sprite given at level end ;;;
;;; $FAFB..FAFB: Table: item box contents to match ;;;
;;; $FB00: Level end: choose bonus powerup for carried sprite (LvlEndPowerUp) ;;;
;;; $FB55: Level end: convert sprite to bonus powerup (LvlEndStoreSpr) ;;;
;;; $FBA4: Table: level end smoke tiles (probably) (LvlEndSmokeTiles) ;;;
;;; $FBAC: Level end sprites to coins (long wrapper) (LvlEndSprCoins) ;;;
;;; $FBB4: Level-end coin sprite and helpers (LvlEndSprCoinsRt) ;;;
;;; $FD24..FD24: Table: bubble X offset by direction ;;;
;;; $FD26: Spawn bubble, block smoke puff ;;;
;;; $FD9D..FDA1: Table: water splash Y offsets ;;;
;;; $FDA5: Spawn water splash and bubbles ;;;
;;; $FE0E..FE12: Table: bubble offsets from Mario ;;;
;;; $FE16: Spawn bubble, skid smoke puff ;;;
;;; $FE94..FEA2: Table: fireball speed and offsets ;;;
;;; $FEA8: Shoot Mario fireball (ShootFireball) ;;;
;;; $80E7: Unused stub: A = 0 (StzTo6ePointer0080E7) ;;;