aSegment.3p 769 Bytes
.TH aSegment 3P local "Silicon Graphics, Inc."
.SH NAME
aSegment \- set segment registers with base address
.SH C SPECIFICATION
#include "mbi.h"
.br
.sp
aSegment(Acmd *pkt, int seg, int base)
.SH PARAMETERS
.TP 10
.I pkt
Audio command list pointer.
.TP
.I seg
segment number.
There are 16 segment registers indexed 0-15.
.TP
.I base
physical address base.
.SH DESCRIPTION
All pointers embedded in the Reality Coprocessor audio command list are
segment addresses composed of a segment base and offset address.
The base physical addresses for these segments are set using the
.I aSegment
command.
The actual addresses read by the RSP go thru the following translation:
.Ex
real_address = base_address[segment_number] + offset.
.Ee
.SH SEE ALSO
.IR VirtualToPhysical (3P)