> Does DirectX 3 have the timers necessary? If possible, I'd like this to
> work on NT4 (which only has DirectX 3). If not, can we settle for DirectX
> 6.1 (what I belive win98 shipped with)?

I'm fairly sure that DirectX 3 does not have the timers necessary. If we're
linking against DirectX 8.x, doesn't that mean that FreeSCI would need that
as a minimum requirement regardless?

What I might do, once stages 1-3 have been completed, is try a few timing
implementations for stage 4 (the Win32 event ss plug-in). Now that I think I
know about every possible high-res Windows timing implementation on the
planet, the options are:

a) using the current IReferenceClock::AdvisePeriodic() function
b) using a worker thread and GetTickCount()
c) using a worker thread and QueryPerformanceCounter() (perhaps)
d) using a worker thread and Intel assembler code

That should make it clear which implementations have the best performance,
and which take up the most CPU.

Alex.




Reply via email to