include bimodint.inc mov ax, VPICD_API_Get_Ver call [lpfnVPICD] ; VPICD entry-point address jc error ; carry flag set on error mov [Major], ah ; major version number mov [Minor], al ; minor version number |
The VPICD_API_Get_Ver function returns the major and minor version numbers for the virtual PIC device.
lpfnVPICD
Specifies the entry-point address of the API handler for the virtual PIC device.
The carry flag is clear and the AX register contains the major and minor version numbers, if the function is successful.