*****************************  MODULE HEADER  *******************************
*                                                                           *
*                                                                           *
*  MACHINE:                LANGUAGE:                        OS: CTOS        *
*                                                                           *
*  51.kbd_data                                                              *
*                                                                           *
*      This file contains the text version of the table that causes a K3 or *
*      a K5 keyboard to emulate a K1 keyboard for the OS version of         *
*      NlsKbd.sys.                                                        *
*                                                                           *
*                                                                           *
*  HISTORY:                                                                 *
*                                                                   *
*                                                                           *
*  MMDDYY VVVVMM  PROGRAMMER      DESCRIPTION                           *
*                                                                           *
*  092992 12.3.A.01  V. Miller     iKey 23 returns FFFF:FF.              *
*                                                                           *
*  032092 12.2.G.01  V. Miller     Changed number of emulated LEDs back  *
*                                     to 13 from 16 and added documentation *
*                                     regarding how the emulated LEDs table *
*                                     should work.                          *
*                    V. Miller  K. Hampton      Created.                  *
*                                                                           *
*                    PROPRIETARY  PROGRAM  MATERIAL                         *
*                                                                           *
*  THIS MATERIAL IS PROPRIETARY TO UNISYS CORPORATION AND IS NOT TO         *
*  BE REPRODUCED, USED OR DISCLOSED EXCEPT IN ACCORDANCE WITH PROGRAM       *
*  LICENSE OR UPON WRITTEN AUTHORIZATION OF THE PATENT DIVISION OF          *
*  UNISYS CORPORATION, DETROIT, MICHIGAN 48232, USA.                        *
*                                                                           *
*  COPYRIGHT (C) 1990 UNISYS CORPORATION. ALL RIGHTS RESERVED               *
*                                                                           *
*****************************************************************************
*                                                                           *
*  UNISYS BELIEVES THAT THE SOFTWARE FURNISHED HEREWITH IS ACCURATE         *
*  AND RELIABLE, AND MUCH CARE HAS BEEN TAKEN IN ITS PREPARATION. HOWEVER,  *
*  NO RESPONSIBILITY, FINANCIAL OR OTHERWISE, CAN BE ACCEPTED FOR ANY       *
*  CONSEQUENCES ARISING OUT OF THE USE OF THIS MATERIAL, INCLUDING LOSS     *
*  OF PROFIT, INDIRECT, SPECIAL, OR CONSEQUENTIAL DAMAGES, THERE ARE NO     *
*  WARRANTIES WHICH EXTEND BEYOND THE PROGRAM SPECIFICATION.                *
*                                                                           *
*  THE CUSTOMER SHOULD EXERCISE CARE TO ASSURE THAT USE OF THE SOFTWARE     *
*  WILL BE IN FULL COMPLIANCE WITH LAWS, RULES AND REGULATIONS OF THE       *
*  JURISDICTIONS WITH RESPECT TO WHICH IT IS USED.                          *
*                                                                           *
**************************  END OF MODULE HEADER  ***************************

;
;     This is the data file for the K6 Keyboard that is used by the Create
;     Keyboard Table Application.  The format is translation tables for a
;     K1 keyboard followed by emulation tables that convert K6 iKeys to the
;     K1 iKey values that produce the same effect.
;
;     In what follows semicolons, ;, or the slashasterix pair * start
;     comments.  The newline character ends comments.  Also lines consisting
;     of only the new line character are ignored.
;
;     Changes:
;
;     111491 vjm Removed emulation of <ALT> to be <CODE><SHIFT> for XVT
;                  All instances of 0009: in the LAST emulation table
;                       replaced by FFFF: so if state has ALT key in it,
;                       the ALT key is passed through instead of being
;                        emulated.

; Keyboard name
K6

; Output file name
K6KbdTables.obj

; Name of PUBLIC in object module at start of table
K6KeyboardData


;Number of forms files needed to display keyboard.
0

;  ====================================================================
;  ====================================================================
;
;                           EMULATION DATA
;
;  What follows is the data for having the PS2 keyboard emulate the K1
;  keyboard.  That is given a PS2 state and key what K1 state and key
;  would have to be pushed to give the same result
;


EMULATION DATA EXISTS         ; The preceeding string is NOT a comment.  It
                              ;      must be in the file if emulation data
                              ;      is present in the file.



START SPECIAL KEYS            ; The preceeding string is NOT a comment.  It
                              ;      must be in the file even if no special
                              ;      keys list is included.

