View Single Post
Old 11th Apr 2021, 11:58 pm   #1571
Slothie
Octode
 
Join Date: Apr 2018
Location: Newbury, Berkshire, UK.
Posts: 1,287
Default Re: Non-working Commodore PET 3016

Quote:
Originally Posted by ortek_service View Post
I presume the scanning is all done via regular interrupt timing, otherwise it would slow programs down a lot if it sat constantly reading the other (column) side of keyboard matrix, for the whole complete keyboard scan time..
Yes, one of the interrupt pins on one of the IO chips is connected to the vertical retrace signal, and the keyboard is scanned in the interrupt service routine which also adjust the real time clock, flashing cursor etc.
Slothie is offline