68 int chipsetFrequency = 2048 - ( 131072 / _freq );
70 gb_start( _environment, ( _channels & 0x03 ) );
Variable * variable_retrieve_or_define(Environment *_environment, char *_name, VariableType _type, int _value)
Variable * variable_div_const(Environment *_environment, char *_source, int _destination, char *_remainder)
Variable * variable_sub(Environment *_environment, char *_source, char *_dest)
Make a differenze between two variable and return the difference of them.
Variable * variable_div(Environment *_environment, char *_source, char *_destination, char *_remainder)
Make a division between two variable and return the product of them.
Variable * variable_temporary(Environment *_environment, VariableType _type, char *_meaning)
Define a temporary variable.
Variable * variable_store(Environment *_environment, char *_destination, unsigned int _value)
Store a direct value to a variable.
void sound_vars(Environment *_environment, char *_freq, char *_delay, char *_channels)
Emit ASM code for SOUND ....
void sound(Environment *_environment, int _freq, int _delay, int _channels)
Emit ASM code for SOUND ....
void gb_start_var(Environment *_environment, char *_channels)
void gb_set_duration(Environment *_environment, int _channel, int _duration)
void gb_wait_duration(Environment *_environment, int _channel)
void gb_wait_duration_vars(Environment *_environment, char *_channel)
void gb_start(Environment *_environment, int _channels)
void gb_set_frequency_vars(Environment *_environment, char *_channels, char *_frequency)
void gb_set_frequency(Environment *_environment, int _channels, int _frequency)
void gb_set_duration_vars(Environment *_environment, char *_channel, char *_duration)
struct _Variable Variable
Structure of a single variable.
struct _Environment Environment
Structure of compilation environment.