Sets the segment register and the base address
#include <ultra64.h> /* gbi.h */ gSPSegment(Gfx *gdl, s32 seg, s32 base) gsSPSegment( s32 seg, s32 base)
Sets the base physical address of the segment. All pointers in the display list in the Reality Co-Processor (RCP) are segment addresses composed of a segment base and offset address. The actual addresses are calculated by the Reality Signal Processor (RSP) using the following translation:
Physical address = Base address [Segment ID] + Offset
For details, see Section 10.2, "Mixing CPU and SP Data," and Section 11.1.2, "Segmented Memory and the RSP Memory Map" in the N64 Programming Manual.
02/01/99 Entirely revised.