MI_SetCartridgeRamCycle


C Specification

#include <nitro/mi.h>

void MI_SetCartridgeRamCycle( MICartridgeRamCycle c )

Description

Sets the access cycle for accessing the Game Pak's RAM region. Access cycles for the Game Pak's ROM region are set using MI_SetCartridgeRomCycle1st and MI_SetCartridgeRomCycle2nd.

The values for the c argument take the form of MICartridgeRamCycle. The meanings are shown below.

MI_CTRDG_RAMCYCLE_6 6 cycles
MI_CTRDG_RAMCYCLE_8 8 cycles
MI_CTRDG_RAMCYCLE_10 10 cycles
MI_CTRDG_RAMCYCLE_18 18 cycles

Arguments

c Access cycle to Game Pak's RAM region.

Return Values

None.

Internal Operation

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

See Also

MI_GetCartridgeRamCycle, MI_SetCartridgeRomCycle1st, MI_SetCartridegeRomCycle2nd

Revision History

05/25/2004 Added "cartridge" to name
12/18/2003 Initial version