| Entry | |
|---|---|
| R0 | 14 (&0E) |
| R1 | Pointer to 5-byte block, and containing: |
| +0 | 3 (reason code) |
| Exit | |
|---|---|
| R0 | Preserved |
| R1 | Pointer to block containing: |
| +0 | Time (LSB) |
| +1 | … |
| +2 | … |
| +3 | … |
| +4 | Time (MSB) |
The purpose of this call is to read the real-time, and return it in 5-byte format.
OS_Word 14,3 reads the time from the CMOS clock as a standard RISC OS 5 byte time block (centiseconds from 1900/01/01 00:00:00).
On RISC OS 2 the clock is assumed to be set to local time, later RISC OS assumes UTC.