Assembly Language Help (alang.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
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   15h     Function:   C2h     Subfunction:   02h
 
  Title:       Set Sample Rate
 
  Description:                                                    [PS/2]
 
     Sets the sampling rate of the system's mouse or other pointing
     device. The default sample rate is 100 reports per second after
     a reset operation (Int 15h Function C2h Subfunction 01h).
 
     Input                                     Output
 
     AH = C2h                                  If function successful
     AL = 02h                                    Carry flag: clear
     BH = Sample rate value                      AH = 00h
          00h = 10  reports per second
          01h = 20  reports per second         If function unsuccessful
          02h = 40  reports per second           Carry flag: set
          03h = 60  reports per second           AH = Status
          04h = 80  reports per second                See: Int 15h
          05h = 100 reports per second                     Function C2h
          06h = 200 reports per second                     Subfunction 00h
                                    -♦-