Bill I am currently working on a robotics project that uses encoders and I think I could really mke some use of that piece of code for measuring time. I will have to convert it to PIC code however and that should be fun. Scott William Chops Westfield wrote: > I have somewhere low-level code that accepts serial data from a mouse > and interprets it approximately correctly (ie for dos applications.) > It'd be in 8086 assembler, I think, and I could dig it up if anyone > is interested. (Having to fiddle with setcursorpos just to get continuous > data from a mouse is GROSS.) > > BillW