include bimodint.inc
les di, bis
mov ax, VPICD_Install_Handler
call [lpfnVPICD]
jc errorhandler
Installs a bimodal interrupt handler for the IRQ specified by the BIS_IRQ_Number field in the Bimodal_Int_Struc structure.
This function virtualizes the specified IRQ and creates supervisor-mode selectors for the interrupt handler's code, data, and additional segments (if any). The function also sets the supervisor-mode API handler.