Main Page   Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

/usr/src/redhat/BUILD/legOS/include/rom/sound.h File Reference

ROM sound functions. More...


Functions

void sound_system (unsigned nr)
play one of the system sounds.

int sound_playing ()
is a sound playing? More...


Detailed Description

ROM sound functions.

Author(s):
Markus L. Noga <markus@noga.de>

Warning:
These functions will only work if ROM is allowed to handle the OCIA interrupt. legOS system time, motor control and task management depend upon handling it themselves.

Function Documentation

void sound_system (unsigned nr) [inline]

play one of the system sounds.

int sound_playing () [inline]

is a sound playing?

Returns:
0=no, else yes

legOS-0.1.7 is released under Mozilla Public License. Original code © 1998-1999 by Markus L. Noga.