v4: init.4th and the ACL at call; the F18 ADR, ABI and artifact layout; ADR step 3 tasks 1-3 (mkf18a) #198

Merged
rajames merged 52 commits from StarForth-v4.0.0 into master 2026-11-20 18:42:33 +00:00
Showing only changes of commit a6371b1ce3 - Show all commits
@@ -40,7 +40,6 @@ A C tool beside `mkrom.c`, built the same way, one per cell width:
- an empty verification record;
- the string pool and the code, low byte first.
3. It fails the build if anything cannot be written as the ABI requires:
- an export with no fixed effect (2c);
- a relocation whose patched address is beyond its slot's reach;
- a capability it cannot derive.
@@ -124,7 +123,9 @@ ADR step 8 asks. The boot gains nothing.
first. One point for its design: the directory holds both widths' maps, `map-32.f18` and `map-64.f18`,
and name order would take both.
4. **Which words are exports.** The nucleus defines hundreds of words, and some have no fixed effect, which
4. ~~Which words are exports~~ **Ruled 2026-11-19: "Every fixed-effect word".** Every word the tool
derives a fixed effect for is exported; the rest stay internal, and the build does not fail for them.
As asked: The nucleus defines hundreds of words, and some have no fixed effect, which
2c refuses as exports. Is every word with a fixed effect exported, or only those a list names? With a
list, the words outside it stay internal.
5. **The tool's identity.** The provenance holds "the host tool's hash". The hash of the binary differs