Skip to content

369. A queued screen program is indexed by one byte, so only base slot 11's first 256 entries can run

Found because section 366's file stalled the Harmony 650, and the control there pinned it on the idle screens queuing base slot 11 entry 6653. Sources checked: the firmware, by control flow from the action dispatcher (lab/work/agent-freeze-9-1-2/, an agent's reading, each step below then checked here by disassembly); section 73, which had read this routine and got its index wrong; Logitech's client draws no screen, so it is not a source.

The run routine reads the operand's low byte alone. On the bench Harmony 650 0.2 the dispatcher's 0x73 arm at 0x0EA44 copies the operand to 0x738/0x739 and calls 0x16EB0, its only caller. That routine seeks slot 0x0B, does MOVFF 0x738,0x6DE, loads 2 into 0x6DD and calls the indexer 0x1807C, which moves 0x6DE into the low half of its product, CLRFs the high half and multiplies by three; the 2 is the count header skipped. 0x739 is named nowhere in the routine. The same shape, other addresses: the Harmony 600 0.2 at the same addresses, the Harmony 650 0.4 (0x185EC, low byte 0x391, indexer 0x10BCE), the Harmony 700 2.8 (0x18814, 0x39D, 0x10BEE) and the Harmony One 3.4 (0x296F4, 0x2F1, 0x2BAD2). On the four arch 14 images the seeker is called with slot 0x0B at that one site, so nothing else reads the table there; the Harmony One's other seeks are not counted. Arch 8, 9 and 10 are not read.

So a Harmony 650 table of about 6653 entries has 256 a configuration can run, and entry 6653 ran as 253. On the stalled file entry 253 is Logitech's 11 73 17 7F 00, which queues action list 6003, three 0x7C steps for device group 6. Each 0x7C that lands while state variable 17 is 0 calls 0x11D34, the one routine that writes that variable with a value, and it raises event 0x2D every time, which is the event the idle screens bind to their corner program. So the corner program queued itself again. That the loop is what the bench saw is inferred: the stall, the screen never going dark and the USB screen not coming back are consistent with it, and the 20 seconds between keys is not read. What Logitech's entries from 256 up are for is not checked.

State variable 17 is the sending flag, by the same reading: its writers are on the infrared send path, 0x11D9A setting 2 for a send and 0x11DC0 1 for a 0x7C among seven, and the corner switch draws the icon for 1 to 3 and the patch for 0. The bench says the bottom right icon shows while the remote sends (reference/remotes/harmony-650/display.md). Section 317 read the variable as a battery level; the programs this project calls battery programs are the sending indicator.

What a writer does: a program of ours that is queued takes an entry below 256 that nothing names. withStateBackgrounds finds the lowest entry whose lo 00 73 occurs nowhere in the container, which is conservative since every way a configuration names a program writes the operand and then 0x73, and repoints that entry; the table keeps its length. Base slot 11 has no other reader, so the old program behind that entry was dead on the remote.

On the remote: the rebuilt file, the idle corner at entry 5, written to the Harmony 650 on 11 October 2026 and run through section 366's bench test without a stall: every key answered at once, the screen went dark, every state showed its colour (in bright test colours, h650-9-1-2-bright-config.bin, red, blue and yellow, for a colourblind tester on a dim panel; the decided colours differ only in value), the corner matched the background, and every code the Flirc heard was the one the file binds (reads/20261011T124108Z-ir-test-harmony-650-one-flat-background-colour-per-screen-state.json).

Falsification: an image of these models whose run routine reads the operand's high byte, or a second seek of base slot 11 on an arch 14 image.

  • tests/test_findings.py, TestAQueuedScreenProgramIsIndexedByOneByte: the routine and its indexer on five images, and the one seek site on the four arch 14 images.
  • packages/codec/src/backgrounds.ts: RUNNABLE_SCREEN_PROGRAMS, freeLowProgram, and the check's refusal; packages/codec/test/backgrounds.test.ts: the entries per compile and a control naming the idle corner as entry 5 plus 0x1900.
  • Section 73 corrected in place; docs/config-format.md, base slot 11 and the 0x73 row.

Section 368 | the archive | section 370. Section 369 of the findings archive, which is frozen; the reference holds the current answer. The archive on GitHub.