shithub: rgbds

ref: 2571dc459c4424e009aae0a5d27e373da7e6655a
dir: /include/link/assign.h/

View raw version
#ifndef ASMOTOR_LINK_ASSIGN_H
#define ASMOTOR_LINK_ASSIGN_H

#include "link/types.h"

enum eBankDefine {
	BANK_HOME = 0,
	BANK_BSS = 512,
	BANK_WRAMX,
	BANK_VRAM = 520,
	BANK_HRAM = 522
};
#define MAXBANKS	523

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

#endif