System Installation
RUBY-D716VG2AR User’s Manual
3-10
static unsigned char EC_ReadByte (unsigned char index)
{
unsigned char tmp;
outportb (EC_BASE, index);
delay(2);
tmp = inportb (1);
delay(2);
return
tmp;
}
void EC_SetRamByte (int address, unsigned char data)
{
int addr_HighByte, addr_LowByte;
addr_HighByte = (address >> 8) & 0xFF;
addr_LowByte = address & 0xFF;
EC_WriteByte(EC_IO_BASE,
0x11);
EC_WriteByte(EC_1,
addr_HighByte);
EC_WriteByte(EC_IO_BASE,
0x10);
EC_WriteByte(EC_1,
addr_LowByte);
EC_WriteByte(EC_IO_BASE,
0x12);
EC_WriteByte(EC_1,
data);
}
unsigned char EC_GetRamByte (int address)
{
int addr_HighByte, addr_LowByte;
addr_HighByte = (address >> 8) & 0xFF;
addr_LowByte = address & 0xFF;
EC_WriteByte(EC_IO_BASE,
0x11);
Содержание RUBY-D716VG2AR
Страница 7: ...System Overview RUBY D716VG2AR User s Manual 1 4 1 3 1 Mechanical Drawing...
Страница 8: ...System Overview RUBY D716VG2AR User s Manual 1 5...
Страница 71: ...BIOS Setup Information RUBY D716VG2AR User s Manual 4 26 SMBIOS Event Log Clears SMBIOS events Choices Enter...
Страница 78: ...Troubleshooting RUBY D716VG2AR User s Manual 5 4...