mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
23 lines
406 B
C
23 lines
406 B
C
#ifndef ASMOTOR_LINK_ASSIGN_H
|
|
#define ASMOTOR_LINK_ASSIGN_H
|
|
|
|
#include "link/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
|