If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
Castlevania (NES, Famicom Disk System)/RAM map: Difference between revisions
Jump to navigation
Jump to search
Mariofan2468 (talk | contribs) No edit summary |
Mariofan2468 (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
|0x001A || Timer || Increments by 1 each frame. Resets each time you "change stage?" | |0x001A || Timer || Increments by 1 each frame. Resets each time you "change stage?" | ||
|- | |- | ||
|0x001E || Title Screen timer (time until demo mode) || Counts slowly (each 8 frames) up to 11 (until castle bat becomes close), | |0x001E || Title Screen timer (time until demo mode) || Counts slowly (each 8 frames) up to $11 (until castle bat becomes close), | ||
then (each frame) down from FF to 00. | then (each frame) down from $FF to $00. | ||
|- | |- | ||
|0x0022 || Paused || $01 = yes | |0x0022 || Paused || $01 = yes | ||
Line 94: | Line 94: | ||
|0x03A1 || Sub-weapon 2's X position (in screen) || | |0x03A1 || Sub-weapon 2's X position (in screen) || | ||
|- | |- | ||
|0x03A3 || Platform's X position (in screen) || | |0x03A3 || Platform 1's X position (in screen) || | ||
|- | |||
|0x03A4 || Platform 2's X position (in screen) || | |||
|- | |- | ||
|0x0450 || Direction Simon looks || $00 = right, $01 = left | |0x0450 || Direction Simon looks || $00 = right, $01 = left | ||
|- | |||
|0x0498-049A || Timers || Count down from $08 to $00. May be related to sprites in some way. | |||
|- | |- | ||
|0x0584 || Simon's state || $00 = standing, $01 = going right, $02 = going left, etc. | |0x0584 || Simon's state || $00 = standing, $01 = going right, $02 = going left, etc. |
Revision as of 19:49, 11 February 2018
The following article is a RAM map for Castlevania (NES, Famicom Disk System).
This page is rather stubbly and could use some expansion. Are you a bad enough dude to rescue this article? |
RAM | Function | Details |
0x0004 | RNG | Changes seemingly randomly. |
0x0007 | Title Bat Current sprite | May be used by something else. |
0x001A | Timer | Increments by 1 each frame. Resets each time you "change stage?" |
0x001E | Title Screen timer (time until demo mode) | Counts slowly (each 8 frames) up to $11 (until castle bat becomes close),
then (each frame) down from $FF to $00. |
0x0022 | Paused | $01 = yes |
0x0028 | Current Stage | |
0x002A | Number of Lives | |
0x002E | Camera's X position | |
0x003E | Is Simon on stairs | $00 = yes, $01 = no |
0x003F | Simon's Y position (in level) | |
0x0040 | Simon's X position (in level) | |
0x0042 | 1's and 10's place of Time in BCD | |
0x0043 | 100's and 1000's place of Time in BCD | |
0x0044 | Life Meter (Graphic) | 2 bars = +$08, Max = $40(64) |
0x0045 | Life Meter (Actual) | 2 bars = +$08, Max = $40(64) |
0x0070 | Whip length | Set to $00, $01, or $02. |
0x0071 | Number of Hearts | $00 to $63 (99 in decimal). |
0x00F7 | Player 1 Controller | Similar to Metroid's 0x0014. |
0x0159 | Simon's current image
(unknown use : dosen't seem to affect gameplay) |
$00=standing,
$01-03 = walk, $04 = jump and crouch, $05-07 = whip/sub-weapon, $0D-0E = walk up stairs, $0F-10 = walk down stairs, $12 = hurt $1C = dead $1D = collapsing |
0x0160 | Simon's screen position (in room) | |
0x0162 | Simon's screen position (in room) | not 0x0160. |
0x038C | Simon's X position (in screen) | |
0x0390 | Enemy 1's X position (in screen) | |
0x0391 | Enemy 2's X position (in screen) | |
0x0392 | Enemy 3's X position (in screen) | |
0x0393 | Boss 1?'s X position (in screen) | |
0x0395 | Bat/Medusa Head 1's X position (in screen) | |
0x0396 | Bat/Medusa Head 2's X position (in screen) | |
0x0397 | Bat/Medusa Head 3/Drac's Top Fireball's X position (in screen) | |
0x0398 | Bat/Medusa Head 4/Drac's Middle Fireball's X position (in screen) | |
0x0399 | Bat/Medusa Head 5/Drac's Bottom Fireball's X position (in screen) | |
0x03A0 | Sub-weapon 1's X position (in screen) | |
0x03A1 | Sub-weapon 2's X position (in screen) | |
0x03A3 | Platform 1's X position (in screen) | |
0x03A4 | Platform 2's X position (in screen) | |
0x0450 | Direction Simon looks | $00 = right, $01 = left |
0x0498-049A | Timers | Count down from $08 to $00. May be related to sprites in some way. |
0x0584 | Simon's state | $00 = standing, $01 = going right, $02 = going left, etc. |
Internal Data for Castlevania
| |
---|---|