MI_SetCartridgeRomCycle1st


C Specification

#include <nitro/mi.h>

void MI_SetCartridgeRomCycle1st( MICartridgeRomCycle1st c1 )

Description

Sets the 1st access cycle for access to the Game Pak's ROM region.

The 2nd and subsequent access cycles are set using the function MI_SetCartridgeRomCycle2nd.

The values for the c1 argument take the form of MICartridgeRomCycle1st. The meanings are shown below.

MI_CTRDG_ROMCYCLE1_6 6 cycles
MI_CTRDG_ROMCYCLE1_8 8 cycles
MI_CTRDG_ROMCYCLE1_10 10 cycles
MI_CTRDG_ROMCYCLE1_18 18 cycles

Arguments

c1 The 1st access cycle for access to the Game Pak's ROM region.

Return Values

None.

Internal Operation

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

See Also

MI_GetCartridgeRomCycle1st, MI_SetCartridgeRomCycle2nd, MI_GetCartridgeRomCycle2nd

Revision History

07/01/2004 Name changed from "1" to "1st"
05/25/2004 Added "cartridge" to name
12/18/2003 Initial version