Previous Thread
Next Thread
Print Thread
Joined: Jun 2020
Posts: 7
Likes: 1
R
Member
OP Offline
Member
R
Joined: Jun 2020
Posts: 7
Likes: 1
Hello,
I've successfully installed the Kaypro II in Mame. I can boot CP/M 2.2
successfully (cpmboot). I'm having problems with the non-alphanumeric
keys (; : ' " [ { - _). The correct key emulation produces a click and the
appropriate character. The unsuccessful key emulation produces a click
and a beep and no character. All the listed keys produce the click and beep.
All the contents of the Input submenu that list the mappings seem to be OK.
Do I need to specify the keyboard provider, ie win32? Or, is this a bad
keyboard emulator?

Joined: Feb 2004
Posts: 2,477
Likes: 170
Very Senior Member
Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,477
Likes: 170
I just booted CP/M on the kayproii system in MAME and I can type all those characters at the CP/M command prompt just fine. It’s worked fine ever since I added low-level emulation of the keyboard. That’s with the usual RawInput keyboard provider on Windows.

Joined: Dec 2015
Posts: 155
Likes: 4
A
AJR Online Content
Senior Member
Online Content
Senior Member
A
Joined: Dec 2015
Posts: 155
Likes: 4
The cpmboot disk image performs some weird remapping of the ASCII codes sent by the keyboard. Y and Z are interchanged (this is probably a German version of the OS), @, ^, * and ( become ", &, ( and ) (as on a bit-shift keyboard), & becomes /, < and > become ;, / and ? become _ and -, ] and } become + and *, # isn't recognized, etc. Clearly it expects some different keyboard model.

I performed some further experiments with the MAME source. I hooked up my new keytronic_l2207 emulation, and it surprisingly proved to be almost entirely compatible with normal Kaypro versions of CP/M; even the non-ASCII codes for the numeric keypad are OK. (The Set-Up and PF keys do nothing useful, but that's not terribly surprising.) Even more intriguingly, the primary dump exactly matches that of an INS8048 somebody dumped from a Kaypro II.

Joined: Jun 2020
Posts: 7
Likes: 1
R
Member
OP Offline
Member
R
Joined: Jun 2020
Posts: 7
Likes: 1
I tried rawinput but there was no change.

I have seen the interchanges. I was looking for a colon so I could switch to drive B:
The > key produces a colon.
I'll leave a permanent solution to someone with more experience. Thanks.

Joined: Feb 2004
Posts: 2,477
Likes: 170
Very Senior Member
Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,477
Likes: 170
There are probably multiple undumped Kaypro keyboards. We’re missing a dump for the 8751-based Kaypro II keyboard. The one we’ve got emulated now is from a Kaypro 10 after they switched to mask programmed 8048 to reduce costs.


Link Copied to Clipboard
Who's Online Now
1 members (AJR), 35 guests, and 1 robot.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,189
Posts120,338
Members5,044
Most Online1,283
Dec 21st, 2022
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