MI_SetCartridgeRamCycle

Syntax

#include <nitro/mi.h>

void MI_SetCartridgeRamCycle( MICartridgeRamCycle c )

Arguments

c Access cycle to access Game Pak's RAM region.

Return Values

None.

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 c argument is a MICartridgeRamCycle enumerate type. 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

Internal Operation

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

See Also

MI_GetCartridgeRamCycle
MI_SetCartridgeRomCycle1st, MI_SetCartridegeRomCycle2nd

Revision History

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


CONFIDENTIAL