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

Go to the source code of this file.

Functions

void graphic (Environment *_environment)
 Emit ASM implementation for GRAPHIC instruction.

Function Documentation

◆ graphic()

void graphic ( Environment * _environment)

Emit ASM implementation for GRAPHIC instruction.

This function is useful for quickly initializing the high resolution graphics mode. It is equivalent to running the following commands:

  • BITMAP ENABLE
  • BITMAP CLEAR
  • COLORMAP CLEAR
Parameters
_environmentCurrent calling environment

Definition at line 68 of file graphic.c.