Thanks to visit codestin.com
Credit goes to github.com

Skip to content

VIC-20 keyboard mapping #96

@aycock

Description

@aycock

The VIC-20 emulation wasn't letting me enter in the * character to the VIC-20. There seems to be two issues: the first is that the * appears in both the shifted and unshifted tables (systems/vic20.h), but chips/kbd.h:kbd_register_key() only permits one mask per key if I'm understanding the code correctly. However, once the additional * is removed from the shifted table by replacing it with a space, I could generate a * and ) but not ( any more (for my keyboard, * ( ) are shift+8 9 0 respectively). A real VIC-20 keyboard has its parens over 8 and 9, and I was able to fix both these issues here by changing:

https://github.com/floooh/chips/blob/bd1ecff58337574bb46eba5e7e16937899360e56/systems/vic20.h#L589C9-L590C19

to

"&ygvbhu("
")ijnmko "

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions