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_Byte 255

Programmer's Reference Manuals
» Part 15 – SWI Calls
» OS
» OS_Byte
» OS_Byte 255

OS_Byte 255

(SWI &06)
Entry
R0 255 (&FF)
R1 EOR value
R2 AND value
Exit
R0 Preserved
R1 Previous state
R2 Corrupted

Use

The purpose of this call is to read or set the current auto boot flag in OS_Byte CMOS Settings.

Notes

This call is deprecated. You should use OS_FSControl 10 instead.

If NoBoot is set, after a reset the computer isn’t automatically booted. If Boot is set, the boot file on the filing system is accessed on reset. To invert this setting, hold Shift down after releasing the reset keys. The bit 3 of R1 indicates the named option. Set means NoBoot, Clear means Boot.

Hum. Yes. This is what the PRM says, and it’s utter garbage.

This call reads or sets the soft copy, which defaults to the contents of the CMOS ram. But you can change it. And OS_FSControl 10 sets the boot option, which is something else (even if machine will try to boot, if the boot option on the disc is off, nothing happens.) OS_FSControl 10 cannot read anything. It’s write only.

See also

  • OS_Byte
  • OS_Byte CMOS Settings
  • OS_FSControl 10
Created on November 17, 2009 20:35:51 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: FileSwitch SWI Calls, OS_Byte, OS_FSControl 15

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