N64® Functions Menu

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

Nintendo® Confidential

## gDPFullSync [macro]

Syntax

    #include <ultra64.h>  /* gbi.h */
    gDPFullSync(Gfx *gdl)
    gsDPFullSync(void)

Arguments

- gdl is the display list pointer.

Explanation
Generates an OS_EVENT_DP event to indicate that processing of the final command in the RDP pipeline has been completed.

For details, see Section 12.2.2 "Synchronization," in the N64 Online Programming Manual.

Notes
The gDPFullSync macro must be the final command sent to the RDP during a frame.

Example

    /* RSP initial settings */
        gSPSegment(gp++, 0, 0x0);
    /* Rendering process  */
        gDPPipeSync(gp++);    // Get synchronized
        gDPSetCycleType(gp++, G_CYC_FILL);    // Set the cycle type
        gDPSetRenderMode(gp++, G_RM_OPA_SURF, G_RM_OPA_SURF2);    // Set the rendering mode
        gDPSetFillColor(gp++, (GPACK_RGBA5551(255,255,255,1)<<16
                | GPACK_RGBA5551(255,255,255,1)));    // Set fill color
        gDPFillRectangle(gp++, 30, 200, 30, 207);    // Draw solid-color rectangle
    /* Signal that RDP has completed final process */
        gDPFullSync(gp++);
    /* Signal the end of the display list */
        gSPEndDisplayList(gp++);

See Also
gSPEndDisplayList

Revision History
2/1/99 Completely rewritten.

Nintendo® Confidential Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.
Copyright © 1998-1999
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last Updated April, 1999