![]() |
![]() |
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 (TX), 4 KB of texture memory (TMEM), a Texture Filter Unit (TF), a Color Combiner (CC), a Blender (BL), and a Memory Interface (MI).
The RS rasterizes triangles and rectangles. The TX samples textures 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. 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, to read the framebuffer for blending, to 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 Section 12, “RDP Programming,” for more information on the RDP.
Video Interface
For more information on how to set one of the 28 video modes and control the special features, see the man page for osViSetMode (3P). Section 8.8.3, “Video Interface (VI) Functions” contains information about the video interface.
Audio Interface
Parallel Interface
Serial 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.
The audio interface reads audio data out of main memory and generates the stereo audio signal. Please see Section 17, “The Audio Library” and Section 8.8.4, “Audio Interface (AI) Functions” for more information.
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 Section 8.8.5, "Peripheral (PI) Interface Functions" for the list of PI functions.
The serial interface connects the RCP with the game controllers through the PIF chip. 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 Section 8.8.6, for a list of the Controller functions.
Copyright © 1999
Nintendo of America Inc. All Rights Reserved
Nintendo and N64 are registered trademarks of Nintendo
Last Updated January, 1999