home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / emulate / qdos4ami.lha / sidecar / ScanCode.Table < prev    next >
Text File  |  1989-06-21  |  4KB  |  171 lines

  1.  
  2. ;* **************************************************************************
  3. ;* 
  4. ;* Ascii to Scancode Translation Table from the Amiga Keyboard to PC Windows
  5. ;* For the Zaphod Project
  6. ;*
  7. ;* Copyright (C) 1987, Commodore-Amiga, Inc.
  8. ;* 
  9. ;* PROPRIETARY
  10. ;*
  11. ;* HISTORY     Name           Description
  12. ;* -------     ------------   --------------------------------------------
  13. ;* 13 Jan 87   =RJ Mical=     Created this file from the table in ascii2pc.c
  14. ;*
  15. ;* **************************************************************************
  16.  
  17. ; This file contains the definitions of the scancode combinations that
  18. ; must be sent to the PC in order to emulate the PC keyboard entry 
  19. ; of ASCII characters.
  20. ; Each ASCII entry is comprised of two parts:  flags describing which 
  21. ; control characters must be sent with the scancode; and the scancode.
  22. ; For example, to send a control-a, the control key must be sent along with
  23. ; the scancode for the letter a.  To send an uppercase-a, the shift key
  24. ; must be sent along with the scancode for 'a'.  A special case is
  25. ; control-NULL (precedes control-a), which is achieved by specifying
  26. ; the control key, the shift key and the scancode for '2'.
  27. ; To specify the control characters, use these flags:
  28. ;    $01 - Send the CONTROL scancode
  29. ;    $02 - Send the SHIFT scancode
  30. ;    $03 - For your reference, this means:  send both CONTROL and SHIFT
  31. ; If you want no control characters, specify $00 of course.
  32. ; These values are currently for the American keyboard.
  33.  
  34.  
  35.     $03,  3,    ; ^@ 
  36.  
  37.     $01, 30,    ; ^A 
  38.     $01, 48,    ; ^B 
  39.     $01, 46,    ; ^C 
  40.     $01, 32,    ; ^D 
  41.     $01, 18,    ; ^E 
  42.     $01, 33,    ; ^F 
  43.     $01, 34,    ; ^G 
  44.     $01, 35,    ; ^H 
  45.     $01, 23,    ; ^I 
  46.     $01, 50,    ; ^J ??? Was equal to 36, now 50 for \n from Notepad 
  47.     $01, 37,    ; ^K 
  48.     $01, 38,    ; ^L 
  49.     $01, 50,    ; ^M 
  50.     $01, 49,    ; ^N 
  51.     $01, 24,    ; ^O 
  52.     $01, 25,    ; ^P 
  53.     $01, 16,    ; ^Q 
  54.     $01, 19,    ; ^R 
  55.     $01, 31,    ; ^S 
  56.     $01, 20,    ; ^T 
  57.     $01, 22,    ; ^U 
  58.     $01, 47,    ; ^V 
  59.     $01, 17,    ; ^W 
  60.     $01, 45,    ; ^X 
  61.     $01, 21,    ; ^Y 
  62.     $01, 44,    ; ^Z 
  63.     $00,  1,    ; ESCAPE key
  64.     $00,  0,    ; ??? 28 
  65.     $00,  0,    ; ??? 29 
  66.     $00,  0,    ; ??? 30 
  67.     $00,  0,    ; ??? 31 
  68.  
  69.     $00, 57,    ; SPACE 
  70.     $02,  2,    ; ! 
  71.     $02, 40,    ; " 
  72.     $02,  4,    ; # 
  73.     $02,  5,    ; $ 
  74.     $02,  6,    ; % 
  75.     $02,  8,    ; & 
  76.     $00, 40,    ; ' 
  77.     $02, 10,    ; ( 
  78.     $02, 11,    ; ) 
  79.     $02,  9,    ; * 
  80.     $02, 13,    ; + 
  81.     $00, 51,    ; , 
  82.     $00, 12,    ; - 
  83.     $00, 52,    ; . 
  84.     $00, 53,    ; / 
  85.     $00, 11,    ; 0 
  86.     $00,  2,    ; 1 
  87.     $00,  3,    ; 2 
  88.     $00,  4,    ; 3 
  89.     $00,  5,    ; 4 
  90.     $00,  6,    ; 5 
  91.     $00,  7,    ; 6 
  92.     $00,  8,    ; 7 
  93.     $00,  9,    ; 8 
  94.     $00, 10,    ; 9 
  95.     $02, 39,    ; : 
  96.     $00, 39,    ; ; 
  97.     $02, 51,    ; < 
  98.     $00, 13,    ; = 
  99.     $02, 52,    ; > 
  100.     $02, 53,    ; ? 
  101.  
  102.     $02,  3,    ; @ 
  103.     $02, 30,    ; A 
  104.     $02, 48,    ; B 
  105.     $02, 46,    ; C 
  106.     $02, 32,    ; D 
  107.     $02, 18,    ; E 
  108.     $02, 33,    ; F 
  109.     $02, 34,    ; G 
  110.     $02, 35,    ; H 
  111.     $02, 23,    ; I 
  112.     $02, 36,    ; J 
  113.     $02, 37,    ; K 
  114.     $02, 38,    ; L 
  115.     $02, 50,    ; M 
  116.     $02, 49,    ; N 
  117.     $02, 24,    ; O 
  118.     $02, 25,    ; P 
  119.     $02, 16,    ; Q 
  120.     $02, 19,    ; R 
  121.     $02, 31,    ; S 
  122.     $02, 20,    ; T 
  123.     $02, 22,    ; U 
  124.     $02, 47,    ; V 
  125.     $02, 17,    ; W 
  126.     $02, 45,    ; X 
  127.     $02, 21,    ; Y 
  128.     $02, 44,    ; Z 
  129.     $00, 26,    ; [ 
  130.     $00, 43,    ; \ 
  131.     $00, 27,    ; ] 
  132.     $02,  7,    ; ^ 
  133.     $02, 12,    ; _ 
  134.  
  135.     $00, 41,    ; ` 
  136.     $00, 30,    ; a 
  137.     $00, 48,    ; b 
  138.     $00, 46,    ; c 
  139.     $00, 32,    ; d 
  140.     $00, 18,    ; e 
  141.     $00, 33,    ; f 
  142.     $00, 34,    ; g 
  143.     $00, 35,    ; h 
  144.     $00, 23,    ; i 
  145.     $00, 36,    ; j 
  146.     $00, 37,    ; k 
  147.     $00, 38,    ; l 
  148.     $00, 50,    ; m 
  149.     $00, 49,    ; n 
  150.     $00, 24,    ; o 
  151.     $00, 25,    ; p 
  152.     $00, 16,    ; q 
  153.     $00, 19,    ; r 
  154.     $00, 31,    ; s 
  155.     $00, 20,    ; t 
  156.     $00, 22,    ; u 
  157.     $00, 47,    ; v 
  158.     $00, 17,    ; w 
  159.     $00, 45,    ; x 
  160.     $00, 21,    ; y 
  161.     $00, 44,    ; z 
  162.     $02, 26,    ; { 
  163.     $02, 43,    ; | 
  164.     $02, 27,    ; } 
  165.     $02, 41,    ; ~ 
  166.  
  167.     $00, 14,    ; DEL key
  168.