ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
_Bank Struct Reference

Structure of a single bank. More...

#include <ugbc.h>

Data Fields

int id
char * name
int address
BankType type
char * filename
int space
int remains
int baseAddress
char * data
int bankAddress
int defaultResident
struct _Banknext

Detailed Description

Structure of a single bank.

Definition at line 150 of file ugbc.h.

Field Documentation

◆ address

int address

Starting address

Definition at line 159 of file ugbc.h.

◆ bankAddress

int bankAddress

Starting address for bank (if needed)

Definition at line 180 of file ugbc.h.

◆ baseAddress

int baseAddress

Offset inside the resident RAM (if applied)

Definition at line 174 of file ugbc.h.

◆ data

char* data

Data contained in the block

Definition at line 177 of file ugbc.h.

◆ defaultResident

int defaultResident

Definition at line 182 of file ugbc.h.

◆ filename

char* filename

(optional) file name that will be loaded into the bank

Definition at line 165 of file ugbc.h.

◆ id

int id

ID of the bank

Definition at line 153 of file ugbc.h.

◆ name

char* name

Name of the bank

Definition at line 156 of file ugbc.h.

◆ next

struct _Bank* next

Link to the next bank (NULL if this is the last one)

Definition at line 185 of file ugbc.h.

◆ remains

int remains

Bank remaining size (in bytes)

Definition at line 171 of file ugbc.h.

◆ space

int space

Bank max size (in bytes)

Definition at line 168 of file ugbc.h.

◆ type

BankType type

Bank type

Definition at line 162 of file ugbc.h.


The documentation for this struct was generated from the following file: