LIB2 / FILE VIEW

VT24_ORIGINAL_MANUAL.md

DOWNLOAD ORIGINAL ↓

# VT24 User Manual — 24x80 viewer with selectable ROM and serial export

Version: VT24, manual r001 (2026-11-04). Test client: `vt24-test01.s`, splash r003.

## What VT24 does

VT24 displays a fixed-size 24-row, 80-column document sourced from RAM or ROM. It scrolls, tracks a selected row, and transmits the complete current document over the established RS232C driver. Applications can use the row-selection signal to perform their own action, such as copying an example expression to an editor.

VT24 is a software library: in real applications, **the user does not see event numbers**. `VT24 EXE event 3` and `VT24 :c event 4` are messages produced solely by the VT24 TEST01 demonstration ROM.

## Modes

| Binding | Document source | Can modify? | EXE / :c selects? |
|---|---|---|---|
| `VT24_BIND_RAM` | RAM | Yes, via applicable library operations | Yes |
| `VT24_BIND_RO` | RAM | No | Yes |
| `VT24_BIND_ROM` | ROM | No | No |
| `VT24_BIND_RSEL` | ROM | No | Yes |

The new `VT24_BIND_RSEL` mode is designed for immutable example catalogs. EXE and `:c` return event 3 and 4 respectively to the caller without executing any expression. The caller determines what to do next; for MREVAL it will populate the editor without evaluating.

## Controls in VT24 TEST01

- FK1 `[view]`: seeded RAM document; open, navigate, select.
- FK2 `[at03]`: position at row 03; check DOWN gives 04 and UP returns to 03.
- FK3 `[rom]`: plain immutable ROM. EXE/`:c` must **not** select.
- FK4 `[select]`: selectable immutable ROM. EXE and `:c` report events to test client.
- Arrow keys: navigate the document and horizontal viewport.
- `t` and `b`: top and bottom.
- `:t`: transmit the complete page; view resumes at same selected row.
- `:e`: must not erase a ROM document.
- Q: leave the viewer and return to the application menu.

Other command keys remain governed by the library client/API and should not be inferred from this quick-start alone.

## RS232C transfer

Use the established 4800-baud, 8-data-bit, no-parity, one-stop-bit and no-flow-control setup unless the application explicitly configures another supported setting. One `:t` sends **1968 bytes**: 24 rows x 80 bytes plus CRLF (`0D 0A`) after each row. No EOF is appended. Embedded bytes and trailing spaces are part of the fixed-width document. Keep a raw receiver capture if byte-exact verification matters.

## Integration for MREVAL

MREVAL will bind its two ROM example documents using `VT24_BIND_RSEL`. A selected example is recalled by MREVAL, not interpreted by VT24. The library reports the event and preserves selection state; MREVAL must independently validate which row was chosen, read its full text, trim or parse it appropriately, and place the expression into the editor without evaluating or altering calculation history. This selected-row retrieval is **deferred to MREVAL integration testing** by project decision, rather than added as a separate VT24 TEST01 requirement.

## Test and qualification status

As of 2026-11-04 the owner reported successful HD61 assembly, boot/menu, RAM viewer/navigation, positioned row 03, ordinary-ROM selection suppression/protection, selectable-ROM EXE event 3/`:c` event 4 with preserved focus, and RAM/ROM/selectable-ROM serial transfer with exact 1968-byte/24-CRLF/no-EOF framing. These exercised functional emulator tests are marked **PASS (owner-reported)**. The original EXE diagnostic garbage was resolved after changing LCD-clear order and correcting a stale build copy.

**Not yet certified:** independently archived current ROM/listing SHA and exact source provenance; physical PB-2000C/OM52C execution. Avoid calling VT24 hardware-qualified until those gates complete. VT22 and VT23 are preserved unchanged.

*Praeteritum ad futurum servamus.*