osInitialize.3p
793 Bytes
.TH osInitialize 3P local "Silicon Graphics, Inc."
.SH NAME
osInitialize \- perform hardware and software initialization procedures
.SH SYNOPSIS
.nf
\f3
.Op c
#include <ultra64.h>
.sp .8v
void osInitialize(void);
.Op
\f1
.fi
.SH DESCRIPTION
The
.I osInitialize
call initializes various hardware components and software data structures
internal to the Nintendo64. Specifically, this routine
.PP
.nf
.ta 6 20
1) enables the floating point control/status register to flush
all denormalized numbers to zero and to cause an invalid
operation exception when Not a Numbers (NaNs) are generated,
2) installs exception vectors, and
3) initializes TLB entry 31 for the debug port
.fi
.PP
This routine should be called upon application startup prior to
any interrupt or exception handling.