Kirby's Dream Land/RAM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(added visual scroll addresses and such)
m (Xkeeper moved page Kirby's Dream Land:RAM map to Kirby's Dream Land/RAM map: normalize subpages and titles)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{rammap|game=Kirby's Dream Land}}
{{stub}}
{{stub}}
{| class="wikitable"
{| class="wikitable"
! Address
! Address
! width=40% | Function
! width=80% | Function
|-
|-
|<pre>
|<pre>
0x0000C000
0xC000 - 0xC09F
</pre>
</pre>
| The graphical Y position of the left half of Kirby's sprite
|On-Screen Sprite Info, 4 bytes each(y position, x position, tile #, and other attributes). Copied to Object Attribute Memory (0xFE00 - 0xFE9F).
|-
|-
|<pre>
|<pre>
0x0000C001
0xCA00 - 0xCAA3 
</pre>
</pre>
| The graphical X position of the left half of Kirby's sprite
|Tile Data for the current level
|-
|-
|<pre>
|<pre>
0x0000C002
0xD02C
</pre>
</pre>
| The ID of the tile that should be displayed as the left half of Kirby
|Game State ($01 = normal, $05 = drinking a bottle, $06 = warpstar or dying...)
|-
|-
|<pre>
|<pre>
0x0000C003
0xD053
</pre>
</pre>
| Something to do with variants or effects for the sprite being displayed as Kirby's left half
|Visual Scroll X. This only affects where tiles are drawn.
|-
|-
|<pre>
|<pre>
0x0000C004
0xD055
</pre>
</pre>
| The graphical Y position of the right half of Kirby's sprite
|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>
|<pre>
0x0000C005
0xD05D
</pre>
</pre>
| The graphical X position of the right half of Kirby's sprite
|Kirby's Actual Y position relative to the screen
|-
|-
|<pre>
|<pre>
0x0000C006
0xD066
</pre>
</pre>
| Something to do with Kirby's animation
|Kirby's Inhale Timer. Set at $00 and incrementing at every frame when inhaling. Freezes when stopping inhaling.
|-
|-
| <pre>
|<pre>
0x0000D053
0xD070
</pre>
|Score (10000s place)
|-
|<pre>
0xD071
</pre>
|Score (1000s place)
|-
|<pre>
0xD072
</pre>
</pre>
| Visual Scroll X. This does not affect collision detection or where sprites are drawn on the screen
|Score (100s place)
|-
|-
| <pre>
|<pre>
0x0000D055
0xD073
</pre>
</pre>
| Visual Scroll Y. This does not affect collision detection or where sprites are drawn on the screen
|Score (10s place)
|-
|-
| <pre>
|<pre>
0x0000D05C
0xD080
</pre>
</pre>
| Kirby's Actual X Position on the screen. Setting the value past 0x4C may cause issues with the game's collision detection.
|Background Brightness/Contrast
|-
|-
|<pre>
|<pre>
0x0000D05D
0xD081
</pre>
</pre>
| Kirby's Actual Y position on the screen
|Sprite Brightness/Contrast
|-
|-
| <pre>
|<pre>
0x0000D080
0xD086
</pre>
</pre>
| Background Brightness/Contrast
|Kirby's Current Health
|-
|-
| <pre>
|<pre>
0x0000D081
0xD089
</pre>
</pre>
| Sprite Brightness/Contrast
|Lives
|-
|-
| <pre>0x0000D086</pre>
|<pre>
| Health Bars
0xD093
</pre>
|Boss's Current Health
|-
|-
| <pre>
|<pre>
0x0000D089
0xDE02
</pre>
</pre>
| Lives
|Something to do with parts of the music
|-
|-
| <pre>
|<pre>
0x0000DE02
0xDE06 - 0xDE19
</pre>
</pre>
| Something to do with parts of the music
|Copied to sound registers (0xFF10 - 0xFF23)
|}
|-
 
{{Internal Data|game=Kirby's Dream Land}}

Latest revision as of 02:41, 24 January 2024

Chip tiny.png The following article is a RAM map for Kirby's Dream Land.

So very stubbly.
This page is rather stubbly and could use some expansion.
Are you a bad enough dude to rescue this article?
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)