Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
CARDBios.c File Reference

Functions

static BOOL OnReset (BOOL)
 
static void TimeoutHandler (OSAlarm *alarm, OSContext *context)
 
static s32 Retry (s32 chan)
 
static void UnlockedCallback (s32 chan, s32 result)
 
void __CARDDefaultApiCallback (s32 chan, s32 result)
 
void __CARDSyncCallback (s32 chan, s32 result)
 
void __CARDExtHandler (s32 chan, OSContext *context)
 
void __CARDExiHandler (s32 chan, OSContext *context)
 
void __CARDTxHandler (s32 chan, OSContext *context)
 
void __CARDUnlockedHandler (s32 chan, OSContext *context)
 
s32 __CARDEnableInterrupt (s32 chan, BOOL enable)
 
s32 __CARDReadStatus (s32 chan, u8 *status)
 
s32 __CARDReadVendorID (s32 chan, u16 *vendorId)
 
s32 __CARDClearStatus (s32 chan)
 
static void SetupTimeoutAlarm (CARDControl *card)
 
static s32 __CARDStart (s32 chan, CARDCallback txCallback, CARDCallback exiCallback)
 
s32 __CARDReadSegment (s32 chan, CARDCallback callback)
 
s32 __CARDWritePage (s32 chan, CARDCallback callback)
 
s32 __CARDEraseSector (s32 chan, u32 addr, CARDCallback callback)
 
void CARDInit (void)
 
u16 __CARDGetFontEncode (void)
 
void __CARDSetDiskID (const DVDDiskID *id)
 
s32 __CARDGetControlBlock (s32 chan, CARDControl **pcard)
 
s32 __CARDPutControlBlock (CARDControl *card, s32 result)
 
s32 CARDFreeBlocks (s32 chan, s32 *byteNotUsed, s32 *filesNotUsed)
 
s32 CARDGetResultCode (s32 chan)
 
s32 __CARDSync (s32 chan)
 
BOOL CARDGetFastMode (void)
 

Variables

char__CARDVersion = "<< Dolphin SDK - CARD\trelease build: Apr 5 2004 04:15:35 (0x2301) >>"
 
DVDDiskID __CARDDiskNone
 
CARDControl __CARDBlock [2]
 
static OSResetFunctionInfo ResetFunctionInfo
 
static u16 __CARDEncode
 
static u16 __CARDFastMode
 

Function Documentation

◆ __CARDClearStatus()

s32 __CARDClearStatus ( s32  chan)

◆ __CARDDefaultApiCallback()

void __CARDDefaultApiCallback ( s32  chan,
s32  result 
)

◆ __CARDEnableInterrupt()

s32 __CARDEnableInterrupt ( s32  chan,
BOOL  enable 
)

◆ __CARDEraseSector()

s32 __CARDEraseSector ( s32  chan,
u32  addr,
CARDCallback  callback 
)

◆ __CARDExiHandler()

void __CARDExiHandler ( s32  chan,
OSContext context 
)

◆ __CARDExtHandler()

void __CARDExtHandler ( s32  chan,
OSContext context 
)

◆ __CARDGetControlBlock()

s32 __CARDGetControlBlock ( s32  chan,
CARDControl **  pcard 
)

◆ __CARDGetFontEncode()

u16 __CARDGetFontEncode ( void  )

◆ __CARDPutControlBlock()

s32 __CARDPutControlBlock ( CARDControl card,
s32  result 
)

◆ __CARDReadSegment()

s32 __CARDReadSegment ( s32  chan,
CARDCallback  callback 
)

◆ __CARDReadStatus()

s32 __CARDReadStatus ( s32  chan,
u8 status 
)

◆ __CARDReadVendorID()

s32 __CARDReadVendorID ( s32  chan,
u16 vendorId 
)

◆ __CARDSetDiskID()

void __CARDSetDiskID ( const DVDDiskID id)

◆ __CARDStart()

static s32 __CARDStart ( s32  chan,
CARDCallback  txCallback,
CARDCallback  exiCallback 
)
static

◆ __CARDSync()

s32 __CARDSync ( s32  chan)

◆ __CARDSyncCallback()

void __CARDSyncCallback ( s32  chan,
s32  result 
)

◆ __CARDTxHandler()

void __CARDTxHandler ( s32  chan,
OSContext context 
)

◆ __CARDUnlockedHandler()

void __CARDUnlockedHandler ( s32  chan,
OSContext context 
)

◆ __CARDWritePage()

s32 __CARDWritePage ( s32  chan,
CARDCallback  callback 
)

◆ CARDFreeBlocks()

s32 CARDFreeBlocks ( s32  chan,
s32 byteNotUsed,
s32 filesNotUsed 
)

◆ CARDGetFastMode()

BOOL CARDGetFastMode ( void  )

◆ CARDGetResultCode()

s32 CARDGetResultCode ( s32  chan)

◆ CARDInit()

void CARDInit ( void  )

◆ OnReset()

static BOOL OnReset ( BOOL  f)
static

◆ Retry()

static s32 Retry ( s32  chan)
static

◆ SetupTimeoutAlarm()

static void SetupTimeoutAlarm ( CARDControl card)
static

◆ TimeoutHandler()

static void TimeoutHandler ( OSAlarm alarm,
OSContext context 
)
static

◆ UnlockedCallback()

static void UnlockedCallback ( s32  chan,
s32  result 
)
static

Variable Documentation

◆ __CARDBlock

CARDControl __CARDBlock[2]

◆ __CARDDiskNone

DVDDiskID __CARDDiskNone

◆ __CARDEncode

u16 __CARDEncode
static

◆ __CARDFastMode

u16 __CARDFastMode
static

◆ __CARDVersion

char* __CARDVersion = "<< Dolphin SDK - CARD\trelease build: Apr 5 2004 04:15:35 (0x2301) >>"

◆ ResetFunctionInfo

OSResetFunctionInfo ResetFunctionInfo
static
Initial value:
= {
127,
}
static BOOL OnReset(BOOL)
Definition CARDBios.c:644
T cLib_calcTimer(T *value)
Definition c_lib.h:74