keyboard matrix to ascii code (Development Foros MSX)MSX Resource Center            
                       
English Nederlands Espa�ol Portugu�s Russian                  
 Noticias
   Página principal
  Almacén de noticias
  Temas de noticias

 Recursos
   Foros MSX
  Artículos
  Analisis
  Informe de ferias/RUs
  Álbum de fotos
  Ferias y encuentros
  Encuestas
  Enlaces
  Buscar

 Software
   Descargas
  Tienda Online

 MRC
   Quiénes somos
  Únete a nuestro equipo
  Donar
  Políticas
  Contacta con nosotros
  Enlázanos
  Estadísticas

 Buscar
 
  

  

 Login
 

Login

Contraseña




¿Aún no tienes una cuenta? ¡Conviértete en miembro del MSX Resource Center! ¡Únete a nosotros!.


 Estadísticas
 

Hay 40 invitados y 1 miembro en línea

Eres un usuario anónimo.
 

Foros MSX


Foros MSX

Development - keyboard matrix to ascii code

Autor

keyboard matrix to ascii code

turbor
msx freak
Mensajes: 181
Publicado: Julio 25 2005, 23:01   
Hello

So far in my asm programs I have always read directly the keyboard matrix. Nice and fast etc
But now I would like to show on screen the 'correct' letter for the matrix input
so that it displays the correct letter letter if you are using an 'irregular' keyboard
(azerty , qwertz, ...) instead of blindly assuming that everybody has a qwerty keyboard.
Is there somewhere a standard way to have this translation done ? a bios call, a system variable to check?
Preferably without using the default bios keyboard (interupt) handling of course
flyguille
msx master
Mensajes: 1237
Publicado: Julio 25 2005, 23:48   
go to map.tni.nl

you can see all the matrices

use them accourding the keyboard version ID found in BIOS
Sonic_aka_T

msx guru
Mensajes: 2269
Publicado: Julio 25 2005, 23:50   
You can check the keyboard type in the BIOS, it's in byte $2C iirc. I think there's an article on MAP dealing with the differences between the keyboard matrices. You could use that to make a little 'translation table' which you can select/alter after reading $2C.
Sonic_aka_T

msx guru
Mensajes: 2269
Publicado: Julio 25 2005, 23:51   
Hi fly! ^_^
flyguille
msx master
Mensajes: 1237
Publicado: Julio 26 2005, 00:44   
Hi, Sonic_aka_T how goes the things there?
 
 







(c) 1994 - 2009 Fundación MSX Resource Center. MSX es una marca registrada de MSX Licensing Corporation