interplane.io
Source of interplane.io: a Rust generator that renders the page from the protocol repository's public record, deployed hourly from the Spark.
Brought by drakestapleton
interplane.io / content / omega / bootstrap / index.html
| 1 | title: How Omega was built | Interplane |
| 2 | description: Follow the seed from hand-written machine words to a compiler that can rebuild itself. Read the versioned checks and run the bootstrap challenge. |
| 3 | --- |
| 4 | <section class="page-head omega-sky omega-feature"><div class="shell"><div class="col wide omega-feature-grid"> |
| 5 | <div><span class="eyebrow">Omega · Bootstrap</span><h1>How Omega was built</h1><p class="lede">Start with a loader small enough to read word by word. Give the next program names for jumps, then names for instructions. Keep going until the compiler can read its own source.</p><div class="actions"><a class="button orange" href="#chain">Follow the chain</a><a class="text-link" href="/omega/write/">Write your first program</a></div></div> |
| 6 | <figure class="omega-illustration"><img src="/public/omega-seed.png" width="1200" height="800" alt="Illustration of a silicon die with luminous traces and etched layers rising from it against a sparse starfield."><figcaption>Illustration of the seed and the layers built from it.</figcaption></figure> |
| 7 | </div></div></section> |
| 8 | <section class="band"><div class="shell"><article class="col prose"> |
| 9 | <h2 id="chain">From hex words to a compiler</h2> |
| 10 | <p>Read downward. Each row describes what becomes possible at that rung. The shell performs the first conversion, from written hex to machine bytes. Each program that follows builds the next one. <a href="https://interplane.io/drakestapleton/omega-mv/blob/main/seed/README.md">Seed source and rung records</a>.</p> |
| 11 | <figure class="omega-diagram"> |
| 12 | <ol class="omega-flow" aria-label="Omega bootstrap sequence"> |
| 13 | <li><strong>Hand-written hex</strong><span><code>load0.sh</code> uses shell <code>printf</code> to turn <code>seed0.hex</code> into executable bytes.</span></li> |
| 14 | <li><strong>The 408-byte loader</strong><span><code>seed0</code> reads eight hex digits at a time, emits machine words and builds <code>hex1</code>.</span></li> |
| 15 | <li><strong>Names for jumps</strong><span><code>hex1</code> resolves labels into branch distances and builds <code>asm2</code>.</span></li> |
| 16 | <li><strong>Names for instructions</strong><span><code>asm2</code> uses an Arm instruction table to encode assembly and build <code>om4</code>.</span></li> |
| 17 | <li><strong>A language for the compiler</strong><span><code>om4</code> reads enough Omegese to compile <code>omc.om</code> into the first <code>omc</code>.</span></li> |
| 18 | <li><strong>The compiler builds itself</strong><span><code>omc</code> recompiles the same source. The challenge compares the resulting stage binaries byte for byte.</span></li> |
| 19 | </ol> |
| 20 | <figcaption>The main compiler chain. Atlas is a separate boot-image branch built by <code>asm2</code>. <a href="https://interplane.io/drakestapleton/omega-mv/blob/main/seed/challenge/CHALLENGE.md">Challenge and expected hashes</a>.</figcaption> |
| 21 | </figure> |
| 22 | <h2>What the first program actually does</h2> |
| 23 | <p>The hex source includes a Linux ELF header and the Arm instructions that follow it. The header tells Linux how to load and start the program. The instructions read text, ignore spaces and comments, and write the binary value of each complete word. A bad character or an unfinished word is rejected. This is enough to build a slightly more capable program from another text file. <a href="https://interplane.io/drakestapleton/omega-mv/blob/main/seed/rung0/seed0.hex">Read the annotated seed</a>.</p> |
| 24 | <h2>Why the intermediate steps matter</h2> |
| 25 | <p>A label replaces a hand-counted branch distance. An instruction table replaces hand-encoded operands. Omegese replaces rows of assembly with named values, typed operations and structured branches. Each step removes a chore from the author and gives the next tool a larger vocabulary. The assembly table cites the Arm manual, so an instruction can be checked against an independent description. <a href="https://interplane.io/drakestapleton/omega-mv/blob/main/seed/README.md">Rung walkthrough and controls</a>.</p> |
| 26 | <h2 id="reproduce">Rebuild the published check</h2> |
| 27 | <p>Use a 64-bit Arm Linux host with Git, a POSIX shell, awk, sed, tar and Coreutils. Clone with history so the challenge can find the revision named in its expected table. The command builds in a scratch directory inside the checkout and writes its log to <code>build/seed/challenge/challenge.log</code>. <a href="https://interplane.io/drakestapleton/omega-mv/blob/main/seed/challenge/CHALLENGE.md">Reproduction instructions</a>.</p> |
| 28 | <pre class="wrap"><code>git clone https://interplane.io/projects/omega-mv/repo.git omega-mv |
| 29 | cd omega-mv |
| 30 | sh seed/challenge/run.sh</code></pre> |
| 31 | <p>The challenge selects its own source pin and compares the rungs with the published SHA-256 table for that pin. A match establishes a reproducible build along this chain. Program behavior takes separate tests. A different release or target needs its own evidence. When reading a result, look for the revision, the commands, the hashes and a control that was deliberately broken. <a href="/evidence/">How to read evidence</a>.</p> |
| 32 | <div class="actions"><a class="button dark" href="/omega/write/">Write and check an Omega program</a><a class="text-link" href="/omega/">Back to Omega</a></div> |
| 33 | </article></div></section> |