EasyManuals Logo

AMD MD740 User Manual

AMD MD740
62 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #60 background imageLoading...
Page #60 background image
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);

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the AMD MD740 and is the answer not in the manual?

AMD MD740 Specifications

General IconGeneral
BrandAMD
ModelMD740
CategoryMotherboard
LanguageEnglish

Related product manuals