|
ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
|
#include "../../../ugbc.h"Go to the source code of this file.
Functions | |
| void | sprite_data_set (Environment *_environment, int _sprite, int _address) |
| Emit ASM code for SPRITE [int] DATA FROM [int]. | |
| void | sprite_data_set_vars (Environment *_environment, char *_sprite, char *_image) |
| Emit ASM code for SPRITE [expression] DATA FROM [expression]. | |
| void sprite_data_set | ( | Environment * | _environment, |
| int | _sprite, | ||
| int | _address ) |
Emit ASM code for SPRITE [int] DATA FROM [int].
This function emits a code capable of setting the starting address of the sprite _sprite to the value _address. This version is suitable when direct value is used.
| _environment | Current calling environment |
| _sprite | Index of the sprite to define (0...7) |
| _address | Address where the sprite data begins from |
Definition at line 54 of file sprite_data_set.c.
| void sprite_data_set_vars | ( | Environment * | _environment, |
| char * | _sprite, | ||
| char * | _image ) |
Emit ASM code for SPRITE [expression] DATA FROM [expression].
This function emits a code capable of setting the starting address of the sprite _sprite to the value _address. This version is suitable when expressions are used.
| _environment | Current calling environment |
| _sprite | Expression with the index of the sprite to define (0...7) |
| _address | Expression with the address where the sprite data begins from |
Definition at line 69 of file sprite_data_set.c.