OS_IsRunOnEmulator

C Specification

#include <nitro/os.h>

BOOL OS_IsRunOnEmulator( void );

Arguments

None.

Return Values

If the program is running on the "ensata NITRO Software Emulator", TRUE is returned. Otherwise FALSE is returned.

Description

Checks whether or not the program is running on the "ensata NITRO Software Emulator" (ensata) This function is used to dynamically switch processing depending on whether the program is running on ensata or some other hardware environment (the TEG board, etc). Use this function to create programs that will operate on ensata and other environments.

The OS_Printf() function uses this function to control the output destination.

Because this is a debugging function, it will always return FALSE in the final ROM version (FINALROM) library.

See Also

OS_Printf, OS_GetConsoleType

Revision History

02/19/2004 Initial Version