It is currently Sat Oct 21, 2017 5:27 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sat Aug 20, 2016 6:00 pm 
Offline

Joined: Sun Apr 26, 2015 8:16 am
Posts: 7
I was reading over the wikipedia page for the PPU here:

https://en.wikipedia.org/wiki/Picture_Processing_Unit

And saw these "Key features":
Quote:
2 kB of external RAM to store tile layout and auxiliary color information for background graphics (commonly referred to as nametables)
256 bytes of internal DRAM for sprite attribute storage. This is measured in the amount of address space consumed; not every bit of every byte exists in the PPU.
32 bytes of internal SRAM for palette storage. As for sprite attribute storage, not all bits exist in the PPU.

I would assume that the external RAM is not actually on the chip (hence external). It does state that sprite DRAM is internal... Does that mean its physically located on the chip? Is this also true for the palettes?


Top
 Profile  
 
PostPosted: Sat Aug 20, 2016 6:22 pm 
Offline
User avatar

Joined: Sun Sep 19, 2004 10:59 pm
Posts: 1389
They're both entirely on the chip itself - if you look at the Visual 2C02 (or the layer images from which it was derived), you can see exactly where they are (sprite RAM is most of the upper-right corner of the chip, and the palette is a small area left center).

Technically, the Sprite DRAM is 2112 bits (8+8+5+8 bits for each of the 64 sprites, plus another 32 bytes for "secondary OAM" used during rendering), and the Palette SRAM is 168 bits (28x6 bits, since addresses 10/14/18/1C are mirrors of 00/04/08/0C).

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


Last edited by Quietust on Sun Aug 21, 2016 6:14 am, edited 2 times in total.

Top
 Profile  
 
PostPosted: Sat Aug 20, 2016 6:25 pm 
Offline
User avatar

Joined: Sat Feb 12, 2005 9:43 pm
Posts: 10065
Location: Rio de Janeiro - Brazil
NewDietCoke248903 wrote:
I would assume that the external RAM is not actually on the chip (hence external). It does state that sprite DRAM is internal... Does that mean its physically located on the chip? Is this also true for the palettes?

Yes, OAM and palette RAM are inside the PPU chip, while an external (to the PPU, but still inside the NES) 2KB chip holds the name/attribute tables. In addition to that, the pattern tables are normally inside the cartridge, in either ROM or RAM form.

Configuration of the external memories is quite flexible though, so a cartridge can completely disable the 2KB VRAM chip inside the NES and use its own RAM chip for more name tables, or do the exact opposite and not offer any video memory, using the stock 2KB for both name tables and patterns, at the cost of severely reducing the amount of unique tiles available to the game. No commercial games ever used that last setup, but it is possible.


Top
 Profile  
 
PostPosted: Sun Aug 21, 2016 11:47 pm 
Offline
User avatar

Joined: Wed Nov 25, 2015 7:54 pm
Posts: 41
tokumaru wrote:
NewDietCoke248903 wrote:
or do the exact opposite and not offer any video memory, using the stock 2KB for both name tables and patterns, at the cost of severely reducing the amount of unique tiles available to the game. No commercial games ever used that last setup, but it is possible.


http://wiki.nesdev.com/w/index.php/INES_Mapper_218


Top
 Profile  
 
PostPosted: Mon Aug 22, 2016 7:12 am 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19113
Location: NE Indiana, USA (NTSC)
Quote:
Quote:
No commercial games ever used that last setup

Mapper 218

That depends on whether Magic Floor is "commercial". Anything sold on cartridge is "commercial" in the plain sense of the word. But a lot of sites cataloging releases restrict their scope to pre-1997 or full-time productions. BootlegGames, for example, has a scope approximating "commercial, unlicensed, and full-time" in order to accept Action 52 while rejecting Action 53.


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

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 6 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