National keyboard in SMSQ/E

Anything QL Software or Programming Related.
Post Reply
User avatar
logout
ROM Dongle
Posts: 10
Joined: Mon Mar 18, 2024 8:48 am
Location: Prague, Czech Republic

National keyboard in SMSQ/E

Post by logout »

Hello, About a year ago I created ISO-8859-2 font for QL to be able to display texts in Czech, Slovak, Polish and Hungarian (GitHub) and I thought it would be nice to be able to actually type these texts on QL, so I wanted to create Czech keyboard layout. After searching through the forum and some online documentation, I came to the conclusion that on plain QL this is not possible without altering the ROM, there is some way how to do this with Minerva, but I haven't found much documentation about this feature, and it should be easily doable with SMSQ/E as demonstrated in IQLR v5 i1 and IQLR v5 i5.

My question is: is it possible to change just the keyset definition without also changing system messages? I really don't want to have the system translated, as I prefer English versions of systems altogether, so I wonder if the language module for SMSQ/E needs to contain these. I guess it would be no problem to put there the original ones from UK version of the OS, but wouldn't bother if not necessary. Thanks.


Sinclair QL is the Tommy Hilfiger of computers! I have a QL + SuperGoldCard and QL + Minerva, but just one power supply for them both :( Waiting in the line for a Q68, meanwhile using QL core in MiSTer.
User avatar
tofro
Font of All Knowledge
Posts: 3008
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: National keyboard in SMSQ/E

Post by tofro »

logout wrote: Mon Jan 13, 2025 3:00 pm Hello, About a year ago I created ISO-8859-2 font for QL to be able to display texts in Czech, Slovak, Polish and Hungarian (GitHub) and I thought it would be nice to be able to actually type these texts on QL, so I wanted to create Czech keyboard layout. After searching through the forum and some online documentation, I came to the conclusion that on plain QL this is not possible without altering the ROM, there is some way how to do this with Minerva, but I haven't found much documentation about this feature, and it should be easily doable with SMSQ/E as demonstrated in IQLR v5 i1 and IQLR v5 i5.

My question is: is it possible to change just the keyset definition without also changing system messages? I really don't want to have the system translated, as I prefer English versions of systems altogether, so I wonder if the language module for SMSQ/E needs to contain these. I guess it would be no problem to put there the original ones from UK version of the OS, but wouldn't bother if not necessary. Thanks.
I have never tried that, but you should be able to load and activate your language dependent module and then patch the system variables sys_erms and sys_mstab (which are pointers to the messages/message tables) back to their original values (that you have memorized somewhere before). In that case, what's in your language module for messages would be largely irrelevant (meaning could contain virtually nothing)


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
Derek_Stewart
Font of All Knowledge
Posts: 4610
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: National keyboard in SMSQ/E

Post by Derek_Stewart »

Hi,

you could try looking at Clavier by Wolfgang Lenerz:
https://dilwyn.theqlforum.com/misc/clavier.zip


Regards,

Derek
User avatar
logout
ROM Dongle
Posts: 10
Joined: Mon Mar 18, 2024 8:48 am
Location: Prague, Czech Republic

Re: National keyboard in SMSQ/E

Post by logout »

Derek_Stewart wrote: Mon Jan 13, 2025 10:30 pm Hi,

you could try looking at Clavier by Wolfgang Lenerz:
https://dilwyn.theqlforum.com/misc/clavier.zip
Thanks, I didn't know about this. I read the manual and it seems o be able to redefine only PC keyboard, so it probably won't be usable for my QL+SGC+SMSQ/E, however it seems to be able to modify just the keyboard without system messages and/or print tables. So there must be a way to do it! :)


Sinclair QL is the Tommy Hilfiger of computers! I have a QL + SuperGoldCard and QL + Minerva, but just one power supply for them both :( Waiting in the line for a Q68, meanwhile using QL core in MiSTer.
Post Reply