|
ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
|
#include "../../ugbc.h"Go to the source code of this file.
Functions | |
| void | bitmap_enable (Environment *_environment, int _width, int _height, int _colors) |
| Emit ASM implementation for BITMAP ENABLE instruction. | |
| void bitmap_enable | ( | Environment * | _environment, |
| int | _width, | ||
| int | _height, | ||
| int | _colors ) |
Emit ASM implementation for BITMAP ENABLE instruction.
This function can be called to emit the code to enable bitmap graphics on the target machine. Bitmap resolution and colors depends on hardware. Enabling the bitmap also sets the starting address in memory, for those computers that have graphics mapped in memory.
On some machine calling this instruction will define two special variables:
| _environment | Current calling environment |
Definition at line 56 of file bitmap_enable.c.