📄 flcustom.c
字号:
/************************************************************************/
/* */
/* FAT-FTL Lite Software Development Kit */
/* Copyright (C) M-Systems Ltd. 1995-2003 */
/* */
/************************************************************************/
#include "stdcomp.h"
/* environment variables */
#ifdef ENVIRONMENT_VARS
unsigned char flUse8Bit=1;
unsigned char flUseNFTLCache;
/*-----------------------------------------------------------------------*/
/* f l s e t E n v V a r */
/* Sets the value of all environment variables */
/* Parameters : None */
/*-----------------------------------------------------------------------*/
void flSetEnvVar(void)
{
flUseNFTLCache = 1;
}
#endif /* ENVIRONMENT_VARS */
/*----------------------------------------------------------------------*/
/* f l R e g i s t e r C o m p o n e n t s */
/* */
/* Register socket, MTD and Translation Layer components for usage */
/* */
/* This function is called by FLite once only, at initialization of the */
/* FLite system. */
/* */
/* Parameters: */
/* None */
/*----------------------------------------------------------------------*/
extern unsigned long GetDocWinLAddress(void);
extern unsigned long GetDocWinHAddress(void);
FLStatus flRegisterComponents(void)
{
FLStatus status1,status2;
status1=flRegisterDOCM512SOC(GetDocWinLAddress(),GetDocWinHAddress());
if(status1==flOK)
{
status1=flRegisterDOCM512();
if(status1!=flOK)
return status1;
}
status2=flRegisterDOCORENSOC(GetDocWinLAddress(),GetDocWinHAddress());
if(status2==flOK)
{
status2=flRegisterDOCOREN();
if(status2!=flOK)
return status1;
}
if((status1 == flOK) || (status2 == flOK))
return flRegisterSAFTL();
return status2;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -