back to notes

Performance testing BASIC

Should give you how many ticks (at 50 Hz or 60 Hz) have occurred since the last call of the subroutine.

1000 %b=peek 23672
1010 %t=b-a:if %t<0 then %t=t+256
1020 %a=b
1030 return

via: https://www.facebook.com/groups/ZXNextBasic/permalink/785462778646730/?comment_id=785615665298108



last updated march 2020