home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / ENTERPRS / CPM / UTILS / A / BIOSR4.ARC / CXKYCODE.ASM < prev    next >
Assembly Source File  |  1987-04-26  |  4KB  |  173 lines

  1.     title    'CXKYCODE-  function and key def file   26 May 85'
  2.  
  3.  
  4.     maclib    cxequ
  5.  
  6. number$blks    equ    4        ; 256 byte blocks
  7. def$per$key    equ    4
  8. key$tbl$size    equ    11*8*def$per$key
  9. color$tbl$size    equ    16
  10.  
  11. ;
  12. ;    default Function keys and key definition
  13. ;
  14.     org    sys$key$area
  15.  
  16.         dw    ascii$tbl-2
  17.  
  18. msgtbl:        db    'dir a:',cr,0
  19.         db    0
  20.         db    'dir b:',cr,0
  21.         db    0
  22.         db    'dir c:',cr,0
  23.         db    0
  24.         db    'dir d:',cr,0
  25.         db    'F8',0
  26.         db    'F9',0
  27.         db    'F10',0
  28.         db    'F11',0
  29.         db    'F12',0
  30.         db    'F13',0
  31.         db    'F14',0
  32.         db    'F16',0
  33.         db    'F16',0
  34.         db    'F17',0
  35.         db    'F18',0
  36.         db    'F19',0
  37.         db    'F20',0
  38.         db    'F21',0
  39.         db    'F22',0
  40.         db    'F23',0
  41.         db    'F24',0
  42.         db    'F25',0
  43.         db    'F26',0
  44.         db    'F27',0
  45.         db    'F28',0
  46.         db    'F29',0
  47.         db    'F30',0
  48.         db    'F31',0
  49.         db    'type ',0
  50.  
  51.  
  52. msg$size    equ    $-msgtbl
  53.  
  54.     rept    (number$blks*256)-msg$size-key$tbl$size-color$tbl$size
  55.         db    0ffh
  56.     endm
  57.  
  58.     page
  59.  
  60. ascii$tbl:
  61.     db    7fh,7fh,16h,16h        ; INS DEL
  62.     db    0dh,0dh,0dh,0dh        ; RETURN
  63.     db    00h,00h,00h,00h        ; LF RT
  64.     db    86h,86h,86h,86h        ; F7 F8
  65.     db    80h,80h,80h,80h        ; F1 F2
  66.     db    82h,82h,82h,82h        ; F3 F4
  67.     db    84h,84h,84h,84h        ; F5 F6
  68.     db    00h,00h,00h,00h        ; UP DOWN
  69.  
  70.     db    33h,33h,23h,00h        ; 3 #
  71.     db    77h,57h,57h,17h        ; W
  72.     db    61h,41h,41h,01h        ; A
  73.     db    34h,34h,24h,00h        ; 4 $
  74.     db    7ah,5ah,5ah,1ah        ; Z
  75.     db    73h,53h,53h,13h        ; S
  76.     db    65h,45h,45h,05h        ; E
  77.     db    00h,00h,00h,00h        ; (lf shift)
  78.  
  79.     db    35h,35h,25h,00h        ; 5 %
  80.     db    72h,52h,52h,12h        ; R
  81.     db    64h,44h,44h,04h        ; D
  82.     db    36h,36h,26h,00h        ; 6 &
  83.     db    63h,43h,43h,03h        ; C
  84.     db    66h,46h,46h,06h        ; F
  85.     db    74h,54h,54h,14h        ; T
  86.     db    78h,58h,58h,18h        ; X
  87.  
  88.     db    37h,37h,27h,00h        ; 7 '
  89.     db    79h,59h,59h,19h        ; Y
  90.     db    67h,47h,47h,07h        ; G
  91.     db    38h,38h,28h,00h        ; 8 (
  92.     db    62h,42h,42h,02h        ; B
  93.     db    68h,48h,48h,08h        ; H
  94.     db    75h,55h,55h,15h        ; U
  95.     db    76h,56h,56h,16h        ; V
  96.  
  97.     db    39h,39h,29h,00h        ; 9 )
  98.     db    69h,49h,49h,09h        ; I
  99.     db    6ah,4ah,4ah,0ah        ; J
  100.     db    30h,30h,30h,00h        ; 0
  101.     db    6dh,4dh,4dh,0dh        ; M
  102.     db    6bh,4bh,4bh,0bh        ; K
  103.     db    6fh,4fh,4fh,0fh        ; O
  104.     db    6eh,4eh,4eh,0eh        ; N
  105.  
  106.     db    2bh,2bh,2bh,00h        ; +
  107.     db    70h,50h,50h,10h        ; P
  108.     db    6ch,4ch,4ch,0ch        ; L
  109.     db    2dh,2dh,2dh,00h        ; -
  110.     db    2eh,2eh,3eh,00h        ; . >
  111.     db    3ah,3ah,5bh,7bh        ; : [ {
  112.     db    40h,40h,40h,00h        ; @
  113.     db    2ch,2ch,3ch,00h        ; , <
  114.  
  115.     db    23h,23h,23h,60h        ; pound `
  116.     db    2ah,2ah,2ah,00h        ; *
  117.     db    3bh,3bh,5dh,7dh        ; ; ] }
  118.     db    11h,11h,1ah,00h        ; clear/home
  119.     db    00h,00h,00h,00h        ; (rt shift)
  120.     db    3dh,3dh,3dh,7eh        ; = ~
  121.     db    5eh,5eh,7ch,7ch        ; ^ PI |
  122.     db    2fh,2fh,3fh,5ch        ; / ? \
  123.  
  124.     db    31h,31h,21h,00h        ; 1
  125.     db    5fh,5fh,5fh,7fh        ; <-
  126.     db    09h,15h,30h,00h        ; (CONTROL) sound1 sound2
  127.     db    32h,32h,22h,00h        ; 2 "
  128.     db    20h,20h,20h,00h        ; Space
  129.     db    21h,20h,00h,00h        ; (Commodore) sound3
  130.     db    71h,51h,51h,11h        ; Q
  131.     db    00h,00h,00h,00h        ; RUN STOP
  132.  
  133.     db    9fh,9fh,9fh,9fh        ; /HELP/
  134.     db    38h,38h,38h,00h        ; /8/ 
  135.     db    35h,35h,35h,00h        ; /5/
  136.     db    09h,09h,09h,00h        ; /TAB/
  137.     db    32h,32h,32h,00h        ; /2/
  138.     db    34h,34h,34h,00h        ; /4/
  139.     db    37h,37h,37h,00h        ; /7/
  140.     db    31h,31h,31h,00h        ; /1/
  141.  
  142.     db    1bh,1bh,1bh,00h        ; /ESC/
  143.     db    2bh,2bh,2bh,00h        ; /+/
  144.     db    2dh,2dh,2dh,00h        ; /-/
  145.     db    0Ah,0Ah,0Ah,0Ah        ; /Line Feed/
  146.     db    0dh,0dh,0dh,0dh        ; /ENTR/
  147.     db    36h,36h,36h,00h        ; /6/
  148.     db    39h,39h,39h,00h        ; /9/
  149.     db    33h,33h,33h,00h        ; /3/
  150.  
  151.     db    0F0h,00h,00h,00h        ; /Alt/
  152.     db    30h,30h,30h,00h        ; /0/
  153.     db    2eh,2eh,2eh,00h        ; /./
  154.     db    05h,05h,12h,12h        ; /UP/
  155.     db    18h,18h,03h,03h        ; /DN/
  156.     db    01h,01h,13h,00h        ; /LF/
  157.     db    06h,06h,04h,00h        ; /RT/
  158.     db    0f1h,0f1h,0f1h,0f2h    ; /no scroll/
  159.  
  160. ;
  161. ;    logical color table (used with ESC ESC ESC char)
  162. ;                (where char is 50h to 7fh)
  163. ;
  164.     db    000h,011h,022h,033h
  165.     db    044h,055h,066h,077h
  166.     db    088h,099h,0aah,0bbh    
  167.     db    0cch,0ddh,0eeh,0ffh
  168.  
  169. char is 50h to 7fh)
  170. ;
  171.     db    000h,011h,022h,033h
  172.     db    044h,055h,066h,077h
  173.     db    088