Jump to content

high definition timers


Recommended Posts

Posted

hi all,

anyone know a way to get high definition timers on the SPV?

the way the existing Quake code that I'm working with does this is with QueryPerformanceCounter (gettick etc is not accurate enough)

the problem is that the SPV doesn't have the hardware support for this function - which means that all the timing routines effectively fail (not good)

this is hugely important to the way quake works (disabling the routines drops the performance through the floor on the emulator - and when re-enabled perfomance is back to 60fps in the emulator)

any suggestions anyone?

is it possible to do the equivalent of low level bios/dos interrupts (if such things exist on these phones)??

thanks in advance

muff

Guest spacemonkey
Posted

GetTickCount() returns the number of milliseconds since the phone was switched on... is that accurate enough?

it'll wrap to 0 every 49 days if the user hasn't rebooted their phone....

Happy...happy.. joy joy

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.