# INPUT / generation 10e — User manual
**Library:** `src/lib2/input/10e/`
**Edition:** 2026-11-18, source/document review (documentation only)
**Qualification:** Historical Input r010e interface; Wave 8 CLARITAS source/native parity accepted for sanitation only. New emulator/hardware behavior is not granted by this.
## What this member does
Edit a bounded NUL-terminated RAM text field with insert/overwrite, cursor movement and selectable character class; return an exit event to the application.
## Public interfaces
| Entry point or group | Inputs, outputs and behavior |
|---|---|
| `INP_EDIT` | `$10/$11` buffer, `$12` capacity including NUL, `$13` width 1..32, `$14` LCD start cell, `$15` class 0 text/1 decimal/2 hex, `$16` UP/DOWN policy, `$17` initial length, `$18` initial cursor (`FFh` means start), `$19` insert/overwrite. Returns `$0` exit category, `$8` terminating key, `$9` final length. |
## How to integrate
Allocate a writable field with valid terminator and length; initialize the full descriptor registers and keyboard/cursor dependencies; `CAL INP_EDIT`; branch by `$0` and inspect `$8/$9`. The editor does not parse U32/B9.
**Composition sketch (not an independently assembled client):**
```asm
#INCLUDE (lib2/input/10e/input.s)
; Supply the dependencies, RAM, bank context and symbols described above.
CAL INP_EDIT
```
## Environment, dependencies and memory
UA14, configured `$SX/$SY/$SZ`, valid stack and SYS540 cursor; KBD driver and field RAM provided by consumer. Private editor scratch `27E0..27EC`; non-reentrant, broad register clobbers.
## Limits and evidence
Not a transparent replacement for input/2. Historical source comment says unassembled, but a later CLARITAS static/native parity acceptance applies only to source sanitation; ensure application runtime tests.
**This documentation does not introduce a new build or runtime PASS.** Source equivalence, native assembler parity, emulator execution and physical-machine evidence remain distinct.
## Actual source and further reference
- [This exact member folder in Google Drive](https://drive.google.com/drive/folders/1BCM3dP42AG9t78YhS7hu2wonNk_QlkHr)
- Source modules: `input.s`.
- Further contracts/source notes: ../README.md. These may include dated donor paths or older acceptance statements.
- For a new consumer, pin exact source files and hashes, verify full include closure, inspect register/bank/resource conflicts and test the resulting application on each claimed target.
*Praeteritum ad futurum servamus.*