-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRAM map.txt
28 lines (28 loc) · 1.13 KB
/
RAM map.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$02000000 SHORT Snake current size
$02000002 BYTE Snake facing direction
$02000003 BYTE Game speed
$02000004 BYTE 1 if counter has ever been used
$02000005 BYTE Buttons being pressed
$02000006 SHORT Egg coordinates
$02000008 WORD RNG seed
$0200000C BYTE This byte is set after the first time RNG is used
$0200000D BYTE Game state
$0200000E SHORT Snake new size
$02000010 BYTE Update background map 0 flag
$02000011 BYTE Update background map 1 flag
$02000012 BYTE Update background map 2 flag
$02000013 BYTE Update background map 3 flag
$02000014 BYTE Tile to use for egg
$02000015 BYTE Current fade coeficient
$02000016 SHORT Length of list at $02005000
$02000018 SHORT FPS counter last time logic was ran
$0200001A SHORT Previous position of tail (used for the list at $02005000), 0 if the snek just grew
...
$02000020 LIST Snake body piece coordinates
...
$02005000 LIST Buffer with available tiles for eggs, updated when the snake moves
...
$02005500 WORD Current song samples played
$02005504 POIN Current song
$02005508 WORD Current sfx samples played
$0200550C POIN Current sfx