AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
=>     R0 =     reason code
     other entry conditions depend on reason code

<=     R0 preserved
     other exit conditions depend on reason code

This call is like OS_Byte in that it is a single call with many operations within it. The operation required, or reason code, is passed in R0. OS_SerialOp is vectored via SerialV.

See PRM 2, page 459.
OS_SerialOp reason codes
R0 =     0     Read/write serial states
     1     Read/write data format
     2     Send break
     3     Send byte
     4     Get byte
     5     Read/write receive baud rate
     6     Read/write transmit baud rate
     7     Internal use only
     8     Read/write serial input buffer threshold value
     9     Enumerate available serial port speeds
     10     Read DeviceFS name

[sh-index] Back to list of manuals