;
;  : Number of entries in per key tables in hex
;  |
;  |    : K6 Keyboard IBus ID in hex.
;  |    |
;  |    |    : Key up mask in hex.
;  |    |    |
;  |    |    |   :  Number of translation tables in hex
;  |    |    |   |
;  |    |    |   |     :  Target translation table in hex
;  |    |    |   |     |
;
  80   21   80   3    04


;
; Special keys.
; 
; The first column is the hardware iKey returned by the special key (in
; hex).  The second column (the comments) is the value of that key on the
; K1 keyboard.  For example the delete key returns 7F h.  For the K1
; keyboard this data is in Tables B1 or C1 in the CTOS Concepts manual.
; This table MUST have 19 entries and they MUST be in the order shown.

22   ; Number of special keys

61   ;   a
62   ;   b
7F   ;   <DELETE>
44   ;   <OVERTYPE>
4C   ;   <LEFT CODE>
4D   ;   <RIGHT CODE>
04   ;   <FINISH>
43   ;   <ACTION>
45   ;   <LOCK>
48   ;   <LEFT SHIFT>
49   ;   <RIGHT SHIFT>
64   ;   Mouse Disable <RESERVED FOR Bull>
65   ;   Mouse Enable  <RESERVED FOR Bull>
53   ;   Alt Key       <RESERVED FOR Bull>
00   ;    c
1B   ;   <GO>
40   ;   iKey not valid
20   ;   Diacritic Escape
52   ;   Sys Key
00   ;   OS1
00   ;   OS2
00   ;   OS3


END SPECIAL KEYS              ; The preceeding string is NOT a comment.  It
                              ;      must be in the file even if no special
                              ;      keys list is included.


START LED EMULATION DATA      ; The preceeding string is NOT a comment.  It
                              ;      must be in the file even if no list of
                              ;      default LEDs is included.

    13 (NOT number of entries in table).  This
          ;      number must be 16 or less.


; The table below is used to specify what LED is turned on when a key that
;     affects an LED is pressed.  The table MUST have 16 entries.


;  Enter the number of the LED to be actually be turned on when the code
;       specifies the particular LED number.  For example,  the entry
;
;            03   ; 7
;
;       means that when an application specifies that LED 7 be turned on,
;       actually turn on LED 03 (where both 3 and 7 are base 10).
;
;  Other possible values
;
;    0 means don't remap (or map to itself).  For example,  the entry
;
;            00   ; 8
;
;         means thet when an application specifies that LED 8 be turned on,
;         don't change (or remap) what is to be turned on; actually turn on
;         LED 08.
;
;    FF (or actually any number greater than 16) means not supported.
;         For example,  the entry
;
;            FF   ; 9
;
;         means thet when an application specifies that LED 9 be turned on,
;         nothing is turned on.
;
;  When we say LED x is set, we mean that the current LED state is ORed
;       with the xth entry in the following array.
;
;       1h,2h,4h,8h,10h,20h,40h,80h
;
;       LEDs >8 on the Kx style keyboards are handled according to the
;       rquirement described in the hardware spec.
;
;   LED          LED         Key LED
; Actually   Application      Is On
;  Turned     Specifies
;    On      Be Turned On
;

    00   ;       1            f10
    00   ;       2            f9
    00   ;       3            f8
    00   ;       4            f3 
    00   ;       5            f2
    00   ;       6            f1
    00   ;       7           LOCK
    00   ;       8         Overtype
    00   ;       9           Comm1
    00   ;      10           Comm2
    00   ;      11           Comm3
    00   ;      12           Comm4
    00   ;      13           Comm5
    99   ;      14         'Numlock'      Not used on this keyboard
    99   ;      15       'Scroll Lock'    Not used on this keyboard
    99   ;      16                        Not used on this keyboard

END LED EMULATION DATA        ; The preceeding string is NOT a comment.  It
                              ;      must be in the file even if no special
                              ;      keys list is included.

START CHORDS KEYS             ; The preceeding string is NOT a comment.  It
                              ;      must be in the file even if no list of
                              ;      default chords is included.

;
; Default Chords for Emulation table
;
;

;   Number of entries should be the same as in translation table in this file
6    ;   Number of entries

;  key    bMask*  fToggle fLed  LED mask** 
; number   bit                    bit      fExclusionary
;        position               position
; (hex)    (hex)                  (hex)
; 
    48       0       F      F      0           F   ;   Chord 1   <LEFT SHIFT>
    49       1       F      F      0           F   ;   Chord 2   <RIGHT SHIFT>
    4C       2       F      F      0           F   ;   Chord 3   <LEFT CODE>
    4D       3       F      F      0           F   ;   Chord 4   <RIGHT CODE>
    45       4       T      T      6           F   ;   Chord 5   <LOCK>
    53       5       F      F      0           F   ;   Chord 6   <ALT>

