Microsoft KB Archive/35375

From BetaArchive Wiki

Int 51 with Function 36: Get Driver Version, Mouse Type, IRQ# PSS ID Number: Q35375 Article last modified on 05-14-1993 PSS database name: H_Mouse

6.x 7.x 8.x 9.00

MS-DOS

The information in this article applies to:
- Microsoft Mouse Driver for MS-DOS, versions 6.x, 7.x, 8.x, and 9.0

Summary:

BIOS interrupt 51 (33 hex) used with Function 36 (24 hex) gets the version number of the mouse driver, the type of the mouse it requires, and the number of the interrupt request type.

Input Output —– ——

AX = 36 BX = Mouse driver version BH = major version number BL = minor version number CX = Mouse type and IRQ# CH = 1 = bus mouse = 2 = serial = 3 = InPort = 4 = PS/2 = 5 = HP (Hewlett-Packard) CL = IRQ number = 0 = PS/2 mouse port = nonzero (2, 3, 4, 5, or 7) = IRQ number

Reference(s):

“Advanced MS-DOS Programming, Second Edition,” Ray Duncan. Microsoft Press, 1988.

Additional reference words: 7.00 7.04 7.05 8.00 8.10 8.20 9.00

Copyright Microsoft Corporation 1993.