Difference between revisions of "A Nightmare on Elm Street (NES):RAM map"

From Data Crystal
Jump to navigation Jump to search
(Created page with "{{rammap|game=A Nightmare on Elm Street (NES)}} {| border="2" cellpadding="5" style="border-collapse: collapse;text-align: left;" |'''Address''' ||'''Entry size''' || '''# o...")
 
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
{| border="2" cellpadding="5" style="border-collapse: collapse;text-align: left;"
 
{| border="2" cellpadding="5" style="border-collapse: collapse;text-align: left;"
 
|'''Address'''  ||'''Entry size''' || '''# of entries''' || '''Description''' || '''Notes'''
 
|'''Address'''  ||'''Entry size''' || '''# of entries''' || '''Description''' || '''Notes'''
 +
|-
 +
|$0113||1 byte||1||Boss HP||
 
|-
 
|-
 
|$0139||1 byte||4||# of lives for each player||
 
|$0139||1 byte||4||# of lives for each player||
 +
|-
 +
|$03F4||1 byte||4||X-position for each player<br>(low byte)||Subpixels
 +
|-
 +
|$040B||1 byte||4||X-position for each player<br>(mid byte)||Pixels
 +
|-
 +
|$0422||1 byte||4||X-position for each player<br>(mid byte)||Screen sections
 +
|-
 +
|$0439||1 byte||4||X-speed for each player<br>(low byte)||Subpixels/frame (unsigned)
 +
|-
 +
|$0450||1 byte||4||X-speed for each player<br>(high byte)||Pixels/frame (unsigned)
 
|-
 
|-
 
|$069A||1 byte||4||"Game over" flag for each player||
 
|$069A||1 byte||4||"Game over" flag for each player||
Line 10: Line 22:
 
*<b>01</b> = Game over (or not selected)
 
*<b>01</b> = Game over (or not selected)
 
|-
 
|-
|$06AE||1 byte||4||X-position for each player (low byte)||
+
|$06AE||1 byte||4||X-position for each player sprite<br>(low byte)||Pixels
 
|-
 
|-
|$06B2||1 byte||4||X-position for each player (high byte)||
+
|$06B2||1 byte||4||X-position for each player sprite<br>(high byte)||Screen sections
 
|-
 
|-
|$06C8||1 byte||4||Sleep meter for each player (high byte)||Units of on-screen meter
+
|$06C8||1 byte||4||Sleep meter for each player<br>(high byte)||Units of on-screen meter
 
|-
 
|-
|$06CC||1 byte||4||Sleep meter for each player (low byte)||
+
|$06CC||1 byte||4||Sleep meter for each player<br>(low byte)||
 
|-
 
|-
 
|}
 
|}

Latest revision as of 16:46, 20 May 2019

Address Entry size # of entries Description Notes
$0113 1 byte 1 Boss HP
$0139 1 byte 4 # of lives for each player
$03F4 1 byte 4 X-position for each player
(low byte)
Subpixels
$040B 1 byte 4 X-position for each player
(mid byte)
Pixels
$0422 1 byte 4 X-position for each player
(mid byte)
Screen sections
$0439 1 byte 4 X-speed for each player
(low byte)
Subpixels/frame (unsigned)
$0450 1 byte 4 X-speed for each player
(high byte)
Pixels/frame (unsigned)
$069A 1 byte 4 "Game over" flag for each player
  • 00 = Playable
  • 01 = Game over (or not selected)
$06AE 1 byte 4 X-position for each player sprite
(low byte)
Pixels
$06B2 1 byte 4 X-position for each player sprite
(high byte)
Screen sections
$06C8 1 byte 4 Sleep meter for each player
(high byte)
Units of on-screen meter
$06CC 1 byte 4 Sleep meter for each player
(low byte)