18-2
Serial EEPROM and CMOS RAM
PC-500 user’s manual
Return registers:
Carry flag cleared if successful
AX
Word read
Carry flag set if error
AL
Error code
Error code Meaning
ffh
Unknown error
01h
Function not implemented
02h
Defective serial EEPROM
03h
Illegal access
Comments:
This function reads a word from the user area of the
serial EEPROM.
Programming example:
/* Read word 2 */
unsigned int seeData;
/* Inline assembly code for Borland C++ 3.1 */
asm {
mov
ax,0fc00h
mov
bx,02h
/* Read word 2 */
mov
dx,0ffffh
int
17h
mov
seeData,ax /* store data in c environment */
}
Write a single word to the serial EEPROM
Function:
fch
Subfunction:
01h
Purpose:
To write a single word to the on-board serial
EEPROM.
Calling registers:
AH
fch
AL
01h
BX
Word address (zero based)
CX
Data word to write
DX
ffffh (relative to user area)
Return registers:
Carry flag cleared if successful
Carry flag set if error
AL
Error code
Error code Meaning
ffh
Unknown error
01h
Function not implemented
02h
Defective serial EEPROM
03h
Illegal access
Comments:
This function writes a word to the user area of the
serial EEPROM.
Содержание PC-500
Страница 2: ...O C T A G O N S Y S T E M S Embedded PCs For Extreme Environments PC 500 User s Manual 5170 0403 ...
Страница 7: ...Notice to user PC 500 user s manual ...
Страница 17: ...xii Contents PC 500 user s manual ...
Страница 23: ...About this manual PC 500 user s manual ...
Страница 25: ...Overview of Section 1 PC 500 user s manual ...
Страница 35: ...2 2 Quick start PC 500 user s manual Figure 2 1 PC 500componentdiagram ...
Страница 36: ...2 3 PC 500 user s manual Quick start Figure 2 2 PC 500center to centerholedimensions ...
Страница 53: ...3 10 SETUP programs PC 500 user s manual ...
Страница 57: ...4 4 Save and run programs PC 500 user s manual ...
Страница 59: ...Overview of Section 2 PC 500 user s manual ...
Страница 71: ...5 12 Serial ports PC 500 user s manual ...
Страница 75: ...6 4 LPT1 parallel port PC 500 user s manual ...
Страница 81: ...7 6 Console devices PC 500 user s manual ...
Страница 89: ...10 2 IRQ routing and opto IRQs PC 500 user s manual Figure 10 1 Interruptroutingmatrix ...
Страница 103: ...11 12 EZ I O PC 500 user s manual ...
Страница 117: ...14 2 PC 104 expansion PC 500 user s manual ...
Страница 119: ...15 2 SCSI PC 500 user s manual ...
Страница 121: ...16 2 Ethernet PC 500 user s manual ...
Страница 123: ...Overview of Section 3 PC 500 user s manual ...
Страница 127: ...17 4 Watchdog timer and hardware reset PC 500 user s manual ...
Страница 143: ...19 8 Transferring files remote disks PC 500 user s manual ...
Страница 173: ...22 22 CPU power management PC 500 user s manual ...
Страница 177: ...23 4 Troubleshooting PC 500 user s manual ...
Страница 179: ...Overview of Section 4 PC 500 user s manual ...
Страница 225: ...B 28 Software utilities PC 500 user s manual ...
Страница 231: ...D 4 Accessories PC 500 user s manual ...