https://github.com/tlindner/coco_key_test
Three short programs to test the Color Computer keyboard
https://github.com/tlindner/coco_key_test
Last synced: 11 months ago
JSON representation
Three short programs to test the Color Computer keyboard
- Host: GitHub
- URL: https://github.com/tlindner/coco_key_test
- Owner: tlindner
- Created: 2024-08-05T01:43:37.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-17T22:15:24.000Z (about 1 year ago)
- Last Synced: 2025-05-17T23:19:59.831Z (about 1 year ago)
- Language: Assembly
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
Color Computer Keyboard Test

This is three programs that run on your color computer to test the keyboard.
From the provided disk image, type `RUN "KT` to run the program chooser.
## Forward
This program rolls output bits thru the B port of PIA 0 looking for a pressed key by reading the A port and looking for low bits. If a key is detected it's symbol is reversed. Joystick buttons are also ckecked.
## Backward
This program rolls out bits on port A, looking for pressed keys by reading port B.
## CoCo 3 interrupt
This program does nothing until a keyboard interrupt is generated. Then the joystick buttons are check and possible updated. If no joystick buttons were press port B is rolled one bit at a time and port A is read looking for a low bit. If a key press is detected it's symbol is reversed. A count is kept of the number of interrupts generated.
## Raw ROM
This is a ROMable version of the forward keyboard test program.
--
tim lindner
August 2024
tlindner@macmess.org