Atari ST keyboard interface.

General discussions or ideas about hardware.
makaron
Posts: 6
Joined: Tue Nov 13, 2018 5:59 pm

Re: Atari ST keyboard interface.

Post by makaron »

Can't log in using my Facebook account arkadiusz.makarenko, so temporarily I will use this.

I managed to implement following features:
1. Usart debugger to printf what data board receives from computer during interrupt. Breakpoints are inconvenient.
2. Completed gamepad1 support of two modes, interrogation and event modes.
3. Introduced way to limit joystck reports sent to computer in event mode, it seems that computer was overwhelmed by amount of data on certain gamepads. It is on change only now.
3. Bugfixed some keyboard key mappings.
4. Introduced proper keyboard reset by pulling line down for 500ms.
5. Created stm32f7xx chip library... and learning how to make pcb design.
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1208
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: Atari ST keyboard interface.

Post by arkadiusz.makarenko »

I have completed PCB design and ordered 5 boards.

Next step, understand and implement absolute mouse positioning mode.

I may be able to squeeze in firmware to stm32f730. Cheapest chip from f72x/73x series. It has all required features except that it has only 64k flash. And firmware is on 49k just now.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1208
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: Atari ST keyboard interface.

Post by arkadiusz.makarenko »

I have refactored some code as my test codes were not manageable any more.
Implemented basic state machine and made some tidying up.

Except that I managed to partially implement absolute mouse positioning mode, and mouse thresholds and few other minor things.

It is really coming up together nicely :)
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Moderator Team
Moderator Team
Posts: 5368
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: Atari ST keyboard interface.

Post by terriblefire »

Nice job.
———
"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: 1208
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: Atari ST keyboard interface.

Post by arkadiusz.makarenko »

Implemented vast majority of modes. Even quite obscure ones like mouse keycode mode and different mouse button actions I even don't know how to test half of it.
Some nasty difficult to spot bugs (wrong datatype messing with memory) have been fixed, and added disable irq on keyboard transmissions.
Need to find software which uses those modes.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1208
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: Atari ST keyboard interface.

Post by arkadiusz.makarenko »

As my PCB design was complete failure (couldn't even connect to MPU via ST-LINK) - lets say that it is better to leave PCB design to people who actually know how to do it.

On positive side I managed to enable power (V BUS) for USB FS on my dev board, and now I do have 2 usb ports working. This way at last I can properly test joysticks (no need to constand plugging on/off keboard/mouse)
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1208
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: Atari ST keyboard interface.

Post by arkadiusz.makarenko »

I spent few days learning how to use KiCad. Maybe this time I will not make any major mistakes :D

AtariSTHID.png
AtariSTHID.png (90.27 KiB) Viewed 5642 times
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
exxos
Site Admin
Site Admin
Posts: 23488
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Atari ST keyboard interface.

Post by exxos »

Looking good! :thumbup:
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
Steve
Posts: 2570
Joined: Fri Sep 15, 2017 11:49 am

Re: Atari ST keyboard interface.

Post by Steve »

Shut-Up-And-Take-My-Money-1024x1280-1080x864.jpg
Shut-Up-And-Take-My-Money-1024x1280-1080x864.jpg (101.63 KiB) Viewed 5631 times
User avatar
derkom
Moderator
Moderator
Posts: 1208
Joined: Sun Jul 29, 2018 6:45 pm

Re: Atari ST keyboard interface.

Post by derkom »

@arkadiusz.makarenko, what happened with this project?
Post Reply

Return to “HARDWARE DISCUSSIONS”