It is currently Sun Nov 18, 2018 1:16 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Thu Apr 13, 2006 10:12 pm 
Offline
User avatar

Joined: Sun Mar 19, 2006 12:37 am
Posts: 223
Location: San ANto, TX
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


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 14, 2006 12:24 am 
Offline
User avatar

Joined: Wed Sep 07, 2005 9:55 am
Posts: 336
Location: Phoenix, AZ
are you asking how to draw to a specific point on the screen or how to draw a specific tile


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 14, 2006 12:56 am 
Offline
User avatar

Joined: Sun Mar 19, 2006 12:37 am
Posts: 223
Location: San ANto, TX
Both i guess. If one will help understand the other better go for it.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 14, 2006 12:57 am 
Offline
Site Admin
User avatar

Joined: Mon Sep 20, 2004 6:04 am
Posts: 3583
Location: Indianapolis
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. :)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 14, 2006 7:21 am 
Offline
User avatar

Joined: Sun Mar 19, 2006 12:37 am
Posts: 223
Location: San ANto, TX
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 ?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 14, 2006 9:45 am 
Offline
Site Admin
User avatar

Joined: Mon Sep 20, 2004 6:04 am
Posts: 3583
Location: Indianapolis
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: pwnskar and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group