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

Go to the source code of this file.

Functions

void bank_set (Environment *_environment, int _bank)
 Emit ASM code for instruction BANK ....
void bank_set_var (Environment *_environment, char *_bank)
 Emit ASM code for instruction BANK ....

Function Documentation

◆ bank_set()

void bank_set ( Environment * _environment,
int _bank )

Emit ASM code for instruction BANK ....

This function outputs the ASM code to set the current expansion bank index.

Parameters
_environmentCurrent calling environment
_bankBank to select

Definition at line 72 of file bank_set.c.

◆ bank_set_var()

void bank_set_var ( Environment * _environment,
char * _bank )

Emit ASM code for instruction BANK ....

This function outputs the ASM code to set the current expansion bank index.

Parameters
_environmentCurrent calling environment
_bankBank to select

Definition at line 87 of file bank_set.c.