AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
=>     R0 =     3
     R1 =     pointer to five byte block

This SWI reads 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 event 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 obsolecent - use OS_CallAfter or OS_CallEvery instead.

[sh-index] Back to list of manuals