END CHORDS KEYS                     ; The preceeding string is NOT a comment.
                                    ;      It must be in the file even if no
                                    ;      list of default chords is included.
START ALLOWED STATES TABLE          ; The preceeding string is NOT a comment.
                                    ;      It must be in the file even if no
                                    ;      repeat attributes table is included.



;                       ENTRIES
; 
; Chords that affect       iKey   Key
;    this iKey          Number  Name
; numbers are decimal
;         

     { 1,2,6 }         ; 000    help
     { 1,2,6 }         ; 001    uparrow
     { 1,2,6 }         ; 002    mark
     { 1,2,6 }         ; 003    bound
     { 1,2,6 }         ; 004    finish
     { 1,2,6 }         ; 005    prev page
     { 1,2,6 }         ; 006     
     { 1,2,6 }         ; 007    cancel
     { 1,2,6 }         ; 008    backspace
     { 1,2,6 }         ; 009    tab
     { 1,2,6 }         ; 00A    return
     { 1,2,6 }         ; 00B    downarrow
     { 1,2,6 }         ; 00C    next page
     { 1,2,6 }         ; 00D    next
     { 1,2,6 }         ; 00E    leftarrow
     { 1,2,6 }         ; 00F    rightarrow
     { 1,2,6 }         ; 010    JUMP
     { 1,2,6 }         ; 011    scrollup
     { 1,2,6 }         ; 012    move
     { 1,2,6 }         ; 013    scrolldown
     { 1,2,6 }         ; 014    copy
     { 1,2,6 }         ; 015    f1
     { 1,2,6 }         ; 016    f2
     { 1,2,6 }         ; 017    f3
     { 1,2,6 }         ; 018    f4
     { 1,2,6 }         ; 019    f5
     { 1,2,6 }         ; 01A    f6
     { 1,2,6 }         ; 01B    GO
     { 1,2,6 }         ; 01C    f7
     { 1,2,6 }         ; 01D    f8
     { 1,2,6 }         ; 01E    f9
     { 1,2,6 }         ; 01F    f10
     { 1,2,6 }         ; 020    space
     { 1,2,6 }         ; 021    9 9
     { 1,2,6 }         ; 022    Delete char
     { 1,2,6 }         ; 023    0 0
     { 1,2,6 }         ; 024    Numeric *
     { 1,2,6 }         ; 025    Numeric 
     { 1,2,6 }         ; 026    Column
     { 1,2,6 }         ; 027    quotes
     { 1,2,6 }         ; 028    PAGE
     { 1,2,6 }         ; 029    PARAGRAPH
     { 1,2,6 }         ; 02A    SENTENCE
     { 1,2,6 }         ; 02B    plus equals
     { 1,2,6 }         ; 02C    commas
     { 1,2,6 }         ; 02D     _
     { 1,2,6 }         ; 02E    .\
     { 1,2,6 }         ; 02F    slash question mark
     { 1,2,6 }         ; 030    0 right parens
     { 1,2,6 }         ; 031    1 exclam mark
     { 1,2,6 }         ; 032    2 at sign
     { 1,2,6 }         ; 033    3 hash
     { 1,2,6 }         ; 034    4 $
     { 1,2,6 }         ; 035    5 percent
     { 1,2,6 }         ; 036    6 cent
     { 1,2,6 }         ; 037    7 
     { 1,2,6 }         ; 038    8 *
     { 1,2,6 }         ; 039    9 left parens
     { 1,2,6 }         ; 03A    Numeric =
     { 1,2,6 }         ; 03B    ; :
     { 1,2,6 }         ; 03C    WORD
     { 1,2,6 }         ; 03D    LINE
     { 1,2,6 }         ; 03E    Numeric Percent
       { 0 }           ; 03F  iKeyInvalid
       { 0 }           ; 040  iKeyNoKeys
     { 1,2,6 }         ; 041    6 6
     { 1,2,6 }         ; 042     
       { 0 }           ; 043    reset
     { 1,2,6 }         ; 044    overtype
       { 5 }           ; 045    lock
     { 1,2,6 }         ; 046    2 2
     { 1,2,6 }         ; 047    3 3
       { 1 }           ; 048    shiftr
       { 2 }           ; 049    shiftl
     { 1,2,6 }         ; 04A    0 0
     { 1,2,6 }         ; 04B    . .
       { 3 }           ; 04C    coder
       { 4 }           ; 04D    codel
       { 0 }           ; 04E
       { 0 }           ; 04F
       { 0 }           ; 050
       { 0 }           ; 051
       { 0 }           ; 052
       { 6 }           ; 053    alt
     { 1,2,6 }         ; 054    Numeric +
       { 0 }           ; 055
       { 0 }           ; 056
       { 0 }           ; 057
       { 0 }           ; 058
     { 1,2,6 }         ; 059    Numeric 00
       { 0 }           ; 05A
     { 1,2,6 }         ; 05B    [ <
     { 1,2,6 }         ; 05C    7 |
     { 1,2,6 }         ; 05D    ] >
     { 1,2,6 }         ; 05E    ^ 
       { 0 }           ; 05F
     { 1,2,6 }         ; 060    1 single quote
    { 1,2,5,6 }        ; 061    a A
    { 1,2,5,6 }        ; 062    b B
    { 1,2,5,6 }        ; 063    c C
    { 1,2,5,6 }        ; 064    d D
    { 1,2,5,6 }        ; 065    e E
    { 1,2,5,6 }        ; 066    f F
    { 1,2,5,6 }        ; 067    g G
    { 1,2,5,6 }        ; 068    h H
    { 1,2,5,6 }        ; 069    i I
    { 1,2,5,6 }        ; 06A    j J
    { 1,2,5,6 }        ; 06B    k K
    { 1,2,5,6 }        ; 06C    l L
    { 1,2,5,6 }        ; 06D    m M
    { 1,2,5,6 }        ; 06E    n N
    { 1,2,5,6 }        ; 06F    o O
    { 1,2,5,6 }        ; 070    p P
    { 1,2,5,6 }        ; 071    q Q
    { 1,2,5,6 }        ; 072    r R
    { 1,2,5,6 }        ; 073    s S
    { 1,2,5,6 }        ; 074    t T
    { 1,2,5,6 }        ; 075    u U
    { 1,2,5,6 }        ; 076    v V
    { 1,2,5,6 }        ; 077    w W
    { 1,2,5,6 }        ; 078    x X
    { 1,2,5,6 }        ; 079    y Y
    { 1,2,5,6 }        ; 07A    z Z
     { 1,2,6 }         ; 07B    4 {
     { 1,2,6 }         ; 07C    8 backslash
     { 1,2,6 }         ; 07D    5 }
       { 0 }           ; 07E
     { 1,2,6 }         ; 07F    del


