Keystroke programming: Difference between revisions

Content deleted Content added
Ldo (talk | contribs)
fill in more of table
Ldo (talk | contribs)
fill in rest of table
Line 72:
=== Modifier Keys ===
 
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, while {{TI-5x/Keys/Brown|INV}} {{TI-5x/Keys/Yellow|2nd}} {{TI-5x/Keys/Brown|x²}} (or {{TI-5x/Keys/Brown|INV}} {{TI-5x/Keys/Alt|sin}}) gave you the arcsine.
 
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. Here is the table of the codes produced with the {{TI-5x/Keys/Yellow|2nd}} prefix:
 
{| border="1" cellpadding="2"
Line 96:
|-
|6''x''
|{{TI-5x/Keys/BrownAlt|GTOPause}}||{{TI-5x/Keys/WhiteAlt|x 7&nbsp#61;t}}||{{TI-5x/Keys/WhiteAlt| 8 Nop}}||{{TI-5x/Keys/WhiteAlt| 9 Op}}||{{TI-5x/Keys/YellowAlt| × Deg}}
|-
|7''x''
|{{TI-5x/Keys/BrownAlt|SBRLbl}}||{{TI-5x/Keys/WhiteAlt| 4 x≥t}}||{{TI-5x/Keys/WhiteAlt| 5 ∑x}}||{{TI-5x/Keys/WhiteAlt| 6 mean(x)}}||{{TI-5x/Keys/YellowAlt| - Rad}}
|-
|8''x''
|{{TI-5x/Keys/BrownAlt|RSTSt flg}}||{{TI-5x/Keys/WhiteAlt| 1 If flg}}||{{TI-5x/Keys/WhiteAlt| 2 D.MS}}||{{TI-5x/Keys/WhiteAlt| 3 π}}||{{TI-5x/Keys/YellowAlt| + Grad}}
|-
|9''x''
|{{TI-5x/Keys/BrownAlt|R/SWrite}}||{{TI-5x/Keys/WhiteAlt| 0 Dsz}}||{{TI-5x/Keys/WhiteAlt| . Adv}}||{{TI-5x/Keys/WhiteAlt|+/-Prt}}||{{TI-5x/Keys/YellowAlt| = List}}
|----
|}