Int 2F/AX=1684h/BX=377Bh

lup.gif ldown.gif Interrups Categories Contents

rbline.gif

MS Windows - MX1501HAD - GET API ENTRY POINT

AX = 1684h
BX = 377Bh (virtual device ID for MX1501HAD device)
ES:DI = 0000h:0000h

Return:
ES:DI -> VxD API entry point (see #02708) 0000h:0000h if the VxD does not support an API

Note: The drivers VCMD95C.VXD and VCMD.386 are part of the driver disks provided with the chip-card-reader/keyboard combination MX 1501 HAD, produced by Cherry

See Also: AX=1684h"DEVICE API" - INT 20"Windows"

(Table 02708) 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

See Also: #02706 - #02711

Bitfields for retrieval mode: Bit(s) Description (Table 02709) 0 enable data retrieval 1 0 = interrupt-driven. 1 = polling mode 2 0 = read port 60h everytime. 1 = read port 60h only when OBF of port 64h is set 3 0 = don't call old INT 9. 1 = call INT 9 before our INT-handler 4-7 reserved

See Also: #02708 - #02710

Format of FIFO entry (1024 entries in FIFO): Offset Size Description (Table 02710) 00h BYTE data byte 01h BYTE I/O port 02h BYTE direction (1=in, 0=out) 03h BYTE reserved 04h DWORD timestamp

See Also: #02708 - #02709

Category: Uncatagorized - Int 2Fh - M

rbline.gif

lup.gif ldown.gif Interrups Categories Contents