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="Microsoft FrontPage 5.0">
7<META http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
9<title>GXInitFifoPtrs</title>
10</head>
11
12<body>
13
14<h1 align="left">GXInitFifoPtrs</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/gx.h&gt;
19
20void GXInitFifoPtrs(
21    <a href="../Structures/GXFifoObj.html">GXFifoObj</a>*  fifo,
22    void*       read_ptr,
23    void*       write_ptr );
24</pre></dd></dl>
25
26<h2>Arguments</h2>
27<TABLE class="arguments" border="1" >
28  <tr>
29<TH>fifo</TH>
30<TD>A pointer to the FIFO structure.</TD>
31  </tr>
32  <tr>
33<TH>read_ptr</TH>
34<TD>Pointer used to set the FIFO read pointer. 32-byte aligned.</TD>
35  </tr>
36  <tr>
37<TH>write_ptr</TH>
38<TD>Pointer used to set the FIFO write pointer. 32-byte aligned.</TD>
39  </tr>
40</TABLE>
41
42<h2>Return Values</h2>
43<p>None.</p>
44
45<H2>Description</H2>
46<P>This function sets the <SPAN class="argument">fifo</SPAN> read and write pointers.&nbsp;This is normally done only during initialization of the FIFO.&nbsp;After that, the graphics hardware manages the FIFO pointers.</P>
47
48<h2>See Also</h2>
49<P class="reference">
50<A href="GXGetFifoBase.html">GXInitFifoBase</A>,
51<A href="GXInitFifoLimits.html">GXInitFifoLimits</A>,
52<A href="GXSetCPUFifo.html">GXSetCPUFifo</A>,
53<A href="GXSetGPFifo.html">GXSetGPFifo</A>
54</p>
55
56<H2>Revision History</H2>
57<P>
582007/03/05 Deleted old content in the Description section.<br>2006/03/01 Initial version.<br>
59</P>
60
61<hr><p>CONFIDENTIAL</p></body>
62</html>