BBS: TELESC.NET.BR Assunto: src/conio/cterm.adoc cterm_test.c De: Deuc¨ Data: Thu, 19 Mar 2026 01:34:49 -0700 ----------------------------------------------------------- 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)n --- mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net ----------------------------------------------------------- [Voltar]