phaeron, on Sun Feb 5, 2012 3:59 PM, said:
The usual solution for this is to jack up the system timer rate using timeBeginPeriod(1). A goofy thing you can try is to check AspeQt's timing when Altirra is running in the background (actually running, not paused) -- it raises the system timer precision to 1ms when running so this would also affect AspeQt's thread scheduling. The delay will still be longer than needed, 1.5ms on average, but it'd be significantly better.
Now that you mentioned timeBeginPeriod() I also saw a reference to it in the docs of the Sleep() function - must have missed this back then :-)
Quote
Also, I wonder whether the delay between Complete to data frame is actually necessary. There isn't a timing requirement for this in the SIO spec and so presumably the computer would have to handle back-to-back transfers. The 810 has a long complete-to-data delay due to its checksum routine, while the XF551 has a 1.2ms delay and it looks like the 1050 just sends the data immediately.
/* QMEG OS 3 needs a delay of max. 150usec between complete and data */I can't remember which other SIO implementations also need a delay, and how long it would need to be, I have the 150µs delay in my code for some time now, without any troubles.
so long,
Hias




Send me a message
Find content
Not Telling
Display name history
