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