MI_GetCartridgeProcessor

Syntax

#include <nitro/mi.h>

MIProcessor MI_GetCartridgeProcessor( void )

Arguments

None.

Return Values

Settings for access permission to the cartridge.

Description

This function acquires the permission settings to access AGB compatible 32-pin cartridge slot hardware. The return value is an MIProcessor array type that has the following meanings:

MI_PROCESSOR_ARM9 Sets access permission to ARM9.
MI_PROCESSOR_ARM7 Sets access permission to ARM7.

Internal Operation

Accesses the EXMEMCNT I/O register (0x4000204).

See Also

None.

Revision History

2004/10/18 Corrected the return value text.
2004/01/14 Function name changed from MI_GetCartridgePriority.
2004/01/14 enum name changed to MIProcessor.
2003/12/18 Initial version.


CONFIDENTIAL