diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-01-23 14:00:22 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-02-04 22:00:06 +0100 |
| commit | 91c63997e16be4041cd382b42f0a08dcb9173789 (patch) | |
| tree | 0d672200a77c5ba17ed2f358084806fe071bc894 /basics/persist.s | |
| parent | 772ae5e0ba662ca0b75b51d29cf09f57e57f5d5a (diff) | |
| download | code.nes-91c63997e16be4041cd382b42f0a08dcb9173789.tar.gz code.nes-91c63997e16be4041cd382b42f0a08dcb9173789.zip | |
Move macros globally
It's a pity that cl65 allows macros to be written inside of scopes while
their usage is only possible from the global scope. Hence, by allowing
programmers to write macros inside of scopes, it feels like 'cc65' is
actually lying to programmers. 'nasm' double downs on this by simply
refusing to assemble such a case, which is the sensible thing to do if
it's not allowed anyways.
Long story short, macro statements have to be written in the global
scope and so this commit moves the READ_CONTROLLER one from the `space`
example globally.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'basics/persist.s')
0 files changed, 0 insertions, 0 deletions
