MIi_SetCartridgeProcessor


C Specification

#include<nitro/mi.h>

void MIi_SetCartridgeProcessor( MIProcessor proc )

Description

This function sets up access rights to the AGB compatible 32-pin cartridge slot hardware.

The argument proc is MIProcessor-enumerated and has the following meaning.

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

Arguments

proc Setup for access rights

Note: If a debug print is carried out with OS_Printf() while using the TEG version of the IS_NITRO_EMULATOR, the access rights will go to the ARM7 processor.

Do not use this function as the usual method for setting up access rights. Carry out the process while considering spinLock with OS_LockCartridge() and OS_TryLockCartridge()

Return Values

None.

Internal Operation

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

See Also

MI_GetCardProcessor

Revision History

08/17/2004 Standardized the notation of IS-NITRO-EMULATOR
03/30/2004 "MI_" is changed to "MIi_"
03/16/2004 Description of going to ARM7 when debug print is carried out.
01/14/2004 Changed function name from MI_SetCartridgePriority.
12/25/2003 Changed enum name to MIProcessor.
12/18/2003 Initial Version