Jump to content
IGNORED

POKEY keyboard scan (tech question)


Danjovic

Recommended Posts

Hi folks,

Reading the datasheet of the pokey chip it occurred me one question. Let me explain:

 

The binary counter inside the Pokey drives the lines K0..K5 that should be connected to some multiplexers then to a matricial keyboard. 
Whenever a key is pressed, the state of input line /KR1 will go low, and pokey stores the value of the counter K0..K5 and keep counting.

"If /KR1 goes low before the next time the binary counter equals the compare latch then there are two keys depressed and both are ignored" (quoting the datasheet)

Then my question is: 
Since Atari 5200 uses only the lines K1 to K4 on the multiplexers/keyboard matrix, there should be at least 4 values for the internal counter that will return zero for the same key pressed; for example key "1" pressed will brought /KR1 down on counter positions 0,1,62 and 63 and Pokey would never detect it as a valid single key.

So how do 5200 works? Did the 5200 set the bit "Debounce disable"?

pokey.thumb.png.e3bf590da1732f246a64e28cdf7f4a6f.png


 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...