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

   

gSPZGetMtx

Format
gSPZGetMtx(Gfx *gp, u32 mid. Mtx *mptr)
Arguments
  • gp is the pointer to the graphics display list
  • mid is the matrix area (or user area) to be overwritten (the write destination)
  • mptr is the pointer to the write source in DRAM
What This Macro Does
This Z-Sort microcode GBI macro gets specified matrix data from DRAM and writes it to the specified matrix area (or user area) . Generally, GZM_MMTX, GZM_PMTX, or GZM_MPMTX is specified for the mid argument. However, the 128 bytes at the head of the user area can also be used. If so, specify GZM_USER0 and GZM_USER1 to use address 0-63 at the head of the user area and address 64-127 for the matrix area.

For detailed information on Z-Sort microcode's GBI macros and data structures, please see the "Z-Sort Microcode" area of the N64 Programming Manual.

See Also
Z-Sort Microcode
Z-Sort Microcode
gSPZRdpCmd
gSPZSetUMem
gSPZGetUMem
gSPZSetMtx
gSPZGetMtx
gSPZMtxCat
gSPZMtxTrnsp3x3
gSPZViewPort
gSPZMultMPMtx
gSPZSetAmbient
gSPZSetDefuse
gSPZSetLookAt
gSPZXfmLights
gSPZLight
gSPZLightMaterial
gSPZMixS16
gSPZMixS8
gSPZMixU8
gSPZSegment
gSPZSetSubDL
gSPZLinkSubDL
gSPZSendMessage
gSPZWaitSignal
gSPZSegment
gSPZPerspNormalize



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