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

VDUXV

Programmer's Reference Manuals
» Part 1 - Introduction
» Vectors
» Software Vector Numbers
» VDUXV

VDU ExtensionVector (27)

Entry  
R0 Byte send to VDU
Exit  
R0 Preserved
C flag set if byte is to be sent to printer

Use

This vector is called when VDU output has been redirected by OS_WriteC destination flag (setting bit 5).

Notes

If bit 5 of the output stream flag (see OS_Byte 3) has been set then characters which would have been sent to the display are routed to this vector instead. Characters sent to other output streams (e.g. *Spool file, printer) are unaffected.

If the C flag is set on return, then the character (unless it is the printer ignore character (see OS_Byte 6)) is sent to the VDU printer stream (if bits 2 and 6 are clear in the output stream flag). This is independent of the setting of bit 3 in the output stream flag.

The PRM is not clear as to whether this can send the byte twice if bit 3 is set (printer enabled). Confused? :-)

See also

  • OS_Byte 3
  • OS_Byte 6
  • OS_WriteC
  • Software Vector Numbers
Revised on January 31, 2010 14:07:09 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (2 revisions) | See changes | History | Views: Print | Source | Linked from: Output Stream Status, Software Vector Numbers

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