ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
color_get.c File Reference
#include "../../ugbc.h"

Go to the source code of this file.

Functions

Variablecolor_get_vars (Environment *_environment, char *_index)
 Emit ASM code for instruction = COLOR( [int] ).

Function Documentation

◆ color_get_vars()

Variable * color_get_vars ( Environment * _environment,
char * _index )

Emit ASM code for instruction = COLOR( [int] ).

This function outputs the ASM code to get the color index, among those available.

Parameters
_environmentCurrent calling environment
_indexIndex of the common color to set
Returns
Shade of the common color to set

Definition at line 52 of file color_get.c.