The new mos6502 port currently uses 16-bit addresses for memory locations output to .o files.
This is a discrepancy compared to the other CPU targets, which all seem to be using 24-bit addressing. And it prevents using banking utilities that take advantage of these extra upper 8 bits.
The mos6502 target can be easily changed to use 24-bit addresses by running the same "exprmasks(3);" statement in minit as for other ports. I have attached a patch which does this.
Review note for port maintainer: This patch adds a single line of code.
checked in [r14473]
Related
Commit: [r14473]
Last edit: Maarten Brock 2023-11-29