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_Byte 213 (changes)

Showing changes from revision #1 to #2: Added | Removed | Changed

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

OS_Byte 213

(SWI &06)
Entry
R0 213 (&D5)
R1 EOR value
R2 AND value
Exit
R0 Preserved
R1 Previous frequency
R2 Bell duration (see OS_Byte 214)

Use

The purpose of this call is to read or write the sound frequency (pitch) for the bell.

Notes

This call reads or sets the bell pitch, which is a BBC style frequency in the range 0-255. The default pitch is 100.

To read/write the bell channel use OS_Byte 211. To read/write the volume use OS_Byte 212. To read/write the duration use OS_Byte 214.

See also

  • OS_Byte
  • OS_Byte 211
  • OS_Byte 213
  • OS_Byte 214
  • Sound Pitches
Revised on November 9, 2017 05:42:45 by Alan Robertson (52) (203.41.189.134)
Edit | Back in time (1 revision) | Hide changes | History | Views: Print | Source | Linked from: OS_Byte, OS_Byte 211, OS_Byte 212, OS_Byte 213, OS_Byte 214, Sound Pitches

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