qa.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Int 15H Function C2H Subfunction 02H
   Summary  Notes  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Set Sample Rate      [PS/2]
 
  Sets the sampling rate of the system's mouse or other pointing device.
 
  Input                                    Output
  ═════════════════════════════            ═══════════════════════════
  AH=C2H                                   If function successful
  AL=02H                                   Carry flag=clear
  BH=sample rate value                     AH=00H
     00H=10 reports per second             If function unsuccessful
     01H=20 reports per second             Carry flag=set
     02H=40 reports per second             AH=status (see Int 15H
     03H=60 reports per second                        Function C2H
     04H=80 reports per second                        Subfunction 00H)
     05H=100 reports per second
     06H=200 reports per second
                                    -♦-