RetroLink
A small USB input adapter for retro computers. It lets a modern USB mouse or USB HID joystick/gamepad be used on classic systems: Atari 8-bit, Atari ST, Commodore Amiga and Commodore 64.
Internally, RetroLink reads USB HID reports and translates them to the DB9 connector's open-collector signaling — quadrature signals for mouse movement, plain digital lines for joystick/fire, plus autofire pulses.
Hardware
Built around the CH559L microcontroller: an 8051-based chip with a built-in USB host/device controller that runs directly off the retro computer's 5V, so no separate power regulator is needed. A CH340N USB-to-UART chip exposes an optional micro-USB configuration console.
Configuration
No PC required for day-to-day use — everything is controlled with a single onboard button and LED:
- Short press — prints the main menu over UART (for use with a serial terminal)
- Long press — cycles through functions, selected by releasing at a given LED flash count: controller learning, mouse mode (ST/Amiga), swap mouse buttons, mouse speed, autofire speed
A joystick "learning wizard" walks through UP/DOWN/LEFT/RIGHT/FIRE/AUTOFIRE to map an unknown USB controller. Settings are stored in flash and persist across reboots. A serial console (any terminal, 2000000 baud/8N1) can also be used for configuration.
Status
Open source, GPLv3. No packaged firmware release yet — currently in active development.
Source and full hardware/firmware documentation: github.com/RetroLoft/RetroLink