|
ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
|
#include "../../ugbc.h"Go to the source code of this file.
Functions | |
| void | raster_at (Environment *_environment, char *_label, int _position) |
| Emit ASM code for RASTER AT [int]x WITH label. | |
| void | raster_at_var (Environment *_environment, char *_label, char *_position) |
| Emit ASM code for RASTER AT [expression] WITH label. | |
| void raster_at | ( | Environment * | _environment, |
| char * | _label, | ||
| int | _position ) |
Emit ASM code for RASTER AT [int]x WITH label.
Emit ASM code for RASTER AT [int] WITH [label].
This function outputs assembly code needed to initialize a raster routine. In other words, asynchronously and in parallel with the execution of the main program, the routine starting from the label provided will be executed when the vertical brush on the screen reaches the value of _position. 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 55 of file raster_at.c.
| void raster_at_var | ( | Environment * | _environment, |
| char * | _label, | ||
| char * | _position ) |
Emit ASM code for RASTER AT [expression] WITH label.
This function outputs assembly code needed to initialize a raster routine. In other words, asynchronously and in parallel with the execution of the main program, the routine starting from the label provided will be executed when the vertical brush on the screen reaches the value of _position. 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 73 of file raster_at.c.