SS.Tone Set Status

From NitrOS-9
Jump to: navigation, search

Creates a sound through the terminal output device.

Entry Conditions
A path number
B SS.Tone ($98)
X duration and amplitude of the tone
  LSB = duration in ticks (60/sec) in the range 0-255
  MSB = amplitude of tone in the range 0-63
Y relative frequency counter (0=low, 4095=high)
Exit Conditions
These are the same as the entry conditions. There are no error conditions.

Additional Information

  • This call produces a programmed I/O tone through the speaker of the monitor used by the terminal device. You can make the call on any valid path open to term or to a window device.
  • The system does not mask interrupts during the time the tone is being produced.
  • The frequency of the tone is a relative number ranging from 0 for a low frequency to 4095 for a high frequency. The widest variation of tones occurs at the high range of the scale.