Closed Rangi42 closed 6 months ago
Lets also update the STYLE.md guide to mention we won't be using ::
to separate multiple instructions on one line.
STYLE.md was last updated two years ago and may need further changes than that; can we just do it separately?
Lets also update the STYLE.md guide to mention we won't be using
::
to separate multiple instructions on one line.
This sounds unnecessary. This is already something extremely unusual, to the point "don't do it" is the default in basically every programming community for every language — if someone wants to do this, there's probably a very good reason for it.
These new features are used from RGBDS 0.7.0:
SIZEOF
andSTARTOF
for section types, instead of*RAM_Begin/End
constantsENDSECTION
at the end ofINCLUDE
d files which start their ownSECTION
sfor f in `git grep -Elw '^SECTION'`; do git grep -ho "INCLUDE \"$f\""; done
OAMDMACodeEnd
can be.End
sinceENDL
restores scopeAlso rgbdscheck.asm is rewritten to be more robust with older versions of RGBDS. (We can't define constants since
DEF
is required in 0.7.0 but not yet defined in old enough versions; likewise for backslash line continuations,ELIF
, etc.)Note that the object file revision is still 9, so tools/unnamed.py did not need updating.