Merge pull request #430 from ISSOtm/known_selfbank

Make `BANK(@)` and `BANK("section")` known to RGBASM
This commit is contained in:
Eldred Habert
2020-01-08 18:56:28 +01:00
committed by GitHub
8 changed files with 131 additions and 37 deletions

View File

@@ -20,6 +20,8 @@ struct ConstExpression {
};
void constexpr_Symbol(struct ConstExpression *expr, char *tzSym);
void constexpr_BanksSymbol(struct ConstExpression *expr, char *tzSym);
void constexpr_BankSection(struct ConstExpression *expr, char *tzSym);
void constexpr_Number(struct ConstExpression *expr, int32_t i);
void constexpr_UnaryOp(struct ConstExpression *expr,
int32_t op,

View File

@@ -29,6 +29,7 @@ extern char *tzObjectname;
void out_PrepPass2(void);
void out_SetFileName(char *s);
struct Section *out_FindSectionByName(const char *pzName);
void out_NewSection(char *pzName, uint32_t secttype);
void out_NewAbsSection(char *pzName, uint32_t secttype, int32_t org,
int32_t bank);