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

   

gSPSetStatus

Format
gSPSetStatus(Gfx *gdl, u8 sid, u32 val)
gsSPSetStatus(u8 sid, u32 val)
Arguments
  • gdl is the pointer to the display list
  • sid is the status ID {0, 4, 8, or 12}
  • val is a value that you want to set
What This Macro Does
It assigns the value specified in the val argument to the status area (Status[sid]) specified by the sid argument. The status value is referenced for texture loading and making conditional branching decisions.

This macro is one of the following three new S2DEX microcode macros that make up the conditional DL branching GBI:
  • gSPSetStatus
  • gSPSelectDL
  • gSPSelectBranchDL
For detailed information on S2DEX microcode's GBI macros and data structures, please see the "S2DEX Microcode" area of the N64 Programming Manual.

See Also
S2DEX Microcode
guS2DInitBg


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
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last updated January 1998