|
ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
|
#include "../../ugbc.h"Go to the source code of this file.
Functions | |
| void | colormap_at (Environment *_environment, int _address) |
| Emit ASM implementation for COLORMAP AT [int] instruction. | |
| void | colormap_at_var (Environment *_environment, char *_address) |
| Emit ASM implementation for COLORMAP AT [expression] instruction. | |
| void colormap_at | ( | Environment * | _environment, |
| int | _address ) |
Emit ASM implementation for COLORMAP AT [int] instruction.
This function allows you to set the starting address, in memory, for the colormap and it is the version that is used when the memory is given as a direct number (i.e.: $8400). The input parameter is decoded and declined according to the hardware limits. So it is not said that exactly the given address is set.
On some machine calling this instruction will define the special variable:
| _environment | Current calling environment |
| _address | Address to use |
Definition at line 60 of file colormap_at.c.
| void colormap_at_var | ( | Environment * | _environment, |
| char * | _address ) |
Emit ASM implementation for COLORMAP AT [expression] instruction.
This function allows you to set the starting address, in memory, for the colormap and it is the version that is used when the memory is given as an expression. The input parameter is decoded and declined according to the hardware limits. So it is not said that exactly the given address is set.
On some machine calling this instruction will define the special variable:
| _environment | Current calling environment |
| _address | Address to use |
Definition at line 82 of file colormap_at.c.