Interval timer
OSWord call | Action | Available on: | ||||
---|---|---|---|---|---|---|
(dec) | (hex) | BBC | Master | Electron | ||
3 | 03 | Read interval timer | x | x | x | |
4 | 04 | Write interval timer | x | x | x |
This routine may be used to read/write the interval timer, used for events.
For read (OSWord 0x03) the current clock value will be writted to the 5 bytes pointed to by the XY registers.
For write (OSWord 0x04) the new clock value is contained in the 5 bytes pointed to by the XY registers.
Last modified October 6, 2021: Move BBC content into subdirectory to allow more bbc content (23080e8)