1 /*---------------------------------------------------------------------------* 2 Project: TwlSDK - OS 3 File: os_attention.h 4 5 Copyright 2009 Nintendo. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain 8 proprietary information of Nintendo of America Inc. and/or Nintendo 9 Company Ltd., and are protected by Federal copyright law. They may 10 not be disclosed to third parties or copied or duplicated in any form, 11 in whole or in part, without the prior written consent of Nintendo. 12 13 $Date:: 2009-06-04#$ 14 $Rev: 10698 $ 15 $Author: okubata_ryoma $ 16 *---------------------------------------------------------------------------*/ 17 18 #ifndef TWL_OS_ATTENTION_H_ 19 #define TWL_OS_ATTENTION_H_ 20 21 #ifdef __cplusplus 22 extern "C" { 23 #endif 24 25 #include <nitro/misc.h> 26 #include <nitro/types.h> 27 28 29 /*---------------------------------------------------------------------------* 30 * Constant Definitions 31 *---------------------------------------------------------------------------*/ 32 typedef enum 33 { 34 SPEC_DEST_NONE, 35 SPEC_DEST_KOREA, 36 // SPEC_DEST_CHINA, 37 38 SPEC_DEST_NUM 39 }SPEC_DEST; 40 41 typedef enum 42 { 43 IMAGE_OBJ_01_CHR, // Character data for the upper screen 44 IMAGE_OBJ_01_SCR, // Screen data for the upper screen 45 IMAGE_OBJ_02_CHR, // Character data for the lower screen 46 IMAGE_OBJ_02_SCR, // Screen data for the lower screen 47 IMAGE_OBJ_PAL, // Palette data 48 49 IMAGE_OBJ_NUM 50 }IMAGE_OBJ_INDEX; 51 52 53 /*---------------------------------------------------------------------------* 54 Name: OS_ShowAttentionOfLimitedRom 55 56 Description: Displays notice for running limited mode in NITRO. 57 58 Arguments: None. 59 60 Returns: None. 61 *---------------------------------------------------------------------------*/ 62 void OS_ShowAttentionOfLimitedRom(void); 63 void OS_ShowAttentionOfLimitedRomChina(void); 64 65 /*---------------------------------------------------------------------------* 66 Name: OS_IsLimitedRomRunningOnTwl 67 68 Description: Check running platform (only for Nitro-TWL limited mode). 69 70 Arguments: None. 71 72 Returns: TRUE: running on TWL. 73 FALSE: running on NITRO. 74 *---------------------------------------------------------------------------*/ 75 BOOL OS_IsLimitedRomRunningOnTwl(void); 76 77 78 #ifdef __cplusplus 79 } 80 #endif 81 82 #endif // #ifndef TWL_OS_ATTENTION_H_ 83 84