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_File

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

OS_File

(SWI &08)
Entry
R0 Reason code
Other registers dependent of reason code
Exit
R0 Preserved
Other registers dependent of reason code

Use

The purpose of this call is to perform operations on whole files.

Reason Codes

# Action
0 Save block of memory as a file
1 Write catalogue info for named object
2 Write load address for named object
3 Write exec address for named object
4 Write attributes for named object
5 Read catalogue info for object
6 Delete named object
7 Create empty un-stamped file
8 Create directory
9 Date stamp named object
10 Save block of memory as a typed file
11 Create empty file
12 Load named file given path
13 Read catalogue info for object given path
14 Load named file given path variable
15 Read catalogue info for object given path variable
16 Load named file without path
17 Read catalogue info for object without path
18 Set type of named object
19 Generate error message
20 Read catalogue info for stamped object
21 Read catalogue info for stamped object given path
22 Read catalogue info for stamped object given path variable
23 Read catalogue info for stamped object without path
24 Read block size of file
255 Load named file
Revised on November 26, 2010 12:43:23 by Trevor Johnson (329)? (127.0.0.1)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: FileSwitch SWI Calls, OS SWI Calls, OS_File 0, OS_File 10, OS_File 1, OS_File 2, OS_File 3, OS_File 4, OS_File 9, OS_File 18, OS_File 5, OS_File 13, OS_File 15, OS_File 17, File Object Types, OS_File 6, OS_File 7, OS_File 11, OS_File 8, OS_File 12, OS_File 14, OS_File 16, OS_File 255, OS_File 19, OS_File 20, OS_File 21, OS_File 22, OS_File 23, OS_File 24, Software Vector Numbers, OS_UpCall 3

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