Atari ST keyboard interface.

General discussions or ideas about hardware.
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Atari ST keyboard interface.

Post by arkadiusz.makarenko »

I am complacently green with Atari ST/STe hardware, but I would like to poke a little keyboard/mouse/joystick interface o Atari STs.
In particular I am looking for what exactly Atari expects to receive from keyboard "port". Do I need to reverse engineer it, or this has already been done?
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7384
Joined: 13 Nov 2017 19:19
Location: Oxford, UK.

Re: Atari ST keyboard interface.

Post by stephen_usher »

What is it you want to do? It's basically a serial interface.

If you want to connect a PS/2 keyboard then just get an Eiffel board.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
terriblefire
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: Atari ST keyboard interface.

Post by terriblefire »

arkadiusz.makarenko wrote: 20 May 2020 14:42 I am complacently green with Atari ST/STe hardware, but I would like to poke a little keyboard/mouse/joystick interface o Atari STs.
In particular I am looking for what exactly Atari expects to receive from keyboard "port". Do I need to reverse engineer it, or this has already been done?
Its a keyboard control interface a bit like the Amiga. I have an implementation in HDL somewhere...

https://github.com/terriblefire/atlys_a ... d6301emu.v

Dont know if thats a help is pretty basic
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: Atari ST keyboard interface.

Post by arkadiusz.makarenko »

stephen_usher wrote: 20 May 2020 16:09 What is it you want to do? It's basically a serial interface.

If you want to connect a PS/2 keyboard then just get an Eiffel board.
I am thinking of porting my stm32 firmware for CD32 Riser to Atari ST. So in short USB HID devices, keyboard, mouse and HID compatible gamepads.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: Atari ST keyboard interface.

Post by arkadiusz.makarenko »

terriblefire wrote: 20 May 2020 16:30
arkadiusz.makarenko wrote: 20 May 2020 14:42 I am complacently green with Atari ST/STe hardware, but I would like to poke a little keyboard/mouse/joystick interface o Atari STs.
In particular I am looking for what exactly Atari expects to receive from keyboard "port". Do I need to reverse engineer it, or this has already been done?
Its a keyboard control interface a bit like the Amiga. I have an implementation in HDL somewhere...

https://github.com/terriblefire/atlys_a ... d6301emu.v

Dont know if thats a help is pretty basic
Thank you.

It is quite useful.
Keyboard codes are with comments. Only this is days of work.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
Steve
Posts: 3309
Joined: 15 Sep 2017 11:49

Re: Atari ST keyboard interface.

Post by Steve »

I also used this on an arduino to convert an ST keyboard to USB:

https://github.com/devonshire/arduino-a ... d-keyboard

(not sure if this also helps)
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: Atari ST keyboard interface.

Post by arkadiusz.makarenko »

Steve wrote: 20 May 2020 21:24 I also used this on an arduino to convert an ST keyboard to USB:

https://github.com/devonshire/arduino-a ... d-keyboard

(not sure if this also helps)
Thank you.
It is other direction, but few bits are useful like resetting keyboard etc.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: Atari ST keyboard interface.

Post by arkadiusz.makarenko »

I did spend some time poking what is happening there. Still don't fully understand what exactly can be sent to keyboard, and what response is expected. But at this point I know what baud rate is, how message looks like, and how keyboard, mouse in TOS, and joystick in games behaves.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
ube
Posts: 143
Joined: 21 Aug 2017 11:34

Re: Atari ST keyboard interface.

Post by ube »

master of the bare pcb
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: Atari ST keyboard interface.

Post by arkadiusz.makarenko »

ube wrote: 23 May 2020 23:32 Here you go. ikbd documentation.

https://www.kernel.org/doc/html/v4.14/i ... rikbd.html
Wow. Thank you.
Now there is no excuse ;) I have everything I need.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem

Return to “HARDWARE DISCUSSIONS”

Who is online

Users browsing this forum: archive.org [bot], ClaudeBot and 9 guests