Serial keyboard?

Nagging hardware related question? Post here!
Post Reply
User avatar
Ruptor
Gold Card
Posts: 418
Joined: Fri Dec 20, 2019 2:23 pm
Location: London

Serial keyboard?

Post by Ruptor »

Can the QL serial line handle a serial keyboard? I have a couple knocking around from the days before the PC XT came out when all keyboards were serial as were the terminals. I think the keyboards sent the serial data and the monitors displayed the received serial characters.


User avatar
janbredenbeek
Super Gold Card
Posts: 631
Joined: Wed Jan 21, 2015 4:54 pm
Location: Hilversum, The Netherlands

Re: Serial keyboard?

Post by janbredenbeek »

Ruptor wrote:Can the QL serial line handle a serial keyboard? I have a couple knocking around from the days before the PC XT came out when all keyboards were serial as were the terminals. I think the keyboards sent the serial data and the monitors displayed the received serial characters.
I've written a utility that just does this. It copies the data coming in from the serial ports to the keyboard queue.

Just do: LRESPR xkbd_bin and then KBD_USE 1 (for ser1) or KBD_USE 2 (for ser2). KBD_USE 0 turns it off.
I wrote it back in 1988 to control my BBS-running BBQL (which resided in a cabinet to keep the noise down at night!) from a second QL (and a home-made switch to switch the video!).
Those were the old days with JS ROMs, I'm not sure if it will work with Minerva. The original Dutch manual stated that you must load if AFTER loading the Pointer Interface, if present.

Download link: https://files.bredenbeek.net/s/0D1qwBd8RTSqjIl

Jan.


User avatar
Ruptor
Gold Card
Posts: 418
Joined: Fri Dec 20, 2019 2:23 pm
Location: London

Re: Serial keyboard?

Post by Ruptor »

Thanks Jan I thought someone would have done it. :) I have some good quality serial keyboards lying around that will get a new lease of life.


User avatar
tofro
Font of All Knowledge
Posts: 2699
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: Serial keyboard?

Post by tofro »

Note that synchronous serial keyboards (the ones that have a CLK line) won't work with the QL serial ports.

Tobias


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
User avatar
Cristian
Aurora
Posts: 962
Joined: Mon Feb 16, 2015 1:40 pm
Location: Veneto

Re: Serial keyboard?

Post by Cristian »

Are AT keyboards (5 pin DIN connector) suitable?


User avatar
tofro
Font of All Knowledge
Posts: 2699
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: Serial keyboard?

Post by tofro »

Cristian wrote:Are AT keyboards (5 pin DIN connector) suitable?
AT keyboards have a synchronous serial interface, not suitable for the QL's standard serial ports. You can connect them to a SuperHermes, if you have one.

Tobias


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
User avatar
Cristian
Aurora
Posts: 962
Joined: Mon Feb 16, 2015 1:40 pm
Location: Veneto

Re: Serial keyboard?

Post by Cristian »

OK I understand. Thank you!


Post Reply