MI_GetCartridgeRamCycle


C Specification

#include <nitro/mi.h>

MICartridgeRamCycle MI_GetCartridgeRamCycle( void )

Description

Gets the cycle value set for accessing the Game Pak's RAM region.

The returned values are in 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

None.

Return Values

The cycle that has been set for accessing the Game Pak's RAM region.

Internal Operation

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

See Also

MI_SetCartridgeRamCycle, MI_GetCartridgeRomCycle1st, MI_GetCartridgeRomCycle2nd

Revision History

05/25/2004 Name changed by adding "cartridge"
12/18/2003 Initial version