User manual
ID70 Motherboard User Manual
78
void delay1second(void)
{
delay(1000);
}
//==========================================================
===========
void delay1minute(void)
{
int i=60;
while (i)
{
if (kbhit())
{
if(getch()==0x1B) //Esc
{
g_bDisableWatchdog=1;
}
else
{
g_iCount=g_iWatchdog_timeout; //Reset Watchdog timer
Set_F81865_Reg(0xF6,g_iWatchdog_timeout); //Set Watch
Dog Timer Time-out value
}
break;
}
delay1second();
i--;
}
}
//==========================================================
===========
void Unlock_F81865 (void)
{
outportb(F81865_INDEX_PORT, F81865_UNLOCK);
outportb(F81865_INDEX_PORT, F81865_UNLOCK);
}