Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team
Code: Select all
Timer=0
Code: Select all
610 TMR=leek(1210) : if TMR>200 then loke 1210,-20
EstTeeEfEm wrote:Well, I actually solved this by reading the 200hz timer rather than the 50...
I totally gave up using timer=0, because what was happening was the timer would count say 8 seconds then skip one second... basically the timer was running slightly slower than the VBL .. odd but with a lot of stuff running its more noticeable..Code: Select all
610 TMR=leek(1210) : if TMR>200 then loke 1210,-20
Its -20 because when it reached the new instruction it was VERY close to 0
worked better for me and gave a more consistent timer. I'd check this timer was over 200 then reset it (logically using another variable) its more accurate than reading... IF timer>50 .. I've found anyway... might just have been a coincidence that the whole thing stated working properly, STOS can sometimes be funny anyways when trying to get some serious accuracy.
Users browsing this forum: No registered users and 1 guest