Loading [MathJax]/extensions/tex2jax.js
Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
tty.c File Reference

Functions

static int ttyIsInitialized (void)
 
static void ShowChannelInfo (MCC_CHANNEL chID)
 
static void ttyMccChannelEvent (MCC_CHANNEL chID, u32 event, u32 value)
 
static void ttyClearProperty (MCC_CHANNEL chID)
 
static int ttyWaiting (int timeout, volatile int *flag)
 
static int ttyWrite (u32 offset, void *data, s32 size)
 
static int ttyFlush (u32 msgID, BOOL waitResult)
 
int TTYInit (MCC_EXI exiChannel, MCC_CHANNEL chID)
 
void TTYExit (void)
 
int TTYQuery (void)
 
int TTYPrintf (const char *format,...)
 
int TTYFlush (void)
 

Variables

const char * __TTYVersion = "<< Dolphin SDK - TTY\tdebug build: Apr 5 2004 03:57:08 (0x2301) >>"
 
static volatile u8 gBuf [0x2000]
 
static u32 gOldEvent
 
static volatile MCC_CHANNEL gChID
 
static volatile int gQuery
 
static volatile u32 gReadDone
 
static volatile u32 gPrintfID
 
static volatile u32 gBufHead
 
static volatile u32 gBufTail
 

Function Documentation

◆ ShowChannelInfo()

static void ShowChannelInfo ( MCC_CHANNEL chID)
static

◆ ttyClearProperty()

static void ttyClearProperty ( MCC_CHANNEL chID)
static

◆ TTYExit()

void TTYExit ( void )

◆ TTYFlush()

int TTYFlush ( void )

◆ ttyFlush()

static int ttyFlush ( u32 msgID,
BOOL waitResult )
static

◆ TTYInit()

int TTYInit ( MCC_EXI exiChannel,
MCC_CHANNEL chID )

◆ ttyIsInitialized()

static int ttyIsInitialized ( void )
static

◆ ttyMccChannelEvent()

static void ttyMccChannelEvent ( MCC_CHANNEL chID,
u32 event,
u32 value )
static

◆ TTYPrintf()

int TTYPrintf ( const char * format,
... )

◆ TTYQuery()

int TTYQuery ( void )

◆ ttyWaiting()

static int ttyWaiting ( int timeout,
volatile int * flag )
static

◆ ttyWrite()

static int ttyWrite ( u32 offset,
void * data,
s32 size )
static

Variable Documentation

◆ __TTYVersion

const char * __TTYVersion = "<< Dolphin SDK - TTY\tdebug build: Apr 5 2004 03:57:08 (0x2301) >>"

◆ gBuf

volatile u8 gBuf[0x2000]
static

◆ gBufHead

volatile u32 gBufHead
static

◆ gBufTail

volatile u32 gBufTail
static

◆ gChID

volatile MCC_CHANNEL gChID
static

◆ gOldEvent

u32 gOldEvent
static

◆ gPrintfID

volatile u32 gPrintfID
static

◆ gQuery

volatile int gQuery
static

◆ gReadDone

volatile u32 gReadDone
static