Picture Processing Unit

Picture Processing Unit

The PPU (Picture Processing Unit), more specifically known as Ricoh RP2C02 (NTSC version) / RP2C07 (PAL version), is the microprocessor in the Nintendo Entertainment System responsible for generating video signals from graphic data stored in memory.

The chip is known for its effective use of memory, using very little memory to store graphical data. It was rather advanced for its time when the Famicom (Japanese version of the Nintendo Entertainment System) was released, sporting full sprite support, movable backgrounds, and many colors on screen at the same time. To compete with other video game systems, like the technically superior Sega Mega Drive, Nintendo also extended the PPU's technical capabilities through the use of mappers, placed on the game cartridge. The mappers added more memory or could bank switch data into the PPU's address space, making it possible to create more advanced graphics, using more colors and bigger tile sets.

Key features

*2KB external RAM for graphics information storage
*256 bytes for sprite data storage
*32 bytes for palette storage
*8 × 8 or 8 × 16 (selectable) sized tiles
*Two 4KB tile sets with space for 256 tiles each
*Up to 64 sprites (movable objects) on screen simultaneously (only 8 visible per scan line)
*25 colors simultaneously (although more colors are possible using programming tricks) from a hardware color palette of 64 colors
*Picture resolution of 256 × 240 pixels (fully visible on PAL, but cropped to 256 × 224 on most NTSC television sets)

Technical information

The PPU is controlled via eight registers visible in the CPU's address space in the addresses $2000 through $2007. All data and information is passed to the PPU through these, except the raw tile data, which is hardwired to the PPU's address space. The PPU uses the tile graphics data together with information stored by the program in the PPU's RAM, such as color and position, to render the final graphical output to the screen.

The lowest graphical components the PPU operates with are tiles, which are blocks of 8×8 or 8×16 pixels. The tiles are stored in a ROM chip on the game cartridge. The tiles are the basic building blocks, used to create larger moving objects, or large static backgrounds.

Essentially, the PPU supports two different kinds of objects: movable (sprites) and non-movable (background). Both kind of objects are basically a tile, and moreover a sprite and background object can use the same tile. The difference is that a tile used as a sprite can move around, whereas a tile used as a background cannot.

Sprite data is stored in a special memory called the "Sprite-RAM" or "SPR-RAM" for short, which is a 256-byte memory built into the PPU core. The data stored here is 4 bytes; the position, color and tile, for each of the 64 sprites. This data is used by the PPU to place the sprite when it renders the frame. Background objects, however, are stored in a much less exclusive way, which is more like the way characters are stored in text mode on PCs. A background is defined by a simple data structure called a nametable. It's basically a two dimensional array where each entry is the tile number of one tile in the background, and the entry's position is the tile's place on the screen. The PPU has, without the use of memory mappers, two nametables, so smooth scrolling between backgrounds is possible.

A color palette must be defined in order to show graphics on the screen. It is stored in a separate 32 byte location in RAM, known as "palette-RAM". Each entry here picks a color from the hardware color palette, which are the predefined colors to choose between. 16 colors can be chosen for sprites, and 16 colors for backgrounds. However, bytes 4, 8 and 12 of the sprite palette, and bytes 0, 4, 8, and 12 of the background palette, are not in use by the PPU. Therefore, the number of actually usable colors is reduced to 25 instead of 32. The first byte of the sprite palette also defines the global background color for both sprites and the background.

ee also

* Nintendo Entertainment System

External links

* [http://nesdev.parodius.com/NinTech.txt Technical information about the PPU]
* [http://nesdev.parodius.com/2C02%20technical%20reference.TXT Very detailed technical information]


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Picture Processing Unit —   [Abk. PPU, dt. »Bildverarbeitungseinheit«], die Bezeichnung von Nintendo für die in ihren älteren Spielekonsolen (z. B. Super NES Konsole) verwendete Grafikverarbeitungseinheit …   Universal-Lexikon

  • Unit still photographer — A unit still photographer or simply, stills photographer is a person who creates still photographic images specifically intended for use in the marketing and publicity of feature films in the motion picture industry and network television… …   Wikipedia

  • motion-picture technology — Introduction       the means for the production and showing of motion pictures. It includes not only the motion picture camera and projector but also such technologies as those involved in recording sound, in editing both picture and sound, in… …   Universalium

  • motion picture — motion picture, adj. 1. a sequence of consecutive pictures of objects photographed in motion by a specially designed camera (motion picture camera) and thrown on a screen by a projector (motion picture projector) in such rapid succession as to… …   Universalium

  • Digital Light Processing — The DLP Logo Further information: History of display technology Digital Light Processing (DLP) is a trademark owned by Texas Instruments, representing a technology used in some TVs and video projectors. It was originally developed in 1987 by Dr.… …   Wikipedia

  • information processing — Acquisition, recording, organization, retrieval, display, and dissemination of information. Today the term usually refers to computer based operations. Information processing consists of locating and capturing information, using software to… …   Universalium

  • Saturn V Instrument Unit — The Saturn V Instrument Unit is a ring shaped structure fitted to the top of the Saturn V rocket s third stage (S IVB) and the Saturn IB s second stage (S IVB). It was immediately below the SLA (Spacecraft/Lunar Module Adapter) panels that… …   Wikipedia

  • Address Generation Unit — DSP Grafikchip Ein Digitaler Signalprozessor (engl. digital signal processor, DSP) dient der kontinuierlichen Bearbeitung von digitalen Signalen (z. B. Audio oder Videosignale) durch die Digitale Signalverarbeitung. Zur Verarbeitung von analogen… …   Deutsch Wikipedia

  • mercury processing — Introduction       preparation of the ore for use in various products.       Mercury (Hg) has a unique combination of physical properties. Its low melting point (−38.87° C [−38° F]) and boiling point (356.9° C [674° F]), high specific gravity (13 …   Universalium

  • Nintendo Entertainment System — NES redirects here. For other uses, see NES (disambiguation). Family Computer redirects here. For the 1977 VideoBrain product, see VideoBrain Family Computer. Nintendo Entertainment System Nintendo Family Computer (Famicom) …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”