Harmony One: what Logitech's compiler writes¶
A Harmony One configuration is not only a list of devices and activities. Logitech's software, which compiled every configuration a Harmony One ever ran, also writes the remote's own screens into it: the menus, the clock along the top, the help that asks whether the television is off, the settings and the date pickers, and the welcome tour. It also writes the wiring that connects the firmware to those screens, the lists of instructions a key press, a timer or a status code runs. Nothing of that comes from the firmware; a Harmony One draws what its configuration tells it to draw.
This page describes what that compiler writes, measured over nineteen distinct configurations it compiled for
the Harmony One: sixteen English ones of skin 54, two English ones of skin 59, the European One, and one Dutch
one. The rules here are stated as Logitech's and each is checked by rebuilding those compiles byte for byte;
the code that does so is named beside each rule, under packages/config/src/families/harmony-one/. A "compile" is one
configuration Logitech's compiler wrote. "Fixed" is what every configuration holds whatever its setup,
"the setup's" is what a device or an activity brings.
The Harmony 600, 650 and 700 have a page of their own, the 600 family's compiler page, and the byte level structures named here, base slots, action lists and screen programs, are the configuration format.
What every configuration holds, in three parts¶
Every screen byte of a Harmony One configuration is fixed, dynamic or the setup's, with the touch map, base
slot 17, as one unit per hit page1. The head of the mode table is the event map's fallback, the number
of firmware screens, plus its 30 status codes: 40 modes on the One, 3 binding a keypad and 37 not, and 44 or 49
on the Harmony 600, 650 and 700, where this agrees with the reading of their compiles12. A
configuration whose events all name one mode carries no status screens, and there the head is the firmware
screens' run alone2. A page's 0x16 call into its chrome is a transfer in the normal form; each chrome
is called by one mode1.
Over the sixteen English compiles of skin 54, no device or activity name being in all of them, the census
decides the screens structure calls other. That rules out a screen naming a device or an activity and not
one a feature every member has brings with it: two generic help screens are in fifteen of the sixteen1.
| category | units on the compile of two devices | bytes |
|---|---|---|
| fixed | 36 pictures, 280 glyphs, 25 hit pages, 9 case programs, and 78 modes: the 40 of the head and 38 others, the welcome tour, screen sensitivity, the clock's pickers, Options, the Remote Assistant at start and seven blank screens | 795905 |
| dynamic | base slot 11 entries 0 to 3, the clock's header programs, and the 16 pictures only they draw | 12203 |
| setup | device modes and lists, help about a device, the activity menu, 6 pictures, 133 glyphs and every font set header, 4 hit pages, 16 case programs, the tables | 285828 |
Fixed is 795792 to 795925 bytes on each of the sixteen, every fixed mode re-encoded per compile and none byte identical once relocated; only the 38 other modes change size, the rest of fixed being 785417 bytes on each1. Fixed is per skin, per language and per compile: the two compiles of skin 59 differ in 10 and 4 of the 78 fixed modes (the clock's pickers on both, Options and the absent Remote Assistant on one of them), and the Dutch compile in 69 of the 78, every one that draws text. Nothing in a configuration states its language1.
A screen's page record is seven bytes on the One, the hit page first, then the list and program
addresses, and a page program calls its chrome with opcode 0x16, so the mode's own program is drawn first;
recordReading in packages/config/src/compose/screenrecords.ts follows that call and spans the chrome as a piece of
its own, and all 40 head screens of all nineteen compiles read and put back come back byte for byte with
nothing generated13.
The firmware's own wiring¶
The lists, entries and timers that connect the firmware to a configuration are one catalogue on all nineteen
compiles, the same but for three settings, two kinds of timer and their numbering4. Built by
buildOneWiring in wiring.ts from a description describeOneWiring reads, byte for byte on the
nineteen, with every generated byte overwritten in the input first4. The engine, an instruction's, a
list's and an entry's encoding and the swap into a layout, is packages/config/src/assembly/wiringparts.ts, shared with
the Harmony 600, 650 and 700's wiring; Family.wiring.check is how shared
code asks for either.
| structure | generated | the description's |
|---|---|---|
| base slot 2, base slot 15 | whole5 | nothing |
| base slot 4 | code k to mode 10 + k, k 0 to 29, fallback 10, the ten firmware screens |
nothing |
| base slot 8's leading list | call start |
the start list's index |
| base slot 12 | every record's kind | the rest of each record: the table's order is read off a record's duration and opcode, the screen light pair's durations are settings, and a device's timer is carried whole |
| base slot 9 entries 0 to 6 and the leftover entry | tags, flags, form, stored order, every opcode | what the bindings name; the leftover entry's index |
| base slot 10's front | 168 lists, entries 1 to 4's own in stored order, indices from the first | where the front starts, three past the start list on 19 of 19 |
| the other lists the wiring reaches | every instruction | their indices and the modes, variables, value maps and screen programs they name |
the 14 lists reached only through the transitions of readyVar, relightVar and settleVar6 |
every instruction | their indices: the four the transitions call off the variables' base slot 13 records, the ten below off their parents' calls |
| settings | the Remote Assistant at start, the ladder's 07 FFFB, the screen light's two durations |
The settings: the Remote Assistant on 18 of 19, the leftover entry wide with it and narrow without, and
without it the ladder is its last rung; 07 FFFB, the firmware's cancel of all four running timers7,
opening the ladder on 2 of the 18, and refused without the assistant; the screen light pair 10 and 20 seconds
on all 194.
Base slot 9's fixed entries4: entry 0 binds events 0x1A to 0x1D to the events list; entry 1 binds
fourteen tags, ten events and the presses of scans 34, 37, 46 and 47, 0x23, 0xAF, 0x26, 0xAE, 0x27,
0x25 (00 0000), 0xA2, 0xA5 (select the leftover entry), 0x0F, 0x2D (07 FFFA), 0x10, 0x19
(07 FFF6), 0x1F and 0x1E; entries 2 and 3 bind the presses of scans 1 to 40, 43 to 53 and 55 and tag
0x30 each to a list of its own, entry 2's [07 FFFB, call ready, 3F C11C] and entry 3's
[07 FFFB, call menu, call lights], entry 3 adding 0x17 and 0x26 to the menu list and 0x1F to 07 FFFB;
entry 4 binds the presses to [call lights, call keyLights] each, 0x30 to the lights and 0x17 to a list of
its own; entry 5 binds 0x1E to 07 FFFB; entry 6 binds 0x18 and 0x19 to the events list. The leftover
entry binds 0x01, 0x05 and the presses of scans 34, 38 and 55, 0xA2 (the assistant's variable to 1, with
flag 1, absent without the assistant), 0xA6 (a value map) and 0xB7. Entries 0, 3, 4, 5 and 6 are wide,
entries 1 and 2 narrow. Stored in tagSlotOrder with the ties 0xAF before 0x26, 0xAE before 0x27,
0x0F before 0x2D in entry 1; 0x17 before 0x9E, 0x1F before 0x96, 0x26 before 0xAF in entry 3;
0x17 before 0x9E in entry 4; 0xA6 before 0xB7 in the leftover entry.
The variables and value maps the wiring names: eighteen variables after the firmware's, each with the same
range and transitions on all nineteen, and of the sixteen value map roles the wiring's five are readyMap the
menu record, menuMap the working route, idleA6Map help, idleEnterMap idle and idleMap the all off, on
19 of 198. The catalogue of sixteen value maps is the program table below.
The timers¶
Every one is kind 14:
screen light, its partner the setting's seconds, 10 and 20 call a list switching the lights off
tick 2 s call
lights out 1 s call
two of 5 s 5 s call, one of them started by entry 1's 0x26 list
enter 5 s 7E a screen of the configuration's
six of 1 s 1 s 7E a screen each, the fifth the ready list's
three second 3 s call [07 FFFB, call lights, enter a screen], on 2 of 19, started by the screen the power off value map enters
redraw k 4 s call [73 clock, 73 charging gauge, 1F EB00|k], 13 to 20 per compile, one per class of screen
a device's carried whole, on 12 of 19
The thirteen are on 19 of 19 once each, in three orders over the 19, five with the three second timer's place4. A record is generated in its kind byte alone: the reader names each timer by its duration and opcode, and the two pairs those cannot tell apart by the list starting each, so a screen light of 1 to 5 seconds would share a length with another timer and is not read4. The three second timer's screen is the attempt screen of the power off help on the one compile with nothing to switch off, and there it enters "Nothing to do"8.
The redraw timers are one per class of screen8. Every redraw timer is started by the enter handler (tag 6) of at least one mode, bound directly or in the list it calls, and no mode starts two: 3195 modes over the 19 start one, none starts two and no redraw timer is started by none. P and Q are the clock header's clock and then its charging gauge on 19 of 19. The screens starting one timer, named by the screen sets' finders on the sixteen English compiles of skin 54:
| class | its screens |
|---|---|
| low battery | firmware screen lowBattery |
| progress and status | the five firmware progress screens, the 29 status screens, "LCD Module Failed" |
| charging problem | firmware screen chargingProblem |
| activity menu | the activity menu |
| help after the attempt | the power off help's screens after the attempt ("If not" and the questions, or "Nothing to do"), and screens the activities bring |
| device lists | every device list |
| sensitivity confirmations | the five, four of the Remote Assistant's screens, and four screens per activity |
| Year and Options | the Year picker and Options |
| Screen Sensitivity | Screen Sensitivity |
| clock pickers | Month, the three Day pickers, Hour, Minute, Time of Day |
| help attempt | the attempt screen, and one screen per activity |
| device pages | every device's mode, where the finder names them (15 of the 16) |
| Hide Question | the Remote Assistant's "Hide" question, and one screen per activity |
So a configuration with no activity holds thirteen, 4 of 4, and the activities' start up, working and other screens add classes of their own, 0 to 7 over the sixteen. The welcome tour's eleven screens start none. The classes' order in the table is the compile of two devices' and not a rule: the sixteen hold 14 orders8.
The key lights and the screen light¶
A three instruction list [3F C0a2, 3F C0b2, write 1] sets channels a and b of the device at 0x60 on,
the same with C0a0, C0b0 and a write of 0 off. Channels 3 and 1 or 2 and 0 are the keys beside the screen.
A screen's tag 0x07 list calls the pair's off list, and its tag 0x06 list calls the on list, one to four
instructions in, wherever both page keys do something: 337 of 337 screens of several pages and 95 of 95 one
page screens binding both page keys; none of the 408 others9. withPageKeyLights. The screen light is
the 10 second timer of the one pair of timers queueing two lists of the same content, 10 and 20 seconds, in all
nineteen compiles; its index varies, so it is found by that shape9.
The screens every configuration holds¶
The ten firmware screens¶
firmwarescreens.ts describes the two fonts, the hit pages, thirteen pictures and the configuration's numbers
(lists outside the screens, timers, base slot 11 programs) and generates the rest10. On the seventeen it
rebuilds, base slot 10's first 178 lists are these screens', numbered in stored key order with each chrome's
queued list after its keys. Lines are centred, floor((176 - width) / 2); "OK" at 124, 201. Three shared
buckets are stored in an order measured the same on all nineteen; the insertion order that produces it,
keyListOrderInserted, is inferred. Rebuilt byte for byte on the sixteen English compiles of skin 54 and the
European factory file10. The 18 lists the screens reach that the wiring does not build are built too, at
the indices the description reads6. Which of them the firmware itself enters is
the platform's firmware page.
Twenty three more fixed screens¶
Code 9's status screen, Options, the screen sensitivity picker and its five confirmations, the Year, Month, Day
(28, 30 and 31 days), Hour, Minute and Time of Day pickers, and seven blank screens11.
fixedscreens.ts finds each by its look, describes which mode it is, its hit pages, pictures, fonts by role,
the build year and the configuration's numbers (list indices, modes, timers, base slot 11 programs, value maps,
state variables), and generates the rest; the 531 lists the screens name directly are built at the described
indices, and so are the 154 below them the wiring does not build116. The other 53 below them are the
wiring's.
| what | rule, on the sixteen |
|---|---|
| a mode entry's first byte | 1 where the mode's own key map binds tag 0x29, else 0; 139 and 3455 records of the nineteen One compiles |
| a tagged list's stored order | keyListOrder; no two tags of these screens share a bucket |
| a word on a button | x + floor((width - w) / 2), buttons 81 wide at x 6, 48 or 89 and 164 wide at x 6; 192 per compile; the 164 wide case is the body rule's function |
| a word of the key below the screen | centred on its half, floor((88 - w) / 2) left, 88 + floor((88 - w) / 2) right; 44; the right half rests on "OK" alone, so its rounding is not determined |
| a page number on a screen of several pages | ends at x 18, 18 - w; 32 |
| a body line | floor((176 - w) / 2); 12 |
| constants | title at 6, 4; "/" at 18, 18; the page count at 23, 18 and "pages" at 35, 18; every y |
| inline or by reference | inline in the first program to draw it unless a program outside holds it; programs are laid out in mode order, chrome first, then each page's main line, the pieces its switches join at, and the switches' arms |
| the Year picker | the build year and the year either side, nineteen of nineteen compiles; a range holding a leap year brings a Day 29 picker and a second Month picker: the leap year's button and the Back of Day 29, 30 and 31 enter the second Month picker, whose February enters Day 29, Day 28's Back the first; Day 29's last page is touched through a page of five buttons and the left key; both start the clock pickers' redraw timer (three of three compiles holding them, none of skin 54 in English)12; its 0x79 is minus the first year offered less 2000, generated; the font sets hold only the compile's own digits, so another year is refused by the speller |
A Harmony One page program may switch on a state variable, 0x12, each arm a program piece of its own ending in
a jump to the piece the arms join at: Options draws its rows so11.
The other 29 status screens¶
statusscreens.ts13. The event map names status code k at mode 10 + k, fallback 10, on all nineteen
compiles, and the builder takes the 29 from it, every code but 9, whose screen the fixed screens' module builds
through the same statusScreen. All thirty are one shape, code 9's; what differs is the code in the title and
Logitech's words, the same on the sixteen and both European compiles. 58 lists per compile, two per screen,
named by nothing outside and calling none, on those eighteen. 3872 bytes per compile, of which the description
reads 699, and 13 outside them. The firmware enters none of the 29, walking the event map for code 9
alone14.
| what | rule, on the sixteen and both European compiles |
|---|---|
| own key map | the arrows swallowed, tag 6 a timer started, tag 7 that timer cancelled, tag 0x2D a list of three 0x73 |
| pages | one, its list and copy empty |
| chrome | the fixed screens', titled "System Message: N", N the code, with its own list of two 0x73 |
| page | the chrome's call, the body font, one to four lines |
| a line | x floor((176 - w) / 2); n lines from y 174 - 6n, twelve apart (blocks of 1 to 4); also on the Dutch compile in its own words |
| inline or by reference | the fixed screens' rule in mode order; code 28's "USB Connected" by reference to the firmware screen USB Connected's copy, mode 1 |
| code 16's line | one text, "Battery Trickle\Charge", backslash drawn as the character |
The welcome tour and the Remote Assistant¶
tourscreens.ts, through the same template engine as the fixed screens, screentemplate.ts15. The
tour's eleven always; the Remote Assistant's five exactly where the wiring keeps the start's ladder,
OneWiringSettings.startupAssistant (17 of the 18 English compiles; the one compile without the assistant
holds neither the ladder nor the five). Starting the assistant's variable at 3 does not remove them: the
ladder, the leftover entry's events 1 and 5 and Options' value map on the variable stay, a path in the
configuration16. 98 lists built per compile, 66 without the assistant, and the 17 below them the wiring
does not build (13 on five compiles, 3 on the one without the assistant), with the one setting that decides
their shape6.
| what | rule, on the sixteen |
|---|---|
| the tour's chrome | opcode 1 with the constant operands 0, 0, 176, 220, 0, 0, then a return |
| the assistant's chrome | the fixed screens', titled "PowerOff:" |
| a word | the tour's lines and "Welcome!" at x 10 (58 per compile); the assistant's lines and "Is the TV on?" centred on the screen (19); "Yes" on the left half (1); "No" and "OK" on the right half (5); "Exit" ending at 163 (11); "Display" and "Aspect" centred on 81 pixel buttons at 6 and 89, the tour's "Yes" and "No" on [21, 87) and [88, 154) (4); the title at 6 and "Watch TV" at 69 (11). The assistant's lines 12 apart, n lines from 117 - 6n; the tour's y constants |
| a state write bound in a key map | its opcode, 0x80 + variable, is the description's; the value is the template's |
| a mode list's form | wide (0, count, then flags, tag, operand, opcode per entry) exactly where a state write is bound directly, flag 1 on the write and 0 on every other binding (mode lists only: base slot 9's handler sets are wide on 95 lists binding no write): 18 own key maps of the nineteen compiles, one on each compile with the assistant, each binding scan 34's press to the write, the welcome's on the seventeen English ones the builder reads |
| which "Ensure all your devices are off" is which | the one the wiring's ladder enters, assistantDevicesOff, whose OK enters the question; the other, whose OK runs a list |
The Remote Assistant at start is one unnamed state variable, running 0 to 3, tested by a ladder of lists
loading 1, 2 and 3 into the byte register (1F FB0k, then a test 71), the first two rungs entering the
welcome and the "devices off" screens (English on 17, Dutch on the Dutch compile), the third going on with the
start; 18 of 19 compiles, none on the nineteenth16. Yes on the hide question writes 3, and on 14 of the 18
the activities' assistant screens write 2 and 3 too. It starts at 0 in Logitech's compiles; starting it at 3
starts the remote on its ordinary screen1617, withoutStartupAssistant. The "Welcome!" screen
follows the "devices off" screen's OK; its own variable, 0 to 1, is written 0 silently by a list of every
compile, so its starting value is not what decides it16.
Leaving the tour and the assistant out18. The sixteen modes, base slot 6's count, every 0x7E and
event map value naming a mode above them renumbered; three paths reach them outside themselves on a compile, and
each has to stop: the start's ladder and the leftover entry's events 1 and 5 that run it (the wiring then takes
the one compile without the assistant's start, the ladder's last rung alone and the leftover entry narrow),
Options' Tutorial and "Turn Remote Assistant" rows (Options then one page of three rows, Date and Time on scan
48, the sounds' value map on 49 and Screen Sensitivity on 50, the key's value map at 51, its own key map taking
scans 46 and 47 to nothing19 and drawing no page count or number, on the hit page of three rows, a form no
compile holds), and the OK of "Devices Off Again". Base slot 10 loses every list reached before and by nothing
after, and every list nothing reached before that names one of those, three on five of the sixteen English
compiles of skin 54; base slot 17 loses the pages only the sixteen named; the eleven pictures only they drew go.
A text drawn by reference may point into any screen, and on 14 of those sixteen a page that stays draws
into one of the sixteen, so every text is first drawn as if the sixteen and Options came last and, after the
cut, the text form rule is applied again20. 245246 to 245593 bytes shorter on the sixteen, and every
builder of the One family rebuilds the result byte for byte. What stays reached by nothing: the assistant's
value map, its two case programs and their lists, and the assistant's and the welcome's state variables. A
configuration so made started on a unit on its ordinary screen, and Options showed the one page of three
rows21; withoutTourAndAssistant in withouttour.ts.
The lists below the screens¶
Every list the firmware screens, the fixed screens and the tour and Remote Assistant reach, directly or through every call, is built either by that set or by the wiring, never both, on the sixteen English compiles of skin 546.
| what | rule, on the sixteen |
|---|---|
| a list several sets reach | built by each, identically: channel 7's off list (3F C070, write 0) and the page keys' (3F C030, 3F C010, write 0) by all three, channel 5's (3F C050, write 0) by the fixed screens and the tour, the Remote Assistant turned on (07 FFFB, call, enter, write 1) by the fixed screens and the tour where it reaches it; oneBuiltBytes credits the first in ONE_BUILT order |
| shared or copied | as Logitech's: a day's setter is one list every Day picker holding that day runs, each Day picker has its own enter list and the first lists below its tag 0x29 handler |
| a setter | 07 FFFF, then a write of the item's value into the clock field, generated; the year less 2000, months, days, hours and minutes from 0; Time of Day's two write 0 and 1 into a variable read |
| "Devices Off Again"'s OK | its list calls a band test, which calls a comparison of variable 13 whose third instruction calls on towards the Remote Assistant turned on (0x7F, it leads on to the tour's "Welcome!", 11 of 16) or looks a value map up (0x72, it leaves the assistant, 5 of 16); that opcode is the setting onToTour |
| a state write's variable | at most 127; a larger number is refused as a description slid against the template |
| the wiring's own variables' transitions | readyVar one, relightVar two, settleVar one, each a call, on all nineteen compiles; the 14 lists reached only through them (of 20 they reach, the others being idleEnter.3.1.1.1 and what it reaches) are the wiring's catalogue lines, the four the transitions call read off the records, which must hold exactly that many transitions |
Numbered by role¶
Every number the firmware, fixed, status and power off help screens, the activity menu, the device lists and the
clock header's two calls take is one of these, and on each of the sixteen English compiles of skin 54 one name
is one number across every set22; numbering.ts:
| the name | what it is |
|---|---|
mode <screen> |
a fixed or help screen, or the idle device list |
list <name> |
one of the wiring's lists by its catalogue name, or the hour list the state tables name |
timer <name>, timer of <screen> |
one of the wiring's timers; the timer a screen starts on entering, its class's redraw timer or a blank screen's: Blank 1 to 7 start second1, second0, second3, enter5, second5, second2, second4 |
program <name> |
one of the clock header's four |
variable <name> |
the wiring's by name, the assistant variable, Time of Day's, and the clock pickers' at narrow |
map <role> on <variable> |
an 0x72 operand, the value map of a role in the high byte and the variable in the low |
| a setup's | a device's or an activity's numbers, per screen |
| a list the screens own | not named: numbered by the rule below |
A list the screens own is shared exactly where a template states it once: a list another list calls is one
per content within one screen and one across screens only where it is the same step of a template (the key
lights' off lists, a day's setter, the clock pickers' last list and the list it calls); a list a tag or a page
binds straight is its own unless a list of that content is called on the same screen. Two screens' lists of the
same content are two lists: the three Day pickers' entering list and the middle list below their 0x29 handler,
the "shared or copied" row above. Every number of every set made again from the names alone is the compile's
own on all sixteen, lists up to a renaming in both directions22.
The hit pages the fixed screens name¶
hitpages.ts23. The 103 pages of the firmware, status, fixed, tour and Remote Assistant screens name 23 hit
pages on each of the sixteen English compiles of skin 54, each screen page the same one on all sixteen; the 25
hit pages in every compile are those 23 and two named by setup screens alone, a device page's six commands with
both page keys and the generic help screen's, mode 69 on the compile of two devices, which the device pages and
the help screens build124. Rebuilt byte for byte with the table on the sixteen; 1898 bytes of pages
and the table's 1 + 3 * pages, 1986 on the compile of two devices.
| what | rule, measured on all nineteen Harmony One compiles |
|---|---|
| an area's code | its place among the page's areas before the edges: 48 to 53, then 43, 44; 2524 of 2524 areas |
| the edges | last on every page, 765 and 3556, width 492, y 1400, height 2000, codes 46 and 47; 662 of 662 pages |
| a button's rectangle | the picture's place, measured against every page: a 50 row picture on rows 38, 92 or 146: 81 wide at x 6, 48 or 89 gives x 1257, 1772 or 2422 and width 1284, 1284 or 1134; 164 wide at x 6 gives 1257 and 2600; y 3016, 2144 or 1272, height 807, the panel's formula rounded with the rows exactly 872 apart25; 8430 of 8430 such buttons, as distinct rectangles per page. The x columns are a table, not a map from pixels |
| the left key, 1257, 1395, 271, 1001 | on a page only where it draws a word on the left half at y 190 or below, 3064 of 3064; 3064 of the 3128 pages drawing one, the other 64 activity start up screens drawing no key word, their body line "your system." starting left of centre at y 191 |
| the right key, 2406, 1150, 271, 1001 | where and only where a page draws a word on the right half at y 190 or below, 2871 of 2871 both ways |
| stated | 34 of the 23 pages' 79 rectangles: the tour's 30, and the body rectangles of the message and OK page, the message page, the confirmation and the Remote Assistant's question |
| a page's bytes | its areas, twelve bytes each ending in its own address, then its header, a count and the areas' addresses; no area shared between pages; 662 of 662 |
| the table | a count and each page's header address in index order |
| the index of a page | the description's, read from the lead of one screen page that names it, 23 bytes; Logitech numbers by first use, a page's index the number of distinct pages named before it walking modes and pages in order, 19 of 19, so the head's first three modes name 0, 1 and 2 |
| where the pages sit | the configuration's places, two runs on Logitech's compiles, pages 0 to 2 after base slot 13's records and the rest after base slot 14's or 16's |
How the hit map itself is laid out is the modes and keys reference.
The clock header¶
Base slot 11's four programs no mode calls and the six lists the clock's minute and hour call,
clockheader.ts, through the same engine as programs of their own26. 249 pieces on every One compile and 42
bytes of lists; 3516 bytes of programs on the sixteen, 3537 on the European two and 3509 on the Dutch one;
rebuilt byte for byte on the sixteen and both European compiles, the Dutch one refused.
| what | rule, on the sixteen |
|---|---|
| the four | the gauge (a switch on firmware variable 9, eight pictures at 153, 4); the gauge while charging (variable 15: 0 the gauge again, 3 a picture, 1 to 2 a switch on the gauge, its level 0 a picture and levels 1 to 3 and 4 to 7 a switch on the second stepping three pictures, second modulo 3, or the first and third, second modulo 2); the sending mark (variable 17: 0 and 1 to 3 a picture each at 128, 0, then a queued 07 FFFA; the Harmony 600 family's corner program at another place, its compiler page); the clock (its face at 88, 19, then switches on the weekday, the hour in its join and the minute in its join) |
| which entry each is | the description's: entries 0 to 3 on all nineteen, in three orders |
| the switches' variables | the firmware's, 0, 1, 2, 4, 9, 15 and 17, constants of the template |
| a switch inside an arm | its join closes as the arm would, a jump to the outer join |
| layout | the four one after another in entry order; within each, a piece's main line and its switches' joins, then each arm whole, depth first |
| the clock's words | one font, y 18: the day ending at x 138, the hour and a colon ending at 156, the minute's two digits from 158; twelve hour on skin 54 ("12:", "1:" to "11:"), twenty four hour on skin 59 ("00:" to "23:"), the description's hours |
| inline or by reference | the days and the twelve hour words of hours 0 to 11 inline, 19, hours 12 to 23 by reference to them; the sixty minutes by reference to copies outside, homes the description carries, 950 of 960 in the fixed screens' clock pickers; every word by reference to the earliest inline copy of its codes, inline where none is earlier |
| the pictures | sixteen addresses, carried once each by slot and drawn from every arm that shows them; the sixteen pictures only these programs draw1; thirteen images, the full gauge's stored three times (level 7, charged, the animation's first frame) and level 4's twice |
| the minute's lists | a list of two calls, each 1F FB00 then a call of 0x71 01vv and 1F F2vv on a variable of the configuration's, unnamed in the name tree; the description carries the four indices and the two variables |
| the hour's list | hourListBytes, its index the description's |
The screens the setup brings¶
The activity menu¶
activitymenu.ts, through the same engine27. "My Activities", one template on the eighteen English
compiles whose only input is the activities' names in menu order, three rows to a page, at least one page; menus
of 0, 1, 2, 3, 7 and 8 activities read. Rebuilt byte for byte with its hit pages on the eighteen, the Dutch
compile refused by its words. 2 * (2 * pages + rows) + 7 lists per menu, 11 to 35; 284 to 1141 bytes per
menu, and the description reads 60 to 348 bytes, up to 88 of them outside the menu, the glyph codes of texts
drawn by reference.
| what | rule, on the eighteen English compiles |
|---|---|
| own key map | arrows swallowed on a menu of one page only; tag 6 the timer started, the page keys' on list where there are several pages, lights 5 and 7 on; tag 7 the timer cancelled, the page keys', light 5's and light 7's off lists; scan 34's press a value map; tag 0x2D a list of three 0x73, which entries and their order read (0, 3, 2 on twelve compiles, 0, 2, 3 on four, 1, 3, 2 on three) |
| chrome | the fixed screens', titled "My Activities", the total and "pages" where there are several |
| a page | the chrome's call; the first page the key words then the rows, every later page the rows then the key words; the page's number ending at x 18 and "/" at 18, y 18, in the counter's font, where there are several |
| a row k of a page | its picture at 6, 38 + 54k, the icon at 11, 39 + 54k, the name at 63, 57 + 54k; the row font selected once, before the page's first name |
| the key words | "Options" centred on the left half, "Devices" on the right, y 202, a font each |
| a page's key list | codes from 48 in draw order; a row: the click, 1F FFnn selecting base slot 9 entry nn, a write of 0 to the device mode marker; a key: the click and an 0x7E to the options or to the idle device list |
| the copy | lists of its own with the page list's instructions |
| a hit page | one per page shape (on every menu read one per page) by the hit pages' rules above, the areas in draw order (the keys first on the first page, last on every other), then the edges; no other screen names it |
| read | the names, off texts at x 63 in a row picture's band; the mode, every list index, the timer, the light lists, the value map, the header programs' order, the two modes, each row's entry and the marker variable, the pictures, five fonts, the hit page indices, the homes |
A menu of no row, on the four compiles with no activity, is one page of the chrome and the key words alone, and
no mode of the nineteen holds no page24. The shape of a menu of two pages, which no compile read holds, is
taken from the later pages of menus of three27. On the composed path a row is added by building the whole
menu again, withOneActivityMenuRow: the menu described, its numbering read by role, new lists the next free
indices, a hit page no other page names rebuilt where it is27.
The device lists¶
devicelists.ts, through the same engine28. A device list is a mode whose rows enter every device; three
kinds by what reaches it, on 19 of 19 compiles: the Devices record's case for the idle value enters the idle
list, its case for an activity that activity's own, and one list no case enters, named by no three bytes
lo hi 7E anywhere in the file (0 on 19, against 83 of 83 lists a person reaches), its rows the idle list's in
the idle order, its scan 55 list mapping once per other list. One template on the eighteen English compiles
whose input is the kind, the rows' name lines and, on the list nothing enters, the scan 55 count; 99 lists of
one to fifteen devices, one to five pages, rebuilt byte for byte; the Dutch compile refused by its words.
| what | rule, on the eighteen English compiles |
|---|---|
| own key map | arrows swallowed on one page; tag 6 the timer started, the page keys' pair 2 and 0 on (several pages), key 4's light on; tag 7 the timer cancelled and the page keys' and key 4's off lists; scan 55 the Devices map, straight, or on the list nothing enters a list repeating it once per other list; tag 0x2D three 0x73 |
| chrome | the fixed screens', titled "Devices", the total and "pages" on several pages |
| a page | three rows: the row picture at (6, 38 + 54k), the device's icon at (11, 39 + 54k), the row font once after the first icon, the name's lines at x 63 centred on row top + 19, 12 apart, wrapLines at 101 pixels (659 of 659 rows at 101 to 103); then on the two kinds a person reaches a switch on the running variable, "Activities" or "Current" over "Activity", joining the counter, and on the list nothing enters "Activities" and the counter; the counter the page's number ending at x 18 and "/" at 18, y 18 |
| a page's list | a row the click, 0x7E its device's mode and a write of 1 to the device mode marker, codes from 48; the left key at the next code the Devices map, straight or on the list nothing enters the click and the map in a list of its own; the right key nothing |
| the copy | lists of its own with the page list's instructions |
| a hit page | the hit pages' rules above: the rows as whole width buttons, the left key, the edges |
| an activity's rows | every idle list device once, the devices its start switches on first in the order its enter list switches them on (a nonzero write to a power variable, the variable's device read off its transition to 1, a placeholder 00 0000 the one listed device with no power variable), then the rest in the idle order: 61 of 64, refused on 3 where two listed devices have no power variable, startSwitchedOn, the Harmony 600 family's rule29 |
| read | the kind, the rows' name lines, the scan 55 count; the mode, every list index, each row's device mode, the timer, the light lists, the value maps, the marker and the switch's variable, the header and chrome programs, the pictures, four fonts, the hit page indices, the homes |
Each activity has a device list of its own holding every device once, 64 of 64 over the fifteen compiles
with an activity, as some devices (the activity's own and on 32 another) and then the rest in the idle list's
order30. On the composed path a device's row is put on every list by building them again,
withOneDeviceListRow, and an activity's own list is a new mode built from the idle list's description,
withOneActivityDeviceList, both cases under Devices for the activity queuing it28.
A device menu's hit page of one, two or three rows is one geometry each, held by 7, 5 and 13 of the nineteen compiles, and each is the one before with a row 872 panel units below its last, the bottom key moved one scan up and the edges unmoved33. A row draws one picture on every page of its menu that has it, on all 102 device menus, and the three rows of a three row page draw three different pictures, 195 of 195 pages33.
A device list of no rows is in no compile, since every one holds a device. The template's steps, measured on
24 one page lists of one to three rows on ten compiles, are 5 + 4n bytes for the page list and its copy and
46 + 15n for the hit page; at zero that is one page, the chrome titled "Devices" and the left key's words, no
row font selected, the page list the left key alone at code 48, the hit page the left key and the edges, the own
key map 25 bytes and the record 7. The list nothing enters then maps scan 55 once, bound straight, as on the four
compiles with no activity. That is inferred, and the compiler does special case zero elsewhere: the power off
help at zero devices is not its template at zero2431. EMPTY_DEVICE_LISTS.
The device pages¶
devicepages.ts, through the same engine32. Every device mode, its own key map (the device's map of the
hard keys34), its chrome, its pages of pads and the keys below the screen, the lists those run but a pad's
command, and the hit pages: one template on the eighteen English compiles whose input is a device's name, its
pads' label lines and the keypad keys it binds. 89 device modes of one to 22 pages read, rebuilt byte for byte,
among them one of no pad; on one compile the device reader names no mode for its two devices, though its mode
73 is a device page the template rebuilds when named; the Dutch compile refused by its words.
4 * devices + 2 * pages + 2 * pads + 3 lists per compile.
| what | rule, on the eighteen English compiles |
|---|---|
| own key map | 46 key codes, 37 keypad keys (scans 1 to 33, 35, 36, 39 and 40; not the Activities, Off and Help keys, 34, 37 and 38) and 9 touch codes (43 to 45 and 48 to 53), each bound straight to a list or to nothing, the touch codes always to nothing; on a mode of one page the arrows 46 and 47 swallowed too, 51 entries against 49; tag 6 the timer started, the lights of keys 4 and 6 on and, on several pages, the pair 2 and 0; tag 7 the timer cancelled and the three off lists; tag 0x2D three 0x73 |
| stored order | keyListOrderInserted, the handlers inserted before the keys on several pages, and on one page the header handler before them and the other two after; inferred from the stored order, which is what is measured |
| chrome | the fixed screens', titled with the device's name, the total and "pages" where there are several |
| a page | the chrome's call; pad k at DEVICE_PAGE_SLOTS[k], six to a page in reading order and the last page short, each line of its label centred on the 81 pixel pad and the block on the pad's label row (the pad label's placement below); the pad font selected once, after the first pad's picture; then a switch on whether an activity runs, "Activities" at y 202 or "Current" and "Activity" at 196 and 207 centred on the left half, both arms joining a tail drawing "Devices" on the right half at 202 and, on several pages, the page's number ending at x 18 and "/" at 18, y 18 |
| a page's list | a pad: the click and a call of its command, at codes 48 up; then the left key bound straight to a value map (0x72), the right key the click and another value map, at the codes after the pads |
| the copy | lists of its own with the page list's instructions |
| a hit page | one per page shape by the hit pages' rules above: the pads, the left and the right key, the edges |
| read | the name off the chrome and its title font, a role per device, the label lines off the texts inside each pad, the bound keys; the mode, every list index (each key's and each pad's command among them), the timer, the light lists, the two value maps, the switch's variable, the header and chrome programs, the pictures, five fonts, the hit page indices, the homes |
A device page's closing and its two keys below the screen: every device page program ends on a narrow switch
of two arms over the activity running variable (its number per compile), arm 0 drawing "Activities" and arm 1
"Current Activity" (in the configuration's language), both jumping to the byte after the switch, which draws
"Devices" and the page counter and ends; 571 of 571 pages over the eighteen compiles with device pages. A page
whose hit page offers scans 43 and 44 binds both in its own tagged list, before its rows: 43 to 0x72 on the
working screen record, 44 to a list [75 0FCA, 72 <device list record>]; 508 of 50835. A composer copies
both from the configuration's own device page, deviceBottomKeys.
A pad's label: a box 81 by 50 at one of six places, its name in the configuration's pad font (base slot 7
index 5, 7, 8 or 9, read off the device pages) split into words at spaces, before a capital, digit or + after
a lower case letter, and after a single hyphen; lines filled greedily to 72 pixels, a lone word up to 73 and a
wider one cut with .. on its own line; at most three lines, 11 apart and centred on y + 20; each line at
x + floor((81 - w) / 2)36. oneLabelLines. That is Logitech's placement on device pages, 2504, 683 and
45 pads at one, two and three lines over the eighteen compiles whose device modes are read; in the 14 pixel set
those labels use it puts a one line label's capitals 2 pixels below the pad's middle37.
On the composed path a device's pages are built by the template, withOneDevicePage, numbered from the
configuration's device modes by role, all device modes built together so a text is drawn inline once32.
Which command a hard key takes in device mode is the Harmony One's own, not the Harmony 650's. On
Logitech's One compiles Channel Up sends PresetNext on two devices where the 650's order gives DirectionUp,
and DirectionUp on one where it gives NextDisc, and OK comes before Select on the Select, Play and Pause
keys, which rests on one device, the only one offering both33. A table of preference lists per key, the
first command the device has being bound, was fitted to 33 device modes of seven compiles, and gives 1521 of
their 1526 key entries, all five misses on one receiver that holds iPod commands and no plain transport
ones33. Three things in it no plain list says: scan 13, which the drawing of the face does not show, takes
NumberEnter, and Enter only where no other key of the device is bound to a command of that name; scan 36 takes PageUp, on
the 2 of the 33 that bind it, and scan 26 nothing on all 33; scans 27 and 29 take DirectionUp and
DirectionDown33. ONE_HARD_KEYS. It is a fit to that population and not confirmed beyond it: on the
43 device modes outside it, set up through accounts where a map may hold an edit, it gives 1223 of 1330 bound
keys56.
The activity screens¶
activityscreens.ts, through the same engine38. Every activity's start up screen and working screen, their
own key maps, chromes, pages, the lists those run but a pad's command, the copies and the hit pages: one template
each on the fourteen of the eighteen English compiles that hold an activity, whose input is the activity's name,
its pads' label lines and what each pad runs. 63 activities of one to four pages, 11 distinct names, rebuilt
byte for byte; the Dutch compile refused by its words. 58 * activities + 2 * (keys + pads) + off lists per
compile, keys the keys below the screen on every page and off two, or three with favourites. The working
screens are the modes the One family's working value map record enters; a start up screen is a mode whose
own key map is the 55 tags.
| what | rule, on the fourteen English compiles that hold an activity |
|---|---|
| start up, own key map | 55 tags in one stored order, STARTUP_TAGS: 52 key presses each a list of its own of three empty instructions; tag 6 straight to the header timer's start, tag 7 straight to its cancel, tag 0x2D the header list |
| start up, chrome and page | "Starting", the title set's own blank and the name centred on row 124, the full screen picture, the queued lists, the signal picture at (57, 33), the title again; the page the type's icon at (57, 67) and "Keep the remote pointed at" and "your system." centred on rows 179 and 191, an empty page list, one hit page of one stated area |
| working, own key map | arrows swallowed on one page; tag 6 the timer started, light 5 on with favourites, light 7 on, the page keys' pair on several pages; tag 7 the timer cancelled and the matching off lists, the page keys' always; tag 0x2D the header list |
| working, chrome | the fixed screens', titled with the name; screen instruction 1 before the picture on 22 of 63, described; present exactly when the start up icon is one picture, 23 of 23 over 64 activities and 0 of 41, a correlation over 8 icons and not a derivation |
| working, a page | "Favorites" on the left half with favourites and "Devices" on the right, row 202; pad k at DEVICE_PAGE_SLOTS[k], a second picture over its own on 14 pads of 3 activities on skin 59 (6 with no words, 8 colour pads with a frame and their label), its lines centred on the 81 pixel pad; the pad font selected once, before the first label; the counter on several pages |
| working, a page's list | each key the click and a mode entered; a pad the click and its command's call, or a sequence's calls and 0x7C pauses inline |
| the copy | lists of its own with the page list's instructions |
| a hit page | the hit pages' rules above: the left key with favourites, the right key, the pads, the edges |
| read | the name off the start up title, whether its blank is the title set's or a space, the label lines and pictures off each pad, what each pad runs, favourites, instruction 1, whether every pad selects its font; the modes, every list index, the timers, the light lists, the header and chrome programs, the pictures, the fonts a role per screen, the hit page indices, the homes |
The start up title is one instruction at y 124 in one of two font sets of face One15 a compile with an
activity holds, found by that, startupTitleSet30. Screen instruction 1, operands 0 0 176 220 0 0, sits
one call deep on every page of the working screen on 23 of 64 activities, a fill of the whole screen in
black3039.
An activity's working screen record. One base slot 14 record is keyed by CurrentActivityState and holds,
per activity, the two instruction screen program 17 lo hi 0x7E; 0, entering that activity's working screen,
plus one case for the idle value that enters no screen. It is found by walking from the left bottom key of a
device mode page, the "Activities" key, through 0x7F and 0x72; its index differs per configuration, 3, 5,
11 or 13 on the thirteen measured, so it is never a constant. The activity's enter list opens with a 0x7E into
a different mode, its start up screen, on 60 of 6041. activityScreens in
packages/config/src/inventory/activities.ts.
On the composed path the activity composer ends by building every activity screen again through this template,
withOneActivityScreensRebuilt38.
The power off help¶
helpscreens.ts, through the same engine31. Help pressed while nothing is on; every screen's chrome is the
fixed screens', titled "PowerOff". A chain of n devices is 4n + 2 screens: the attempt screen, the "If not"
question, and per device its first question, the question after a resend, the first question again and its "Did
that fix the problem?"; with no device, the attempt screen and "Nothing to do", which a three second timer the
attempt starts enters (one compile). The devices in the chain are those with a power state variable. Found by
the attempt screen's look and then the lists that link the screens; the Help key of the idle handler set reaches
the attempt screen through a value map on CurrentLocation, its case for 0 a queued 0x7E. Rebuilt byte for
byte on the sixteen and both European compiles; the Dutch one refused, and a chain none of whose devices is sent
unasked (no "If not" question, the Dutch compile's shape) is refused. 75 devices, 332 screens and 2589 lists
over the sixteen.
| what | rule, on the sixteen and both European compiles |
|---|---|
| a question's own key map | the arrows swallowed, tag 6 a list (a timer started and two of the remote's lists), tag 7 a list (that timer cancelled and two more), scan 38's press a value map, tag 0x2D a list of three 0x73 |
| the exceptions | the "If not" question's and every device's first question's tag 6 run a second pair of the remote's lists before the timer; a first question sends the device's power off lists between the pairs where it is sent unasked; the "If not" question's tag 7 runs 07 FFFB and one more of the remote's lists before the cancel |
| a question's page list | scan 50 (No) and scan 49 (Yes), each a list opening with the click 75 0FCA, then either the value map, which leaves help, or an 0x7E, preceded on a device's three questions' No by its power off lists and on the "If not" question's No by 07 FFFB and one of the remote's lists |
| the links | attempt to "If not"; "If not" No to device 1's first question; first question No to the question after a resend, whose No enters the first question again and whose Yes the device's "Did that fix"; first question Yes and "Did that fix" No to the next device's first question; on the last device both leave, as does every Yes on a "Did that fix" and on "If not" |
| the attempt screen | no page list; tag 6 a list of 07 FFFB, the power off lists of every device sent unasked in the chain's order, an 0x7E to "If not" and a timer started; tag 7 a list of one of the remote's lists and the timer cancelled |
| per device | its name; whether its power off is sent unasked (39 of 80 chain entries over the eighteen English compiles: the 39 discrete, not the 34 toggles nor the PS3's 7, discrete); how many lists its power off is (two on one entry, one on 79) |
| a question's lines | wrapLines at 171 pixels, greedy, breaking at spaces and after hyphens, never at a slash; centred, floor((176 - w) / 2); twelve apart in a block centred on y 143 |
| the "If not" question | five rows centred on y 143, the second blank: 119, 143, 155, 167 |
| the attempt screen's lines | "Attemping to fix the problem..." (sic) centred at y 43; two lines centred on y 168 |
| "Yes", "No", "OK" | centred on the left or right half at y 201; then the picture at 57, 67, or 57, 95 on the attempt screen |
| inline or by reference | the fixed screens' rule in mode order |
| a hit page | one per kind24, built with the screens: the attempt screen three stated rectangles, codes 48 to 50; every question the message (1257, 2791, 1369, 1292), the left key (Yes, 49), the right key (No, 50) and the question (1257, 2791, 885, 2470, 51); "Nothing to do" the message, the right key (OK, 49) and the question's rectangle; then the edges. 32 pages, 2657 bytes, over the sixteen; also named by the activities' own help screens |
The screen program table and the value maps¶
On the Harmony One the screen program table, base slot 11, is generated and every case program is built,
caseprograms.ts42. On all nineteen compiles the table is the clock header's four programs at their
entries, then every base slot 14 case's program in record order, each record's cases in stored order and its
ranges after, no program twice: 4 + ours + 4 × activities entries, 805 over the nineteen. Base slot 14 is one
catalogue of sixteen records on every compile, fifteen on the one compile that keeps no Remote Assistant; the
order of the records differs by compile. Every case program is five bytes queuing one instruction
(11 lo hi op 00), a lone 00, or a frame of four fills. What the table is and the one reader that limits it
to entries 0 to 255 are the screens reference.
| role | keyed by | its cases |
|---|---|---|
| devices route, working route, select route | the location | at 0, 0x72 on the record named, on the activity counter |
| idle | the location | at 0, write the idle value into the counter |
| menu, help | the location | at 0, 0x7E the activity menu; 0x7E the power off help screen, help looked up by one handler set's tag 0xA6 alone |
| all off | the location | at 0, every power variable: a lone 00 with none, the one write Power := 0 with one, 0x7F a list of every power variable's write with several (1, 2 and 16 of 19) |
| devices, devices unread | the counter's values | at the idle value 0x7E the idle device list; per activity, the activity's; the unread copy is looked up by nothing, 19 of 19 |
| working | the counter | at the idle value 0x72 menu on the location; per activity 0x7E its working screen |
| select | the counter | none at the idle value; per activity 1F FF00 | set |
| page | a variable the keys of the device pages, Options and the device lists look up | at 0 0x7F [75 0FCA, 0x72 menu], at 1 0x7F [75 0FCA, 0x72 working route], both on the location |
| assistant | the start up variable | at 3 0x7F [75 0FCA, v := 1, 07 FFF7], at 0 to 2 the same writing 3 |
| sound | the button sound variable | at 0 0x7F [75 0FCA, 3F F300, v := 1, 07 FFF7], at 1 [75 0FCA, 3F F301, v := 0, 07 FFF7] |
| grid, column | a clock picker's variable | a frame per cell, 01 x y w h 07 EC four times: cell k of the grid at x 4 + 83 (k mod 2), y 36 + 54 floor(k / 2), 83 wide; the column's three 166 wide; edges left (2, 52), right at x + w (2, 54), top (w, 2), bottom at y + 52 (w, 2) |
The location takes one value, 0. The cases at an activity's value are the activity's: one per activity in each
of devices, devices unread, working and select, 256 over the nineteen for 64 activities. Laid out in table
order, back to back, in two runs, the frames the second. Described: which record each role is, the
location, the counter, the idle value, the three modes, the six toggle lists' indices and two toggle variables,
and the all off's power variables in its order and its list; 24 bytes read, besides the records' positions
found by look, plus one per power variable and two for the all off's list, each number read once.
Generated: every opcode and the queue framing, the case values, the routes' and the page lists' 0x72
operands, the clicks and constants, the unread copy's case, the frames, and the table. Rebuilt byte for byte on
all nineteen42.
The click before a screen send¶
Logitech's compiler clicks before every screen send on the Harmony One. Every screen binding that sends runs
0x75 0x0FCA, then its calls, then its 0x7D, and no key binding that sends runs it, on four of Logitech's
compiles43; a configuration that omits it still sends, so it is a convention and not the remote's
demand44. What the tone costs a send is the action language.
A screen binding's send is also more often a one block copy, whose once block opens with its
device's delay between devices, 500 or 1000 ms on the One, where a two block record opens with 50 ms: 148 of one
compile's 241 screen sends against 23 of its 377 key sends43. A device page's row, a 0x7F binding, runs
a list that opens with the click, on 3545 of 3545 rows over the nineteen: {0x75 0x0FCA, 0x7F list} on 3495,
the click and a 0x72 on 50. The One family's device page wraps every row whose list does not already open
with a click that way, and an activity screen's pad, which clicks itself, calls the command under the device
page's click, so no binding reaches two clicks, as none in Logitech's compiles does. The Harmony 600, 650 and 700
compiles' device page rows open with a call instead45.
Texts and letters¶
Every text, spelled from its word¶
screentexts.ts, on the 18 English Harmony One compiles, byte for byte: each text's glyph codes spelled from its
word in the font its program selected, and its form by the first copy rule, which holds on every draw,
339072046. Each text's place is read, not built.
| what | rule | agree |
|---|---|---|
| form | the first copy rule of the Harmony 600 family, unchanged46 | 33907 of 33907 draws, 9674 inline |
| start up title | "Starting", the joiner, the activity's name, one instruction at y 124. The joiner is a blank of its own: the code read as a space that one font set alone holds, the title's, where the space is held by 8 or 9 sets; 4 pixels wide in Logitech's letters against the space's 3. A character map reads it as a space; oneCharacterMap names it TITLE_JOINER |
63 titles, 126 draws, on 14 compiles; the 4 with no activity hold no joiner |
Read, not built: each text's place, its font, the fonts and the character map. A configuration lettered in this project's letters holds both blanks in every set, drawn alike, so the joiner is not told from the space there. The Dutch compile rebuilds too, its title joined after "Bezig met starten"20.
The font sets Logitech's compiles hold¶
Sixteen sets every English compile of skin 54 holds, each found by the font role a builder's description reads, in this face and these colours (RGB565 ink over shadow); the order is the compile of two devices'; the sixteen compiles hold them in 8 orders relative to each other, 9 with the places the two content sets below take47. The faces are named in our letters, below.
| set | face | ink / shadow | drawn by, on Logitech's compiles |
|---|---|---|---|
| 0 | OneR15 | ffff / 0000 |
the firmware, fixed, status, help and tour screens' body; a start up screen's lines |
| 1 | One14 | ffff / 31a6 |
the OK of the firmware, fixed, help and tour screens |
| 2 | One14 | 9663 / 0060 |
the fixed, status, help and tour screens' titles |
| 3 | One14 | 973e / 10e4 |
the activity menu's title and an activity's |
| 4 | One14 | 9663 / 31a6 |
the activity menu's left key |
| 5 | One14 | dbc3 / 31a6 |
the right key of the menu and the device pages; "Devices" on a working screen |
| 6 | One11 | 9663 / 0060 |
the fixed screens' page count |
| 7 | One14 | ffff / 31a6 |
the fixed screens' items, the tour's labels, the device pages' and working screens' rows |
| 8 | One14 | 973e / 31a6 |
the fixed screens' keys, the device pages' left key, the device list's headings, favourites |
| 9 | One14 | ffff / 0000 |
the tour's text |
| 10 | One14 | ffff / none |
the tour's exit |
| 11 | One15 | ffff / 31a6 |
the fixed screens' wide buttons, the tour's buttons, the activity menu's and device list's rows |
| 12 | One16 | ffff / 0000 |
the tour's title |
| 13 | One14 | dbc3 / 0820 |
a device page's title and the device list's |
| 14 | One11 | dbc3 / 0820 |
the page count of a device page and of the device list |
| 15 | One11 | ce79 / 0020 |
the clock |
Two more only where the setup draws them: One15 ffff over 0000, the start up titles, on the 12 compiles with
an activity and none of the 4 without; One11 973e over 10e4, the page count of the activity menu and the
working screens, on the 11 where one of those has more than one page and none of the 5 where none has. Every
set's header is the count at +1 and a zero at +2, first code 1. Codes: the first 60 are handed out in one order
on all sixteen (not on the European skin 59, whose English compiles number codes 18 to 29 0:123456789/),
HySunMoTeWdhFriat12:34567890/ then the space and blvsw!OKUBCcpfgL.mGIzkREDPAq\N, and the 61st follows the
setup's names (,, ?, V or x)47. How many sets the firmware takes and how it draws a letter is
the One's display page.
Our letters¶
The Harmony One gets this project's own letters in place of Logitech's48, blended into the colour under them49. The faces are the One's own, since its 14 and 15 pixel capitals are a row shorter and start a row lower than the Harmony 650's50:
| height | measured | face |
|---|---|---|
| 16 | One16, the greeting's letters and the H and y every set holds |
|
| 15 | median ink run 2 / 1 | One15 / OneR15 |
| 14 | median ink run 2; a regular 14 is refused | One14 |
| 11 | One11 |
The bold faces are Bold and the others SemiBold and Regular, the weights whose stroke is Logitech's. Each set is
lettered in its own ink and shadow, ten pairs over the nineteen compiles, where the 650 family letters every set
in one scheme; no glyph is shared between sets, since the One's text routine is unread; and a second code for
one character, the One's second space, gets a copy of the glyph, since two codes of one set may not point at
one. Eighteen of Logitech's nineteen One compiles lettered so pass every check and read every text as before;
the nineteenth, Dutch, is refused for its ë and é50. A table built from nothing holds the sixteen sets
above and neither setup set, adds two copies after the sixteen, set 11 for the start up title and set 6 in set
3's colours, both smoothed against black, and keeps Logitech's first 60 codes, giving the other 35 printable
characters the next codes in ASCII order and no code to a start up title joiner; buildOneFontTable lays out
to the lettered compile's bytes when given that compile's code order4748. The other half of the font
table, how a set is lettered and blended for the 600 family, is
the 600 family's compiler page.
Pictures¶
The whole screen background is all black and stored more than once: raw, 176 by 220, every pixel 0x0000,
77445 bytes, three times on four of the sixteen English compiles of skin 54 and four times on the other twelve,
each copy byte identical, and drawn by 66 to 314 instructions a compile51. Six of the seven blank screens a
timer enters draw three photographs of the same size instead, two screens each, and the seventh draws the
charging screen's picture51. Logitech stores other images several times too: the full gauge at three of the
clock header's addresses and a settings button once per place it is drawn2651. A picture nothing
names is not a piece of its own to takeApart: its bytes are carried on the end of the piece before it, so
taking one out is a cut by the extent its header states51.
Which fixed pictures leave pixels undrawn, the same on every stored copy of all nineteen compiles: of the 29
images behind the 23 drawings pictures.ts names, the ten battery gauge pictures, 20 by 11, and the charging
problem's cross, 87 by 62, and no other. Every gauge picture leaves its row 0 and column 0 undrawn, 30 pixels,
but the battery gauge's level 0, Logitech's grey question mark, which is drawn at every pixel; eight leave three
or four pixels more at the picture's corners, the charging animation's third frame a fifth inside its body;
level 3 leaves 69, its bottom row and most of the right end of its body and tip among them. The cross leaves
4028 of its 5394 undrawn, everything outside its circle's silhouette, a roughly round blob of 1366 drawn
pixels52. What that shows on a screen is the One's display page.
A filled rectangle has three uses on Logitech's compiles: over the sixteen English compiles of skin 54 Logitech uses opcode 1 for the welcome tour's black background, 11 a compile, for a black fill before a full screen picture, 18 in all, and for the four lines two pixels wide that frame a picker's button, 9 frames a compile, each closing exactly round a button picture drawn there, 144 of 14440.
The Harmony One gets this project's own pictures in place of Logitech's48; how they are drawn is described
in pictures.ts.
Placement: the pictures and glyph sets are placed by the same rule as on the Harmony 600 family, with nothing of the One's own, the layout reference53.
State tables and a device's inputs¶
A device's inputs are the Harmony 600 family's on the Harmony One, but for the send, which is two
instructions there, the 600 family's compiler page54. The catalogue's
power.onReset lists come after the power variable's wait in 3 of the 19 compiles, in the same shape54.
The state tables are built by the same builder as the 600 family's, with what differs held as each family's
StateTableFacts, the Harmony One's ONE_STATE_TABLES in statetables.ts. All 19 distinct compiles rebuild
byte for byte from a description, and from a blinded one, the clock's seven records, the firmware's eleven and
the first two byte variable among them5. What is the Harmony One's own:
| what | value on the Harmony One |
|---|---|
records 7 to 17, first / max |
0/2, 0/3, 5/7, 0/7, 0/32, 0/1, 1/1, 2/4, 0/3, 0/1, 0/3, no transitions5 |
| a variable's width | one byte for a maximum up to 121; no two byte variable but index narrow on any of the 19, so a maximum past 121 is refused5 |
| a value map's case count | one byte, VALUE_MAP_COUNT_WIDTH5 |
index narrow, the first two byte variable |
the clock pickers' variable: the one the seven pickers' tag 0x29 handlers read and write and the grid and column value maps are looked up on, on all sixteen English compiles of skin 5422 |
| the assistant variable USB Connected's leaving list tests | 0 to 3, first 0, unnamed, on the sixteen, whose wiring holds the Remote Assistant's ladder, and on two more compiles read by hand22 |
| Time of Day's variable | 0 to 1, first 0, unnamed, written 0 by AM and 1 by PM, on the sixteen22 |
| the minute's second transition | {-2 to -2, 0x7F list} after its increment of the hour, on all 19: since both ends are the sentinel it fires on every write of the minute that is not silent, and the list it calls is the clock's screen side, calling two short lists, its index the configuration's (minuteList); on all 19 that list sits straight before the hour's5 |
The clock's other transitions, the hour's list [0x1F 0xF203, 0x1F 0xF204], index narrow's 0/65277, the
value map lead byte and the name tree's roots and order are the 600 family's on all 195. What the records
mean is the One's memory page.
What no compile shows: a Harmony One with no device¶
Every one of the nineteen compiles holds at least one device, so a configuration with none, base slot 5 with no infrared group and device lists of no rows, is shown by none of them12. The fewest modes and lists any compile holds are 84 and 1955, the fewest base slot 11 entries 29, and the fewest timers 26128. What the compiles do show near zero: an activity menu of no row and the thirteen redraw classes of a configuration with no activity, on the four compiles with none248; and an all off with nothing to switch off, with its help chain of the attempt screen and "Nothing to do", on one compile318.
How wide each table's count is, on 19 of 19 compiles, read as each table's length less three bytes per entry
it names: one byte for base slots 5, 9, 12, 15, 16 and 17, two for 10 and 11, and three for 6. Reading the same
tables at four bytes an entry disagrees with the widths on 19 of 19, which is the control. Raw slot 18 is two zero
bytes with nothing parked in front on all nineteen57. ONE_COUNT_WIDTHS holds the widths.
Within a mode, Logitech's order is the own key map, the chrome, then per page its program, its switch's pieces and its page record, then the entry, on all 102 device lists of the nineteen compiles55.
What a builder adding the first device needs, read off Logitech's compiles because a configuration with no device does not hold it55:
| what | where Logitech's compiles have it |
|---|---|
| a device list row's marker | the variable the idle handler set's Devices key list writes 1 last, idleB7Var, 19 of 19 |
| a device list's first row | the fixed screens' wide font, 16 of 16 |
| the first device page's shared numbers | the wiring's lists and variables, the clock header's programs and two value maps by name, FIRST_DEVICE_KEYS, 15 of 15 |
| its fonts | the device lists' title and left fonts, the activity menu's right font, the fixed screens' item font, the One11 set in the title's colours, 15 of 15 |
| its off lists | each the only list of its content, 15 of 15 |
| its redraw timer | four seconds, [73 clock, 73 charging, 1F EBnn], one per class of screen as above |
| the power off help's first questions | the wiring's keyLights.4.1.1, keyLights.5.1.1 and lights, and the only lists switching channel 5 and 7 off, 15 of 15 |
| a hit page a device list freed | no compile holds one named by nothing, 19 of 19 |
| the power off help's show timer | of the sixteen English compiles only the one asking about no device holds it |
This project's builder of a configuration with no device is families/harmony-one/empty.ts; what it decides is
described there.
Not checked¶
- What decides the ladder's
07 FFFB, and what07 FFFA,07 FFF7, the3F C1xx,3F F0xx,3F F3vvand1F FExxsteps do on this remote56. - What orders the thirteen timers; what the five one second timers' screens other than the ready list's are for56.
- What makes a class of redraw timer, which no byte of the screens states, and how the working screens are grouped, one to four classes by one count that is not tested56.
- What raises the leftover entry's events 1 and 556.
- That variable 15 is the charger's state, which rests on what it draws; what the two counted variables of the
minute's lists count; what the
0x1F EDand0x1F F2bands do, both low bytes taken as numbers the configuration chose, since they differ by compile56. - Which cell of a picker the framed one is to a person56.
- Why the PS3, whose power is discrete, is not sent unasked by the power off help, and the chain's order, for which no rule is known: not the infrared group, the power variable, the All Off list or the Devices list56.
- What decides which three header programs an activity menu's tag
0x2Dlist calls and in what order56. - The insertion order behind the stored order of a device mode's own key map, the one page order resting on 6 modes on which one page and swallowed arrows coincide; whether the compiler ever puts pads on a page other than six to a page in the command order56.
- An activity's own help screen, which is not rebuilt; the insertion order behind the start up screen's stored order56.
- Whether the firmware ever enters the device list nothing in the configuration enters, and why its scan 55 list maps once per other list56.
- Whether the firmware takes the hit map from the status container while it draws that container's screens, which would make indices 0 to 2 a demand rather than Logitech's numbering56.
- What character Logitech's compiler meant by the start up title's joiner, possibly the non-breaking space; any wording but English and the one Dutch compile56.
- A table in this project's code order, and a configuration that leaves the tour and the assistant out started on a second unit56.
- Whether a configuration that leaves the 29 status screens out runs, since nothing enters them56.
-
Measured in configurations. Section 317 ↩↩
-
Read in the firmware. Section 73 ↩
-
Measured in configurations. Section 400 ↩↩
-
Measured in configurations. Section 409 ↩↩
-
Measured in configurations. Section 411 ↩↩↩
-
Measured in configurations. Section 434 ↩↩↩
-
Measured in configurations. Section 413 ↩
-
Read in the firmware. Section 408 ↩
-
Measured in configurations. Section 412 ↩
-
Measured in configurations. Section 403 ↩↩↩↩
-
Measured on a unit. Section 403 ↩
-
Measured in configurations. Section 421 ↩
-
Measured in configurations. Section 275 ↩
-
Measured in configurations. Section 406 ↩↩↩
-
Measured on a unit. Section 421 ↩
-
Measured in configurations. Section 417 ↩
-
Measured in configurations. Section 125 ↩
-
Measured in configurations. Section 414 ↩↩
-
Measured in configurations. Section 419 ↩↩↩
-
Measured in configurations. Section 424 ↩↩
-
Measured in configurations. Section 352 ↩
-
Measured in configurations. Section 402 ↩↩↩
-
Measured in configurations. Section 415 ↩↩↩
-
Measured in configurations. Section 420 ↩↩
-
Measured in configurations. Section 271 ↩
-
Measured in configurations. Section 401 ↩
-
Measured in configurations. Section 394 ↩
-
Measured in configurations. Section 399 ↩
-
Measured in configurations. Section 423 ↩↩
-
Read in the firmware. Section 425 ↩
-
Measured in configurations. Section 425 ↩
-
Measured in configurations. Section 279 ↩
-
Measured in configurations. Section 416 ↩↩
-
Measured in configurations. Section 337 ↩↩
-
Measured on a unit. Section 337 ↩
-
Measured in configurations. Section 404 ↩
-
Measured in configurations. Section 358 ↩↩
-
Measured in configurations. Section 427 ↩↩↩
-
Chosen by this project. Decision 24 ↩↩↩
-
Chosen by this project. Decision 22 ↩
-
Measured in configurations. Section 396 ↩↩
-
Measured in configurations. Section 422 ↩↩↩↩
-
Measured in configurations. Section 428 ↩
-
Measured in configurations. Section 426 ↩
-
Measured in configurations. Section 393 ↩↩
-
Measured in configurations. Section 435 ↩↩
-
Measured in configurations. Section 431 ↩