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

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...")
 
No edit summary
Line 5: Line 5:
|-
|-
|$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 20:
*<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)||
|-
|-
|}
|}

Revision as of 21:34, 20 May 2019

Chip tiny.png The following article is a RAM map for A Nightmare on Elm Street (NES).

Address Entry size # of entries Description Notes
$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)