if(FAT_Init()==2)
{ POINT_COLOR=RED; LCD_ShowString(20,100,"Fat Check ERR ,return 2"); delay_ms(2000); }
if(FAT_Init()==3)
{ POINT_COLOR=RED; LCD_ShowString(20,100,"Fat Check ERR ,return 3"); delay_ms(2000); }
if(FAT_Init()==4)
{ POINT_COLOR=RED; LCD_ShowString(20,100,"Fat Check ERR ,return 4"); delay_ms(2000); }
if(FAT_Init()==5)
{ POINT_COLOR=RED; LCD_ShowString(20,100,"Fat Check ERR ,return 5"); delay_ms(2000); } POINT_COLOR=RED; LCD_ShowString(20,100,"Fat Check ERR"); i= SD_Init();
if(i)LCD_ShowString(20,100," SD Card ERR ");//SD卡初始化失败 delay_ms(500); LED0=!LED0; }
LCD_Clear(0);
while(GameInfoGet(0))//查找系统文件
{ if(GameInfoGet(0)==1) {POINT_COLOR=RED;
LCD_ShowString(20,120,"return 1!");
delay_ms(2000); } if(GameInfoGet(0)==2) {POINT_COLOR=RED;
LCD_ShowString(20,120,"return 2!");
delay_ms(2000); }