Quote:
|
Define really large. As do you think the error is in the high 16 bit or the low 16?
|
Well, that's a good question. It appeared to be in the high 16 bits of the GetTime() result. My trace output code looked like this:
Code:
printf("clock=%6d\n",tmsClock);
printf("timer=%lx\n",(unsigned long) GetTime());
The tmsClock value always looked okay. The GetTime() would accend as expected but I would get some "noise" in the high 16 bits.
Since my terminal program converted the hexstring to decimal, I wasn't able to issolate it to ONLY the high 16.