Intel MB900-R user manual UnlockW627EHF OutportbW627EHFINDEXPORT, REG

Page 26

INSTALLATIONS

//===========================================================================

//

//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 PARTICU LAR

//PURPOSE.

//

//=========================================================================== #include "W627EHF.H"

#include <dos.h> //=========================================================================== unsigned int W627EHF_BASE;

void Unlock_W627EHF (void); void Lock_W627EHF (void); //========================================================================= == unsigned int Init_W627EHF(void)

{

unsigned int result; unsigned char ucDid;

W627EHF_BASE = 0x2E; result = W627EHF_BASE;

ucDid = Get_W627EHF_Reg(0x20);

if (ucDid == 0x88)

 

{

goto Init_Finish;

}

W627EHF_BASE = 0x4E; result = W627EHF_BASE;

ucDid = Get_W627EHF_Reg(0x20); if (ucDid == 0x88)

{

goto Init_Finish;

}

W627EHF_BASE = 0x00; result = W627EHF_BASE;

Init_Finish:

return (result);

}

//=========================================================================== void Unlock_W627EHF (void)

{

outportb(W627EHF_INDEX_PORT, W627EHF_UNLOCK); outportb(W627EHF_INDEX_PORT, W627EHF_UNLOCK);

}

//=========================================================================== void Lock_W627EHF (void)

{

outportb(W627EHF_INDEX_PORT, W627EHF_LOCK);

}

//=========================================================================== void Set_W627EHF_LD( unsigned char LD)

{

Unlock_W627EHF();

outportb(W627EHF_INDEX_PORT, W627EHF_REG_LD); outportb(W627EHF_DATA_PORT, LD); Lock_W627EHF();

}

//=========================================================================== void Set_W627EHF_Reg( unsigned char REG, unsigned char DATA)

{

Unlock_W627EHF();

outportb(W627EHF_INDEX_PORT, REG);

 

 

22

MB900-R User’s Manual

Image 26
Contents USER’S Manual VersionAcknowledgments Table of Contents This page is intentionally left blank Checklist IntroductionMB900-R Specifications CPU FSBBoard Dimensions Installations Installing the CPU ATX Power Installation Installing the MemorySetting the Jumpers Jumper Locations on MB900-R JP1, JP2, JP3 RS232/422/485 COM2 Selection JP4 IDE DMA Mode SettingJP6 Clear Cmos Contents JP7 CF Socket Master / Slave Selection Connectors on MB900-R Connector Locations on MB900 -R ATX1 24-pin ATX Power Connector ATX2 ATX 12V Power ConnectorCN1 PS/2 Keyboard and PS/2 Mouse Connectors CN2, J2, J7, J8 COM1/2/3/4 Serial PortsCN3 Parallel Port Connector CN4 VGA CRT ConnectorTX+ J6 USB6/USB7 Connector J1 Digital I/O Connector 4 in, 4 outJ5 USB4/USB5 Connector J3 Audio Front HeaderJ11 IrDA Connector J9 Wake On LAN ConnectorJ10 System Function Connector FAN1 CPU Fan Power Connector FAN2, FAN3, FAN4 Fan Power Connectors IDE1 Primary IDE ConnectorsWatchdog Timer Configuration Sample CodeSetW627EHFLD0x08 UnlockW627EHF OutportbW627EHFINDEXPORT, REG OutportbW627EHFDATAPORT, Data LockW627EHF Switch to logic device Bios Setup Bios Introduction Bios SetupPhoenix AwardBIOS Cmos Setup Utility Standard Cmos Setup DateDrive a / Drive B TimeIDE Channel Master/Slave Video Halt OnHard Disk Boot Priority Advanced Bios FeaturesCPU Feature Virus WarningBoot Other Device Quick Power On Self TestFirst/Second/Third Boot Device Boot Up Floppy SeekSecurity Option Typematic Delay MsecApic Mode MPS Version Control for OSDram Timing Selectable Advanced Chipset FeaturesDram RAS# to CAS# Delay CAS Latency TimeVideo Bios Cacheable Precharge Delay tRASSystem Bios Cacheable On-Chip VGA SettingIntegrated Peripherals OnChip IDE DeviceOn-chip Primary PCI IDE Enabled IDE HDD Block ModeIDE DMA Transfer Access OnChip Primary/Secondary PCI IDEKB Power on Password On-Chip Serial ATA SettingPower on Function Hot Key Power onPwron After PWR-Fail Uart Mode SelectOnboard Serial Port Power Management Power Management SetupRUN Vgabios if S3 Resume Acpi FunctionPower On by Ring Suspend ModeHDD Power Down Resume by AlarmReload Global Timer Events PNP/PCI Configurations PC Health Status CPU Warning TemperatureTemperatures/Voltages Auto Detect PCI Clk Frequency/Voltage ControlCPU Clock Ratio Spread Spectrum ModulatedSet Supervisor Password Load Fail-Safe DefaultsLoad Optimized Defaults Save & Exit SetupDrivers Installation Intel 945G Chipset Software Installation Utility Drivers Installation Intel 945G Chipset Graphics Driver Realtek Codec Audio Driver Installation Marvell 88E8052 LAN Drivers Installation Intel PRO LAN Drivers Installation This page is intentionally left blank Appendix O Port Address MapInterrupt Request Lines IRQ Level Function