1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>GX_Init</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">GX_Init <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></H1> 15<H2>Syntax</H2> 16 17<dl> 18 <dd> 19<PRE><CODE>#include <nitro/gx/gx.h> 20 21void GX_Init( void );<BR></CODE></PRE> 22 </dd> 23</dl><h2>Arguments</h2> 24<P>None.</P> 25<h2>Return Values</h2> 26<p>None.</p> 27<H2>Description</H2> 28<P>Initializes all graphics registers that are not 3D-related. This function calls <CODE><A href="GX_SetPower.html">GX_SetPower</A>(GX_POWER_ALL)</CODE>.<BR><BR> <FONT color="#800000">By default, GX functions use DMA 3. </FONT><BR>To change the DMA number to use, set a different DMA number with <A href="GX_InitEx.html"><CODE>GX_InitEx</CODE></A> or <A href="GX_SetDefaultDMA.html"><CODE>GX_SetDefaultDMA</CODE></A>.<br><br> <FONT color="#800000">Before calling this function, you must call the <A href="../../os/spinLock/OS_InitLock.html"><code>OS_InitLock</code></A> or <A href="../../os/init/OS_Init.html"><code>OS_Init</code></A> function.</FONT> 29</P> 30 31<h2>See Also</h2> 32<P><A href="../g3/G3X_Init.html"><CODE>G3X_Init</CODE></A><BR> <A href="../g3/G3X_Reset.html"><CODE>G3X_Reset</CODE></A><BR> <A href="../g3/G3X_InitTable.html"><CODE>G3X_InitTable</CODE></A><BR> <A href="GX_InitEx.html"><CODE>GX_InitEx</CODE></A><BR> <A href="GX_InitNDMAEx.html"><CODE>GX_InitNDMAEx</CODE></A></P> 33<H2>Revision History</H2> 34<P>2005/03/14 35 36Corrected link errors. 37</P> 38<P>2005/02/18 39 40Added warning that <code>OS_Init</code> must be called in advance. 41</P> 42<P>2004/02/09 43 44Changed so that <CODE>GX_SetPower</CODE> is called. 45</P> 46<P>2004/01/19 Initial version.</P> 47<hr><p>CONFIDENTIAL</p></body> 48</html> 49