ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
bell.c File Reference
#include "../../ugbc.h"

Go to the source code of this file.

Functions

void bell (Environment *_environment, int _note, int _duration, int _channels)
 Emit ASM code for BELL ....
void bell_vars (Environment *_environment, char *_note, char *_duration, char *_channels, int _sync)
 Emit ASM code for BELL ....

Function Documentation

◆ bell()

void bell ( Environment * _environment,
int _note,
int _duration,
int _channels )

Emit ASM code for BELL ....

This function emits a code capable of play a bell sound

Parameters
_environmentCurrent calling environment
_pitchfrequency to play
_channelschannels to play on

Definition at line 55 of file bell.c.

◆ bell_vars()

void bell_vars ( Environment * _environment,
char * _note,
char * _duration,
char * _channels,
int _sync )

Emit ASM code for BELL ....

This function emits a code capable of play a bell-like sound.

Parameters
_environmentCurrent calling environment
_pitchfrequency to play
_channelschannels to play on

Definition at line 84 of file bell.c.