## PS/2 Keyboard Controller

This PIC16F627A pic-as code is for the keyboard controller.

Compile using Microchip Technology's [MPLAB XIDE](https://www.microchip.com/en-us/tools-resources/develop/mplab-x-ide) with the [pic-as assembler](https://microchipdeveloper.com/swtools:pic-asm).

See [schematics/keyboard](/schematics/keyboard_nes) for the Keyboard card schematic.

### Videos

[![A keyboard for my 6502 using a PIC MCU](https://img.visualrealmsoftware.com/youtube/thumb/D6upr-1-uuE)](https://www.youtube.com/watch?v=D6upr-1-uuE "A keyboard for my 6502 using a PIC MCU")

### Resources

[PIC16F627A datasheet](https://ww1.microchip.com/downloads/en/DeviceDoc/40044G.pdf)
