RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

OS_Word 14_1

Programmer's Reference Manuals
» Part 15 – SWI Calls
» OS
» OS_Word
» OS_Word 14
» OS_Word 14,1

OS_Word 14,1

(SWI &07)
Entry
R0 14 (&0E)
R1 Pointer to 7-byte block, and containing:
+0 1 (reason code)
Exit
R0 Preserved
R1 Preserved, block updated

Use

The purpose of this call is to read the time directly from the CMOS clock.

Notes

OS_Word 14, with a reason code of 1, reads the time directly from the CMOS clock.

The time is returned in a Binary Coded Decimal (BCD) format.

This call is not Y2K compliant since it returns only a two-digit value for year. As such, this call is deprecated.

See also

  • OS_Word
  • OS_Word 14
  • OS_Word 14_1 BCD Format
Created on December 4, 2009 21:19:09 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: OS_Word 14, OS_Word 14_1 BCD Format

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys