#include <twl/scfg.h>
static inline SCFGSystemRomType SCFG_GetSystemRomType( void );
None.
If SCFG_SYSTEM_ROM_FOR_TWL, 64KB of ROM is used in TWL mode.
If SCFG_SYSTEM_ROM_FOR_NITRO, 8KB of ROM is used in NITRO-compatible mode.
Gets which of two types has been set as the system ROM for the ARM9.
The system ROM is set to either the 64KB of ROM used in TWL mode or the 8KB of ROM used in NITRO-compatible mode.
Note: Use this function when running on TWL hardware.
Because NITRO hardware does not include an SCFG block, this function is not expected to be called on NITRO hardware. If this function is called when running on NITRO hardware, it returns SCFG_SYSTEM_ROM_FOR_TWL. Although execution does not stop even if called like this, note that the value returned is meaningless.
| Operating Environment | Return Values When Operating in TWL Mode | Return Values When Operating in NITRO Mode |
|---|---|---|
| IS-TWL-DEBUGGER TWL hardware |
SCFG_SYSTEM_ROM_FOR_TWL |
SCFG_SYSTEM_ROM_FOR_NITRO |
| IS-NITRO-DEBUGGER ENSATA EMULATOR NITRO hardware |
(This combination does not exist.) | SCFG_SYSTEM_ROM_FOR_TWLBecause this combination is not anticipated, the return value means nothing. |
2008/10/07 Added a note.
2007/10/03 Initial version.
CONFIDENTIAL