mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Merging lai's source with this one is very irritating because they have different indentation styles. I couldn't find what profile vegard used for his version, so I used these flags (which should bring the source close to KNF): -bap -br -ce -ci4 -cli0 -d0 -di0 -i8 -ip -l79 -nbc -ncdb -ndj -ei -nfc1 -nlp -npcs -psl -sc -sob
21 lines
361 B
C
21 lines
361 B
C
#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
|