Difference between revisions of "OSWORD &07"

From BeebWiki
Jump to: navigation, search
m (Added Watford Electronics Speech.)
m (Formatted title.)
Line 1: Line 1:
{{#customtitle:OSWORD 7 (7) - Generate a sound}}
{{PageTitle|OSWORD 7 (7): Generate a sound}}
  On entry:
  On entry:

Revision as of 16:44, 21 November 2021

OSWORD 7 (7): Generate a sound


On entry:
  XY+2..3=volume or envelope

Calling from BBC BASIC

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

See Also


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)