Write CMOS clock
OSWord call | Action | Available on: | ||||
---|---|---|---|---|---|---|
(dec) | (hex) | BBC | Master | Electron | ||
15 | 0F | Write CMOS clock | x |
This routine allows the onboard CMOS clock to be set. For systems without a CMOS clock, the MOS passes the calls to sideways ROM's for support.
The first byte of the parameter block is a function code representing the action required. The rest of the block's content (including its size) depends on that function.
Function | Action | Format of input |
---|---|---|
8 | Set time | "HH:MM:SS" |
16 | Set date | "Day,DD Mon Year" |
24 | Set date and time | "Day,DD Mon Year.HH:MM:SS" |
Last modified October 6, 2021: Move BBC content into subdirectory to allow more bbc content (23080e8)