END ALLOWED STATES TABLE            ; The preceeding string is NOT a comment.
                                    ;      It must be in the file even if no
                                    ;      repeat attributes table is included.

START CONDITIONS                    ; The preceeding string is NOT a comment.
                                    ;      It must be in the file even if no
                                    ;      translation table are included.

;
; Default Conditions info

4  ; Number of conditions (does not have to match number tables)

; Conditions that point to a given table
;
; NOTE: Numbers in orStates are decimal
;
; Table         Conditions               Comments
;  ID   
;       orState1  orState2  orState3
;          

    0   {      }  {      }  {      }   ; No chord keys down
    1   {1,2,5 }                       ; Shiftlock OR either Shift key down;
                                       ;       one orState
    2   {6}                            ; ALT
    2   {6} {1,2,3,4,5}                ; ALT and anything else

 END CONDITIONS                     ; The preceeding string is NOT a comment.
                                    ;      It must be in the file even if no
                                    ;      translation table are included.


START MULTIBYTES                    ; The preceeding string is NOT a comment.
                                    ;      It must be in the file even if no
                                    ;      translation multi byte strings are
                                    ;      included.

;
; Default Multibyte Tables

1    ; Number of multibyte strings

; String

   { 00:30, 00:B0, 00:30, 00:B0 }

END MULTIBYTES                      ; The preceeding string is NOT a comment.
                                    ;      It must be in the file even if no
                                    ;      translation multi byte strings are
                                    ;      included.

START DIACRITICS                    ; The preceeding string is NOT a comment.
                                    ;      It must be in the file even if no
                                    ;      translation diacritics are included.

;
; Default Diacritic Tables

0  ; Number of diacritic pairs

; Condition 1           Condition 1           Condition 12        MultiByte
;  Number                 Number                 Number                  Flag
; Of First     First     Of Second    Second    Of Result   Result
; Character  Character   Character  Character   Character  Character

;    01         27          00         65                00000016         F
;    00         4B          01         65                00010034         F
;    01         4B          01         63                00000001         T
;
; 1 Condition number is the same as table number in the conditions table
; 2 Usually zero.

END DIACRITICS                      ; The preceeding string is NOT a comment.
                                    ;      It must be in the file even if no
                                    ;      translation diacritics are included.

START TABLES                        ; The preceeding string is NOT a comment.
                                    ;      It must be in the file even if no
                                    ;      translation table are included.

