1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<TITLE>CTRDG_Write*</TITLE>
8<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">CTRDG_Write* <IMG src="../image/NTR.gif" align="middle"></H1>
12<H2>Syntax</H2>
13<DL>
14  <DD>
15  <PRE><CODE>#include &lt;nitro/ctrdg.h&gt;</CODE></PRE>
16  <PRE><CODE>BOOL CTRDG_Write8( u8* address, u8 data );
17BOOL CTRDG_Write16( u16* address, u16 data );
18BOOL CTRDG_Write32( u32* address, u32 data );
19
20  </CODE></PRE>
21</DL>
22<H2>Arguments</H2>
23<TABLE border="1">
24  <TBODY>
25    <TR>
26      <TD><B><I>address</I></B></TD>
27      <TD>The write address.</TD>
28    </TR>
29    <TR>
30      <TD><B><I>data</I></B></TD>
31      <TD>The data to write.</TD>
32    </TR>
33  </TBODY>
34</TABLE>
35<H2>Return Values</H2>
36<P>Returns a value of TRUE if the write succeeds. Returns a value of FALSE when there is no Game Pak or if the write fails.</P>
37<H2>Description</H2>
38<P>This function writes to the Game Pak area.</P>
39<P><CODE>CTRDG_Write8()</CODE> writes 8-bit data.<BR><CODE>CTRDG_Write16()</CODE> writes 16-bit data.<BR><CODE>CTRDG_Write32()</CODE> writes 32-bit data.</P>
40<P>These functions do not set the access cycle. The access cycle must be set in advance.</P>
41<H2>See Also</H2>
42<P><CODE><A href="CTRDG_Init.html"><code>CTRDG_Init</code></A>, <A href="CTRDG_DmaCopy.html"><code>CTRDG_DmaCopy*</code></A>, <A href="CTRDG_CpuCopy.html"><code>CTRDG_CpuCopy*</code></A>, <A href="CTRDG_Read.html"><code>CTRDG_Read*</code></A><BR></CODE></P>
43<H2>Revision History</H2>
44<P>2004/09/17 Initial version.</P>
45<hr><p>CONFIDENTIAL</p></body>
46</HTML>
47