mac3n@babbage.acc.virginia.edu (Alex Colvin) (07/30/88)
Is there a good way to get a high resolution clock on a PS/2? Better than on a PC? My understanding of the PC clock is that when the system clock register counts down to 0 it kicks out a signal which can wind up at the PIC, causing an interrupt. This if you concatenate the interrupt count to the current clock value you can get a >16 bit wide clock with resolution below 1 usec. The problem seems to be that there's a flop in between the clock and the PIC. Thus there's 1 bit missing from the middle of the time. The clock wraps every 27. msec, but you can only get interrupted every 54. msec. Is this true? Especially, if true, is this fixed on the PS/2? I hear they messed around with the interrupt structure.