RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

OS_Word

OS SWI Calls
» OS_Word

OS_Word

(SWI &07)
Entry
R0 Reason code
All other registers dependent on reason code
Exit
R0 Preserved
All other registers dependent on reason code

Use

The purpose of this call is to provide a number of general operations.

Notes

The action performed depends on the reason code value in R0.

Reason Codes

# Hex # Action
0 &00 Read line from input stream
1 &01 Read system clock
2 &02 Write system clock
3 &03 Read interval timer
4 &04 Write interval timer
9 &09 Read pixel logical colour
10 &0A Read a character definition
11 &0B Read palette
12 &0C Write palette
13 &0D Read current and last graphics cursors
14 &0E Read CMOS clock
15 &0F Write CMOS clock
21 &15 Define pointer and mouse parameters
22 &16 Write screen base address
Revised on November 13, 2017 00:38:41 by Alan Robertson (52) (49.192.18.196)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: OS SWI Calls, Software Vector Numbers, OS_Word 0, OS_Word 1, OS_Word 2, OS_Word 3, OS_Word 4, OS_Word 9 Input Block, OS_Word 9 Output Block, OS_Word 15_8, OS_Word 15_15, OS_Word 22, OS_Word 21_0 Block, Service_UKWord, OS_Word 21_5, OS_Word 11, OS_Word 12, OS_Word 13, OS_Word 14, OS_Word 14_0, OS_Word 14_1, OS_Word 14_2, OS_Word 14_2 Block, OS_Word 14_3, OS_Word 15_24, OS_Word 21, OS_Word 21_1, OS_Word 21_1 Block, OS_Word 21_3, OS_Word 21_4, OS_Word 21_6, OS_Byte Introduction, BBCEconet, OS_Word Introduction, OS_Word 0 Buffer, OS_Word 9, OS_Word 10, OS_Word 13 Buffer, OS_Word 14_1 BCD Format, OS_Word 15, OS_Word 15_5, OS_Word 21_0, OS_Word 21_2, OS_Word 22 Type, OS SWI Calls (français)

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2018 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