Files
ROT-8-viz/include/rot8
dsh dde545d0d5 Geometry defaults: 11 bit cells on a 259 cell tape
Both knobs already existed (--mem / --cell, rot8_config_apply).  This only moves
the defaults off the historical 256 x 8, which is the interesting case: a tape
written for byte cells now means something else, and nothing crashes.

    rot8_test --dump tapes/and.rot8                     # 512 1536 512
    rot8_test --mem 256 --cell 8 --dump tapes/and.rot8  # 13 7 5, as before

What follows the width without being touched:

* ROR rotates inside the cell, so a single set bit walks 11 places instead of 8
  (the wave tape's view shows 001 010 .. 400 over 11 columns).
* FLB, BIZ and RNZ only look at the low bit, so they need no change at all.
* INP masks to the width and config validation covers 1..32.

What the view does with it: ceil(11/4) = 3 hex digits per cell, 11 columns a
row, and 259 cells is 24 rows, so the grid is a window around the pointer with
its range on the last line.

--mem 256 --cell 8 reproduces every earlier number byte for byte, so the
machinery is unchanged; only the default moved.
2026-11-07 10:56:15 +08:00
..
2026-04-07 17:57:54 +08:00