Function 44 - define operations at IRQ arrival.
At IRQ arrival the system can read the data from ports defined
by this function and write these data to internal buffer, whence
they can be read by функцией 42.
Parameters:
- eax = 44 - function number
- ebx = pointer to the array of structures each describing one port:
- +0: word: 0 means end of array, otherwise port number
- +2: byte: reserved (ignored)
- +3: byte: 1=read byte from this port, 2=read word
- ecx = IRQ number, 0..15
Returned value:
- eax = 0 - success
- eax = 1 - the thread is not owner of selected IRQ
Remarks:
- Previously the thread must reserve for itself selected IRQ
by function 45.
- First 16 ports are considered only.
- The current implementation considers incorrect value of field +3
as a signal to terminate IRQ processing.