Keystroke programming: Difference between revisions

Content deleted Content added
Ldo (talk | contribs)
continue example
Ldo (talk | contribs)
start filling in alt table
Line 70:
Most of the keys on the keypad can be used as symbolic labels. For example, sequences like {{TI-5x/Keys/Brown|GTO}} {{TI-5x/Keys/Brown|STO}} and {{TI-5x/Keys/Brown|GTO}} {{TI-5x/Keys/Brown|GTO}} are legitimate, provided that {{TI-5x/Keys/Brown|STO}} and {{TI-5x/Keys/Brown|GTO}} have in fact been defined as labels somewhere in the program.
 
=== TheModifier “2nd” KeyKeys ===
 
Most of the keys had multiple functions, depending on whether {{TI-5x/Keys/Brown|INV}} or {{TI-5x/Keys/Yellow|2nd}} had been pressed beforehand. {{TI-5x/Keys/Brown|INV}} invoked the “inverse” (whatever that meant) of the following function, and was recorded in a program as a separate keystroke (code 22), while {{TI-5x/Keys/Yellow|2nd}} invoked a completely different function which was written on the keypad faceplate just above the key. For example, pressing {{TI-5x/Keys/Yellow|2nd}} {{TI-5x/Keys/Brown|x²}} invoked the {{TI-5x/Keys/Alt|sin}} function.
 
The code for this alternate function is derived from that of the original key function by adding 5 to the units digit (''without'' carry to the tens digit). Thus, the key codes corresponding to the position of the {{TI-5x/Keys/Yellow|2nd}} key itself (21 and 26) are never used as opcodes.
 
{| border="1" cellpadding="2"
|----
| ||''x''6||''x''7||''x''8||''x''9||''x''0
|-
|1''x''
|{{TI-5x/Keys/Alt| A´ }}||{{TI-5x/Keys/Alt| B´ }}||{{TI-5x/Keys/Alt| C´ }}||{{TI-5x/Keys/Alt| D´ }}||{{TI-5x/Keys/Alt| E´ }}
|-
|2''x''
| ||{{TI-5x/Keys/Brown|INV}}||{{TI-5x/Keys/Brown|ln''x''}}||{{TI-5x/Keys/Brown|CE}}||{{TI-5x/Keys/Yellow|CLR}}
|-
|3''x''
|{{TI-5x/Keys/Brown|LRN}}||{{TI-5x/Keys/Brown|x⇌t}}||{{TI-5x/Keys/Brown|x²}}||{{TI-5x/Keys/Brown|√x}}||{{TI-5x/Keys/Brown|1/x}}
|-
|4''x''
|{{TI-5x/Keys/Brown|SST}}||{{TI-5x/Keys/Brown|STO}}||{{TI-5x/Keys/Brown|RCL}}||{{TI-5x/Keys/Brown|SUM}}||{{TI-5x/Keys/Brown|y<sup>x</sup>}}
|-
|5''x''
|{{TI-5x/Keys/Brown|BST}}||{{TI-5x/Keys/Brown|EE}}||{{TI-5x/Keys/Brown|&nbsp;(&nbsp;}}||{{TI-5x/Keys/Brown|&nbsp;)&nbsp;}}||{{TI-5x/Keys/Yellow|&nbsp;÷&nbsp;}}
|-
|6''x''
|{{TI-5x/Keys/Brown|GTO}}||{{TI-5x/Keys/White|&nbsp;7&nbsp;}}||{{TI-5x/Keys/White|&nbsp;8&nbsp;}}||{{TI-5x/Keys/White|&nbsp;9&nbsp;}}||{{TI-5x/Keys/Yellow|&nbsp;×&nbsp;}}
|-
|7''x''
|{{TI-5x/Keys/Brown|SBR}}||{{TI-5x/Keys/White|&nbsp;4&nbsp;}}||{{TI-5x/Keys/White|&nbsp;5&nbsp;}}||{{TI-5x/Keys/White|&nbsp;6&nbsp;}}||{{TI-5x/Keys/Yellow|&nbsp;-&nbsp;}}
|-
|8''x''
|{{TI-5x/Keys/Brown|RST}}||{{TI-5x/Keys/White|&nbsp;1&nbsp;}}||{{TI-5x/Keys/White|&nbsp;2&nbsp;}}||{{TI-5x/Keys/White|&nbsp;3&nbsp;}}||{{TI-5x/Keys/Yellow|&nbsp;+&nbsp;}}
|-
|9''x''
|{{TI-5x/Keys/Brown|R/S}}||{{TI-5x/Keys/White|&nbsp;0&nbsp;}}||{{TI-5x/Keys/White|&nbsp;.&nbsp;}}||{{TI-5x/Keys/White|+/-}}||{{TI-5x/Keys/Yellow|&nbsp;&#61;&nbsp;}}
|----
|}
 
TBD