LIB2 / FILE VIEW

README.md

DOWNLOAD ORIGINAL ↓

# MathSoft/2 — Chapter 09 copy-only curation candidate

**Status: SOURCE-COPY CANDIDATE ONLY. NOT A PROMOTED OR NATIVE-ACCEPTED LIBRARY.**

This directory contains byte-for-byte copies of the Math 1.1 r019 numerical implementation originally in `src/lib/math11/`. No instruction, label, algorithm, constant, or RAM equate was rewritten.

- Ten `.inc` owner modules expose all 17 `M11_*` entries.
- Four `.inc` scratch-equate modules live in `scratch/`, with the original same-address overlays intact.
- `cursor_linear.inc` and `keyscan_linear.inc` are **not** in MathSoft; they were copied to `src/adapters/math11_r019/` because they are cursor/keyboard placement adapters, not numerical functions.
- The existing B9, platform, keyboard, serial and display dependencies remain pinned under `src/m11r019/` for the first binary-parity build. A future switch to newer `lib2/b9` is a separate, *non-parity-presumed* step.
- Candidate ROM root: `src/mathrom_m11_v2.s`; immutable control: `src/mathrom_m11.s`.
- **Run source verifier first:** `python3 tests/verify_mathrom_m11_v2_source.py` from Chapter09 `src/`.
- Build `mathrom_m11_v2.bin` independently and compare its exact SHA-256 to accepted `mathrom_m11.bin` and historical r019 digest `61be3cb8cdb989cbbdba5712fd1941150508454d8ff5f4d8c2e0ee6548f61845`. Do not infer native or emulator acceptance from copying alone.

Do not edit any file under the frozen `src/lib/math11/`. Treat original headers stating that native assembly is pending as *inherited comments*: the immutable source is now historically r019 native-assembled, but this copy-only **v2 layout** has not yet been compiled.

*Praeteritum ad futurum servamus.*