SOURCE VIEWER

SOL_NOTES.md

Original bytes preserved. This is a browser-readable view.

DOWNLOAD ORIGINAL ↓

# Sol's notes — why the Chapter 03 stable snapshot matters

**CS617 Chapter 03 — Random Numbers and Native BCD Arithmetic**  
**Curated edition:** 10 October 2026  
**Owner and sole intended consumer of this `stable/` directory:** Alex  
**Stable front door:** https://drive.google.com/drive/folders/16pQ2JEiqvvaNtwJsKZGQ7wK4cTtx26U5

## The meaning of this directory

The Boss approved this nested, purpose-specific layout as the **Land of Harmonization**. `stable/` is the **private intellectual endpoint** of a completed, tested, curated project. It is not a junk drawer, a new build directory, a public student download, or a claim that the historical machine was tested again. It lets one reader find the *accepted object* and the *ideas that gave it meaning* without excavating the entire chronology first.

Its children are deliberate: `src/` is the unchanged accepted program; `lib/` contains its dependencies (or an honestly reported missing copy); `rom/` carries the original executable and listing; `pdf/` preserves **all three** harmonized intellectual teaching works, NOTES, TA and SOCRATIC, because Alex alone reads this private archive; `TEASER.pdf` opens the subject to a new reader; `MANIFEST.md` holds exact identities and limitations; and `sol/` holds a concise account of the insight behind the outcome. The chapter's live `notes/`, `tests/`, `tools/`, `archaeology/` and `history/` remain the independent evidence trail, not material to be erased or gratuitously duplicated.

## What was actually learned

A simple, seeded random-number task became a precise test of representation, numerical services, repeatable experiment, and evidence. Chapter 03's human-accepted **SHELL r005** has four visible actions: SEED, NEXT, N and SIM. Its underlying linear congruential generator is deterministic, and that determinism is what makes exact predictions and falsifiable machine experiments possible. Native BCD arithmetic, wrappers, derived routines, keyboard state and the display were all part of reaching the observed endpoint. A correct-looking screen was never a substitute for a verified source/listing/ROM and disciplined test oracles.

The project's mistakes matter as much as its endpoint. Earlier shells revealed illegal operand forms, scanner banking obligations, ROM-versus-RAM addressing confusion, and presentation defects. Preserve those failures as witnesses in their proper chapter folders; promote the general lessons into the teaching documents and methodology, without inventing work for the next student or overwriting the issued original WHAT.

## Why no new ROM is needed here

The frozen [Experience](https://drive.google.com/file/d/1Ut9GF-4XvQdpedC1lQMjF4z9lKioOXEC/view) calls this project fully closed and records human acceptance of the final r005 ROM. The accepted [source](https://drive.google.com/file/d/1zitD18VMO09sDIZgO8KosYSQt3I95MKj/view), [ROM](https://drive.google.com/file/d/1H3YDwE8X4zpCi92ClKUdudJzfs0yr1DP/view) and [listing](https://drive.google.com/file/d/1eYTOT_7RxeTvzvbnzio6nbjUxkwTzb0O/view) have pinned SHA-256 identities. Harmonization brings the accepted project into a legible consumption structure; it does **not** rewrite historical source, perform a new HD61 build, or assert tests that were not run. Standards adopted after the original closure govern newly commissioned firmware, not this unchanged archival edition.

## Where the other voices live

The unchanged historical requirement is at [sol/what.md](https://drive.google.com/file/d/1HYTsiBCBRYjBhERflK9s9UJXZ_PYmAZV/view) in the chapter's **working** `sol/` folder. The modern derivative teaching sources, TeX and original role PDFs are in the chapter's `ta/`; the three inspected, owner-only consumption PDFs are collected in `stable/pdf/`. My detailed editorial discussion and chronological handoff remain in [MESSAGE_FOR_PAPA_SOL_AND_THE_BOSS.md](https://drive.google.com/file/d/1PMQ_RNRJG8mo0iow1YuVzViv627L7zLd/view); this short note is the **curated pointer and reflection**, not a replacement for those words or their chronology.

## Integrity and remaining boundary

As of this edition, the 2,054-byte original `bcd_to_f32_r002.inc` still exists in the chapter's original `lib/`, but the connected Drive operation prevented its copy into `stable/lib/`. The owner-only package therefore **does not yet claim fully self-contained source closure**. Redistribution rights for recovered native/donor Casio material were not established by packaging. Do not grant general access or distribute the compiled ROM to others on the strength of this directory. The living [stable/MANIFEST.md](https://drive.google.com/file/d/1QuP_yJU9S9R2LSiWwAEanieOmv8nKxo-/view) records exact current status.

## A sentence for future Sol

**Preserve what happened; explain why it mattered; let the reader reach the truth by choosing the right door.**

*Praeteritum ad futurum servamus.*