Hi MSXers,
Newbie ASM question here, but, first, Happy New Year for everybody! May 2019 be a year full of ROM images, Z80 opcodes and memory dumps for each of you!
I am working on a C + ASM project using SDCC + SDASZ80 and all was well when I had simple one-level includes among the ASM code.
As I progress with the development, the code is getting more complex and now I am starting to need (unless there is a simpler way, of course) of multi-level includes, which is resulting in symbol duplicates ("Multiple definition of XXXXXXX").
I have an ASM VDP lib, from which I build a rel file, and then link together with the final c code. This was fine, until the point I build an ASM menu lib, which includes the ASM VDP lib (so I can draw the menus on screen) which rel file also needs to be linked to the final c code.
The problem is that VDP symbols now gets duplicated, since menu rel file also contains them. And that will happen with other screen structures as well.
SDASZ80's manual mention external (global) expressions, but it does not show examples of usage, so I am a little lost here...
Does anybody have any clues on this?
best,

).

.