System Installation
AMDY-7002 User’s Manual
3-7
//Or_Register(0xC2,0xE0) //35,36,37
//Or_Register(0xC3,0x80) //47
//Or_Register(0xC4,0x01) //50
//Set Output
Or_Register(0xC8,0x06); //11,12
Or_Register(0xCB,0x80); //47
Or_Register(0xCC,0x01); //50
Or_Register(0xCE,0xF0); //74,75,76,77
//Set Input
And_Register(0xC8,0xEF); //14
And_Register(0xCA,0x1F); //35,36,37
And_Register(0xCE,0xF0); //70,71,72,73
//output high
outp(GP0,0x06); //11,12
outp(GP3,0x80); //47
outp(GP4,0x01); //50
outp(GP6,0xF0); //74,75,76,77
result=1;
if ((inp(GP0)&0x10)!=0x10) result=0;
if ((inp(GP2)&0xE0)!=0xE0) result=0;
if ((inp(GP6)&0x0F)!=0x0F) result=0;
if (result==0){
printf("Test fail!!\n");
return 1;
}
//output low
outp(GP0,inp(GP0)&0xF9); //11,12
outp(GP3,inp(GP3)&0x7F); //47
outp(GP4,inp(GP4)&0xFE); //50
outp(GP6,inp(GP6)&0x0F); //74,75,76,77
result=1;
if ((inp(GP0)&0x10)!=0x00) result=0;
if ((inp(GP2)&0xE0)!=0x00) result=0;
if ((inp(GP6)&0x0F)!=0x00) result=0;
if (result==0){
printf("Test fail!!\n");
return 1;
}
///////////////////////////////////////////////////
//Set Input
And_Register(0xC8,0xF9); //11,12
And_Register(0xCB,0x7F); //47
And_Register(0xCC,0xFE); //50
And_Register(0xCE,0x0F); //74,75,76,77
//Set output
Or_Register(0xC8,0x10); //14
Summary of Contents for AMDY-7002
Page 8: ...System Overview AMDY 7002 User s Manual 1 5 1 3 1 Mechanical Drawing ...
Page 9: ...System Overview AMDY 7002 User s Manual 1 6 ...
Page 12: ...Hardware Configuration AMDY 7002 User s Manual 2 2 Connector location on top layer RTL8111D L ...
Page 53: ...BIOS Setup Information AMDY 7002 User s Manual 4 20 4 7 Boot Boot Priority Order ...