https://github.com/asig/ps2-to-xt-adapter
Adapter to use your "modern" PS/2 keyboard with an IBM 5150 or 5160 (XT) computer.
https://github.com/asig/ps2-to-xt-adapter
ibm ps2 ps2-keyboard retro xt
Last synced: 5 months ago
JSON representation
Adapter to use your "modern" PS/2 keyboard with an IBM 5150 or 5160 (XT) computer.
- Host: GitHub
- URL: https://github.com/asig/ps2-to-xt-adapter
- Owner: asig
- License: gpl-3.0
- Created: 2019-01-05T11:36:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-30T23:21:21.000Z (about 3 years ago)
- Last Synced: 2023-08-01T10:21:03.730Z (almost 3 years ago)
- Topics: ibm, ps2, ps2-keyboard, retro, xt
- Language: C++
- Size: 138 KB
- Stars: 13
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ps2-to-xt-adapter
=================
When I bought an ancient IBM 5150 without a keyboard, I first assumed that I could just use one of my old PS/2 keyboards. Well, I learned that this is not true... So I built a small adapter that lets you use a PS/2 keyboard with an IBM 5150 or 5160 (XT) computer. It was a great learning experience :-)
How to build the adapter
------------------------
Building the adapter is quite simple. All you need is:
1. a 5-pin DIN 41524 plug
2. a PS/2 socket
3. an ATtiny85 microcontroller (optionally with socket)
4. a prototype board
Solder the PS/2 and DIN 41524 connectors according to the schematics and adapter.fzz
Use the Arduino IDE to build the code and upload it to an ATtiny85.
Files
-----
|File | Description |
|----------------------------------------------------|--------------------------------------------------------------|
| capture/* | Bunch of protocol captures, captured with saleae Logc 1.2.18 |
| schematics/adapter.fzz | schematics for the breadboard in Fritzing |
| schematics/adapter_bb.png | PNG export of breadboard schematics |
| schematics/adapter_bb.svg | SVG export of breadboard schematics |
| schematics/DIN-Stecker-Pinbelegung-AT-Keyboard.svg | XT connector's pinout |
| schematics/ps2-pcb.svg | PS/2 connector's pinout |
| ps2-to-xt-adapter.ino | Code for the actual protocol conversion |
| ScanCodeMapping.tsv | Tab-separated file containg the scan code mapping from XT to PS/2. Collected from all over the internet, most prominently from Adam Chapweske's PS/2 pages |
| gen_mapping.py | Python script that reads ScanCodeMapping.tsv and generates the translation tables used in ps2-to-xt-adapter.ino |
| README.md | This file. |