Read/Write system clock
OSWord call | Action | Available on: | ||||
---|---|---|---|---|---|---|
(dec) | (hex) | BBC | Master | Electron | ||
1 | 01 | Read system clock | x | x | x | |
2 | 02 | Write system clock | x | x | x |
The clock is a five byte clock value is read or written to the address contained in the X and Y registers.
For example the TIME function in BASIC uses OSWORD 0x01.
This clock is incremented every hundredth of a second and is set to 0 by a hard BREAK.
Last modified October 6, 2021: Move BBC content into subdirectory to allow more bbc content (23080e8)