• src/conio/cterm.adoc cterm_test.c

    From Deucе@VERT to Git commit to main/sbbs/master on Thu Mar 19 01:34:49 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/37088cdb5b85c52e394d8170
    Modified Files:
    src/conio/cterm.adoc cterm_test.c
    Log Message:
    Add ATASCII documentation and 19 unit tests (57 total)

    Document the ATASCII emulation mode in cterm.adoc: two screen modes
    (40x24 standard, 80x25 XEP80), control codes, cursor wrapping
    behavior, ESC inverse mode, tab stops, and character encoding.
    Normal mode stores raw ATASCII bytes; ESC (inverse) mode applies
    screen code translation.

    19 ATASCII tests: printable chars, return, clear screen, cursor
    movement with wrapping (up/down/left/right), destructive backspace,
    ESC inverse mode and auto-reset, delete/insert line, delete/insert
    char, bell, return with scroll, tab, tab set/clear, screen code
    mapping in normal vs ESC mode.

    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Thu Mar 19 01:34:49 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/0fa02bfc9f73da604517804a
    Modified Files:
    src/conio/cterm.adoc cterm_test.c
    Log Message:
    Add PETSCII documentation and 28 unit tests (85 total)

    Document the PETSCII emulation in cterm.adoc: three screen modes
    (C64 40x25, C128 40x25, C128 80x25), control codes, color mapping
    tables for both C64/C128-40 (VIC-II palette) and C128-80 (CGA
    palette), reverse video, cursor movement, font switching, and a
    table of known C64/C128 hardware differences not yet implemented.

    28 PETSCII tests across all three screen modes: printable chars,
    return (with reverse disable), shift+return (preserves reverse),
    clear screen, home, cursor movement (up/down/left/right with
    wrapping and clamping), delete, insert, reverse video, color
    setting (per-mode palette verification), all 16 C64 colors, bell,
    ignored controls, return with scroll, C64 lock/unlock case bytes,
    C128 disputed control bytes, and LF behavior per mode.

    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Thu Mar 19 01:34:49 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/5f805082cabbca72aa9ff0b3
    Modified Files:
    src/conio/cterm.adoc cterm_test.c
    Log Message:
    Add Prestel and BEEB unit tests (122 total), fix BEEB ESC docs

    37 new tests: 26 Prestel (C0 controls, cursor movement with wrapping,
    clear screen, home, cursor on/off, ENQ, NUL, ignored controls, serial attributes via ESC and raw C1 — alpha/mosaic color, flash/steady,
    conceal, hold/release, double height, background, separated/contiguous,
    row attribute reset) and 11 BEEB (printable chars, character
    translation #/_/`, BEL, APD/APU scroll behavior, DEL, APS direct
    addressing, VDU 23 cursor control, APH, CS, C1 serial attributes).

    Fix cterm.adoc: BEEB mode uses raw C1 bytes (0x80-0x9F) for serial
    attributes, not ESC (ESC is for VDU sequences only in BEEB mode).

    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net