I want to add a non-optimal solution that actually works, but it's not that convenient. If all variables that need to be in bank 0 are listed in only one file and exported with "GLOBAL" an udata section with fixed address would do the job. I'm still waiting if someone will sugest something that allows to address bank 0 from multiple assembler files (objects). Maybe there is a way to pass the name of bank as mentioned in linker script or some way to force linker to start with bank 0.
NickSoft
- 207
- 2
- 8