|
ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
|
#include "../../ugbc.h"Go to the source code of this file.
Functions | |
| void | color_background (Environment *_environment, int _index, int _background_color) |
| Emit ASM code for instruction COLOR BACKGROUND [int] TO [int]x. | |
| void | color_background_vars (Environment *_environment, char *_index, char *_background_color) |
| Emit ASM code for instruction COLOR BACKGROUND [expression] TO [expression]. | |
| void color_background | ( | Environment * | _environment, |
| int | _index, | ||
| int | _background_color ) |
Emit ASM code for instruction COLOR BACKGROUND [int] TO [int]x.
This function outputs the ASM code to change the background color, among those available. It should be used where the command is invoked with a direct integer value.
| _environment | Current calling environment |
| _index | Index of the background color |
| _background_color | Index of the color to use |
Definition at line 48 of file color_background.c.
| void color_background_vars | ( | Environment * | _environment, |
| char * | _index, | ||
| char * | _background_color ) |
Emit ASM code for instruction COLOR BACKGROUND [expression] TO [expression].
This function outputs the ASM code to change the background 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 the background color |
| _background_color | Expression with the index of the color to use |
Definition at line 62 of file color_background.c.