
APPENDIX
56
MB740 User’s Manual
{
unsigned char result;
Set_ITE8705_LD(0x05);
//switch to logic device 7
result = inportb(ITE8705_IO_PORT) & 0x0F;
return
(result);
}
//---------------------------------------------------------------------------
void ClrKbBuf(void)
{
while(kbhit())
{
getch(); }
}
//---------------------------------------------------------------------------
File name:ITE8705.CPP
//============================================================
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT
// WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED
// TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR
// PURPOSE.
//
//============================================================
#include "ITE8705.H"
#include <dos.h>
//============================================================
unsigned int ITE8705_BASE;
void Unlock_ITE8705 (void);
void Lock_ITE8705 (void);
//============================================================
unsigned int Init_ITE8705(void)
{
unsigned int result; //0=NA,1=ITE8705
ITE8705_BASE = 0x2E;
result = Get_ITE8705_Reg(0x21);
if (result == 0x05)
{
result
=
1;
goto
Init_Finish;
}
ITE8705_BASE = 0x4E;
result = Get_ITE8705_Reg(0x21);
if (result == 0x05)
{
result
=
1;
goto
Init_Finish;
}
ITE8705_BASE = 0x00;
result = 0;
Init_Finish:
return
(result);
}
//============================================================
void Unlock_ITE8705 (void)
{
outportb(ITE8705_INDEX_PORT,
ITE8705_UNLOCK1);
Summary of Contents for MD740
Page 1: ...MB740 AMD Geode NX Mini ITX Motherboard USER S MANUAL Version 1 0...
Page 4: ...THE MB740 MINI ITX MOTHERBOARD iv MB740 User s Manual...
Page 8: ...INTRODUCTION Board Dimensions 4 MB740 User s Manual...
Page 24: ...INSTALLATIONS 20 MB740 User s Manual This page is intentionally left blank...
Page 44: ...BIOS SETUP 40 MB740 User s Manual This page is intentionally left blank...