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_GetCartridgePriority</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">MI_GetCartridgeProcessor <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>MIProcessor MI_GetCartridgeProcessor( void )</CODE></dd>
22</dl>
23<h2>Arguments</h2>
24<P>None.</P>
25<h2>Return Values</h2>
26<p>Settings for access permission to the cartridge.</p>
27
28<H2>Description</H2>
29<P>This function acquires the permission settings to access AGB compatible 32-pin cartridge slot hardware. The return value is an <CODE>MIProcessor</CODE> array type that has the following meanings:</P>
30<TABLE>
31  <TBODY>
32    <TR>
33      <TD bgcolor="#e0e0e0"><CODE>MI_PROCESSOR_ARM9</CODE></TD>
34      <TD bgcolor="#e0e0e0">Sets access permission to ARM9.</TD>
35    </TR>
36    <TR>
37      <TD bgcolor="#e0e0e0"><CODE>MI_PROCESSOR_ARM7</CODE></TD>
38      <TD bgcolor="#e0e0e0">Sets access permission to ARM7.</TD>
39    </TR>
40  </TBODY>
41</TABLE>
42
43<h2>Internal Operation</h2>
44<P>Accesses the <code>EXMEMCNT</code> I/O register <code>(0x4000204)</code>.</P>
45
46<h2>See Also</h2>
47<p><CODE>None.<br></CODE></p>
48
49<H2>Revision History</H2>
50<P>2004/10/18 Corrected the return value text.<br> 2004/01/14 Function name changed from <CODE>MI_GetCartridgePriority</CODE>.<BR> 2004/01/14 enum name changed to <CODE>MIProcessor</CODE>.<BR> 2003/12/18 Initial version.</P>
51<hr><p>CONFIDENTIAL</p></body>
52</html>
53