SOURCE VIEWER

README.md

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

DOWNLOAD ORIGINAL ↓

# CS617 Chapter 04 — stable/ accepted Primes Lab r004

> **CURRENT ROM LOCATION — 2026-10-12:** The accepted listing and 64 KiB ROM reside at `stable/rom/primes.{bin,lst}`; source/includes and the owner-controlled `build/` remain where they were. Exact binary/listing filenames, Drive IDs, sizes and hashes are unchanged.
> This is a file-location normalization, not a new assembly, runtime test, firmware revision, rights approval or alteration of archived evidence. Older dated paths below describe their historical checkpoints.


**Private owner-consumption release.** This folder is the current accepted product-view mirror of Chapter 04's canonical `src/` build. The accepted revision is **r004**, with the 2026-10-11 owner report **"built and tested - excellent"** and a verified HD61700 Rev. 0.45 source/listing/ROM audit. It is not a public-distribution permission or exhaustive numerical/hardware recertification.

The functional entry point is [`src/primes.s`](https://drive.google.com/file/d/1i7dIWHy_iuTfjWEhR6rnj4IXIpeLW-Yk/view), with generated acceptance outputs in `rom/primes.lst` and `rom/primes.bin`; `src/build.last` remains a preserved report. The ten unchanged files included by the assembler are in `src/prime_*.inc`, `src/lib/`, and `src/data/`. `src/TIP.md` documents source path, provenance and maintenance.

**No `apps/` indirection.** The canonical working build runs from `../src/`, and the source's literal `../src/...` includes resolve correctly when the mirror is assembled from `stable/src/`. The prior `stable/apps/` structure was unnecessary for that contract. Version/status belong in this README and [`MANIFEST.md`](https://drive.google.com/file/d/1ZG3KljgCT2GMDHMy0BSmdSAXx7vMbb-J/view), not in a competing `product-r004-accepted-*` directory.

## Accepted machine identities

| Source-root path | Bytes | SHA-256 |
|---|---:|---|
| `src/primes.s` | 43,400 | `26936704ba46d352f034642287de99adbaa9c48e3e2775ebfca7a6369d611bcc` |
| `rom/primes.lst` | 330,580 | `70bd91026e5ca8b2f0943fee2e55da2a889e172f7a5611667fead90d8c7f6d57` |
| `rom/primes.bin` | 65,536 | `1f3d72a7168eeed64c6429cfcc825da83f12719d8bd4a27541e08b087df88c6b` |
| `src/build.last` | 352 | `65f51f19b0de0fe1f941d3fefffd02c3517c26f8feb26eed92fcfb29ce6a6afa` |

The original r003 remains at `../apps/prime_lab_r003.{s,lst,bin}` and in the unchanged frozen Experience ZIP at `../archive/`. The old r003 stable packaging folders and the redundant r004 wrapper were moved, **not deleted**, to [`../trash/STABLE_LAYOUT_SUPERSEDED_20261011/`](https://drive.google.com/drive/folders/1ZENJzDD_5id7u2ZjZjyG3G6QUWYi4ZNh). Exact former package files and IDs are retained there for review.

The `pdf/` and `sol/` materials are private historical/teaching context; `TEASER.pdf` remains an editorial draft. They are not a public runtime release package. The source's mathematical and UI evidence is unchanged. Original classroom assignment and accepted r003 chronology have not been retroactively rewritten.

**Engineering rule:** `stable/` is one accepted source-root mirror; `HARMONY.md` and the manifest describe current revision and history; `archive/` and reversible `trash/` preserve older witnesses. Never mutate the owner's `build/` directory or infer new evidence from layout moves.

*Praeteritum ad futurum servamus.*