APPENDIX
60
MB890 User’s Manual
Filename: W627hf.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 "W627HF.H"
#include <dos.h>
//=====================================================================
void Unlock_W627HF (void);
void Lock_W627HF (void);
//=====================================================================
void Unlock_W627HF (void)
{
outportb(W627HF_INDEX_PORT,
W627HF_UNLOCK);
outportb(W627HF_INDEX_PORT,
W627HF_UNLOCK);
}
//=====================================================================
void Lock_W627HF (void)
{
outportb(W627HF_INDEX_PORT,
W627HF_LOCK);
}
//=====================================================================
void Set_W627HF_LD( unsigned char LD)
{
Unlock_W627HF();
outportb(W627HF_INDEX_PORT,
W627HF_REG_LD);
outportb(W627HF_DATA_PORT,
LD);
Lock_W627HF();
}
//=====================================================================
void Set_W627HF_Reg( unsigned char REG, unsigned char DATA)
{
Unlock_W627HF();
outportb(W627HF_INDEX_PORT,
REG);
outportb(W627HF_DATA_PORT,
DATA);
Lock_W627HF();
}
//=====================================================================
unsigned char Get_W627HF_Reg( unsigned char REG)
{
unsigned char Result;
Unlock_W627HF();
outportb(W627HF_INDEX_PORT,
REG);
Result = inportb(W627HF_DATA_PORT);
Lock_W627HF();
return
Result;
}
//=====================================================================
File of the Main.cpp
Summary of Contents for MB875
Page 1: ...MB875 Intel 852GM Chipset Custom Motherboard for 1U Rackmount USER S MANUAL Version 1 0 ...
Page 4: ...The MB875 Motherboard The MB875 Edge Connectors iv MB890 User s Manual ...
Page 8: ...INTRODUCTION Board Dimensions 4 MB890 User s Manual ...
Page 22: ...INSTALLATIONS 18 MB890 User s Manual This page is intentionally left blank ...
Page 46: ...BIOS SETUP 42 MB890 User s Manual This page is intentionally left blank ...
Page 66: ...APPENDIX 62 MB890 User s Manual This page is intentionally left blank ...