;
; Default Emulation Tables Info
;
; In what follows entries are of the form xx:yy where
;
;    xx = the state (FF or FFFF means Do not emulate as a different state)
;    yy = the K1 iKey

; Number of emulation tables in special keys table

;
;   Table for case where no chord keys held down.
;

    FFFF:00    ; 000    help
    FFFF:01    ; 001    uparrow
    FFFF:02    ; 002    mark
    FFFF:03    ; 003    bound
    FFFF:04    ; 004    finish
    FFFF:05    ; 005    prev page
      01:60    ; 006    
    FFFF:07    ; 007    cancel
    FFFF:08    ; 008    backspace
    FFFF:09    ; 009    tab
    FFFF:0A    ; 00A    return
    FFFF:0B    ; 00B    downarrow
    FFFF:0C    ; 00C    next page
    FFFF:0D    ; 00D    next
    FFFF:0E    ; 00E    leftarrow
    FFFF:0F    ; 00F    rightarrow
    FFFF:10    ; 010    JUMP
    FFFF:11    ; 011    scrollup
    FFFF:12    ; 012    move
    FFFF:13    ; 013    scrolldown
    FFFF:14    ; 014    copy
    FFFF:15    ; 015    f1
    FFFF:16    ; 016    f2
    FFFF:17    ; 017    f3
    FFFF:18    ; 018    f4
    FFFF:19    ; 019    f5
    FFFF:1A    ; 01A    f6
    FFFF:1B    ; 01B    GO
    FFFF:1C    ; 01C    f7
    FFFF:1D    ; 01D    f8
    FFFF:1E    ; 01E    f9
    FFFF:1F    ; 01F    f10
    FFFF:20    ; 020    space
    FFFF:21    ; 021    9     (from 9 9 keypad key)
    FFFF:22    ; 022    DELETE CHAR
    FFFF:FF    ; 023    0
      01:38    ; 024    Numeric *
    FFFF:2F    ; 025    Numeric 
    FFFF:26    ; 026    COLUMN
    FFFF:27    ; 027    '     (from '  keypad key)
    FFFF:28    ; 028    PAGE
    FFFF:29    ; 029    PARAGRAPH
    FFFF:2A    ; 02A    SENTENCE
    FFFF:2B    ; 02B    =
    FFFF:2C    ; 02C    ,     (from , ,  key)
    FFFF:2D    ; 02D         (from  _  key)
    FFFF:2E    ; 02E    .     (from . \  key)
    FFFF:2F    ; 02F    
    FFFF:30    ; 030    0     (from 0 )  key)
    FFFF:31    ; 031    1     (from 1   key)
    FFFF:32    ; 032    2     (from 2 @  key)
    FFFF:33    ; 033    3     (from 3   key)
    FFFF:34    ; 034    4     (from 4 $  key)
    FFFF:35    ; 035    5     (from 5   key)
    FFFF:36    ; 036    6     (from 6   key)
    FFFF:37    ; 037    7     (from 7   key)
    FFFF:38    ; 038    8     (from 8 *  key)
    FFFF:39    ; 039    9     (from 9 (  key)
    FFFF:2B    ; 03A    Numeric =
    FFFF:3B    ; 03B     ; :
    FFFF:3C    ; 03C    WORD
    FFFF:3D    ; 03D    LINE
      01:35    ; 03E    Numeric Percent
    FFFF:FF    ; 03F    3F = iKeyInvalid
    FFFF:FF    ; 040    40 = iKeyNoKeys
    FFFF:41    ; 041    6     (from 6 6 keypad key)
    FFFF:42    ; 042         (from   keypad key)
    FFFF:43    ; 043    reset
    FFFF:44    ; 044    overtype
    FFFF:45    ; 045    lock
    FFFF:46    ; 046    2     (from 2 2 keypad key)
    FFFF:47    ; 047    3     (from 3 3 keypad key)
    FFFF:48    ; 048    shift
    FFFF:49    ; 049    shift
    FFFF:4A    ; 04A    0     (from 0 0 keypad key)
    FFFF:4B    ; 04B    .     (from . . keypad key)
    FFFF:4C    ; 04C    code
    FFFF:4D    ; 04D    code
    FFFF:FF    ; 04E
    FFFF:FF    ; 04F
    FFFF:FF    ; 050
    FFFF:FF    ; 051
    FFFF:52    ; 052    SYS
    FFFF:53    ; 053    ALT
      01:2B    ; 054    Numeric +
    FFFF:FF    ; 055
    FFFF:FF    ; 056
    FFFF:FF    ; 057
    FFFF:58    ; 058
    SM:01:4A   ; 059    Numeric 00   MUST BE MULTIBYTE
    FFFF:FF    ; 05A
    FFFF:5B    ; 05B    [
    FFFF:5C    ; 05C    7     (from 7 | keypad key)
    FFFF:5D    ; 05D    ]
    FFFF:FF    ; 05E    ^
    FFFF:FF    ; 05F
    FFFF:60    ; 060    1     (from 1  keypad key)
    FFFF:61    ; 061    a
    FFFF:62    ; 062    b
    FFFF:63    ; 063    c
    FFFF:64    ; 064    d
    FFFF:65    ; 065    e
    FFFF:66    ; 066    f
    FFFF:67    ; 067    g
    FFFF:68    ; 068    h
    FFFF:69    ; 069    i
    FFFF:6A    ; 06A    j
    FFFF:6B    ; 06B    k
    FFFF:6C    ; 06C    l
    FFFF:6D    ; 06D    m
    FFFF:6E    ; 06E    n
    FFFF:6F    ; 06F    o
    FFFF:70    ; 070    p
    FFFF:71    ; 071    q
    FFFF:72    ; 072    r
    FFFF:73    ; 073    s
    FFFF:74    ; 074    t
    FFFF:75    ; 075    u
    FFFF:76    ; 076    v
    FFFF:77    ; 077    w
    FFFF:78    ; 078    x
    FFFF:79    ; 079    y
    FFFF:7A    ; 07A    z
    FFFF:7B    ; 07B    4     (from 4 { keypad key)
    FFFF:7C    ; 07C    8     (from 8 \ keypad key)
    FFFF:7D    ; 07D    5     (from 5 } keypad key)
    FFFF:FF    ; 07E
    FFFF:7F    ; 07F    del

;
;   Table for case where either <SHIFT> chord key held down.
;

    FFFF:00    ; 000    help
    FFFF:01    ; 001    uparrow
    FFFF:02    ; 002    mark
    FFFF:03    ; 003    bound
    FFFF:04    ; 004    finish
    FFFF:05    ; 005    prev page
    FFFF:5E    ; 006    
    FFFF:07    ; 007    cancel
    FFFF:08    ; 008    backspace
    FFFF:09    ; 009    tab
    FFFF:0A    ; 00A    return
    FFFF:0B    ; 00B    downarrow
    FFFF:0C    ; 00C    next page
    FFFF:0D    ; 00D    next
    FFFF:0E    ; 00E    leftarrow
    FFFF:0F    ; 00F    rightarrow
    FFFF:10    ; 010    JUMP
    FFFF:11    ; 011    scrollup
    FFFF:12    ; 012    move
    FFFF:13    ; 013    scrolldown
    FFFF:14    ; 014    copy
    FFFF:15    ; 015    f1
    FFFF:16    ; 016    f2
    FFFF:17    ; 017    f3
    FFFF:18    ; 018    f4
    FFFF:19    ; 019    f5
    FFFF:1A    ; 01A    f6
    FFFF:1B    ; 01B    GO
    FFFF:1C    ; 01C    f7
    FFFF:1D    ; 01D    f8
    FFFF:1E    ; 01E    f9
    FFFF:1F    ; 01F    f10
    FFFF:20    ; 020    space
      00:5E    ; 021    caret     (from 9 pad key)
    FFFF:22    ; 022    Delete Char
    FFFF:FF    ; 023    0
    FFFF:38    ; 024    Numeric *
      00:2F    ; 025    Numeric 
    FFFF:26    ; 026    Column
    FFFF:27    ; 027         (from  quotes keypad key)
      09:7B    ; 026    PAGE
    FFFF:29    ; 029    PARAGRAPH
    FFFF:2A    ; 02A    SENTENCE
    FFFF:2B    ; 02B    +
    FFFF:2C    ; 02C    ,     (from , , key)
    FFFF:2D    ; 02D    _     (from  _ key)
    FFFF:7C    ; 02E    \     (from . \ key)
    FFFF:2F    ; 02F    ?
    FFFF:30    ; 030    )     (from 0 ) key)
    FFFF:31    ; 031         (from 1  key)
    FFFF:32    ; 032    @     (from 2 @ key)
    FFFF:33    ; 033         (from 3  key)
    FFFF:34    ; 034    $     (from 4 $ key)
    FFFF:35    ; 035         (from 5  key)
    FFFF:36    ; 036         (from 6  key)
    FFFF:37    ; 037         (from 7  key)
    FFFF:38    ; 038    *     (from 8 * key)
    FFFF:39    ; 039    (     (from 9 ( key)
      00:2B    ; 03A    Numeric =
    FFFF:3B    ; 03B    ; :
    FFFF:3C    ; 03C    WORD
    FFFF:3D    ; 03D    LINE
    FFFF:35    ; 03E    Numeric Percent
    FFFF:FF    ; 03F    3F = iKeyInvalid
    FFFF:FF    ; 040    40 = iKeyNoKeys
    FFFF:5E    ; 041    6     (from 6  keypad key)
    FFFF:42    ; 042         (from   keypad key)
    FFFF:43    ; 043    reset
    FFFF:44    ; 044    overtype
    FFFF:45    ; 045    lock
      00:06    ; 046    2     (from 2  keypad key)
    FFFF:06    ; 047    3     (from 3  keypad key)
    FFFF:48    ; 048    shift
    FFFF:49    ; 049    shift
    FFFF:4A    ; 04A    0     (from 0 0 keypad key)
    FFFF:4B    ; 04B    .     (from . . keypad key)
    FFFF:4C    ; 04C    code
    FFFF:4D    ; 04D    code
    FFFF:FF    ; 04E
    FFFF:FF    ; 04F
    FFFF:FF    ; 050
    FFFF:FF    ; 051
    FFFF:52    ; 052    SYS
    FFFF:53    ; 053    ALT
    FFFF:2B    ; 054    Numeric +
    FFFF:FF    ; 055
    FFFF:FF    ; 056
    FFFF:FF    ; 057
    FFFF:58    ; 058
    SM:01:4A   ; 059    Numeric 00   
    FFFF:FF    ; 05A
    FFFF:5B    ; 05B    <
    FFFF:5C    ; 05C    |     (from 7 | keypad key)
    FFFF:5D    ; 05D    >
    FFFF:FF    ; 05E      ???
    FFFF:FF    ; 05F
    FFFF:60    ; 060    left quote     (from 1 keypad key)
    FFFF:61    ; 061    A
    FFFF:62    ; 062    B
    FFFF:63    ; 063    C
    FFFF:64    ; 064    D
    FFFF:65    ; 065    E
    FFFF:66    ; 066    F
    FFFF:67    ; 067    G
    FFFF:68    ; 068    H
    FFFF:69    ; 069    I
    FFFF:6A    ; 06A    J
    FFFF:6B    ; 06B    K
    FFFF:6C    ; 06C    L
    FFFF:6D    ; 06D    M
    FFFF:6E    ; 06E    N
    FFFF:6F    ; 06F    O
    FFFF:70    ; 070    P
    FFFF:71    ; 071    Q
    FFFF:72    ; 072    R
    FFFF:73    ; 073    S
    FFFF:74    ; 074    T
    FFFF:75    ; 075    U
    FFFF:76    ; 076    V
    FFFF:77    ; 077    W
    FFFF:78    ; 078    X
    FFFF:79    ; 079    Y
    FFFF:7A    ; 07A    Z
    FFFF:7B    ; 07B    {     (from 4 { keypad key)
    FFFF:7C    ; 07C    \     (from 8 \ keypad key)
    FFFF:7D    ; 07D    }     (from 5 } keypad key)
    FFFF:FF    ; 07E
    FFFF:7F    ; 07F    del

;
;   Table for case where <ALT> chord key held down.
;

    FFFF:00    ; 000    help
    FFFF:01    ; 001    uparrow
    FFFF:02    ; 002    mark
    FFFF:03    ; 003    bound
    FFFF:04    ; 004    finish
    FFFF:05    ; 005    prev page
    FFFF:5E    ; 006    
    FFFF:07    ; 007    cancel
    FFFF:08    ; 008    backspace
    FFFF:09    ; 009    tab
    FFFF:0A    ; 00A    return
    FFFF:0B    ; 00B    downarrow
    FFFF:0C    ; 00C    next page
    FFFF:0D    ; 00D    next
    FFFF:0E    ; 00E    leftarrow
    FFFF:0F    ; 00F    rightarrow
    FFFF:10    ; 010    JUMP
    FFFF:11    ; 011    scrollup
    FFFF:12    ; 012    move
    FFFF:13    ; 013    scrolldown
    FFFF:14    ; 014    copy
    FFFF:15    ; 015    f1
    FFFF:16    ; 016    f2
    FFFF:17    ; 017    f3
    FFFF:18    ; 018    f4
    FFFF:19    ; 019    f5
    FFFF:1A    ; 01A    f6
    FFFF:1B    ; 01B    GO
    FFFF:1C    ; 01C    f7
    FFFF:1D    ; 01D    f8
    FFFF:1E    ; 01E    f9
    FFFF:1F    ; 01F    f10
    FFFF:20    ; 020    space
      00:5E    ; 021    caret     (from 9 pad key)
    FFFF:22    ; 022    Delete Char
    FFFF:FF    ; 023    0
    FFFF:38    ; 024    Numeric *
      00:2F    ; 025    Numeric 
    FFFF:26    ; 026    Column
    FFFF:27    ; 027         (from  quotes keypad key)
    FFFF:28    ; 028    PAGE
    FFFF:29    ; 029    PARAGRAPH
    FFFF:2A    ; 02A    SENTENCE
    FFFF:2B    ; 02B    +
    FFFF:2C    ; 02C    ,     (from , ,  key)
    FFFF:2D    ; 02D    _     (from  _  key)
    FFFF:7C    ; 02E    .     (from . \  key)
    FFFF:2F    ; 02F    ?
    FFFF:30    ; 030    )     (from 0 )  key)
    FFFF:31    ; 031         (from 1   key)
    FFFF:32    ; 032    @     (from 2 @  key)
    FFFF:33    ; 033         (from 3   key)
    FFFF:34    ; 034    $     (from 4 $  key)
    FFFF:35    ; 035         (from 5   key)
    FFFF:36    ; 036         (from 6   key)
    FFFF:37    ; 037         (from 7   key)
    FFFF:38    ; 038    *     (from 8 *  key)
    FFFF:39    ; 039    (     (from 9 (  key)
      00:2B    ; 03A    Numeric =
    FFFF:3B    ; 03B    ; :
    FFFF:3C    ; 03C    WORD
    FFFF:3D    ; 03D    LINE
    FFFF:35    ; 03E    Numeric Percent
    FFFF:FF    ; 03F    3F = iKeyInvalid
    FFFF:FF    ; 040    40 = iKeyNoKeys
    FFFF:5E    ; 041    6     (from 6  keypad key)
    FFFF:42    ; 042         (from   keypad key)
    FFFF:43    ; 043    reset
    FFFF:44    ; 044    overtype
    FFFF:45    ; 045    lock
      00:06    ; 046    2     (from 2  keypad key)
    FFFF:06    ; 047    3     (from 3  keypad key)
    FFFF:48    ; 048    shift
    FFFF:49    ; 049    shift
    FFFF:4A    ; 04A    0     (from 0 0 keypad key)
    FFFF:4B    ; 04B    .     (from . . keypad key)
    FFFF:4C    ; 04C    code
    FFFF:4D    ; 04D    code
    FFFF:FF    ; 04E
    FFFF:FF    ; 04F
    FFFF:FF    ; 050
    FFFF:FF    ; 051
      00:52    ; 052    SYS
    FFFF:53    ; 053    ALT
    FFFF:2B    ; 054    Numeric +
    FFFF:FF    ; 055
    FFFF:FF    ; 056
    FFFF:FF    ; 057
    FFFF:58    ; 058    ?
    SM:01:4A   ; 059    Numeric 00   
    FFFF:FF    ; 05A
    FFFF:5B    ; 05B    <
    FFFF:5C    ; 05C    |     (from 7 | keypad key)
    FFFF:5D    ; 05D    >
    FFFF:FF    ; 05E      ???
    FFFF:FF    ; 05F
    FFFF:60    ; 060    left quote     (from 1 keypad key)
    FFFF:61    ; 061    A
    FFFF:62    ; 062    B
    FFFF:63    ; 063    C
    FFFF:64    ; 064    D
    FFFF:65    ; 065    E
    FFFF:66    ; 066    F
    FFFF:67    ; 067    G
    FFFF:68    ; 068    H
    FFFF:69    ; 069    I
    FFFF:6A    ; 06A    J
    FFFF:6B    ; 06B    K
    FFFF:6C    ; 06C    L
    FFFF:6D    ; 06D    M
    FFFF:6E    ; 06E    N
    FFFF:6F    ; 06F    O
    FFFF:70    ; 070    P
    FFFF:71    ; 071    Q
    FFFF:72    ; 072    R
    FFFF:73    ; 073    S
    FFFF:74    ; 074    T
    FFFF:75    ; 075    U
    FFFF:76    ; 076    V
    FFFF:77    ; 077    W
    FFFF:78    ; 078    X
    FFFF:79    ; 079    Y
    FFFF:7A    ; 07A    Z
    FFFF:7B    ; 07B    {     (from 4 { keypad key)
    FFFF:7C    ; 07C    \     (from 8 \ keypad key)
    FFFF:7D    ; 07D    }     (from 5 } keypad key)
    FFFF:FF    ; 07E
    FFFF:7F    ; 07F    del

END TABLES                          ; The preceeding string is NOT a comment.
                                    ;      It must be in the file even if no
                                    ;      translation table are included.
