User`s manual

DIGITAL-LOGIC AG MSLB-P5 Manual V0.3
PRELIMINARY 186
16.6.13 Interrupt 15h–PS/2 Mouse Services
The INT 15 software interrupt optionally supports systems with the PS/2 mouse or similar devices in-
stalled on the motherboard. The following table describes the exit status codes:
PS/2 Mouse Exit Status Codes
AH 00h = No error
01h = Invalid function call
02h = Invalid input value
03h = Interface error
04h = Request for resend received from 8042
05h = No driver installed (i.e., Function C207
has not been called)
The following table describes the Interrupt 15h PS/2 mouse services of PhoenixBIOS 4.0:
Interrupt 15h PS/2 Mouse Services
AH = C2h PS/2 Mouse Support
AL 00 = Enable/Disable PS/2 Mouse
Entry:
BH 00h = Disable
01h = Enable
AL 01 = Reset PS/2 Mouse
Exit:
BH Device ID
AL 02 = Set Sample Rate
Entry:
BH Sample rate:
00h = 10 reports per second
01h = 20 reports per second
02h = 30 reports per second
03h = 40 reports per second
04h = 60 reports per second
04h = 80 reports per second
05h = 100 reports per second
06h = 200 reports per second
AL 03h = Set resolution
Entry:
BH Resolution value:
00h = 1 count per millimeter
01h = 2 counts per millimeter
02h = 4 counts per millimeter
03h = 8 counts per millimeter
AL 04h = Read Device Type
Exit:
BH Device ID
AL 05h = Initialize PS/2 mouse
Entry:
BH Data package size (01-08h, in bytes)
Interrupt 15h-PS/2 Mouse Services,