850952d612
This is the way they are defined in the GS/OS Reference, as well as the way they seem to be used by all assemblers and all other linkers that I could check (ORCA/M, MPW AsmIIGS, Apple LinkIIGS, old ORCA/APW LINKED, 8-bit ORCA linker). Previously, this linker treated ORG records as giving an absolute address to ORG to (but with a bug in the address computation). The OMF spec in appendix B of the ORCA/M manual defines them this way, but this is inconsistent with the spec in the GS/OS Reference and with the way ORG records are generated by ORCA/M itself (for an ORG *+expression directive). Therefore, I think this is just an error and the specification in the GS/OS Reference should be regarded as correct. We still do not support going backward (using a negative ORG operand). Trying to do so will just give an error. |
||
---|---|---|
obj | ||
backup | ||
build.ninja | ||
count | ||
directpage | ||
exp.asm | ||
exp.mac | ||
file.asm | ||
file.mac | ||
GNUmakefile | ||
LICENSE | ||
linker.asm | ||
linker.mac | ||
linker.notes | ||
linker.rez | ||
linkit | ||
make | ||
out.asm | ||
out.mac | ||
pass1.asm | ||
pass1.mac | ||
pass2.asm | ||
pass2.mac | ||
README.md | ||
seg.asm | ||
seg.mac | ||
smac | ||
symbol.asm | ||
symbol.mac | ||
util.asm | ||
util.mac |
Linker
Apple IIGS ORCA Linker, a link editor for the Apple IIGS object module format
If you would like to make changes to this linker and distribute them to others, feel free to submit them here. If the changes apply to compilation on and for an Apple IIGS, they will generally be approved for distribution on the master branch. For changes that run on a different platform, the project will either be forked or a new repository will be created, as appropriate.
The general conditions that must be met before a change is released on master are:
-
The modified linker must compile under the currently released version of ORCA/M.
-
The ORCA compilers must pass their test suites using the new linker, or the test suite must be suitably modified, too.
Contact support@byteworks.us if you need contributor access.
A complete distribution of the ORCA languages, including installers and documentation, is available from the Juiced GS store at https://juiced.gs/store/category/software/. It is distributed as part of the Opus ][ package.