Tetris DX/RAM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
m (Xkeeper moved page Tetris DX:RAM map to Tetris DX/RAM map: normalize subpages and titles)
(No difference)

Revision as of 02:42, 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