It is currently Sun Dec 17, 2017 10:56 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Thu Dec 05, 2013 9:59 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19353
Location: NE Indiana, USA (NTSC)
Here's how the set of available tiles relates to time: The PPU fetches backgrounds in 8x1 pixel slivers. During the fetch process for any sliver, the bank of 256 tiles at $0000 or $1000 can be used. This can be changed over time in one of three ways: by switching between $0000 and $1000 (mid-frame or even mid-scanline), by switching the CHR ROM bank that corresponds to PPU $0000 or $1000 using writes to mapper ports (mid-frame or even mid-scanline), or by overwriting the tile data in CHR RAM (during vertical or forced blanking only).

The way "at any one time" poses a problem is that if you have 4,000 different tiles that you want to put next to each other, you have to either A. organize them into sets of related tiles, which can involve a lot of duplication, or B. write them to CHR RAM. If you're trying to write Chinese characters, for example, you have to either prerender each phrase to CHR ROM (A with duplication) or render each phrase in software to CHR RAM (like the numerous TQROM-alikes). And there's just barely enough PPU address space to cover the whole screen at 1bpp, even with palette trickery and a bankswitch halfway down the screen.


Top
 Profile  
 
PostPosted: Fri Dec 06, 2013 8:53 am 
Offline
User avatar

Joined: Sun Sep 19, 2004 10:59 pm
Posts: 1393
tepples wrote:
The way "at any one time" poses a problem is that if you have 4,000 different tiles that you want to put next to each other, you have to either A. organize them into sets of related tiles, which can involve a lot of duplication, or B. write them to CHR RAM.

Or C. use a mapper which is capable of switching CHR ROM banks on a per-tile basis (namely, the MMC5), but that's rather costly if you want to make a physical cartridge.

_________________
Quietust, QMT Productions
P.S. If you don't get this note, let me know and I'll write you another.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2

All times are UTC - 7 hours


Who is online

Users browsing this forum: krzysiobal 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