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

Go to the source code of this file.

Functions

void back (Environment *_environment, char *_color)
 Emit ASM code to fill background color.

Function Documentation

◆ back()

void back ( Environment * _environment,
char * _color )

Emit ASM code to fill background color.

This function can be called to fill the screen background with the given color. Depending on the mode selected (TILEMAP vs BITMAP) it can fill the screen in a different way.

Parameters
_environmentCurrent calling environment
_colorIndex of color to use to fill the screen

Definition at line 95 of file back.c.