Page 1 of 1

VICE and key jamming?

Posted: Sun Dec 11, 2011 11:04 pm
by Kweepa
Hi.
I'm using GETIN to read the keyboard.
If I type too quickly, I can sometimes get one of the keys "stuck", so that pressing keys after that will also press the stuck key. Pressing the stuck key manually fixes the problem.
Does this sound familiar? Is it a VICE bug or a VIC bug, does anyone know? I'm hoping a VICE bug - seems more likely I think...

Re: VICE and key jamming?

Posted: Mon Dec 12, 2011 1:28 pm
by Mike
Kweepa wrote:Does this sound familiar?
Yes. For me it happens in VICE 1.16 but also in VICE 2.3, especially with the Shift or CBM keys. When I hold one of them down, select one of the VICE menus inbetween, and during that let off the key, VICE doesn't register that. Rather, it thinks the key is still held down, and it is 'un-stuck' by typing on it again.

It's mainly a matter of the keyboard to VIA mapping. For example, on a real VIC-20, I quite often get:

Code: Select all

LOAD"LOAD

PRESS PLAY ON TAPE
when I really wanted to load the directory of the disk drive. The keyboard scan routine of the VIC-20 somehow interprets 'left SHIFT'+2+4 same as SHIFT+STOP. That doesn't happen in VICE.

Michael

Posted: Mon Dec 12, 2011 2:25 pm
by Kweepa
Thanks Mike.
I also see the problem with A-Z...
But I'll just assume it's a VICE bug for now.