How do i find the pattern table tile numbers so that i can udapte them on the screen?
Which program can i use to find them if so?
Heres and example of where im at:
vwait:
lda $2002 ;wait
bpl vwait
lda #$20 ;set ppu to start of VRAM
sta $2006
lda #$20
sta $2006
lda #$48 ;write pattern table tile numbers to the name table
sta $2007
lda #$65
sta $2007
lda #$6C
sta $2007
lda #$6C
sta $2007
lda #$6F
sta $2007
are you asking how to draw to a specific point on the screen or how to draw a specific tile
Both i guess. If one will help understand the other better go for it.
If the CHR editor you use doesn't display the tile #, you can always count (or use an emulator with a pattern table viewer, I know NESticle did but there must be a better one too). You have to be able to see all the tiles either way.
To count, you just figure there's 16 rows and 16 columns. The horizontal row is the first hex digit, and the vertical column is the second hex digit. It's low-tech, but I do that a lot.
I know this a stupid question but in a Tile Editor you have 4 nametables each 16x16. Do each Nameable start of from 01,02, etc? Or do they all count together? Does anyone have any other info on the name tables? Are Attribues tables and patterntables seprate from the name table ?
Yeah, pattern, attrib, and name tables are all seperate. Name table is 32x30, attrib is 16x15 (and effectively a little smaller, since NTSC tv's don't display the very top and bottom).
I'm not sure what you mean by where they start from and count together.