View Single Post
Old 24 April 2020, 21:39   #3
Registered User

Join Date: Dec 2019
Location: North Dakota
Posts: 314
Originally Posted by meynaf View Post
IIRC the UNIT settings do not change the unit used by the result, but only the accuracy.
Winuae certainly has nothing to do with that.
So, the GetSysTime can really only return time in a single supported unit, despite timer supporting 5 units ? It certainly doesn't mention that in the docs.

That sucks, but I couldn't have known. At least I know I didn't do anything wrong.

The docs say the following:



This unit uses a strobe from the power supply to keep track of its time or the "E" clock on machines without power supply strobes. It is very stable over time, but only has a resolution of that of the vertical blank interrupt. This unit is very cheap to use, and should be used by those who are waiting for long periods of time (typically 1/2 second or more). This unit uses a timeval in its timerequest

So, there is no reason to believe it wouldn't return number of elapsed vblanks in the timeval.

But, at least I can move on and stop burning time on this thing. Thanks !
VladR is offline  
Page generated in 0.04135 seconds with 11 queries