Skip to content

tiretrak/ps2_cpld_kbd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PS/2 AVR CPLD keyboard adapter

PS/2 keyboard adapter for ZX Spectrum on Atmega328 + EPM7128STC100. Designed to be connected directly instead of a mechanical keyboard.

image

Based on the idea of the Yet another ZX-Spectrum AT Keyboard Interface http://www.jrok.com/project/speckey/spec_key.html

How to program

Programming Atmega328p

  1. disconnect EPM7128 from the power source by disconnecting jumper JP1
  2. avrdude -p atmega328p -c USBasp -U flash:w:avr_kbd_mega328p.hex -U lfuse:w:0xbf:m -U hfuse:w:0xda:m -U efuse:w:0xfd:m
  3. short JP1

Programming EPM7128S

use quartus programmer to flash cpld_kbd.pof

Available hotkeys

  1. Ctrl+Alt+Del generate a short negative pulse on O_RESET pin. It's nice to connect this signal to N_RESET of your ZX Spectrum
  2. Ctrl+Alt+Backspace produce a controller internal reset needed for some reason
  3. F2 generate a short negative pulse on O_MAGICK pin. If you have a BDI controller then you have to connect this signal to magick button.
  4. Scroll Lock switch on / off the O_TURBO signal
  5. PrintScreen switch on / off the O_SPECIAL signal

About

ZX Spectrum PS/2 keyboard adapter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published