|
Re: Timer interrupt hic-cupping - HELP
Quote:
|
Originally Posted by roknjohn
Code:
printf("timer=%lx\n",(unsigned long) GetTime());
|
I agree with Jamie, this printf will return bogus results. It only processes 16 bits and treats them as a signed int.
[edit]My error. I forgot about the %lx format being available in printf. Our original issue with printing longs was with interpreting signed longs easily. Thanks for the correction Random.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 15-03-2004 at 16:31.
|