)
Call CHERRY VCMD95C.VXD entry point with:
AX = function
0001h get version
Return: AX = version number (0100h) (AH = major, AL = minor)
0002h hook INT 09 (and 8???)
0003h unhook INT 09 (and 8???)
0004h get number of bytes in FIFO
Return: AX = bytes in FIFO
0005h get next FIFO-data
Return: AX = data
BL = port number
BH = direction (1=in, 0=out)
DX:CX = timestamp
0006h clear FIFO
0007h output byte
DX = port number
BL = keyboard command
Return: data in FIFO (see #02710)
(value, port, in/out, timestamp)
0008h input byte
DX = port number
Return: data in FIFO (see #02710)
(value, port, in/out, timestamp)
0009h input byte immediately
DX = port number
Return: AX = data
000Ah read next FIFO data (nondestructive)
Return: AX = data
BL = port number
BH = direction (1=in, 0=out)
DX:CX = timestamp
000Bh get timestamp
Return: DX:CX = timestamp (in ms)
000Ch enable IRQ 1
000Dh disable IRQ 1
000Eh enable data retrieval
Note: Sets a flag in the internal mode-byte which
tells the driver to recognize the data
000Fh disable data retrieval
Note: resets a flag in the internal mode-byte
0010h get retrieval mode
Return: AX = current retrieval mode
0011h set retrieval mode
BX = new retrieval mode (see #02709)
Return: AX = old retrieval mode
0012h get command value
Return: AX = command value
0013h set command value
BX = command value
SeeAlso: #02706,#02711