Commit Graph
10 Commits
Author SHA1 Message Date
opencode.energia.arti.ee be5b323f5d docs(termtris): build the harness binary before reproducing evidence 2026-11-11 17:59:30 +00:00
opencode.energia.arti.ee 7a2cef56ad fix(termtris): review pass -- seed, focus/pause, expose, test assertions
- seed the game from the raw 0x1E93C0 counter (now_ms() returns 0 on its
  first call, so the old seed was always zero)
- track pause ourselves: FocusOut pauses once, FocusIn resumes only what we
  paused (game_input('p') is a toggle)
- select ExposureMask so the Expose redraw path actually fires
- play.sh/play_keys.sh rebuild the COFF (OUTNAME=termtris) and assert the
  run: status=0, tick>0, loops/events/quit per mode; render.sh asserts the
  renderer finished; map symbol lookup is column-order independent
- run.sh passes -lightgun -lightgun_device mouse so the pointer drives the
  tablet
- docs: link map addresses, monochrome/reverse wording, honest caption and
  limits text

Verified here: play.sh and input.sh pass. Still open: the MAME driver in the
tree is newer than the installed binary (Oct 30 build, VR150-era geometry),
so the acceptance suite must be re-run after a rebuild.
2026-11-11 17:59:16 +00:00
opencode.energia.arti.ee eb896f7b8c test(termtris): assert the play acceptance results; drop the dead drain hook 2026-11-03 20:11:57 +00:00
opencode.energia.arti.ee 64bd781aa6 chore(termtris): stop tracking per-test build outputs 2026-11-03 20:07:41 +00:00
opencode.energia.arti.ee 3e2dddeb6a docs(termtris): port report, run wrapper and harness write-up 2026-11-03 20:07:35 +00:00
opencode.energia.arti.ee 41d3cecd49 feat(termtris): run the game on the VT1200 X server
Board, score panel, preview and help/scores toggles draw through the
ROM Xlib cell grid; keys arrive as real X KeyPress events. The backend
is now monochrome (the VT1200 raster is one bit deep) and flushes whole
rows so the in-machine server can drain the request stream.
2026-11-03 20:03:47 +00:00
opencode.energia.arti.ee c1945cfc73 feat(termtris): X11 key map, millisecond clock and main loop 2026-11-03 19:03:14 +00:00
opencode.energia.arti.ee 264b53a6a0 feat(termtris): 80x24 cell-grid X11 renderer (6x13 cells) 2026-11-03 19:00:42 +00:00
opencode.energia.arti.ee a8041818bb feat(termtris): compat sprintf/stdio for the TI r5.01 runtime 2026-11-03 18:51:22 +00:00
opencode.energia.arti.ee a8612681ba feat(termtris): vendor source and VT1200 Xlib XG smoke test 2026-11-03 18:49:44 +00:00