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

SWI Error Block

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» SWI Calls
» Wimp_ReportError
» SWI Error Block

SWI Error Block

Offset Contents
+0 Error number
+4 Error String (zero terminated)
Bits Meaning when set
0-7 Basic error number
8-23 Error owner or Error Generator
24 Reserved. Must be 0
25 Reserved. Must be 0
26 Reserved. Must be 0
27 Reserved. Must be 0
28 Reserved. Must be 0
29 Reserved. Must be 0
30 Defined to be 0
31 Error is serious (hardware). Owner is then;
0 Machine failure
1 Co-Processor failure
2 Floating Point
3 Econet

Notes

X SWI’s are allowed to generate (rather than return) serious errors.

See also

  • Error Box Type List
  • Error Generators
  • OS_Exit
  • OS_File 19
  • OS_GenerateError
  • ReportError Flags
  • Service_Error
  • Wimp_ReportError
Revised on December 8, 2009 19:37:35 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (4 revisions) | See changes | History | Views: Print | Source | Linked from: Wimp_ReportError, ReportError Flags, Error Box Type List, Error Generators, OS_Exit, OS_ExitAndDie, OS_File 19, OS_GenerateError, Service_Error, Service_UKByte, UKConfig Error Codes, Service_PreModeChange, Service_DisplayFormatHelp, SWI Introduction

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