Commit Graph
2 Commits
Author SHA1 Message Date
CydandClaude Fable 5 a048b7c69b Move PlasmaNew to the TeslaRel410 repository
As a hardware replication project it belongs with the other hardware
restoration efforts: now at restoration/PlasmaNew in TeslaRel410
(imported there as 4391ddd3, including the uncommitted button-macro fix
and power-on cursor rendering). Doc references updated to point at the
new home. vPLASMA (src/VPlasma.Core) and tools/VPlasma.Wire remain here.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-22 17:21:25 -05:00
CydandClaude Opus 4.8 49e88fbe20 vPLASMA: fold in the real ROM fonts and firmware-confirmed commands
Replaces the guessed font/cursor model with what the firmware dump proved:

- The 8 real Babcock ROM fonts, extracted from tms27pc512.BIN into
  PlasmaFonts.cs (6x8, 6x10, 7x10, 12x16, 12x20). Drops the public-domain
  5x7 stand-in and PlasmaFont.cs.
- Pixel-addressed cursor with the real positioning commands: ESC Q (row Y,
  0-31) and ESC R (column X, 0-127), matching the firmware's range checks.
  Cursor motion (BS/HT/LF/VT/CR) now moves by font pixels, not cells.
- ESC K selects fonts 0-7 (out-of-range ignored, per firmware); ESC H
  attributes are the low 4 bits (half/underline/reverse/flash).

Deferred (documented in FIRMWARE.md): the 10 double-buffered pages
(ESC I/i) and vector-graphics primitives (ESC A-F); vPLASMA keeps a
single-page model for now.

Verified: 24 unit tests pass; the three self-test pages render the real
glyphs (big font 4 banner, full charset in font 0, graphics). Next: begin
the modern-parts hardware replica, with this as the reference firmware.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-16 17:39:07 -05:00