Serial keyboard?

Nagging hardware related question? Post here!
User avatar
Ruptor
Brittle Membrane
Posts: 115
Joined: Fri Dec 20, 2019 2:23 pm

Serial keyboard?

Postby Ruptor » Fri Jan 17, 2020 4:54 pm

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
Gold Card
Posts: 375
Joined: Wed Jan 21, 2015 4:54 pm
Location: Hilversum, The Netherlands

Re: Serial keyboard?

Postby janbredenbeek » Sat Jan 18, 2020 12:44 am

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
Brittle Membrane
Posts: 115
Joined: Fri Dec 20, 2019 2:23 pm

Re: Serial keyboard?

Postby Ruptor » Sat Jan 18, 2020 11:30 am

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
QL Wafer Drive
Posts: 1880
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: Serial keyboard?

Postby tofro » Sat Jan 18, 2020 11:43 am

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
Super Gold Card
Posts: 730
Joined: Mon Feb 16, 2015 1:40 pm
Location: Veneto

Re: Serial keyboard?

Postby Cristian » Sat Jan 18, 2020 12:52 pm

Are AT keyboards (5 pin DIN connector) suitable?


User avatar
tofro
QL Wafer Drive
Posts: 1880
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: Serial keyboard?

Postby tofro » Sat Jan 18, 2020 1:30 pm

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
Super Gold Card
Posts: 730
Joined: Mon Feb 16, 2015 1:40 pm
Location: Veneto

Re: Serial keyboard?

Postby Cristian » Sat Jan 18, 2020 2:01 pm

OK I understand. Thank you!



Who is online

Users browsing this forum: No registered users and 4 guests