I have broken code and data into several files, compiled by m80 separately.
I am trying to assemble the single output file from those pieces.
All files, except one, are layed out contiguously. Code is started at 4000h, and the last file I link, should have a command at the end of 7xxxh space (fixed address).
In that last file I have "org 3a00h" just before commands to be placed into fixed area. Other files do not have org statements at all.
When I link (using Digital Research "link" linker) with option [l4000] code is placed ok, but the last file is just added at the end with starting offset being an end of previous code rather than 4000h.
Anyone can propose a solution? I also tried L80, but I do not see how to request it to start code at 4000h (rahter than 0100h).
How? That would be nice to read for someone who finds this problem via GOogle...
All files except last one have CSEG (by default), last one has ASEG - this makes it position 3a00h absolutely, not relatively to any code or data.
Don't you have an account yet? Become an MSX-friend and register an account!