Difference between revisions of "Kirby's Dream Land:RAM map"
Jump to navigation
Jump to search
Mariofan2468 (talk | contribs) (made the page not as bloated. also added a few addresses) |
Mariofan2468 (talk | contribs) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
{{stub}} | {{stub}} | ||
− | + | {| class="wikitable" | |
− | + | ! Address | |
− | + | ! width=80% | Function | |
− | + | |- | |
− | + | |<pre> | |
− | + | 0xC000 - 0xC09F | |
− | + | </pre> | |
− | + | |On-Screen Sprite Info, 4 bytes each(y position, x position, tile #, and other attributes). Copied to Object Attribute Memory (0xFE00 - 0xFE9F). | |
− | + | |- | |
− | + | |<pre> | |
− | + | 0xCA00 - 0xCAA3 | |
− | + | </pre> | |
− | + | |Tile Data for the current level | |
− | + | |- | |
− | + | |<pre> | |
− | + | 0xD02C | |
− | + | </pre> | |
− | + | |Game State ($01 = normal, $05 = drinking a bottle, $06 = warpstar or dying...) | |
− | + | |- | |
− | + | |<pre> | |
− | + | 0xD053 | |
− | + | </pre> | |
− | + | |Visual Scroll X. This only affects where tiles are drawn. | |
− | + | |- | |
+ | |<pre> | ||
+ | 0xD055 | ||
+ | </pre> | ||
+ | |Visual Scroll Y. This only affects where tiles are drawn. | ||
+ | |- | ||
+ | |<pre> | ||
+ | 0xD05C | ||
+ | </pre> | ||
+ | |Kirby's Actual X position relative the screen. Setting the value past $4C when not at the right edge of a level may cause issues with the game's collision detection. | ||
+ | |- | ||
+ | |<pre> | ||
+ | 0xD05D | ||
+ | </pre> | ||
+ | |Kirby's Actual Y position relative to the screen | ||
+ | |- | ||
+ | |<pre> | ||
+ | 0xD066 | ||
+ | </pre> | ||
+ | |Kirby's Inhale Timer. Set at $00 and incrementing at every frame when inhaling. Freezes when stopping inhaling. | ||
+ | |- | ||
+ | |<pre> | ||
+ | 0xD070 | ||
+ | </pre> | ||
+ | |Score (10000s place) | ||
+ | |- | ||
+ | |<pre> | ||
+ | 0xD071 | ||
+ | </pre> | ||
+ | |Score (1000s place) | ||
+ | |- | ||
+ | |<pre> | ||
+ | 0xD072 | ||
+ | </pre> | ||
+ | |Score (100s place) | ||
+ | |- | ||
+ | |<pre> | ||
+ | 0xD073 | ||
+ | </pre> | ||
+ | |Score (10s place) | ||
+ | |- | ||
+ | |<pre> | ||
+ | 0xD080 | ||
+ | </pre> | ||
+ | |Background Brightness/Contrast | ||
+ | |- | ||
+ | |<pre> | ||
+ | 0xD081 | ||
+ | </pre> | ||
+ | |Sprite Brightness/Contrast | ||
+ | |- | ||
+ | |<pre> | ||
+ | 0xD086 | ||
+ | </pre> | ||
+ | |Kirby's Current Health | ||
+ | |- | ||
+ | |<pre> | ||
+ | 0xD089 | ||
+ | </pre> | ||
+ | |Lives | ||
+ | |- | ||
+ | |<pre> | ||
+ | 0xD093 | ||
+ | </pre> | ||
+ | |Boss's Current Health | ||
+ | |- | ||
+ | |<pre> | ||
+ | 0xDE02 | ||
+ | </pre> | ||
+ | |Something to do with parts of the music | ||
+ | |- | ||
+ | |<pre> | ||
+ | 0xDE06 - 0xDE19 | ||
+ | </pre> | ||
+ | |Copied to sound registers (0xFF10 - 0xFF23) | ||
+ | |- | ||
{{Internal Data|game=Kirby's Dream Land}} | {{Internal Data|game=Kirby's Dream Land}} |
Latest revision as of 12:24, 5 August 2021
The following article is a RAM map for Kirby's Dream Land.
Address | Function |
---|---|
0xC000 - 0xC09F |
On-Screen Sprite Info, 4 bytes each(y position, x position, tile #, and other attributes). Copied to Object Attribute Memory (0xFE00 - 0xFE9F). |
0xCA00 - 0xCAA3 |
Tile Data for the current level |
0xD02C |
Game State ($01 = normal, $05 = drinking a bottle, $06 = warpstar or dying...) |
0xD053 |
Visual Scroll X. This only affects where tiles are drawn. |
0xD055 |
Visual Scroll Y. This only affects where tiles are drawn. |
0xD05C |
Kirby's Actual X position relative the screen. Setting the value past $4C when not at the right edge of a level may cause issues with the game's collision detection. |
0xD05D |
Kirby's Actual Y position relative to the screen |
0xD066 |
Kirby's Inhale Timer. Set at $00 and incrementing at every frame when inhaling. Freezes when stopping inhaling. |
0xD070 |
Score (10000s place) |
0xD071 |
Score (1000s place) |
0xD072 |
Score (100s place) |
0xD073 |
Score (10s place) |
0xD080 |
Background Brightness/Contrast |
0xD081 |
Sprite Brightness/Contrast |
0xD086 |
Kirby's Current Health |
0xD089 |
Lives |
0xD093 |
Boss's Current Health |
0xDE02 |
Something to do with parts of the music |
0xDE06 - 0xDE19 |
Copied to sound registers (0xFF10 - 0xFF23) |
Internal Data for Kirby's Dream Land |
---|
ROM Map • RAM Map • Text Table • Notes • Tutorials |