![background image](http://html1.mh-extra.com/html/ibase-technology/mb835/mb835_user-manual_604993049.webp)
APPENDIX
MB835 User’s Manual
45
//===========================================================================
//
// 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 "W627EHG.H"
#include <dos.h>
//===========================================================================
unsigned int W627EHG_BASE;
void Unlock_W627EHG (void);
void Lock_W627EHG (void);
//===========================================================================
unsigned int Init_W627EHG(void)
{
unsigned int result;
unsigned char ucDid;
W627EHG_BASE = 0x2E;
result = W627EHG_BASE;
ucDid = Get_W627EHG_Reg(0x20);
if (ucDid == 0x88)
{
goto
Init_Finish;
}
W627EHG_BASE = 0x4E;
result = W627EHG_BASE;
ucDid = Get_W627EHG_Reg(0x20);
if (ucDid == 0x88)
{
goto
Init_Finish;
}
W627EHG_BASE = 0x00;
result = W627EHG_BASE;
Init_Finish:
return
(result);
}
//===========================================================================
void Unlock_W627EHG (void)
{
outportb(W627EHG_INDEX_PORT,
W627EHG_UNLOCK);
outportb(W627EHG_INDEX_PORT,
W627EHG_UNLOCK);
}
//===========================================================================
void Lock_W627EHG (void)
{
outportb(W627EHG_INDEX_PORT,
W627EHG_LOCK);
}
//===========================================================================
void Set_W627EHG_LD( unsigned char LD)
{
Unlock_W627EHG();
outportb(W627EHG_INDEX_PORT,
W627EHG_REG_LD);
outportb(W627EHG_DATA_PORT,
LD);
Lock_W627EHG();
}
Summary of Contents for MB835
Page 1: ...MB835 Intel EP80579 Motherboard USER S MANUAL Version 1 0 ...
Page 4: ...iv MB835 User s Manual This page is intentionally left blank ...
Page 9: ...INSTALLATION Board Dimensions MB835 User s Manual 5 ...
Page 10: ...INSTALLATION 6 MB835 User s Manual This page is intentionally left blank ...
Page 44: ...DRIVERS INSTALLATION 40 MB835 User s Manual This page is intentionally left blank ...