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_NVMemory

Programmer's Reference Manuals
» Part 15 - SWI Calls
» OS
» OS_NVMemory

OS_NVMemory

(SWI &76)
Entry
R0 Reason code
Exit
All other registers dependent on reason code

Use

The purpose of this call is to provide an interface that allows the full capacity of a machines NVRAM (aka CMOS RAM) to be accessed. Other calls (OS_Byte 161, OS_Byte 162) are limited in that they only provide access to the first 240 bytes of NVRAM.

Notes

The action performed depends on the reason code value in R0.

Reason Codes

# Hex # Action
0 &00 Read NVMRAM size
1 &01 Read a byte
2 &02 Write a byte
3 &03 Read bytes
4 &04 Write bytes

See also

  • OS_Byte 161
  • OS_Byte 162
  • HAL NVRAM API
Created on February 20, 2011 16:45:22 by Jeffrey Lee (213) (127.0.0.1)
Edit | Views: Print | Source | Linked from: OS SWI Calls, OS_NVMemory 0, OS_NVMemory 1, OS_NVMemory 2, OS_NVMemory 3, OS_NVMemory 4

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