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_SerialOp 4

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

OS_SerialOp 4

(SWI &57)
Entry
R0 4
Exit
R0 Preserved
R1 Character received (if C flag cleared), or
preserved (if C flag set) i.e. no character available in buffer to read)

Use

The purpose of this call is to remove a character from the serial input buffer if one is present.

Notes

If removing a character leaves the input buffer with more free space than are specified by OS_Byte 203, then the transmitting device is re-enabled in the way specified by the serial port state (as set by OS_SerialOp 0).

See also

  • OS_Byte 203
  • OS_SerialOp
  • OS_SerialOp 0
Created on December 2, 2009 19:41:37 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: OS_SerialOp

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