Guys,
What's the proper way to read out the keyboard on the MSX? I'm currently using CHGET (call #9f) but this returns AZERTY keys on a QWERY keyboard.
Login أوregister لوضع تعليقاتك
Guys,
What's the proper way to read out the keyboard on the MSX? I'm currently using CHGET (call #9f) but this returns AZERTY keys on a QWERY keyboard.
CHGET is the proper way... the BIOS and keyboard of your MSX don't seem to match. What is the full model number of the MSX you are using? A French model paired with a detachable QWERTY keyboard perhaps? Doesn't it use AZERTY in Basic and DOS too?
I confirm @Grauw (having dealt with localization some years ago) that layout is handcoded into the BIOS. The only universal and portable information you can get out of the keyboard (more or less standard keyboard layout) is scan code, however there's no guarantee that there's specific "letter" (character) is assigned to the key with the specific scan code. The exceptions are control (usually black) keys.
As @Grauw said, you, most probably, are having keyboard for different localization attached. Two ways to proceed:
I have the problem when using my rom on webmsx so it might be related to webmsx as well.
I have the problem when using my rom on webmsx so it might be related to webmsx as well.
It is related to how emulator handles your local keyboard.
2. Put stickers onto the differing keys;
Or pull out the keys and swap ’em
.
I have the problem when using my rom on webmsx so it might be related to webmsx as well.
Sounds like it’s a problem with WebMSX’s keyboard mapping then, or the BIOS ROM that WebMSX uses.
My guess is that Wim is using an AZERTY keyboard on his host PC and that he is emulating an MSX with a QWERTY keyboard. But then again, I might be totally wrong
You are probably absolutely right :-) Webmsx cannot be put into Azerty mode it seems.
Hey guys.
It might be simply a matter of configuring the keyboard on WebMSX.
It already detects your host system language and adapts for the layout of some countries, but maybe it is not guessing the right combination for your country/host language.
Please open the Settings Dialog, and on the Keyboard page, click on the "Host Layout" toggle and try to find your host keyboard country/layout.
If its not supported by default, you can simply change the mapping of some keys.
Its easy:
Choose a build-in layout that most closely matches your keyboard to start with, and then change the mapping of any individual keys that are wrong.
Just hover the mouse over the MSX key on the screen, and press the key on your host keyboard to map to that key.
IMPORTANT: WebMSX is an imaginary machine, and ALWAYS uses the international MSX keyboard, or the Japanese keyboard, depending on the Machine selected.
Please contact me if you cannot set the correct mapping or need any help configuring the keys.
Paulo
Paulo: feature request: translate the host key presses to the right MSX keypresses, depending on which MSX keyboard is being emulated.
So, if you type a " on the host keyboard, the emulator should type SHIFT-2 on a turboR and SHIFT-' on a European MSX... This way the used keyboard is transparent and no manual mapping needs to be made for normal character keys.
Paulo: feature request: translate the host key presses to the right MSX keypresses, depending on which MSX keyboard is being emulated.
I agree with the author.
Don't you have an account yet? Become an MSX-friend and register an account!
