shithub: rgbds

ref: 06c4e1fb4b06c2a019d78752d114da70e8d41509
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 = 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