Int 15H [PS/2] Function C2H (194) Subfunction 02H Set sample rate

Sets the sampling rate of the system's mouse or other pointing device.

Call with:

AH = C2H

AL = 02H

BH = sample rate value

00H = 10 reports per second

01H = 20 reports per second

02H = 40 reports per second

03H = 60 reports per second

04H = 80 reports per second

05H = 100 reports per second

06H = 200 reports per second

Returns:

If function successful

Carry flag = clear

AH = 00H

If function unsuccessful

Carry flag = set

AH = status (see Int 15H Function C2H Subfunction 00H)

Note:

The default sample rate is 100 reports per second after a reset operation (Int 15H Function C2H Subfunction 01H).