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

InsV

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

Insert Vector (20)

Byte Insertion (option 1)

Entry  
R0 Byte to be inserted
R1 Buffer number, bit-31 clear for byte insertion
R9 20 (&14) vector number
Exit  
R0 Preserved
R1 Preserved
R2 Corrupted
C flag set if insertion failed

Block Insertion (option 2)

Entry  
R1 Buffer number, bit-31 set for block insert
R2 Pointer to data still to insert
R3 Number of bytes to insert
R9 20 (&14) vector number
Exit  
R0 Preserved
R1 Preserved
R2 Pointer to data still to insert
R3 Number of bytes left to insert
C flag set if insertion failed

Use

This vector is called to place one or more bytes in a buffer.

Notes

All characters inserted into buffers are sent through this vector.
If called via OS_CallAVector then interrupts must be disabled first.

See also

  • Buffer Numbers
  • OS_CallAVector
  • Software Vector Numbers
Revised on January 31, 2010 13:24:22 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: Software Vectors, 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