Overflow bit?

Thread Starter

Razor Concepts

Joined Oct 7, 2008
214
I am looking at the PS/2 mouse protocol. I found nice information here:
http://www.computer-engineering.org/ps2mouse/

There are two bits for X overflow and y overflow, if the change is greater than 255. I am a little confused over how this works. So say if the change is 256 for X, will the X overflow bit be 1, and the X movement byte be 00000001?

Thanks!
 

Ratch

Joined Mar 20, 2007
1,070
Razor Concepts,

...So say if the change is 256 for X, will the X overflow bit be 1, and the X movement byte be 00000001?
No, the overflow bit will be set, and the X movement byte will be 0.

Ratch
 
Top