Spot: The Video Game (NES)/RAM map

From Data Crystal
< Spot: The Video Game (NES)
Revision as of 23:53, 3 September 2017 by Zeroone (talk | contribs) (Creating Spot: The Video Game RAM Map)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Chip tiny.png The following article is a RAM map for Spot: The Video Game (NES).

RAM Map

Address Size    Description
------- ----    -----------
0000       1    Gamepad 1 buttons
0001       1    Gamepad 2 buttons
0002       1    Gamepad 3 buttons (NES / Famicom multitap)
0003       1    Gamepad 4 buttons (NES / Famicom multitap)
0004       1    Famicom multitap gamepad 3
0005       1    Famicom multitap gamepad 4
0006       1    NES multitap gamepad 3
0007       1    NES multitap gamepad 4
0008       1    Used to detected Famicom multitap gamepad 3
0009       1    Used to detected Famicom multitap gamepad 4
000A       1    Used to detected NES multitap gamepad 3
000B       1    Used to detected NES multitap gamepad 4
0017       1    mode: 00=copyright screen, 03=displaying playfield, 05=title
0029       1    cell location of hand cursor (00-30)
003C       1    02 indicates human playing
0042       1    current player (00-03)
035F       1    00 = spot not displayed, 01 = animated spot displayed
037F       1    01 = animating spot, 02 = not animating spot
0380      49    game board
05C3       1    secret spot square for bonus game (00-30, FF=used)
05C9       1    player 1 setting: 01-05 = AI level, 06 = human
05CA       1    player 2 setting: 01-05 = AI level, 06 = human
05CB       1    player 3 setting: 01-05 = AI level, 06 = human
05CC       1    player 4 setting: 01-05 = AI level, 06 = human
05D1       1    player 1 type: 00 = none, 01 = human, 05 = AI
05D2       1    player 2 type: 00 = none, 01 = human, 05 = AI
05D3       1    player 3 type: 00 = none, 01 = human, 05 = AI
05D4       1    player 4 type: 00 = none, 01 = human, 05 = AI
05E9       4    piece counts, lower decimal digits
05ED       4    piece counts, upper decimal digits
0632       1    set to 0F during bonus game
0642       3    bonus game reel positions, 00-13 (00=spot [free turn], 04=cherry [cheat move], 08=Arcadia [swap players], 0C=7UP [+7 sec])
0645       1    playing mode: 00 = not playing or bonus game, else playing
0649       1    bonus game number of stopped reels

Game board

The game board is a 7×7 grid represented by 49 bytes starting at $0380. Each square may be empty, occupied by one of four player pieces or marked as solid (unreachable) by the board editor. However, to ensure that gameplay is always possible, a few square are designated as never solid (always reachable).

00 = empty
01 = yellow (player 1)
02 = blue   (player 2)
03 = red    (player 3)
04 = green  (player 4)
40 = empty, never solid / always reachable
41 = yellow (player 1), never solid / always reachable
42 = blue   (player 2), never solid / always reachable
43 = red    (player 3), never solid / always reachable
44 = green  (player 4), never solid / always reachable
80 = solid / unreachable