home *** CD-ROM | disk | FTP | other *** search
- title 'CXKYCODE- function and key def file 26 May 85'
-
-
- maclib cxequ
-
- number$blks equ 4 ; 256 byte blocks
- def$per$key equ 4
- key$tbl$size equ 11*8*def$per$key
- color$tbl$size equ 16
-
- ;
- ; default Function keys and key definition
- ;
- org sys$key$area
-
- dw ascii$tbl-2
-
- msgtbl: db 'dir a:',cr,0
- db 0
- db 'dir b:',cr,0
- db 0
- db 'dir c:',cr,0
- db 0
- db 'dir d:',cr,0
- db 'F8',0
- db 'F9',0
- db 'F10',0
- db 'F11',0
- db 'F12',0
- db 'F13',0
- db 'F14',0
- db 'F16',0
- db 'F16',0
- db 'F17',0
- db 'F18',0
- db 'F19',0
- db 'F20',0
- db 'F21',0
- db 'F22',0
- db 'F23',0
- db 'F24',0
- db 'F25',0
- db 'F26',0
- db 'F27',0
- db 'F28',0
- db 'F29',0
- db 'F30',0
- db 'F31',0
- db 'type ',0
-
-
- msg$size equ $-msgtbl
-
- rept (number$blks*256)-msg$size-key$tbl$size-color$tbl$size
- db 0ffh
- endm
-
- page
-
- ascii$tbl:
- db 7fh,7fh,16h,16h ; INS DEL
- db 0dh,0dh,0dh,0dh ; RETURN
- db 00h,00h,00h,00h ; LF RT
- db 86h,86h,86h,86h ; F7 F8
- db 80h,80h,80h,80h ; F1 F2
- db 82h,82h,82h,82h ; F3 F4
- db 84h,84h,84h,84h ; F5 F6
- db 00h,00h,00h,00h ; UP DOWN
-
- db 33h,33h,23h,00h ; 3 #
- db 77h,57h,57h,17h ; W
- db 61h,41h,41h,01h ; A
- db 34h,34h,24h,00h ; 4 $
- db 7ah,5ah,5ah,1ah ; Z
- db 73h,53h,53h,13h ; S
- db 65h,45h,45h,05h ; E
- db 00h,00h,00h,00h ; (lf shift)
-
- db 35h,35h,25h,00h ; 5 %
- db 72h,52h,52h,12h ; R
- db 64h,44h,44h,04h ; D
- db 36h,36h,26h,00h ; 6 &
- db 63h,43h,43h,03h ; C
- db 66h,46h,46h,06h ; F
- db 74h,54h,54h,14h ; T
- db 78h,58h,58h,18h ; X
-
- db 37h,37h,27h,00h ; 7 '
- db 79h,59h,59h,19h ; Y
- db 67h,47h,47h,07h ; G
- db 38h,38h,28h,00h ; 8 (
- db 62h,42h,42h,02h ; B
- db 68h,48h,48h,08h ; H
- db 75h,55h,55h,15h ; U
- db 76h,56h,56h,16h ; V
-
- db 39h,39h,29h,00h ; 9 )
- db 69h,49h,49h,09h ; I
- db 6ah,4ah,4ah,0ah ; J
- db 30h,30h,30h,00h ; 0
- db 6dh,4dh,4dh,0dh ; M
- db 6bh,4bh,4bh,0bh ; K
- db 6fh,4fh,4fh,0fh ; O
- db 6eh,4eh,4eh,0eh ; N
-
- db 2bh,2bh,2bh,00h ; +
- db 70h,50h,50h,10h ; P
- db 6ch,4ch,4ch,0ch ; L
- db 2dh,2dh,2dh,00h ; -
- db 2eh,2eh,3eh,00h ; . >
- db 3ah,3ah,5bh,7bh ; : [ {
- db 40h,40h,40h,00h ; @
- db 2ch,2ch,3ch,00h ; , <
-
- db 23h,23h,23h,60h ; pound `
- db 2ah,2ah,2ah,00h ; *
- db 3bh,3bh,5dh,7dh ; ; ] }
- db 11h,11h,1ah,00h ; clear/home
- db 00h,00h,00h,00h ; (rt shift)
- db 3dh,3dh,3dh,7eh ; = ~
- db 5eh,5eh,7ch,7ch ; ^ PI |
- db 2fh,2fh,3fh,5ch ; / ? \
-
- db 31h,31h,21h,00h ; 1
- db 5fh,5fh,5fh,7fh ; <-
- db 09h,15h,30h,00h ; (CONTROL) sound1 sound2
- db 32h,32h,22h,00h ; 2 "
- db 20h,20h,20h,00h ; Space
- db 21h,20h,00h,00h ; (Commodore) sound3
- db 71h,51h,51h,11h ; Q
- db 00h,00h,00h,00h ; RUN STOP
-
- db 9fh,9fh,9fh,9fh ; /HELP/
- db 38h,38h,38h,00h ; /8/
- db 35h,35h,35h,00h ; /5/
- db 09h,09h,09h,00h ; /TAB/
- db 32h,32h,32h,00h ; /2/
- db 34h,34h,34h,00h ; /4/
- db 37h,37h,37h,00h ; /7/
- db 31h,31h,31h,00h ; /1/
-
- db 1bh,1bh,1bh,00h ; /ESC/
- db 2bh,2bh,2bh,00h ; /+/
- db 2dh,2dh,2dh,00h ; /-/
- db 0Ah,0Ah,0Ah,0Ah ; /Line Feed/
- db 0dh,0dh,0dh,0dh ; /ENTR/
- db 36h,36h,36h,00h ; /6/
- db 39h,39h,39h,00h ; /9/
- db 33h,33h,33h,00h ; /3/
-
- db 0F0h,00h,00h,00h ; /Alt/
- db 30h,30h,30h,00h ; /0/
- db 2eh,2eh,2eh,00h ; /./
- db 05h,05h,12h,12h ; /UP/
- db 18h,18h,03h,03h ; /DN/
- db 01h,01h,13h,00h ; /LF/
- db 06h,06h,04h,00h ; /RT/
- db 0f1h,0f1h,0f1h,0f2h ; /no scroll/
-
- ;
- ; logical color table (used with ESC ESC ESC char)
- ; (where char is 50h to 7fh)
- ;
- db 000h,011h,022h,033h
- db 044h,055h,066h,077h
- db 088h,099h,0aah,0bbh
- db 0cch,0ddh,0eeh,0ffh
-
- char is 50h to 7fh)
- ;
- db 000h,011h,022h,033h
- db 044h,055h,066h,077h
- db 088