|
ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
|
#include "../../ugbc.h"Go to the source code of this file.
Functions | |
| void | color (Environment *_environment, int _index, int _shade) |
| Emit ASM code for instruction COLOR [int], [int]. | |
| void | color_semivars (Environment *_environment, int _index, char *_shade) |
| Emit ASM code for instruction COLOR [expression], [expression]. | |
| void | color_vars (Environment *_environment, char *_index, char *_shade) |
| Emit ASM code for instruction COLOR [expression], [expression]. | |
| void color | ( | Environment * | _environment, |
| int | _index, | ||
| int | _shade ) |
Emit ASM code for instruction COLOR [int], [int].
This function outputs the ASM code to change the color index, among those available. It should be used where the command is invoked with integers.
| _environment | Current calling environment |
| _index | Index of the common color to set |
| _shade | Shade of the common color to set |
| void color_semivars | ( | Environment * | _environment, |
| int | _index, | ||
| char * | _shade ) |
Emit ASM code for instruction COLOR [expression], [expression].
This function outputs the ASM code to change the common color, among those available. It should be used where the command is invoked with expressions.
| _environment | Current calling environment |
| _index | Expression with the index of common color to set |
| _common_color | Expression with the index of the color to use |
| void color_vars | ( | Environment * | _environment, |
| char * | _index, | ||
| char * | _shade ) |
Emit ASM code for instruction COLOR [expression], [expression].
This function outputs the ASM code to change the common color, among those available. It should be used where the command is invoked with expressions.
| _environment | Current calling environment |
| _index | Expression with the index of common color to set |
| _common_color | Expression with the index of the color to use |