MI_SetCartridgeRomCycle2nd

Syntax

#include <nitro/mi.h>

void MI_SetCartridgeRomCycle2nd( MICartridgeRomCycle2nd c2 )

Arguments

c2 The 2nd access cycle for accessing the Game Pak's ROM region.

Return Values

None.

Description

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

The argument c2 is a MIRomCycle2nd enumerated type. The meanings are shown below.

MI_CTRDG_ROMCYCLE2_4 4 cycles
MI_CTRDG_ROMCYCLE2_6 6 cycles

Internal Operation

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

See Also

MI_SetCartridgeRomCycle1st, MI_GetCartridgeRomCycle1st, MI_GetCartridgeRomCycle2nd, MI_SetAgbCartridgeFastestRomCycle

Revision History

2005/03/01 Added link.
2004/07/01 Changed the name from 2 to 2nd.
2004/05/25 Changed the name by adding cartridge.
2003/12/18 Initial version.


CONFIDENTIAL