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
17<h2>C Specification</h2>
18
19<dl>
20<dd><PRE><CODE>#include &lt;revolution/gx.h&gt;</CODE></PRE>
21  </dd>
22<dd><pre>void GXInitFifoPtrs(
23<a href="../Structures/GXFifoObj.html">GXFifoObj</a>*  fifo,
24void*       read_ptr,
25void*       write_ptr );</pre>
26  </dd>
27</dl>
28
29<h2>Arguments</h2>
30<div align="left">
31<TABLE border="1" cellpadding="3" cellspacing="0.1">
32  <tr>
33<TD width="120" bgcolor="#ffffe8"><code><strong><em>fifo</em></strong></code></TD>
34<TD width="520">Pointer to the FIFO structure.</TD>
35    </tr>
36  <tr>
37<TD width="120" bgcolor="#ffffe8"><code><strong><em>read_ptr</em></strong></code></TD>
38<TD width="520">Pointer used to set the FIFO read pointer. <BR>32-byte aligned.</TD>
39    </tr>
40  <tr>
41<TD width="120" bgcolor="#ffffe8"><code><strong><em>write_ptr</em></strong></code></TD>
42<TD width="520">Pointer used to set the FIFO write pointer. <BR>32-byte aligned.</TD>
43    </tr>
44</TABLE>
45</div>
46
47<h2>Return Values</h2>
48
49<p>None.</p>
50<H2>Description</H2>
51<P>The function will set the <em><strong><code>fifo</code></strong></em> 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>
52
53
54<h2>See Also</h2>
55
56<p><a href="GXGetFifoBase.html">GXInitFifoBase</a><a href="GXInitFifoLimits.html"><br> GXInitFifoLimits</a><a href="GXSetCPUFifo.html"><br> GXSetCPUFifo</a><br> <a href="GXSetGPFifo.html">GXSetGPFifo</a></p>
57<H2>Revision History</H2>
58<P>
592007/03/05 In the <B>Description</B> section, deleted the old description.<br>2006/03/01 Initial version.
60</P>
61<hr><p>CONFIDENTIAL</p></body>
62</html>