??? 03/30/10 14:10 Modified: 03/30/10 14:14 Read: times |
#174627 - Now I'm confused ... Responding to: ???'s previous message |
I snagged the 68HC705xx firmware from a website I don't remember now, the purpose of which was to convert an IBM-PC/AT keyboard into something useful, about 15 years ago, and whittled on it further to reduce the process from converting it to async-serial to parallel with strobe, and then used it with "vintage" hardware for which parallel keyboards were not so readily available any longer.
The doc's that came with that went into considerable detail explaining that the PC's keyboard was encoded on keypress but the result wasn't transmitted until the key was released, or a timeout expired, at which time the result was repeatedly sent. Never having had any reason to doubt those doc's, I've always believed that, no matter how odd it seemed, that's what they did. The rationale was that if multiple keys were pressed on the downstroke, waiting for the release would ensure that the correct key would be chosen. Maybe that's not what actually happens ... I don't know. It's one of the hazards of believing what's published on the www. I personally have only encoded on the downstroke, but most of my encoders were for small keypads rather than full keyboards, and they were considerably less likely to have multiple keys struck at once. Somewhere in the pile of stuff out in the shed, I've got an old PC/AT keyboard with a windowed 8742 on it ... maybe there's a way to cause that thing to give up its code-space content. Then, with a little disassembly, one can find out what they really did. RE |
Topic | Author | Date |
switch input > interrupt (debouncing) | 01/01/70 00:00 | |
double post | 01/01/70 00:00 | |
Why the extra hardware? | 01/01/70 00:00 | |
wow | 01/01/70 00:00 | |
other ISR recommendation | 01/01/70 00:00 | |
or the other solution (my favorite) | 01/01/70 00:00 | |
using timer | 01/01/70 00:00 | |
Some switches have very long bounce time | 01/01/70 00:00 | |
a lot depends on the switches themselves | 01/01/70 00:00 | |
which is a $#@!! disaster | 01/01/70 00:00 | |
Remember that there is more than push buttons out there | 01/01/70 00:00 | |
What about the others? | 01/01/70 00:00 | |
Majority of implementations synchronizes with key down | 01/01/70 00:00 | |
Now I'm confused ... | 01/01/70 00:00 | |
Not Sure About The Code | 01/01/70 00:00 | |
More info on PC keyboard![]() | 01/01/70 00:00 | |
Short spikes | 01/01/70 00:00 | |
The real problem with debouncing | 01/01/70 00:00 |