shithub: rgbds

ref: 6ccd386587c671250cf71c5099c0f9b6b0bd507a
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_VRAM,
	BANK_HRAM
};
#define MAXBANKS	515

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

#endif