MI_GetCartridgeRomCycle1st

Syntax

#include <nitro/mi.h>

MICartridgeRomCycle1st MI_GetCartridgeRomCycle1st( void )

Arguments

None.

Return Values

The setting for the 1st access cycle to access the ROM cartridge.

Description

Gets the setting for the 1st access cycle to access the ROM cartridge.

The returned values are in 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


MI_SetAgbCartridgeFastestRomCycle is used for settings when accessing an AGB Game Pak.

Internal Operation

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

See Also

MI_SetCartridgeRomCycle1st, MI_SetCartridgeRomCycle2nd,
MI_GetCartridgeRomAccess2nd
MI_SetAgbCartridgeFastestRomCycle

Revision History

2005/02/10 Added description of MI_SetAgbCartridgeFastestRomCycle
2004/07/01 Name changed from "1" to "1st" 2004/05/25 Added "cartridge" to name 2003/12/18 Initial version.


CONFIDENTIAL