VPICD_Get_Version

include vpicd.inc

VxDcall VPICD_Get_Version

mov byte ptr [Major], ah ; major version number

mov byte ptr [Minor], al ; minor version number

mov [Flags], ebx ; configuration flags

mov [MaxIRQ], ecx ; maximum IRQ supported


The VPICD_Get_Version service returns the VPICD major and minor version numbers.

Parameters

This service has no parameters.

Return Value

The carry flag is always clear, and the following registers contain the specified values:

Register Value

AH Specifies the major version number for the virtual PIC device.
AL Specifies the minor version number for the virtual PIC device.
EBX Specifies the configuration flag for the PIC. The flag can be the following value:

Value Meaning

1 System has a master/slave (PC/AT-type) configuration. If this value is not given, the system has a single PIC ( PC/XT-type) configuration.

  All other values are reserved.
ECX Specifies the maximum IRQ supported. It is either 07h or 0Fh.

Uses

EAX, EBX, ECX, Flags