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_SetCartridgeRamAccessCycle</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">MI_SetCartridgeRamCycle <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_SetCartridgeRamCycle( MICartridgeRamCycle c )</CODE></dd>
22</dl>
23<h2>Arguments</h2>
24<TABLE border="1" width="100%">
25  <TBODY>
26    <TR>
27      <TD width="13%"><EM><STRONG>c</STRONG></EM></TD>
28      <TD width="87%">Access cycle to access Game Pak's RAM 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 access cycle for accessing the Game Pak's RAM region. Access cycles for the Game Pak's ROM region are set using <code><a href="MI_SetCartridgeRomCycle1st.html">MI_SetCartridgeRomCycle1st</a></code> and <code><a  href="MI_SetCartridgeRomCycle2nd.html">MI_SetCartridgeRomCycle2nd</a></code>.</P>
38<P>The <b><i>c</i></b> argument is a <code>MICartridgeRamCycle</code> enumerate type. The meanings are shown below.
39</P>
40<TABLE>
41  <TBODY>
42    <TR>
43      <TD bgcolor="#eeeeee"><CODE>MI_CTRDG_RAMCYCLE_6</CODE></TD>
44      <TD bgcolor="#eeeeee">6 cycles</TD>
45    </TR>
46    <TR>
47      <TD bgcolor="#eeeeee"><CODE>MI_CTRDG_RAMCYCLE_8</CODE></TD>
48      <TD bgcolor="#eeeeee">8 cycles</TD>
49    </TR>
50    <TR>
51      <TD bgcolor="#eeeeee"><CODE>MI_CTRDG_RAMCYCLE_10</CODE></TD>
52      <TD bgcolor="#eeeeee">10 cycles</TD>
53    </TR>
54    <TR>
55      <TD bgcolor="#eeeeee"><CODE>MI_CTRDG_RAMCYCLE_18</CODE></TD>
56      <TD bgcolor="#eeeeee">18 cycles</TD>
57    </TR>
58  </TBODY>
59</TABLE>
60
61<h2>Internal Operation</h2>
62<P>Accesses the <code>EXMEMCNT</code> I/O register <code>(0x4000204)</code>.</P>
63
64<h2>See Also</h2>
65<p><CODE><A href="MI_GetCartridgeRamCycle.html">MI_GetCartridgeRamCycle</A><BR> <A href="MI_SetCartridgeRomCycle1st.html">MI_SetCartridgeRomCycle1st</A>, <A href="MI_SetCartridgeRomCycle2nd.html">MI_SetCartridegeRomCycle2nd</A><br></CODE></p>
66
67<H2>Revision History</H2>
68<P>2004/05/25 Name changed by adding &quot;cartridge.&quot;  2003/12/18 Initial version.</P>
69<hr><p>CONFIDENTIAL</p></body>
70</html>
71