Write Configuration Word
This function writes individual words from the configuration space of the VMEbus inter-
face. The Register Number parameter must be a multiple of two (i.e., bit 0 must be set to
0).
ENTRY:
[AH]
BIOS_FUNCTION_ID = B1h
[AL]
BIOS_SUBFUNCTION_ID = 0Ch
[BH]
Bus Number (0-255)
[BL]
Device Number in upper 5 bits
Function Number is bottom 3 bits
[DI]
Register Number (0, 2, 4, ...254)
[CX]
Word Value to Write
EXIT:
[AH]
Return Code:
00h = SUCCESSFUL
87h = BAD_REGISTER_NUMBER
[CF]
Completion Status, set = error, reset = success
Write Configuration Dword
This function writes individual dwords from the configuration space of the VMEbus in-
terface. The Register Number parameter must be a multiple of four (i.e., bits 0 and 1
must be set to 0).
ENTRY:
[AH]
BIOS_FUNCTION_ID = B1h
[AL]
BIOS_SUBFUNCTION_ID = 0Dh
[BH]
Bus Number (0-255)
[BL]
Device Number in upper 5 bits
Function Number is bottom 3 bits
[DI]
Register Number (0, 4, 8, ...252)
[ECX] Dword Value to Write
EXIT:
[AH]
Return Code:
00h = SUCCESSFUL
87h = BAD_REGISTER_NUMBER
[CF]
Completion Status, set = error, reset = success
Chapter 4 – Programming
4-11
Need help?
Do you have a question about the XVME-653 and is the answer not in the manual?