VOGONS


First post, by SodaSuccubus

User metadata
Rank Member
Rank
Member

Quick question. Is there any program to increase the polling rate for PS2 mice in DOS? I use ps2rate on windows to get my desired smoothness and it's really janky going back without it in DOS.

I didn't see anything listed in CTmouse for it.

Reply 1 of 1, by firage

User metadata
Rank Oldbie
Rank
Oldbie

It should be very possible, but haven't come across much for DOS.
For Microsoft MOUSE.COM v8.20, there's the following command-line switch parameter:

/R1 – specifies interrupt rate 30 Hz (the default). Alternatives are: 
/R2 – interrupt rate 50 Hz,
/R3 – interrupt rate 100 Hz,
/R4 – interrupt rate 200 Hz.

Corresponding MOUSE.INI value: "InterruptRate = #"

Haven't tested if it actually works with PS/2; early on this only worked for InPort mice.
Drivers that don't have settings available could maybe be hacked to program higher than their default sampling rates? CTMOUSE has its whole Assembly source available...

Some docs on PS/2: https://isdaman.com/alsos/hardware/mouse/ps2interface.htm

My big-red-switch 486