Input:
AX = B102h
CX = device ID
DX = vendor ID (Intel:0x8086, MRVL:0x1B4B, Acer:0x1025, AMI:0x101E, Phoenix:0x100A)
SI = device index (0-n)
Return:
CF clear if successful
CF set on error
AH = status (00h,83h,86h) (see Format of floppy format address field buffer entry)
00h successful
BH = bus number
BL = device/function number (bits 7-3 device, bits 2-0 func)
EAX, EBX, ECX, and EDX may be modified
all other flags (except IF) may be modified
Notes:
- this function may require up to 1024 byte of stack; it will not enable interrupts if they were disabled before making the call
- device ID FFFFh may be reserved as a wildcard in future implementations
- the meanings of BL and BH on return were exchanged between the initial
- drafts of the specification and final implementation
- all devices sharing a single vendor ID and device ID may be enumerated by incrementing SI from 0 until error 86h is returned
沒有留言:
張貼留言