LIB2 / FILE VIEW

API.json

DOWNLOAD ORIGINAL ↓

{
  "schema": "lib-set-01/api/v1-proposal",
  "member_id": "vt26",
  "family": "vt",
  "generation": 26,
  "version": "26",
  "admission_date": "2026-11-12",
  "admission": "adopted_donor_exact_bounded",
  "origin": {
    "kind": "donor",
    "project": "cs617/chapter02-sorting-extra",
    "revision": "x0.31a",
    "display_version": "x0.31a-dev",
    "donor_manifest_url": "https://drive.google.com/file/d/1j6VU9-XbC8LoANOSQzpLm7sa4ZRveWOm/view",
    "curation_url": "https://drive.google.com/file/d/1J4PJfCcMoWKX2SmAjd8vLZTODgtupycD/view"
  },
  "source": {
    "files": [
      {
        "path": "vt26.inc",
        "bytes": 29574,
        "sha256": "27dc76cdf8f34894b25991383e999ec52d03e0ba11e6489acfe847af6c6f0cb9"
      },
      {
        "path": "vt26_lcd.inc",
        "bytes": 9809,
        "sha256": "c39a081cb5324359598b4c1e939fb95e7d6d7ebb2f8fd17d7f455260c09f642c"
      },
      {
        "path": "export.inc",
        "bytes": 1947,
        "sha256": "d33eb972b2f295e4f451293eb48f5931acc2de3e8c5ef4061ca5cb8b7f9565c9"
      }
    ],
    "identity_check": "Three source-exact copied files from Chapter 02 accepted Stable into new, verified lib-set-01/vt/26 directory; donor originals unchanged"
  },
  "api": {
    "exports": [
      "VT_BIND_RAM",
      "VT_BIND_RO",
      "VT_BIND_ROM",
      "VT_BIND_RSEL",
      "VT_GET_CHAR",
      "VT_CLEAR",
      "VT_WRITE",
      "VT_INIT",
      "VT_CONFIG",
      "VT_VIEW",
      "VT_OPEN",
      "VT_OPEN_AT",
      "VT_TX_ERROR",
      "VT_EXPORT",
      "VT26_PUTC",
      "VT26_LCD_PUTZ",
      "VT26_LCD_ROM32",
      "VT26_GFX_PUTC"
    ],
    "calling_convention": "HD61700; register-based; viewer return event in $0; document base in $10/$11 for VT_BIND_*; VT_OPEN_AT row in $8; see API.md",
    "viewer_events": {
      "0": "Q or :q exit",
      "1": "MENU exit",
      "2": "BRK exit",
      "3": "eligible EXE selection",
      "4": "eligible :c action",
      "8": ":t semantic send request",
      "9": "plain c/C app communication event",
      "10": "invalid VT_OPEN_AT row"
    },
    "entry_status_exceptions": "VT_INIT/VT_CONFIG return $0=1; VT_CLEAR/VT_WRITE/VT_EXPORT use method-specific statuses, not viewer events",
    "register_preservation": "no general caller-preserved set guaranteed; explicit local semantics only",
    "reentrant": false,
    "dependencies": [
      "consumer-owned 1,920-byte canvas or compatible ROM document",
      "caller-managed VT state RAM and export counters",
      "compatible PB-2000C LCD/keyboard/firmware service bindings",
      "VT_SEND_CAP and optional qualified serial backend",
      "VT_OUTBYTE, VT_HOST_RAM, VT_TX_DETAIL",
      "transport-neutral VT_EXPORT requires externally supplied sink",
      "caller event dispatch and platform adapter"
    ],
    "commands": [
      ":h",
      ":i",
      ":l",
      ":r",
      ":s",
      ":t",
      ":q",
      ":c_when_enabled"
    ]
  },
  "environment": {
    "targets": [
      {
        "machine": "Casio PB-2000C",
        "evidence": "owner-reported emulator behavior in Chapter 02 exact tested composition",
        "status": "donor_accepted_bounded"
      }
    ],
    "unqualified_targets": [
      "AI-1000",
      "physical PB-2000C",
      "unrelated firmware/platform"
    ],
    "document_bytes": 1920,
    "document_shape": {
      "rows": 24,
      "columns": 80
    },
    "lcd_shape": {
      "rows": 4,
      "columns": 32
    },
    "export_expected_bytes": 1968,
    "memory_ownership": "caller owns document, VT state, export state, UART scratch; never reuse fixed code addresses",
    "ram_symbols": [
      "VT_SELECTED",
      "_VT_DOC_BASE",
      "_VT_DOC_KIND",
      "_VT_TOP",
      "_VT_LEFT",
      "_VT_DPTR",
      "_VT_DIDX",
      "_VT_INVAL",
      "_VT_INLEN",
      "_VT_INV",
      "_VT_LC_TICK",
      "_VT_LC_VIS",
      "VT_EXP_PTR",
      "VT_EXP_COL",
      "VT_EXP_ROW"
    ],
    "registers": "full viewer clobber set not independently certified",
    "firmware": "PB-2000C donor platform adapter only",
    "rights": "DejaVu-derived font requires attribution/license review before public redistribution"
  },
  "evidence": {
    "donor_release_rom_sha256": "89df2c3fbd6dbb0b8a158124a5ecad3cd234ade3ace84dcae09a4dcc3b2c4289",
    "donor_rom_bytes": 65536,
    "native_assembler": "HD61700 Rev 0.45; 21,248 emitted-position byte audit matched",
    "functional_acceptance": "owner-reported PB-2000C emulator inverse :i, blinking :l, :t normal/inverse, post-SEND navigation regression",
    "source_intake_audit_url": "https://drive.google.com/file/d/1C3nJwXWvhBjZNLyyug6D2ZftLl8-P_Td/view",
    "inherited_bounded_proof": true,
    "library_retest_rom": "none_required_for_exact_donor_adoption"
  },
  "qualification": {
    "status": "adopted_with_bounded_donor_evidence",
    "general_consumer_abi": "requires consumer validation",
    "ai1000": "not_qualified",
    "physical_device": "not_qualified",
    "receiver_side_uart_1968_capture": "not_qualified",
    "public_redistribution": "rights_review_required",
    "library_stable_release": "not_promoted",
    "old_vt_version_replacement": false,
    "limitations": [
      "native and emulator proof was for donor composition, not arbitrary caller",
      "multiple consumer callbacks and RAM/bank responsibilities",
      "no generic independent test ROM",
      "font licensing and public distribution unresolved"
    ]
  },
  "user_guide": {
    "version": "R003",
    "files": [
      "VT_Virtual_Terminal_User_Guide_R003.pdf",
      "VT_Virtual_Terminal_User_Guide_R003.md"
    ],
    "origin_pdf_url": "https://drive.google.com/file/d/1qFxeuDTx36FEJ9zN3Mw7ZdLzaNiukMIw/view"
  },
  "notes": "Metadata is descriptive. Not input to legacy U32-only Solcito composer and not a certification record."
}