# MathSoft/2 — Shared UA14 RAM ownership (provisional)

This is an **overlaid scratch pool**, not four independent scratch allocations. `scalar_scratch.inc`, `trig_scratch.inc`, `hyp_scratch.inc` and `invhyp_scratch.inc` contain 173 absolute-address `EQU` declarations total (36, 56, 24 and 57 respectively), including **37 distinct addresses named in multiple scratch files**. The same-address reuse is intentional and forbids nested or concurrent math calls.

Examples:

- `3B50`: `N11_SQR_Q` / `H11_SQR_Q` / `I11_SQR_Q`, and the B9 engine's `B9M_B`.
- `3C00`: `N11_L_J` / `H11_L_J` / `I11_L_J` / `T11_SQR_Q`.
- `3C0D`: `N11_L_MODE` / `I11_L_MODE` / `T11_H_SUM`.
- `3F1E`: `_M11_TR_WSTATUS` / `I11_I_FLAG`.
- Additional exact base-address matches with the B9M engine: `3B10`, `3B30`, `3B40`, `3B50`. These are not a complete byte-level overlap count.

The numerical **core** files also declare their own absolute RAM addresses, not just the scratch includes:

- EXP: `_E11_*` near `3F80` / `3F90`, including a 38-byte decimal temporary.
- LOG: `_L11_MAG = 3FC0`, `_L11_ECTR = 3FC2`.
- HYP: `_H11_EW*` near `3F40` / `3F50`.
- INVHYP: `_I11_FMB57 = 3F30`, `_I11_FE400 = 3F32`.

The current r019 application has its own distinct `M_IN`, `M_OUT`, `M_A_INB` buffers in UA14: `2D20`, `2D30`, `2D40`. Their addresses are *not* reserved as a universal library ABI.

**Required before accepting a new general-purpose ABI:** a byte-accurate widths/liveness/overlap ledger for all scratch, B9M and core-local absolute equates; record stack/UA obligations and per-entry non-reentrancy. **No RAM equate changed in this copy-only v2 candidate.**
