h6. [[OS SWI Calls]] h6(. » [[OS_Byte]] h6((. » OS_Byte 238 h2. OS_Byte 238 h5. (SWI &06) |_<^{width:4em}. Entry | | |<^. R0|<^. 238 (&EE) | |<^. R1|<^. EOR value | |<^. R2|<^. AND value | |_<^{width:4em}. Exit|_<^. | |<^. R0|<^. Preserved | |<^. R1|<^. Previous base number | |<^. R2|<^. Corrupted | h4. Use The purpose of this call is to read or set the numeric keypad interpretation. h4. Notes Keypad keys generate offsets from this base value, which with the default base number of 48 give the key presses shown: |_<^{width:4em}. Key Pressed|_<^{width:4em}. Offset from Base|_<^{width:4em}. Key code Generated|_<^{width:4em}. Offset with Num Lock|_<^{width:4em}. Key Code Generated| |<^. 0|<^. +0|<^. 0|<^. +157|<^. Insert| |<^. 1|<^. +1|<^. 1|<^. +91|<^. End/Copy| |<^. 2|<^. +2|<^. 2|<^. +94|<^. Down| |<^. 3|<^. +3|<^. 3|<^. +110|<^. Page Down| |<^. 4|<^. +4|<^. 4|<^. +92|<^. Left| |<^. 5|<^. +5|<^. 5|<^. (ignored)|<^. | |<^. 6|<^. +6|<^. 6|<^. +93|<^. Right| |<^. 7|<^. +7|<^. 7|<^. -18|<^. Home| |<^. 8|<^. +8|<^. 8|<^. +95|<^. Up| |<^. 9|<^. +9|<^. 9|<^. +111|<^. Page Up| |<^. .|<^. -2|<^. .|<^. +79|<^. Delete| |<^. /|<^. -1|<^. /|<^. unchanged|<^. | |<^. *|<^. -6|<^. *|<^. unchanged|<^. | |<^. #|<^. -13|<^. #|<^. unchanged|<^. | |<^. -|<^. -3|<^. -|<^. unchanged|<^. | |<^. +|<^. -5|<^. +|<^. unchanged|<^. | |<^. Enter|<^. -35|<^. Return|<^. unchanged|<^. | h4. See also * [[OS_Byte]]