12#define OS_SOUND_MODE_MONO 0
13#define OS_SOUND_MODE_STEREO 1
15#define RTC_CMD_READ 0x20000000
16#define RTC_CMD_WRITE 0xa0000000
18#define RTC_SRAM_ADDR 0x00000100
19#define RTC_SRAM_SIZE 64
void OSSetWirelessID(s32 channel, u16 id)
Definition OSRtc.c:227
void OSSetProgressiveMode(u32 mode)
Definition OSRtc.c:199
BOOL __OSUnlockSram(BOOL commit)
Definition OSRtc.c:144
BOOL __OSUnlockSramEx(BOOL commit)
Definition OSRtc.c:149
static void OSSetGbsMode(u16 mode)
Definition OSRtc.c:252
void OSSetSoundMode(OSSoundMode mode)
Definition OSRtc.c:170
u32 OSGetSoundMode(void)
Definition OSRtc.c:159
BOOL __OSSyncSram(void)
Definition OSRtc.c:154
static u16 OSGetGbsMode(void)
Definition OSRtc.c:241
u16 OSGetWirelessID(s32 channel)
Definition OSRtc.c:216
u32 OSGetProgressiveMode(void)
Definition OSRtc.c:187
void __OSInitSram(void)
Definition OSRtc.c:71
OSSramEx * __OSLockSramEx(void)
Definition OSRtc.c:99
OSSram * __OSLockSram(void)
Definition OSRtc.c:94
u32 OSSoundMode
Definition OSRtc.h:10
T cLib_calcTimer(T *value)
Definition c_lib.h:74
u32 wirelessKeyboardID
Definition OSRtc.h:48
u8 dvdErrorCode
Definition OSRtc.h:50
u8 flashID[2][12]
Definition OSRtc.h:47
u8 _padding1[2]
Definition OSRtc.h:54
u8 _padding0
Definition OSRtc.h:51
u8 flashIDCheckSum[2]
Definition OSRtc.h:52
u16 gbs
Definition OSRtc.h:53
u16 wirelessPadID[4]
Definition OSRtc.h:49
u16 checkSum
Definition OSRtc.h:35
u32 ead0
Definition OSRtc.h:37
u16 checkSumInv
Definition OSRtc.h:36
u32 ead1
Definition OSRtc.h:38
u8 flags
Definition OSRtc.h:43
u32 counterBias
Definition OSRtc.h:39
s8 displayOffsetH
Definition OSRtc.h:40
u8 language
Definition OSRtc.h:42
u8 ntd
Definition OSRtc.h:41
u8 sram[RTC_SRAM_SIZE]
Definition OSRtc.h:26
BOOL sync
Definition OSRtc.h:30
BOOL locked
Definition OSRtc.h:29
u32 offset
Definition OSRtc.h:27
void(* callback)(void)
Definition OSRtc.h:31
BOOL enabled
Definition OSRtc.h:28
int BOOL
Definition types.h:27
signed char s8
Definition types.h:4
unsigned long u32
Definition types.h:10
unsigned short u16
Definition types.h:9
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8