LIB2 / FILE VIEW

USER_MANUAL.md

DOWNLOAD ORIGINAL ↓

# PLATFORM / generation 1 — User manual

**Library:** `src/lib2/platform/1/`  
**Edition:** 2026-11-18, source/document review (documentation only)  
**Qualification:** Chapter 01 versioned donor source projection, with original manifest candidate parity gate still open. Not a universal platform SDK.

## What this member does

Provide a specific HD61700 language-card boot scaffold, vectors, ROM-bank bridge, LCD text helpers and keyboard translation table.

## Public interfaces

| Entry point or group | Inputs, outputs and behavior |
|---|---|
| `SYS_INIT / SCREEN_INIT` | Platform and screen startup sequence from lcd.s. |
| `LCD_CLEAR / LCD_PUTZ / LCD_ROM32 / LCD_RAMN` | Display clearing and text drawing helpers. |
| `KEY_WAIT / INKEY` | Blocking key-event adapter and nonblocking BOOT-derived scanner. |
| `SYSCAL / CUR_OFF / SETCUR / CUR_ON / PUTC` | System bridge/cursor/output helpers; semantics and residency tied to scaffold. |
| `vectors.s / header.s / defs.s / keytab.s` | Absolute-card placement, boot vectors, constants and KEYSCAN translation—not ordinary callable APIs. |

## How to integrate

Start from the donor Chapter 01 composition and its source closure. Include only the scaffold units compatible with that ROM’s absolute placement, then add independent versioned services. Build under HD61700 Rev. 0.45 and inspect vectors/symbols and target boot before accepting.

**Composition sketch (not an independently assembled client):**

```asm
#INCLUDE (lib2/platform/1/defs.s)
; Supply the dependencies, RAM, bank context and symbols described above.
        CAL     SYS_INIT
```

## Environment, dependencies and memory

Fixed `ORG` locations and processor ROM calls in source; must respect boot header/vector map, designated RAM banks and stack. Some `SYSCAL`/CRTKY services are model dependent. Files are not freely reorderable.

## Limits and evidence

Contains historical ROM identity constants and candidate wording. Do not assume a PB-2000C or AI-1000 universal init sequence from directory membership.

**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/10DTqv8FmTJQxLbPI65wgFFKa60INIwbK)
- Source modules: `defs.s`, `header.s`, `bridge.s`, `vectors.s`, `lcd.s`, `keytab.s`.
- Further contracts/source notes: SOURCE_MANIFEST.json. 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.*