OSWORD &07

From BeebWiki
Revision as of 23:54, 28 March 2015 by Jgharston (talk | contribs) (Added Watford Electronics Speech.)
Jump to: navigation, search

{{#customtitle:OSWORD 7 (7) - Generate a sound}}

Specification

On entry:
  XY+0..1=channel
  XY+2..3=volume or envelope
  XY+4..5=pitch
  XY+6..7=duration

Calling from BBC BASIC

  • SOUND channel,volume,pitch,duration calls OSWORD &07.

See Also

Implementations

The high byte of the channel number specifies what type of sound to generate. Unrecognised channel numbers pass the call to sideways ROMs as an unrecognised OSWORD.

  &0xxx - Internal Sound system
  &1xxx - Internal Sound system
  &20xx - Watford Electronics Speech
  &FExx - MIDI control
  &FFxx - BBC Speech system

Jgharston 13:15, 26 May 2009 (UTC) Jgharston (talk) 22:54, 28 March 2015 (UTC)