Tickcal
Get Timer Calibration
Tickcal() Opcode = 6
T his call re tu rn s th e n u m b er of m illiseco n ds b etw e en tim e r tick in te rru p ts.
F o r th e c u rre n t ST m od els, th is v alu e is 2 0 m illisecon d s.
C macro format
lo n g tick len;
tick len = T ic k c a l();
Machine language format
m o v e.w # 6 , - ( s p )
tra p # 1 3
ad d q .l # 2 ,s p
Inputs
N o ne
Results
DO tick len lo n g T h e n u m b e r o f m illise co n d s b e tw e e n sy ste m tim e r
u p d ate s .
181