News:

11 March 2016 - Forum Rules

Main Menu

Nes tetris counter position help

Started by CAndiman, October 03, 2022, 07:18:27 AM

Previous topic - Next topic

CAndiman

Hello,
Its about nes tetris.
I need some help with the positions of level,score,topscore and line counter.


I seached for a long time in rom hex for the values that coordinates the positins of the counter from every single element/specific counter.

Can anybody help me to find that values?

Thanks CAndiman.....

Cyneprepou4uk

Tetris (U) [!].nes

Code locations with writes to $2006 register:
Lines = $9598
Top = $861D
Score = $961A
Level = $95F6

CAndiman

#2
Quote from: Cyneprepou4uk on October 03, 2022, 08:24:17 AMTetris (U) [!].nes

Code locations with writes to $2006 register:
Lines = $9598
Top = $861D
Score = $961A
Level = $95F6

Ok great i found it but i can't explain to myself what to do to move that counter.

I found the 22 and the BE (level)but all i get is shown or not show when i manipulate that values ....

Can you explain?

Sorry im an newbie ::)  :-[  :laugh:

Cyneprepou4uk

22 and BE are 16bit value $22BE, which specifies PPU position for nametable. Possible range is $2000-$23BF.

Try changing lower byte first, which is BE, to see how it works. Use Nametable Viewer in your emulator for referrence, hover a mouse over it to see an address.

CAndiman

Quote from: Cyneprepou4uk on October 03, 2022, 11:52:18 AM22 and BE are 16bit value $22BE, which specifies PPU position for nametable. Possible range is $2000-$23BF.

Try changing lower byte first, which is BE, to see how it works. Use Nametable Viewer in your emulator for referrence, hover a mouse over it to see an address.


Wow. It still works!
Many thanks for help! :woot!:  :beer: