shithub: rgbds

ref: bc6b2fe005d791e2d0d087aaeb9ba8fbb1065894
dir: /src/link/include/assign.h/

View raw version
#ifndef ASSIGN_H
#define ASSIGN_H

#include "types.h"

enum eBankDefine {
	BANK_HOME = 0,
	BANK_BSS = 256,
	BANK_VRAM,
	BANK_HRAM
};

#define MAXBANKS	259

extern SLONG area_Avail(SLONG bank);
extern void AssignSections(void);
extern void CreateSymbolTable(void);
extern SLONG MaxBankUsed;
extern SLONG MaxAvail[MAXBANKS];

#endif