Language…
17 users online: alexwong,  AmperSam, B. Gangster, BITOTY, brisbi84, CalHal, ChristianR839, Enan63, EntySky, Golden Yoshi, Green, h.carrell, Humpty Dumpty Magazine, mangort, TheXander, VeryBean,  xHF01x - Guests: 113 - Bots: 147
Users: 62,953 (2,668 active)
Latest user: KingRhodesTN

YI Memory Map

Displaying 75 out of 1427 addresses.

View: moderated | waiting (27)

Filter

Link
  • Pages:
  • 1
  • 2
  • 3
  • 4
  • 5
  • 19
  • 20
RAM Address Length Type Description Details
$7E0000 48 bytes Misc. Scratch RAM, used like "registers" for various operations
$7E0030 2 bytes Timer Frame counter
$7E0032 3 bytes Pointer Pointer to level object data
$7E0035 1 byte Controller Controller 1 Data 1, mirror of $7E093C
$7E0036 1 byte Controller Controller 1 Data 2, mirror of $7E093D
$7E0037 1 byte Controller Controller 1 Data 1 on press/first frame, mirror of $7E093E
$7E0038 1 byte Controller Controller 1 Data 2 on press/first frame, mirror of $7E093F
$7E0039 2 bytes Misc. Layer 1 Camera X
$7E003B 2 bytes Misc. Layer 1 Camera Y
$7E003D 2 bytes Misc. Layer 2 Camera X
$7E003F 2 bytes Misc. Layer 2 Camera Y
$7E0041 2 bytes Misc. Layer 3 Camera X (also for World Map)
$7E0043 2 bytes Misc. Layer 3 Camera Y
$7E0045 2 bytes Misc. Layer 4 Camera X
$7E0047 2 bytes Misc. Layer 4 Camera Y
$7E0049 4 bytes Empty Unused RAM, cleared (with $00) during every loading screen
$7E004D 2 bytes Sound Effect Music track to be played - mirror of hardware register $2140 (APU I/O 0)
$7E004F 2 bytes Sound Effect Previous value of $7E004D (if previous == current value of hardware register $2140, do not write to register)
$7E0051 2 bytes Sound Effect Mirror of hardware register $2141 (APU I/O 1, pseudo-noise loop)
$7E0053 2 bytes Sound Effect Sound ID to be played instantly, bypasses the sound queue, directly written to hardware register $2143
$7E0055 2 bytes Sound Effect Previous value of $7E0053 (if previous == current value in hardware register $2143, do not write to register)
$7E0057 2 bytes Sound Effect Current size of sound queue (capacity 7)
$7E0059 16 bytes Sound Effect Sound effect queue, NOT all sounds currently playing, but instead all sound ID's (1 byte per) to be submitted for play at the current time; each frame the queue index decrements, meaning at most one sound submitted per frame
$7E0069 2 bytes Map World Map: Layer 1 scroll
Mirrored by $7E006D
$7E006B 2 bytes Misc. Yoshi's jump state, mirror of $7000C0
$7E006D 2 bytes Map World Map: Layer 2 scroll
$7E0072 2 bytes Map World Map: Current stage Yoshi sprite Y coordinate
$7E0073 2 bytes Misc. $0000: Camera is moving right
$0002: Camera is moving left
$7E0075 2 bytes Misc. $0000: Camera moving down
$0002: Camera moving up
$7E0076 2 bytes Map World Map: Current stage Yoshi sprite X coordinate
$7E0077 2 bytes Misc. Flag: A new column has been spawned in
$7E0079 2 bytes Map World Map: X Scroll destination
$7E0079 2 bytes Misc. Flag: A new row has been spawned in
$7E007B 2 bytes Layer 1 Tilemap VRAM foreground tilemap address of most recently loaded column
$7E007D 2 bytes Layer 1 Tilemap VRAM foreground tilemap address of most recently loaded row
$7E007F 2 bytes Layer 1 Tilemap 7E007B + 1 (right half of column)
$7E0081 2 bytes Layer 1 Tilemap 7E007D with $0400 bit flipped (even/odd counterpart of tilemap row)
$7E0083 2 bytes Misc. Negative camera X column of newly spawned row shifted to: 0000000000cccc00
$7E0085 2 bytes Layer 1 Tilemap 7E007D + $20 (bottom half of row)
$7E0087 2 bytes Misc. Camera X column + 1 of newly spawned row, shifted to: 0000000000cccc00
$7E0089 2 bytes Misc. Game Over screen state:
$0000: nothing
$0002: fading in
$0004: active
$0006: option chosen
$0008: load title screen
$7E0089 2 bytes Layer 1 Tilemap 7E0081 + $20 (second part of even/odd counterpart of tilemap row)
$7E008B 2 bytes Misc. Most recently spawned row's Y coordinate
$7E0091 8 bytes Misc. Game Over screen: Letter rotation values (Y axis), 1 byte per letter, from right to left ('R', 'E', ... 'A', 'G')
$7E0099 8 bytes Misc. Game Over screen: Letter rotation values (X axis), 1 byte per letter, letters from right to left ('R', 'E', ... 'A', 'G')
$7E00A1 16 bytes Misc. Game Over screen: Letter X coordinates, 1 word per letter, from left to right ('G', 'A', .. 'E', 'R')
$7E00B1 16 bytes Misc. Game Over screen: Letter Y coordinates, 1 word per letter, from left to right ('G', 'A', .. 'E', 'R')
$7E00C1 2 bytes Misc. Game Over screen: Scale value (size) of letters
$7E00C3 2 bytes Misc. Game Over screen: Current option selected ($00 = yes, $02 = no)
$7E00C5 2 bytes Misc. Game Over screen: Rotational velocity of letters (both X and Y axes)
$7E00C8 2 bytes Timer Game Over screen: Frame timer (counts down) of waiting before letter rotation restarts
$7E00CA 2 bytes Timer Game Over screen: Frame timer (counts up until $0200) for how long to wait until options appear
$7E00CC 53 bytes Empty Unused RAM, cleared (with $00) during every loading screen
$7E0100 1 byte Empty This area never gets initialized or emptied.
$7E0101 15 bytes ASM Interrupt jumps: NMI jumps to $7E0108, IRQ to $7E010C
Copy of $008140-$00814E
$7E0111 7 bytes Empty This area never gets initialized or emptied.
$7E0118 2 bytes Misc. Game Mode. You can find the list of valid values here.
$7E011B 1 byte Misc. Full Game Mode completion flag

$00: Game Mode still running (set by NMI/IRQ)
$FF: Game Mode complete (set by end of game loop)
$7E011C 1 byte Misc. NMI & IRQ Mode
$00: Nintendo Logo
$02: Normal Level Mode
$04: Offset-per-tile Level Modes (1-7/6-4)
$06: Island Scenes
$08: Story Cutscene / Credits
$0A: Mode 7 bosses (Hookbill/Raphael)
$0C: World Map
$0E: Bonus & Bandit Games
$7E011D 2 bytes Misc. Mirror of hardware register $210D (BG1 Horizontal Scroll); since this register is write-twice, this is the full 16-bit mirror, it will write $7E011D and then $7E011E
$7E011F 2 bytes Coordinate Mirror of hardware register $210E (BG1 Vertical Scroll); since this register is write-twice, this is the full 16-bit mirror, it will write $7E011F and then $7E0120
$7E0121 1 byte Misc. Flag for level loading with stage intro text ($02 if true)
$7E0125 1 byte Misc. IRQ Counter
Expected values are 0 to 2
$7E0126 1 byte ASM Main IRQ Mode
$00: Default
$02: Story Cutscene
$04: Credits
$06: Bonus/Bandit Games
$7E012D 1 byte Super FX SCBR (register $3038) mirror, used by GSU init
$7E012E 1 byte Super FX SCMR (register $303A) mirror, used by GSU init
$7E012F 1 byte Debug (Used by debug routine at $0080F8) Frame advance flag: #$00 = disable frame advance, #$01 = enable frame advance
$7E0130 1 byte Debug (Used by debug routine at $0080F8) Frame advance timer: When L or R is pressed on Controller 2 and frame advance flag at $012F is set, skips game mode code and decrements once per frame until it reaches 0, then next frame runs game mode code for one frame.
Cleared when frame advance flag is set and neither L nor R is pressed on Controller 2.
$7E0131 2 bytes Timer Island: Frame counter
$7E0134 2 bytes Level Data Level header: Background color
$7E0136 2 bytes Level Data Level header: BG1 Tileset
$7E0138 2 bytes Level Data Level header: BG1 Palette
$7E013A 2 bytes Level Data Level header: BG2 Tileset
$7E013C 2 bytes Level Data Level header: BG2 Palette
$7E013E 2 bytes Level Data Level header: BG3 Tileset
  • Pages:
  • 1
  • 2
  • 3
  • 4
  • 5
  • 19
  • 20