Previous Thread
Next Thread
Print Thread
Joined: Aug 2009
Posts: 8
M
Member
OP Offline
Member
M
Joined: Aug 2009
Posts: 8
Hi,

I'm working on driver for Elwro 800 Junior, Polish ZX Spectrum clone with additional features. The current version with working emulation was already sent to Nathan.

I'm still working on it and I have found a problem: original computer had several keys with Polish specific letters on them (Ą, Ć etc.). Obviously, modern PCs doesn't have such keys. My idea is to map them in the same way as standard mapping in Windows, i.e. Right Alt + key. How can I do that in driver code?

Mariusz Wojcieszek

Joined: Nov 1999
Posts: 704
Likes: 8
B
Senior Member
Offline
Senior Member
B
Joined: Nov 1999
Posts: 704
Likes: 8
Generally the way that has been done is to map the keys to whatever keys might be convenient (such as on the keypad). The natural keyboard support in MESS can be used independently.

Joined: Dec 1999
Posts: 1,179
Likes: 2
J
Very Senior Member
Offline
Very Senior Member
J
Joined: Dec 1999
Posts: 1,179
Likes: 2
The 'standard' in MESS for the emulated keyboard layout is to map the keys according to the physical layout on the original keyboard (so e.g. if Ą is where the ' key would be on a US 102-key keyboard you would map it to ').

MESS also supports "natural" keyboard layouts which use Unicode characters to allow for example clipboard paste to work, to support that you would specify e.g. PORT_CHAR(0x0104)

Joined: Feb 2008
Posts: 326
M
Senior Member
Offline
Senior Member
M
Joined: Feb 2008
Posts: 326
I have placed your driver in SVN, please note that meanwhile FDC have been updated, so I had to do a little update on your code. So it would be good if you update your local tree to a latest SVN content.

Nice work BTW.

Joined: Jul 2007
Posts: 4,625
A
Very Senior Member
Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
Originally Posted By Micko
I have placed your driver in SVN, please note that meanwhile FDC have been updated, so I had to do a little update on your code. So it would be good if you update your local tree to a latest SVN content.

Nice work BTW.


I will test. smile
My clean compilation is still in procress frown


Link Copied to Clipboard
Who's Online Now
3 members (Pernod, Vas Crabb, 1 invisible), 35 guests, and 2 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,132
Posts119,654
Members5,029
Most Online890
Jan 17th, 2020
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com