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 15

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

OS_Byte 15

(SWI &06)
Entry
R0 15 (&0F)
R1 0 to flush all buffers
1 to flush the current input buffer
Exit
R0 Preserved
R1 Corrupted
R2 Corrupted

Use

The purpose of this call is to flush all buffers, or the current input buffer.

Notes

The contents of either all buffers or only the current input buffer are discarded, depending on R1.

Individual buffers may be flushed using OS_Byte 21.

See also

  • OS_Byte
  • OS_Byte 21
Created on November 12, 2009 21:19:03 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: OS_Byte, OS_Byte 21, Buffers 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