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

Go to the source code of this file.

Functions

void screen_mode (Environment *_environment, int _mode)
 Emit ASM code for SCREEN [mode].
void screen_type_color_set (Environment *_environment, int _type, int _color_set)

Function Documentation

◆ screen_mode()

void screen_mode ( Environment * _environment,
int _mode )

Emit ASM code for SCREEN [mode].

This function outputs assembly code to change the current mode.

Parameters
_environmentCurrent calling environment
_modeMode to change to

Definition at line 91 of file screen_mode.c.

◆ screen_type_color_set()

void screen_type_color_set ( Environment * _environment,
int _type,
int _color_set )

Definition at line 110 of file screen_mode.c.