Changing keyboard mappings

Dudas, cuestiones, sugerencias y peticiones en general sobre el proyecto / Questions and requests about the project
Responder
pinkle
Mensajes: 8
Registrado: 13 Mar 2017, 10:45

Changing keyboard mappings

Mensaje por pinkle » 27 Mar 2017, 11:13

What is the best way to achieve changing keyboard mapping on ZXUno spectrum core? I would like to change a few things such as the NMI key assignment.

Avatar de Usuario
antoniovillena
Mensajes: 2600
Registrado: 27 Sep 2015, 20:41

Re: Changing keyboard mappings

Mensaje por antoniovillena » 27 Mar 2017, 11:41

By changin this file:
http://www.atc.us.es/svn/zxuno/cores/sp ... ybmap_us.c

But at this moment the repository is off by maintenance.
pinkle escribió:What is the best way to achieve changing keyboard mapping on ZXUno spectrum core? I would like to change a few things such as the NMI key assignment.

pinkle
Mensajes: 8
Registrado: 13 Mar 2017, 10:45

Re: Changing keyboard mappings

Mensaje por pinkle » 27 Mar 2017, 14:36

Thank you for your quick replies as always. Sorry for typing in English on a predominantly Spanish speaking board, but I am unable to speak Spanish and would not want to make you suffer with Google Translations of my questions :)

azesmbog
Mensajes: 235
Registrado: 17 Feb 2016, 23:07

Re: Changing keyboard mappings

Mensaje por azesmbog » 28 Mar 2017, 10:22

antoniovillena escribió:By changin this file:
http://www.atc.us.es/svn/zxuno/cores/sp ... ybmap_us.c
Чем собирать\компилировать этот файл? (Build\compile file => hex??)
я бы тоже хотел изменить NMI key
I would like to change a few things such as the NMI key assignment.

Avatar de Usuario
antoniovillena
Mensajes: 2600
Registrado: 27 Sep 2015, 20:41

Re: Changing keyboard mappings

Mensaje por antoniovillena » 28 Mar 2017, 11:00

azesmbog escribió: Чем собирать\компилировать этот файл? (Build\compile file => hex??)
я бы тоже хотел изменить NMI key
Use any ANSI C compiler to generate the file. Then copy this file to SYS/keymaps into SD and with this ESXDOS command:
.keymap US

Finally, if you want to incorporate to the firmware uncomment this line in make.bat and then execute it:
rem zx7b US us.zx7b

azesmbog
Mensajes: 235
Registrado: 17 Feb 2016, 23:07

Re: Changing keyboard mappings

Mensaje por azesmbog » 04 Abr 2017, 17:51

Спасибо.
Все получилось :)
Компилировал в Code::Blocks
EXE-файл собрался, только я сразу не понял - зачем мне он, если мне надо hex?:)) И только сегодня додумался запустить его на исполнение :)))
Век живи - век учись !

Responder