Showing changes from revision #1 to #2:
Added | Removed | Changed
Entry | |
---|---|
R0 | 3 |
R1 | Pointer to 5 byte block |
Exit | |
---|---|
R0 | Preserved |
R1 | Preserved |
The purpose of this call is to read the interval timer.
On exit, the buffer contains five byte interval timer, with LSB first.
The timer is incremented 100 times a second, and generates a interval timer event (event number 5) when it reaches 0. (You must enable the event with OS_Byte 14).
To generate repeating events you would have to reload the timer on each event. The timer is obsolescent – use OS_CallAfter or OS_CallEvery instead.
To write the interval timer, use OS_Word 4.