nogueira wrote: >the routine to read the keyboard is ok, I can receive the scan >codes. > >What I need is a easy way to transform the scancode to ASCII, >i.e. 0X1c --> 'A'. Octavio I have some code to convert PC AT keyboard codes to acsii chr, but it gives a 3 ascii chr description for non alphanumeric keys. (for displaying on an LCD) As the routine is in a file of 27K, and will have to be cut down to give only 1 ascii code, I'll send it direct Steve Lawther (usual rules - If you make money from it, giz a bit)