MI_SetCartridgeRomCycle2nd

C Specification

#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

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