Captain Bob ruled: Block n lands at n-R; the lowest block is interpreted; chaining is the developer's; together, v4 first. - v4_blocks_place_capsule copies each Block n into RAM block n - R as 16 lines of 64, space-padded, in any file order. A later block of the same number overwrites. It refuses a block below R. - The mesh's load(), its capsule reader (CAPSULE-OPEN/(LINES), so a child's forth79.4th via BIRTH too), boot.c and test_host_unit's model each place a capsule, then interpret "<lowest> LOAD". - mkdictionary.py skips --> when it types capsules at the hosted prompt. - The v4 capsules are renumbered into R..2R-1, landing at RAM 1900 and up, away from POST's blocks 0-5. Each is chained with -->, and centre.4th's gap at 8103 is closed. Test first: - test_host_blocks.c gained 6 placement checks; it failed to build before. - test_mesh_boot.c checks forth79's lowest block in RAM block 1900; it failed before. After: POST is 990/990; all 52 tests at 64 bits, test-32, hosted-check and ASan/UBSan pass; the amd64 kernel builds; the dictionary has 404 words. Logs are in logs/20261118-capsule-place. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
16 lines
706 B
Forth
16 lines
706 B
Forth
Block 3956
|
|
( starshipos.4th -- the StarshipOS words, in their own )
|
|
( vocabulary, STARSHIPOS: not FORTH-79, so not in FORTH. )
|
|
( Loaded when the system boots, after forth79.4th. )
|
|
( Blocks 3956 up. New definitions still go into FORTH; the )
|
|
( search starts in STARSHIPOS once init.4th sets it. )
|
|
VOCABULARY STARSHIPOS STARSHIPOS DEFINITIONS
|
|
-->
|
|
Block 3957
|
|
( DOE baddr u -- as S" name" DOE )
|
|
( Intended: run the DoE of that name, from the capsule of )
|
|
( that name. As yet it only types the name back -- asked for )
|
|
( so, 2026-10-15; the runner is still to be built. )
|
|
: DOE ( baddr u -- ) TYPE ;
|
|
FORTH DEFINITIONS STARSHIPOS
|