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

Go to the source code of this file.

Functions

void instrument (Environment *_environment, int _instrument, int _channels)
 Emit ASM code for INSTRUMENT ....
void instrument_semi_var (Environment *_environment, int _instrument, char *_channels)
 Emit ASM code for INSTRUMENT ....

Function Documentation

◆ instrument()

void instrument ( Environment * _environment,
int _instrument,
int _channels )

Emit ASM code for INSTRUMENT ....

This function emits a code capable of change the instrument for one or more voices.

Parameters
_environmentCurrent calling environment
_instrumentinstrument to use
_channelschannels to play on

Definition at line 55 of file instrument.c.

◆ instrument_semi_var()

void instrument_semi_var ( Environment * _environment,
int _instrument,
char * _channels )

Emit ASM code for INSTRUMENT ....

This function emits a code capable of change the instrument for one or more voices.

Parameters
_environmentCurrent calling environment
_instrumentinstrument to use
_channelschannels to play on

Definition at line 72 of file instrument.c.