![background image](http://html1.mh-extra.com/html/ibase-technology/mb997/mb997_user-manual_3298449081.webp)
Appendix
MB997
User’s Manual
73
outportb(NCT6686_PAGE_CONFIG_PORT, 0xFF);
outportb(NCT6686_PAGE_CONFIG_PORT, 0x02);
}
//---------------------------------------------------------------------------
void NCT6686SetPageValue(int Page, int Index, int Data){
outportb(NCT6686_PAGE_CONFIG_PORT, Page);
outportb(NCT6686_PAGE_CONFIG_INDEX, Index);
outportb(NCT6686_PAGE_CONFIG_DATA, Data);
}
//---------------------------------------------------------------------------
void NCT6686ExitConfig(void){
outportb(NCT6686_PAGE_CONFIG_PORT, NCT6686_PAGE_CONFIG_EXIT);
}
//---------------------------------------------------------------------------
void Delay_Loop(void){
int Timeout;
for ( Timeout = 0; Timeout < 255; + ) {
outportb( 0x80, 0xAA );
outportb( 0x80, 0xBB );
outportb( 0x80, 0xCC );
}
}
//---------------------------------------------------------------------------
//
// 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 "NCT6686D.H"
#include <dos.h>
//---------------------------------------------------------------------------
unsigned int NCT6686D_BASE;
void Unlock_NCT6686D (void);
void Lock_NCT6686D (void);
//---------------------------------------------------------------------------
unsigned int Init_NCT6686D(void)
{
unsigned int result;
unsigned char ucDid;
NCT6686D_BASE = 0x4E;
result = NCT6686D_BASE;
ucDid = Get_NCT6686D_Reg(0x20);
if (ucDid == 0xD4)
//NCT6686D
{
goto Init_Finish;
}
NCT6686D_BASE = 0x2E;
result = NCT6686D_BASE;
ucDid = Get_NCT6686D_Reg(0x20);
if (ucDid == 0xD4)
//NCT6686D
Summary of Contents for MB997
Page 8: ...viii MB997 User s Manual This page is intentionally left blank ...
Page 14: ...6 MB997 User s Manual 1 6 Block Diagram ...
Page 17: ...General Information MB997 User s Manual 9 1 1 8 Dimensions ...
Page 18: ...10 MB997 User s Manual This page is intentionally left blank ...
Page 22: ...14 MB997 User s Manual 2 3 Jumper Connector Locations on MB997 ...
Page 64: ...56 MB997 User s Manual CDROM Drives with no media will be emulated according to a drive type ...
Page 72: ...64 MB997 User s Manual ...