I was trying to understand installing things to HDD on X68000, but I ran into a problem because I don't think there's any way to type the yen symbol, which is the directory separator in Human68K, on my US keyboard. The obvious thing would be to use the backslash key (since the character code is the same; this is presumably why it became the directory separator), but this produces the scan code for the right bracket/brace. As far as I can tell, the PS/2 scan code for the yen/pipe key is more-or-less unique to Japanese keyboards.
I could probably figure out how to make the necessary changes to recognize some other key as the yen/pipe key, but is there some existing solution for this?
X68000 With Non-Japanese Keyboard?
- YLFAndy
- Posts: 31
- Joined: Sat Sep 12, 2020 10:25 pm
- Location: Seattle Area
- Been thanked: 2 times
- Contact:
Re: X68000 With Non-Japanese Keyboard?
I poked at this a little last night, mapping KEYCODE 115 = 0x00a5 in kbd.map then running loadkeys to load the mapper file. It worked in Linux, but still no love in the core (which I assumed wouldn't happen, but part of me hoped there was some non-raw piping of that data). I don't know where Puu's code is stored, but the github transfer from sorgelig has a PS/2 keyboard emulation section. I don't know enough about core programming (yet) to really say much more than 'there's a thing that kinda sounds like maybe it could be updated to allow what you're asking.' Key.sys in the BIN folder on the Tonton drives might hold some hope, as well, but I haven't dug into that much yet.
Do post back if you figure it out.
Do post back if you figure it out.
- Sorgelig
- Site Admin
- Posts: 890
- Joined: Thu May 21, 2020 9:49 pm
- Has thanked: 2 times
- Been thanked: 214 times
Re: X68000 With Non-Japanese Keyboard?
The correct way would be an addition of missed keys through key combo. WIN keys weren't present at that time so they can be an Fn keys for this core. Implementation should be inside the core (not in linux).
-
- Core Developer
- Posts: 113
- Joined: Mon May 25, 2020 9:20 am
- Location: Japan
- Has thanked: 2 times
- Been thanked: 151 times
- Contact:
Re: X68000 With Non-Japanese Keyboard?
Unfortunately, the X68000 keyboard has 113 keys. Even if the keyboard for Windows is a Japanese keyboard, it has only 109 keys, so it was not possible to assign it to all the keys. Still, in my DE0-CV version I can assign all the major keys, but MiSTer doesn't assign some important keys such as backslashes.
Fortunately, however, the X68000 has a software keyboard implemented at the BIOS level. On the Human68k console, if you press the second mouse button, the software keyboard will be displayed, so you can cover it with the input from there.
Fortunately, however, the X68000 has a software keyboard implemented at the BIOS level. On the Human68k console, if you press the second mouse button, the software keyboard will be displayed, so you can cover it with the input from there.
Re: X68000 With Non-Japanese Keyboard?
I would recommend a Unicomp 122 key keyboard. It has the advantage of sufficient macro keys to assign the missing key functions.
You're on your own for kanji stroke and kana key sublabels, though.
You're on your own for kanji stroke and kana key sublabels, though.
Re: X68000 With Non-Japanese Keyboard?
I want to press the "HELP" key during a game execution (so that the Star Force game changes to 15khz mode), so the Human68k soft keyboard wont function there.puu wrote: ↑Tue Oct 13, 2020 2:45 pm Unfortunately, the X68000 keyboard has 113 keys. Even if the keyboard for Windows is a Japanese keyboard, it has only 109 keys, so it was not possible to assign it to all the keys. Still, in my DE0-CV version I can assign all the major keys, but MiSTer doesn't assign some important keys such as backslashes.
Fortunately, however, the X68000 has a software keyboard implemented at the BIOS level. On the Human68k console, if you press the second mouse button, the software keyboard will be displayed, so you can cover it with the input from there.
How can i assing the "HELP" key to any other keypress combo on a 'standard windows' keyboard?
-
- Core Developer
- Posts: 113
- Joined: Mon May 25, 2020 9:20 am
- Location: Japan
- Has thanked: 2 times
- Been thanked: 151 times
- Contact:
Re: X68000 With Non-Japanese Keyboard?
In the latest update, I have added a keyboard layout switch so that even US keyboards can support all keys.
http://fpga8801.seesaa.net/archives/20220716-1.html
Please refer to the following in the archive for the key layout.
Doc/keymap.xlsx
http://fpga8801.seesaa.net/archives/20220716-1.html
Please refer to the following in the archive for the key layout.
Doc/keymap.xlsx
-
- Posts: 11
- Joined: Sun May 24, 2020 8:23 pm
- Has thanked: 5 times
- Been thanked: 1 time
Re: X68000 With Non-Japanese Keyboard?
Hello,
Where can we find the keymap.xlsx file? I searched your website, but did not find a download. I'm also trying to press the HELP key.
This Github seems to be old.
https://github.com/MiSTer-devel/X68000_MiSTer
Thank you!
Where can we find the keymap.xlsx file? I searched your website, but did not find a download. I'm also trying to press the HELP key.
This Github seems to be old.
https://github.com/MiSTer-devel/X68000_MiSTer
Thank you!
Re: X68000 With Non-Japanese Keyboard?
See this post: viewtopic.php?p=56313#p56313SuperSpongo wrote: ↑Wed Nov 09, 2022 10:36 am Where can we find the keymap.xlsx file? I searched your website, but did not find a download. I'm also trying to press the HELP key.