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

Go to the source code of this file.

Functions

void box (Environment *_environment, char *_x1, char *_y1, char *_x2, char *_y2, char *_c, int _preserve_color)
 Emit ASM code to implement BOX command.

Function Documentation

◆ box()

void box ( Environment * _environment,
char * _x1,
char * _y1,
char * _x2,
char * _y2,
char * _c,
int _preserve_color )

Emit ASM code to implement BOX command.

Parameters
_environmentCurrent calling environment
_x1Left abscissa of the box
_y1Left ordinate of the box
_x2Right abscissa of the box
_y2Right ordinate of the box
_cColor to use for drawing the box

Definition at line 84 of file box.c.