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

Go to the source code of this file.

Functions

void play (Environment *_environment, int _note, int _delay, int _channels)
 Emit ASM code for PLAY ....
void play_vars (Environment *_environment, char *_note, char *_delay, char *_channels)
 Emit ASM code for PLAY ....

Function Documentation

◆ play()

void play ( Environment * _environment,
int _note,
int _delay,
int _channels )

Emit ASM code for PLAY ....

This function emits a code capable of play a note for a certain amount of time on specific channels

Parameters
_environmentCurrent calling environment
_notenote to play
_delaydelay of playing
_channelschannels to play on

Definition at line 55 of file play.c.

◆ play_vars()

void play_vars ( Environment * _environment,
char * _note,
char * _delay,
char * _channels )

Emit ASM code for PLAY ....

This function emits a code capable of play a note for a certain amount of time on specific channels

Parameters
_environmentCurrent calling environment
_notenote to play
_delaydelay of playing
_channelschannels to play on

Definition at line 70 of file play.c.