View Single Post
Old 18 August 2016, 12:28   #3
Registered User

Daedalus's Avatar
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 1,043
If you're in anyway decent with electronics and programming, a simple resistor/LED combination can be used to test each pin while software pokes values to the CIA once a second. That should flash the LED on and off and let you try each pin separately. Also, you can set the outputs high and then simply read the inputs as you short each one of them to ground to ensure they respond. The addresses you need are here, specifically set $BFE301 to $FF for output, $00 for input, and $BFE101 for reading or writing values of $00 for low or $FF for high, or any value in between for a mixture in binary. $BFD200 and $BFD000 are likewise needed for the fire buttons, which use two of the status lines on the port (SEL, POUT and BUSY, can't remember which two...)
Daedalus is offline  
Page generated in 0.08348 seconds with 9 queries