|
ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
|
#include "../../ugbc.h"Go to the source code of this file.
Functions | |
| void | bitmap_clear_with (Environment *_environment, int _pattern) |
| Emit ASM implementation for BITMAP CLEAR WITH [int] instruction. | |
| void | bitmap_clear_with_vars (Environment *_environment, char *_pattern) |
| Emit ASM implementation for BITMAP CLEAR WITH [expression] instruction. | |
| void | bitmap_clear (Environment *_environment) |
| Emit ASM implementation for BITMAP CLEAR instruction. | |
| void bitmap_clear | ( | Environment * | _environment | ) |
Emit ASM implementation for BITMAP CLEAR instruction.
This instruction allows you to fill the bitmap with an empty pattern (usually zero). The filled part is exclusively that linked to the bitmap, so the color information is kept unchanged. This is the version that is recalled where the source presents the instruction with reference to a computer expression.
| _environment | Current calling environment |
| EXIT_FAILURE | CRITICAL: BITMAP CLEAR WITH xxx needs BITMAP ENABLED |
Definition at line 122 of file bitmap_clear.c.
| void bitmap_clear_with | ( | Environment * | _environment, |
| int | _pattern ) |
Emit ASM implementation for BITMAP CLEAR WITH [int] instruction.
This instruction allows you to fill the bitmap with a certain pattern (usually zero is used to indicate the blank screen). The filled part is exclusively that linked to the bitmap, so the color information is kept unchanged. This is the version that is recalled where the source presents the instruction with reference to a direct pattern (e.g. 42).
| _environment | Current calling environment |
| _pattern | Pattern to use |
| EXIT_FAILURE | "BITMAP CLEAR WITH xxx needs BITMAP ENABLED" |
Definition at line 60 of file bitmap_clear.c.
| void bitmap_clear_with_vars | ( | Environment * | _environment, |
| char * | _pattern ) |
Emit ASM implementation for BITMAP CLEAR WITH [expression] instruction.
This instruction allows you to fill the bitmap with a certain pattern (usually zero is used to indicate the blank screen). The filled part is exclusively that linked to the bitmap, so the color information is kept unchanged. This is the version that is recalled where the source presents the instruction with reference to a computer expression.
| _environment | Current calling environment |
| _pattern | Pattern to use |
| EXIT_FAILURE | "BITMAP CLEAR WITH xxx needs BITMAP ENABLED" |
Definition at line 93 of file bitmap_clear.c.