Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[vic20] fix wrong keys, add code for missing keys #38

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

nippur72
Copy link
Contributor

@nippur72 nippur72 commented Jul 15, 2020

This PR fixes the following keys:

  • & currently produces '
  • ( currently produces )
  • ) currently produces 0
  • ^ currently produces &
  • * currently produces )

It also adds key codes for HOME, CLR, INST, DEL, CTRL and C= so that they can be referenced from the host.

UPDATE: I've also added emulation of the RESTORE key. I've put the key on a separate line on the keyboard matrix (line 8, column 0) as keycode 0xFF and then simply route it to VIA1 to pin CA1.

UPDATE2: I've fixed a bug on the VIC memory map. When the VIC reads in the range 0x4000-0x4FFF it should point in the rom_char. This allows a nice trick on the unexpanded VIC20: the command POKE 36869,255 allows to use both definable characters (range $1c00-$1dff) and ROM characters ($8000) on the same screen by printing the ROM character in reverse.

UPDATE3: I've fixed a small bug in the joystick, the JOYSTICK_LEFT was repeated twice.

UPDATE4: I've added a missing entry on the configuration enum, for the 3K memory expansion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant