MI_SetCartridgeRomCycle1st

Syntax

#include <nitro/mi.h>

void MI_SetCartridgeRomCycle1st( MICartridgeRomCycle1st c1 )

Arguments

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

Return Values

None.

Description

Sets the 1st access cycle for accessing the Game Pak's ROM region. The 2nd and subsequent access cycles are set using the function MI_SetCartridgeRomCycle2nd. See the function reference for MI_SetAgbCartridgeFastestRomCycle for access cycle calculation methods and precautions regarding AGB Game Paks.

The c1 argument is an MICartridgeRomCycle1st enumerated type. 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

Internal Operation

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

See Also

MI_GetCartridgeRomCycle1st, MI_SetCartridgeRomCycle2nd, MI_GetCartridgeRomCycle2nd, MI_SetAgbCartridgeFastestRomCycle

Revision History

2005/03/01 Added link.
2004/07/01 Changed the name from 1 to 1st.
2004/05/25 Added "cartridge" to name. 2003/12/18 Initial version.


CONFIDENTIAL