Skip to content

379. The first activity on the empty Harmony 650 configuration

todo-compile-650.md 11.1.1.5. The assembly composes the first activity onto the empty configuration now: two catalogue devices, the LG television and the Denon receiver, and an activity "TV" over both, assemble with every check of the assembly passing, to 540784 bytes on the Watch TV key and to 540794 as a Custom activity on no key, which keeps the empty key's front list. The pages render as the state colours mean them: the activity menu green with its one row, the start up screen in Off's picture and font, the working screen blue with "Devices" in its corner, and the device pages red. Six things stood in the way, each a reading of a file with activities met by a file with none.

The records keyed by the activity are told apart by what their idle case does. With no activity each holds the idle case alone, so the keys that tell them apart on a compile, section 329, are all one key. Among the records mapped through on the activity counter, 0x72 on it from a mode's key map, an action list or a case's program, the working screen record's idle case queues a further record, the one that enters the activity menu, section 336, and each record under the key under Devices enters a mode, the idle device list, sections 330 and 336. The counter is the condition: the location's records hold an idle looking case too, and without it two working screen records are found.

An empty configuration holds no keypad map record, and the first activity adds none. On a compile it is the record whose case per activity selects that activity's handler set inline, 1F FF00 + set, in every configuration here that holds an activity: 55 of 55 distinct Harmony 600, 650 and 700 files, Logitech's compiles and our files built on them alike. Logitech's one compile with no activity has none, and neither does a file built on our empty configuration. An earlier scan here read it as named by nothing; that was wrong. It is named once per file, by the case 0 program of a record of one case, record 32 on Logitech's compile of the test setup and another index on 33 of the 55; nothing found maps through it on that compile, so what runs it is open. The activity menu's row selects the activity's handler set itself, in the lists its two keys run, and the Watch TV key selects it in the wiring, so starting the activity installs its keypad map either way; whether returning from device mode keeps it was for the bench, and it does, section 381.

The wiring has a shape per activity count, and the composer rebuilds it. Scan 4's front list pushes the "add Activities" screen while there is no activity and maps the location once there is one, section 360; an empty activity key calls a front list of its own, which a key selecting an activity has no use for. So the first activity, or one put on an empty key, left a wiring that describes nothing, and every reader after it refused, the first of them with "map locationMap is 2 in one place and 255 in another": scan 4's list still held the push, 07 FFFD, where a map was expected. The activity composer describes the wiring before it builds anything and rebuilds it at the end from that description and the shape the file has now, rewiredForActivities, while no activity key holds an activity or when an empty key takes one; the symbols are unchanged, since a composer appends lists, modes and entries and renumbers none. A donor whose wiring is already right for the activity is left as it was. The front list the shorter front no longer holds is named by nothing; the assembly's step 12 drops it, which it does now for every list the donor named and nothing names, not only for those named after the composers.

Activities with every activity key empty bind scan 4 as any activity does. What Logitech's compiler binds there is not read, and the builder refused; it binds the location map now, our choice, so a Custom activity, which goes on no key, is reachable from the activity menu.

A menu page with one activity has nothing to tell its footer from its label by. The activity menu draws "TV" and the footer "Devices", the activity's working screen draws both, and both chrome rules of the name reader need a second activity, so the activity read back with no name and the assembly could not find it. A tie is broken by the rest of the configuration: a candidate drawn identically on a screen of neither the page's mode nor the activity's own is chrome, as the device lists' title "Devices" is. Only where it leaves a candidate, so a label some device page happens to draw too is never lost when it is the only one. It does not break a tie the rest of the configuration draws both sides of, the blind reviewer's finding: one activity named as a device is labelled, "LG TV", or as a word of the menus, reads back with no name and the assembly refuses it; with a second activity the chrome rules above resolve both. Open until todo-compile-650.md 11.2.2, which closed it with a second tie break after the first: the candidates said by the most of the modes the activity enters are kept, the label being said by its start up screen inside "Starting LG TV" and by its working screen as the title, the footer "Devices" by the working screen alone; and where what is left is one text in several places, an activity called "Devices" over the footer, the name is that text and its place the one no page of the activity's own modes draws it at. "LG TV", "Denon", "Devices", "Activities", "Activity", "Back", "Exit", "Help" and "Off" each read back as one activity, at the menu label's row. Over the 156 configurations of the lab register it changes no name and no place of the 530 activities they hold, none of them unnamed before. "Back" also needed the device page check to accept a bottom word pointing at an earlier copy of the same word, the activity menu's, which the text pass makes the shared copy; only in our look.

The activity's screens in our look. The working screen takes the activity state's flat background and corner program, added on the first activity as the device state's was on the first device, section 377. The start up screen takes Off's picture and font off Off's own page, since All Off's screen is a start up screen with another title, section 356, and the empty configuration has no other; where start up screens exist their font is read off them. The menu's first row takes the device pages' label font, the first set of the largest label size, which is the font of 87 of the 99 labelled activity menu pages on the Harmony 600, 650 and 700 files in the lab; of the other 12, 3 are long labels in the next smaller size and 9 are three reads of one file of ours, h650_8_2_6_*, in none of Logitech's sizes. An empty page of the activity menu reads as the two row layout it is.

Scope: the Harmony 650, the one model whose empty configuration is built. The wiring's rebuild runs for any Harmony 600, 650 or 700 donor and is exercised on the Harmony 650's empty configuration only. The name reader's tie break is in shared code; it fires on none of the 153 configurations in the lab register, so it changes no name there, and the inventory tests hold that every activity still resolves.

Falsification: a composed activity whose name does not read back, whose wiring checkWiring refuses, or a bench run on which pressing a key after returning from device mode sends nothing.

  • packages/codec/src/families/four-slot/activityscreen.ts, noActivityMaps, the optional keypad map record, ourActivityScreenChrome, the first row's font; wiring.ts, wiringShape and rewiredForActivities, the all keys empty rule; shared/activities.ts, the rewiring, which since todo-compile-one.md 3.3.3.4 asks the family, Family.activityRewiring in families/four-slot/start.ts; inventory.ts, the tie break in activityNames; assemble.ts, step 12 on the donor's lists too.
  • packages/codec/test/empty.test.ts: the first activity through the assembly on the Watch TV key and on none, its name, its key, its wiring, the three looks and the dropped front list; test/wiring.test.ts: scan 4 with every key empty built as with its keys set; test/assemble.test.ts: the two device compile's new refusal.

Section 378 | the archive | section 380. Section 379 of the findings archive, which is frozen; the reference holds the current answer. The archive on GitHub.