al - Audio Library Functions gDP - DP GBI Macros gdSP - General GBI Macros gSP - SP GBI Macros gt - Turbo Microcode RDP gu - Graphics Utilities Math - Math Functions nuSys - NuSystem os - N64 Operating System sp - Sprite Library Functions uh - Host to Target IO 64DD - N64 Disk Drive
|
guParseRdpDLFormat#include "gu.h" void guParseRdpDL(u64 *rdp_dl, u64 nbytes, u8 flags)Arguments
It dumps the Reality Display Processor (RDP) display list in human readable form and also checks for common errors in the display list. For this to work correctly, you must be running the dlprint tool on the host Indy. Optionally, you can print information about the area of each primitive and the number of spans in a primitive. Commands are classified to be either primitive, attribute, sync, or load commands and a summary of the number of each command type is printed after the display list dump. The RDP display list is the output of the graphics microcode running on the Reality Signal Processor (RSP). Using the proper microcode (microcode with a suffix of .dram), the RSP will output its display list to a DRAM buffer provided by the programmer. Once in DRAM, guParseRdpDL can be used to print the display list. The display list in DRAM can be sent to the RDP by using the osDpSetNextBuffer function. This method is useful to isolate problems between the application, the RSP, and the RDP. Note that the guParseRdpDL function cannot be used with non-DRAM microcode (that is, microcode without the .dram suffix). guParseRdpDL detects the following conditions:
There are no estimates for the number of cycles it takes to load a texture. The checks for syncs are not always foolproof. The area calculation for triangles sometimes reports incorrect values. Estimated clocks does not take into account DRAM latency, cycle type, Read/Modify/Write mode, and so on. Therefore they should be used only as an optimistic estimate of display list performance. See Also dlprint guParseGbiDL alParseAbiCL osSpTaskLoad osDpSetNextBuffer
|