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_SetCartridgeRomCycle2nd</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">MI_SetCartridgeRomCycle2nd <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_SetCartridgeRomCycle2nd( MICartridgeRomCycle2nd c2 )</CODE></dd>
22</dl>
23<h2>Arguments</h2>
24<TABLE border="1" width="100%">
25  <TBODY>
26    <TR>
27      <TD width="13%"><EM><STRONG>c2</STRONG></EM></TD>
28      <TD width="87%">The 2nd access cycle for accessing 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 2nd access cycle for accessing the Game Pak's ROM region. The 1st access cycle is set using the function <CODE><A href="MI_SetCartridgeRomCycle1st.html">MI_SetCartridgeRomCycle1st</A></CODE>. 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 argument <b><i><code>c2</code></i></b> is a <code>MIRomCycle2nd</code> enumerated type. The meanings are shown below.
40</P>
41<TABLE>
42  <TBODY>
43    <TR>
44      <TD bgcolor="#eeeeee"><CODE>MI_CTRDG_ROMCYCLE2_4</CODE></TD>
45      <TD bgcolor="#eeeeee">4 cycles</TD>
46    </TR>
47    <TR>
48      <TD bgcolor="#eeeeee"><CODE>MI_CTRDG_ROMCYCLE2_6</CODE></TD>
49      <TD bgcolor="#eeeeee">6 cycles</TD>
50    </TR>
51  </TBODY>
52</TABLE>
53
54<h2>Internal Operation</h2>
55<P>Accesses the <code>EXMEMCNT</code> I/O register <code>(0x4000204)</code>.</P>
56
57<h2>See Also</h2>
58<p><CODE><A href="MI_SetCartridgeRomCycle1st.html">MI_SetCartridgeRomCycle1st</A>, <A href="MI_GetCartridgeRomCycle1st.html">MI_GetCartridgeRomCycle1st</A>, <A href="MI_GetCartridgeRomCycle2nd.html">MI_GetCartridgeRomCycle2nd</A>, <A href="MI_SetAgbCartridgeFastestRomCycle.html">MI_SetAgbCartridgeFastestRomCycle</a></CODE></p>
59
60<H2>Revision History</H2>
61<P>
622005/03/01 Added link.<br />2004/07/01 Changed the name from 2 to 2nd. <BR>2004/05/25 Changed the name by adding cartridge.<BR>2003/12/18 Initial version.</P>
63<hr><p>CONFIDENTIAL</p></body>
64</html>
65