INSTALLATION
IB831 User’s Manual
23
W627DHG_BASE = 0x00;
result = W627DHG_BASE;
Init_Finish:
return (result);
}
//---------------------------------------------------------------------------
void Unlock_W627DHG (void)
{
outportb(W627DHG_INDEX_PORT, W627DHG_UNLOCK);
outportb(W627DHG_INDEX_PORT, W627DHG_UNLOCK);
}
//---------------------------------------------------------------------------
void Lock_W627DHG (void)
{
outportb(W627DHG_INDEX_PORT, W627DHG_LOCK);
}
//---------------------------------------------------------------------------
void Set_W627DHG_LD( unsigned char LD)
{
Unlock_W627DHG();
outportb(W627DHG_INDEX_PORT, W627DHG_REG_LD);
outportb(W627DHG_DATA_PORT, LD);
Lock_W627DHG();
}
//---------------------------------------------------------------------------
void Set_W627DHG_Reg( unsigned char REG, unsigned char DATA)
{
Unlock_W627DHG();
outportb(W627DHG_INDEX_PORT, REG);
outportb(W627DHG_DATA_PORT, DATA);
Lock_W627DHG();
}
//---------------------------------------------------------------------------
unsigned char Get_W627DHG_Reg(unsigned char REG)
{
unsigned char Result;
Unlock_W627DHG();
outportb(W627DHG_INDEX_PORT, REG);
Result = inportb(W627DHG_DATA_PORT);
Lock_W627DHG();
return Result;
}
//---------------------------------------------------------------------------
W697HF_BASE = 0x00;
result = W697HF_BASE;
Init_Finish:
return (result);
}
//===========================================================================
void Unlock_W697HF (void)
{
outportb(W697HF_INDEX_PORT, W697HF_UNLOCK);
outportb(W697HF_INDEX_PORT, W697HF_UNLOCK);
}
//===========================================================================
void Lock_W697HF (void)
{
outportb(W697HF_INDEX_PORT, W697HF_LOCK);
}
//===========================================================================
void Set_W697HF_LD( unsigned char LD)
{
Unlock_W697HF();
outportb(W697HF_INDEX_PORT, W697HF_REG_LD);
outportb(W697HF_DATA_PORT, LD);
Lock_W697HF();
Summary of Contents for IB831
Page 1: ...IB831 VIA VX900 5 25 inch Disk Size SBC USER S MANUAL Version 1 0...
Page 4: ...iv IB831 User s Manual This page is intentionally left blank...
Page 8: ...INTRODUCTION 4 IB831 User s Manual Board Dimensions 203 W x 146 D mm...
Page 54: ...DRIVERS INSTALLATION 50 IB831 User s Manual This page is intentionally left blank...