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 199

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

OS_Byte 199

(SWI &06)
Entry
R0 199 (&C7)
R1 EOR value
R2 AND value
Exit
R0 Preserved
R1 Previous file handle
R2 Corrupted

Use

The purpose of this call is to read or write the *Spool file handle.

Notes

This call reads or sets the *Spool file handle. A handle of 0 means that spooling is disabled, a non-zero handle means that spooling is enabled (unless disabled with OS_Byte 3).

Changing the spool handle to an invalid file handle can really ruin your day (every call to OS_WriteC etc. will return an error, including the calls used to report the error to screen…).

See also

  • OS_Byte
  • OS_Byte 3
  • OS_WriteC
  • *Spool
Created on November 17, 2009 19:52:51 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: OS_Byte, *Spool, *SpoolOn

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