shithub: rgbds

ref: defd4f589e0553da304a66d0a8dcad0f3a1ee98c
dir: /include/link/assign.h/

View raw version
#ifndef RGBDS_LINK_ASSIGN_H
#define RGBDS_LINK_ASSIGN_H

#include "types.h"

enum eBankDefine {
	BANK_ROM0 = 0,
	BANK_WRAM0 = 512,
	BANK_WRAMX,
	BANK_VRAM = 520,
	BANK_HRAM = 522,
	BANK_SRAM = 523
};
#define MAXBANKS	527

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

#endif