|
ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
|
#include "../../ugbc.h"Go to the source code of this file.
Functions | |
| void | next_raster_at_with (Environment *_environment, int _position, char *_label) |
| Emit ASM code for NEXT RASTER AT [int] WITH [label]. | |
| void | next_raster_at_with_var (Environment *_environment, char *_position, char *_label) |
| Emit ASM code for NEXT RASTER AT [expresssion] WITH label. | |
| void next_raster_at_with | ( | Environment * | _environment, |
| int | _position, | ||
| char * | _label ) |
Emit ASM code for NEXT RASTER AT [int] WITH [label].
This function outputs a code that puts the raster routine on hold for the vertical raster to arrive at a new _position with the execution of a different code from the previous one. This function is particularly useful when the position is communicated is given as an integer.
| _environment | Current calling environment |
| _label | Label to jump to when vertical raster reach the value given |
| _position | The vertical position to wait for |
Definition at line 53 of file next_raster_at.c.
| void next_raster_at_with_var | ( | Environment * | _environment, |
| char * | _position, | ||
| char * | _label ) |
Emit ASM code for NEXT RASTER AT [expresssion] WITH label.
This function outputs a code that puts the raster routine on hold for the vertical raster to arrive at a new _position with the execution of a different code from the previous one. This function is particularly useful when the position is communicated is given as an expression.
| _environment | Current calling environment |
| _label | Label to jump to when vertical raster reach the value given |
| _position | The vertical position to wait for |
Definition at line 69 of file next_raster_at.c.