Homepage › Forums › RetroPie Project › New to RetroPie? Start Here! › C64 (vice) no RESTORE key?
- This topic has 13 replies, 2 voices, and was last updated 9 years, 3 months ago by haris1977.
-
AuthorPosts
-
09/22/2015 at 11:35 #106579haris1977Participant
Has anyone managed to use the restore key?
PgUp doesnt work for me.
I see in /opt/retropie/emulators/vice/lib/vice/C64 there are some *.vkm files like sdl_sym.vkm (where vice keyboard mapping is hardcoded i suppose). But there is not a restore button. I tried changing the backspace to map it to restore like this
from: 8 0 0 8 /* Backspace -> Del */
to: 8 0 0 8 /* Backspace -> Restore */but didn’t work. Also tried to add in # Restore key mappings the following
280 -3 0 /* Backspace -> RESTORE */
0 -3 1 /* Backspace -> RESTORE */Didn’t work either. Any thoughts?
09/25/2015 at 21:10 #106850haris1977ParticipantAnyone?
09/25/2015 at 21:57 #106852petrockblogKeymasterTested here and it worked fine. Perhaps you can give more information ? IE What you are using to see it doesn’t work and what you think should happen etc ?
09/25/2015 at 23:12 #106859haris1977ParticipantI am playing “castles of dr creep”. When you hit the restore key (page up) the player kills himself. As i said this button doesnt work 4 me.
Can you test it in the specific game?
09/26/2015 at 01:27 #106870petrockblogKeymasterA better test would be to get a keyboard test util, or press run-stop + restore in basic to see if it works
https://www.c64-wiki.com/index.php/RUN/STOP
According to the game instructions, restore works in the MAP screen. You are definitely pressing it in the right screen ?
09/26/2015 at 07:50 #106887haris1977ParticipantI will check asap. But i have succefully managed to map the restore key with f10 button in my c64 emul (winvice 2.4, windows7) by changing the vkm file. Had the same problem with restore key (pgup).
Have you managed to “kill yourself” in main game (castles of dr creep)?
Edit: i checked. Nothing works. When i hit esc the game pauses. I use keyset with arrow keys+left ctrl for fire. I dont use gamepad. I also cannot go into MAP screen..
09/26/2015 at 09:56 #106896petrockblogKeymasterI have tested with BASIC and a keyboard test program.
09/26/2015 at 10:57 #106897haris1977ParticipantWhat do you mean by BASIC? And how did y manage to install keyboard test program in retropie?
09/26/2015 at 14:02 #106903petrockblogKeymasterI copied a .PRG keyboard test program to roms/c64
When I say basic, I mean I booted into something, and then reset the machine, back to power on state.
09/26/2015 at 15:44 #106910haris1977ParticipantCan you upload the program? And how do you run it from inside es?
Edit: I installed c64 emul on my ubuntu machine. Same problem. Pgup doesnt work inside the game:(
09/26/2015 at 16:10 #106912petrockblogKeymasterThe key works – perhaps you are pressing it at a point in the game where it does nothing – try run/stop + restore from BASIC.
The instructions for that game say the restore key works on the map screen – so if you have not gone into the map screen, why would you expect it to do anything.
I run the keyboard testing program from ES like any other c64 program.
09/26/2015 at 16:47 #106917haris1977ParticipantBuzz thanks for your quotes and all your help. But i think i know where the problem lies. It is 100% my keyboard. But i dont know how to fix it..
I used evtest (sudo apt-get install evtest) in my ubuntu desktop. And voila! My PgUp button doesn’t work. Even though in the beggining of the test i can see this (event code 104):
http://www.2shared.com/photo/AheK6p69/scan104.html
when i press the pgup key i see this (KEY_KP9)
http://www.2shared.com/photo/RfHikxZX/key_9.html
Even with the use of NumLock, i still get KEY_KP9 presses:(
So..is there smth i can do? Or my keyboard is a failure?
My keyboard:
http://www.2shared.com/photo/neUVAg9L/20150926_171553.html
*. I am 120% sure that restore key (suicide commit) is working inside the game;)
09/26/2015 at 16:53 #106920petrockblogKeymasterTry another keyboard ?
09/26/2015 at 17:01 #106922haris1977ParticipantHaha..i dont have another one (now). I was hopping there was a solution though:)
Edit: Changed my keyboard and now it works like a charm. Topic closed:)
Thanks man !
-
AuthorPosts
- The forum ‘New to RetroPie? Start Here!’ is closed to new topics and replies.