Acrosser AR-B6050 User Manual
Page 28

AR-B6050 User Ma
nual
28
for(Temp=Time;Temp>0;Temp--)
{
outportb(IO_Port_Address,0xF6); // Read Watchdog Timer Value
Time=inportb(IO_Port_Address+1);
gotoxy(20,10);
cprintf(">>> After %3d Second will reset the system. <<<",Time);
delay(1000);
}
textcolor(LIGHTRED);
gotoxy(18,10);
cprintf("If you can see this message, Reset system is Fail");
return 1;
}
//=========================================================================
==
// Function
: Show_Help()
// Input : -
// Change
: -
// Return : -
// Description : Show Help string.
//=========================================================================
==
void Show_Help()
{
clrscr();
printf("WatchDog Test for W83627EHF\n\n");
printf("Sample: \n");
printf(" WDT.EXE 10 \n");
printf("( For 10 seconds to reset. )\n");
}
//=========================================================================
==