|
ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
|
#include "../../ugbc.h"Go to the source code of this file.
Functions | |
| void | colormap_clear_with (Environment *_environment, int _foreground, int _background) |
| Emit ASM implementation for COLORMAP CLEAR WITH [int] ON [int] instruction. | |
| void | colormap_clear_with_vars (Environment *_environment, char *_foreground, char *_background) |
| Emit ASM implementation for COLORMAP CLEAR WITH [expression] ON [expression] instruction. | |
| void | colormap_clear (Environment *_environment) |
| Emit ASM implementation for COLORMAP CLEAR instruction. | |
| void colormap_clear | ( | Environment * | _environment | ) |
Emit ASM implementation for COLORMAP CLEAR instruction.
This function is called when you want to generate code that erases the entire color map, using the default foreground and background color.
| _environment | Current calling environment |
| EXIT_FAILURE | "CRITICAL: COLORMAP CLEAR WITH xxx AND xxx needs BITMAP ENABLED" |
Definition at line 97 of file colormap_clear.c.
| void colormap_clear_with | ( | Environment * | _environment, |
| int | _foreground, | ||
| int | _background ) |
Emit ASM implementation for COLORMAP CLEAR WITH [int] ON [int] instruction.
This function is called when you want to generate code that erases the entire color map, using a foreground and a background color. This function is useful if the color indices are given as integers.
| _environment | Current calling environment |
| _foreground | Index of foreground color |
| _background | Index of background color |
| EXIT_FAILURE | "COLORMAP CLEAR WITH xxx ON xxx needs BITMAP ENABLED" |
Definition at line 58 of file colormap_clear.c.
| void colormap_clear_with_vars | ( | Environment * | _environment, |
| char * | _foreground, | ||
| char * | _background ) |
Emit ASM implementation for COLORMAP CLEAR WITH [expression] ON [expression] instruction.
This function is called when you want to generate code that erases the entire color map, using a foreground and a background color. This function is useful if the color indices are given as integers.
| _environment | Current calling environment |
| _foreground | Expression for index of foreground color |
| _background | Expression for index of background color |
| EXIT_FAILURE | "CRITICAL: COLORMAP CLEAR WITH xxx AND xxx needs BITMAP ENABLED" |
Definition at line 79 of file colormap_clear.c.