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 7.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>MI_SetCartridgeRomCycle1st</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">MI_SetCartridgeRomCycle1st <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<CODE>#include &lt;nitro/mi.h&gt;</CODE><BR>
20  <BR>
21  <CODE>void MI_SetCartridgeRomCycle1st( MICartridgeRomCycle1st c1 )</CODE></dd>
22</dl>
23<h2>Arguments</h2>
24<TABLE border="1" width="100%">
25  <TBODY>
26    <TR>
27      <TD width="13%"><EM><STRONG>c1</STRONG></EM></TD>
28      <TD width="87%">The 1st access cycle for access to the Game Pak's ROM region.</TD>
29    </TR>
30  </TBODY>
31</TABLE>
32
33<h2>Return Values</h2>
34<p>None.</p>
35
36<H2>Description</H2>
37<P>Sets the 1st access cycle for accessing the Game Pak's ROM region. The 2nd and subsequent access cycles are set using the function <A href="MI_SetCartridgeRomCycle2nd.html"><CODE>MI_SetCartridgeRomCycle2nd</CODE></A>. See the function reference for <CODE><A href="MI_SetAgbCartridgeFastestRomCycle.html">MI_SetAgbCartridgeFastestRomCycle</a></CODE> for access cycle calculation methods and precautions regarding AGB Game Paks.<br>
38</P>
39<P>The <b><i><code>c1</code></i></b> argument is an <code>MICartridgeRomCycle1st</code> enumerated type. The meanings are shown below.
40</P>
41<TABLE>
42  <TBODY>
43    <TR>
44      <TD bgcolor="#eeeeee"><CODE>MI_CTRDG_ROMCYCLE1_6</CODE></TD>
45      <TD bgcolor="#eeeeee">6 cycles</TD>
46    </TR>
47    <TR>
48      <TD bgcolor="#eeeeee"><CODE>MI_CTRDG_ROMCYCLE1_8</CODE></TD>
49      <TD bgcolor="#eeeeee">8 cycles</TD>
50    </TR>
51    <TR>
52      <TD bgcolor="#eeeeee"><CODE>MI_CTRDG_ROMCYCLE1_10</CODE></TD>
53      <TD bgcolor="#eeeeee">10 cycles</TD>
54    </TR>
55    <TR>
56      <TD bgcolor="#eeeeee"><CODE>MI_CTRDG_ROMCYCLE1_18</CODE></TD>
57      <TD bgcolor="#eeeeee">18 cycles</TD>
58    </TR>
59  </TBODY>
60</TABLE>
61
62<h2>Internal Operation</h2>
63<P>Accesses the <code>EXMEMCNT</code> I/O register <code>(0x4000204)</code>.</P>
64
65<h2>See Also</h2>
66<p><CODE><A href="MI_GetCartridgeRomCycle1st.html">MI_GetCartridgeRomCycle1st</A>,
67 <A href="MI_SetCartridgeRomCycle2nd.html">MI_SetCartridgeRomCycle2nd</A>,
68 <A href="MI_GetCartridgeRomCycle2nd.html">MI_GetCartridgeRomCycle2nd</A>,
69 <A href="MI_SetAgbCartridgeFastestRomCycle.html">MI_SetAgbCartridgeFastestRomCycle</a><br></CODE></p>
70
71<H2>Revision History</H2>
72<P>
732005/03/01 Added link.<br />2004/07/01 Changed the name from 1 to 1st. <BR>2004/05/25 Added &quot;cartridge&quot; to name.  2003/12/18 Initial version.</P>
74<hr><p>CONFIDENTIAL</p></body>
75</html>
76