3.4 Reality Display Processor (RDP)

The RDP is the graphics display pipeline that executes an RDP display list generated by the RSP and CPU. The RDP consists of a Rasterizer (RS), a Texture Unit (TU:TX+TF), 4 KB of texture memory (TMEM), a Color Combiner (CC), a Blender (BL), and a Memory Interface (MI).

The RS rasterizes triangles and rectangles. The TX samples texel (pixel of texture) loaded in TMEM. The TF filters the texture samples. The CC combines and interpolates between two colors. The BL blends the resulting pixels with pixels in the frame buffer and performs Z buffer and anitaliasing operations. (A technique to reduce the jagged (aliasing) edge effects by color smoothing between pixels.) The MI performs the read, modify, and write operations for the individual pixels at either one pixel per clock or one pixel for every two clocks. The MI also has special modes for loading the TMEM, filling rectangles (fast clears), and copying multiple pixels from the TMEM into the frame buffer (sprites).

The RDP accesses main memory using physical addresses to load the internal TMEM, read the framebuffer for blending, read the Z buffer for depth comparison, and to write the Z and frame buffers. The microcode on the RSP translates the segmented addresses in the task list into physical addresses.

The global state registers are used by all stages of the pipeline. There are a number of sync commands to provide synchronization. For example, a pipe sync is used before changing one of the rendering modes. This ensures that all previous rendering affected by the mode change occurs before the mode change.

The command list for the RDP usually comes directly from the RSP. However, it is possible to feed the RDP pipeline from a command list that has been stored in main memory.

Please see Chapter 12, "RDP Programming" for more information on the RDP.

UP


3.4.1 Video Interface

The video interface reads the data out of the framebuffer in main memory and generates the composite, S-video, and RGB signals. The video interface also performs the second pass of the antialias algorithm. The video interface works in either NTSC or PAL mode, and can display 15- or 24-bit color pixels, with or without filtering, at both high and low resolutions. The video interface can also scale up a smaller image to fill the screen. For more information on how to set one of the 28 video modes and control the special features, see the man page for "osViSetMode()",Chapter 8, "Input/Output Functionality"

UP


3.4.2 Audio Interface

The audio interface reads audio data out of main memory and generates the stereo audio signal. Please see Chapter 8, "Input/Output Functionality", Chapter 17, "The Audio Library" for more information.

UP


3.4.3 Parallel Interface

The parallel interface is the DMA engine that connects to the ROM cartridge. The PiManager thread is used to set up the actual DMA commands for all other threads. Please see Chapter 8, "Input/Output Functionality" for the list of PI functions.

UP


3.4.4 Serial Interface

The serial interface connects the RCP with the game controllers through the PIF chip. From the application you cannot inquire about the current state of each controller individually. To get the current state of the controllers, the application must send a command to query all the game controllers. The data will be available later. Please see Chapter 8, "Input/Output Functionality" for a list of the Controller functions.

UP