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

Go to the source code of this file.

Functions

void charset_at (Environment *_environment, int _address)
 Emit ASM implementation for BITMAP AT [int] instruction.
void charset_at_var (Environment *_environment, char *_address)
 Emit ASM implementation for BITMAP AT [expression] instruction.
void charset_uppercase (Environment *_environment)
void charset_lowercase (Environment *_environment)

Function Documentation

◆ charset_at()

void charset_at ( Environment * _environment,
int _address )

Emit ASM implementation for BITMAP AT [int] instruction.

This function allows you to set the starting address, in memory, for the bitmap and it is the version that is used when the memory is given as a direct number (i.e.: $A000). The input parameter is decoded and declined according to the hardware limits. So it is not said that exactly the given address is set.

On some machine calling this instruction will define the special variable:

  • BITMAPADDRESS (VT_ADDRESS) - the starting address of bitmap memory
Parameters
_environmentCurrent calling environment
_addressAddress to use

Definition at line 63 of file charset_at.c.

◆ charset_at_var()

void charset_at_var ( Environment * _environment,
char * _address )

Emit ASM implementation for BITMAP AT [expression] instruction.

This function allows you to set the starting address, in memory, for the bitmap and it is the version that is used when the memory is given as a expression that involves variables. The input parameter is decoded and declined according to the hardware limits. So it is not said that exactly the given address is set.

On some machine calling this instruction will define the special variable:

  • BITMAPADDRESS (VT_ADDRESS) - the starting address of bitmap memory
Parameters
_environmentCurrent calling environment
_addressAddress to use

Definition at line 88 of file charset_at.c.

◆ charset_lowercase()

void charset_lowercase ( Environment * _environment)

Definition at line 108 of file charset_at.c.

◆ charset_uppercase()

void charset_uppercase ( Environment * _environment)

Definition at line 104 of file charset_at.c.