VICE and key jamming?

You need an actual VIC.

Moderator: Moderators

Post Reply
User avatar
Kweepa
Vic 20 Scientist
Posts: 1314
Joined: Fri Jan 04, 2008 5:11 pm
Location: Austin, Texas
Occupation: Game maker

VICE and key jamming?

Post 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...
User avatar
Mike
Herr VC
Posts: 4832
Joined: Wed Dec 01, 2004 1:57 pm
Location: Munich, Germany
Occupation: electrical engineer

Re: VICE and key jamming?

Post 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
User avatar
Kweepa
Vic 20 Scientist
Posts: 1314
Joined: Fri Jan 04, 2008 5:11 pm
Location: Austin, Texas
Occupation: Game maker

Post by Kweepa »

Thanks Mike.
I also see the problem with A-Z...
But I'll just assume it's a VICE bug for now.
Post Reply