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_GetCartridgeRomCycle1st</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">MI_GetCartridgeRomCycle1st <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>MICartridgeRomCycle1st MI_GetCartridgeRomCycle1st( void )</CODE></dd>
22</dl>
23<h2>Arguments</h2>
24<P>None.</P>
25<h2>Return Values</h2>
26<p>The setting for the 1st access cycle to access the ROM cartridge.</p>
27
28<H2>Description</H2>
29<P>Gets the setting for the 1st access cycle to access the ROM cartridge.</P>
30<P>The returned values are in the form of <code>MICartridgeRomCycle1st</code>. The meanings are shown below.
31</P>
32<TABLE>
33  <TBODY>
34    <TR>
35      <TD bgcolor="#eeeeee"><CODE>MI_CTRDG_ROMCYCLE1_6</CODE></TD>
36      <TD bgcolor="#eeeeee">6 cycles</TD>
37    </TR>
38    <TR>
39      <TD bgcolor="#eeeeee"><CODE>MI_CTRDG_ROMCYCLE1_8</CODE></TD>
40      <TD bgcolor="#eeeeee">8 cycles</TD>
41    </TR>
42    <TR>
43      <TD bgcolor="#eeeeee"><CODE>MI_CTRDG_ROMCYCLE1_10</CODE></TD>
44      <TD bgcolor="#eeeeee">10 cycles</TD>
45    </TR>
46    <TR>
47      <TD bgcolor="#eeeeee"><CODE>MI_CTRDG_ROMCYCLE1_18</CODE></TD>
48      <TD bgcolor="#eeeeee">18 cycles</TD>
49    </TR>
50  </TBODY>
51</TABLE>
52<P><BR> <code><A href="MI_SetAgbCartridgeFastestRomCycle.html">MI_SetAgbCartridgeFastestRomCycle</A></code> is used for settings when accessing an AGB Game Pak.</P>
53<h2>Internal Operation</h2>
54<P>Accesses the <code>EXMEMCNT</code> I/O register <code>(0x4000204)</code>.</P>
55
56<h2>See Also</h2>
57<p><CODE><A href="MI_SetCartridgeRomCycle1st.html">MI_SetCartridgeRomCycle1st</A>, <A href="MI_SetCartridgeRomCycle2nd.html">MI_SetCartridgeRomCycle2nd</A>,<BR> <A href="MI_GetCartridgeRomCycle2nd.html">MI_GetCartridgeRomAccess2nd</A><br> <A href="MI_SetAgbCartridgeFastestRomCycle.html">MI_SetAgbCartridgeFastestRomCycle</A></CODE></p>
58
59<H2>Revision History</H2>
60<P>2005/02/10 Added description of <CODE>MI_SetAgbCartridgeFastestRomCycle</CODE> <BR>2004/07/01 Name changed from &quot;1&quot; to &quot;1st&quot; 2004/05/25 Added &quot;cartridge&quot; to name  2003/12/18 Initial version.</P>
61<hr><p>CONFIDENTIAL</p></body>
62</html>
63