Tetris DX/RAM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 7: Line 7:
0:C280-C2FF      80      Current BG and OBJ color palettes, taking into account fade transitions
0:C280-C2FF      80      Current BG and OBJ color palettes, taking into account fade transitions


0:AF80          1      X position of current piece (left=1)
0:AF81          1      Y position of current piece (top=0)
0:AF82          1      Rotation state of current piece
0:AF83          1      Piece counter; increments after each piece and ranges from 0-6
0:AF83          1      Piece counter; increments after each piece and ranges from 0-6
0:AF84          1      Next piece
0:AF84          1      Next piece
Line 12: Line 15:
0:AFB0          1      Previous piece
0:AFB0          1      Previous piece
</pre>
</pre>
{{Internal Data}}

Latest revision as of 14:33, 24 January 2024

Chip tiny.png The following article is a RAM map for Tetris DX.

Address          Size    Notes
-------          ----    -----
0:C200-C27F      80      Initial BG and OBJ color palettes
0:C280-C2FF      80      Current BG and OBJ color palettes, taking into account fade transitions

0:AF80           1       X position of current piece (left=1)
0:AF81           1       Y position of current piece (top=0)
0:AF82           1       Rotation state of current piece
0:AF83           1       Piece counter; increments after each piece and ranges from 0-6
0:AF84           1       Next piece
0:AF85           1       Current piece
0:AFB0           1       Previous piece