Homepage Forums RetroPie Project New to RetroPie? Start Here! C64 (vice) no RESTORE key?

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #106579
    haris1977
    Participant

    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?

    #106850
    haris1977
    Participant

    Anyone?

    #106852
    petrockblog
    Keymaster

    Tested 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 ?

    #106859
    haris1977
    Participant

    I 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?

    #106870
    petrockblog
    Keymaster

    A 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 ?

    #106887
    haris1977
    Participant

    I 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..

    #106896
    petrockblog
    Keymaster

    I have tested with BASIC and a keyboard test program.

    #106897
    haris1977
    Participant

    What do you mean by BASIC? And how did y manage to install keyboard test program in retropie?

    #106903
    petrockblog
    Keymaster

    I 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.

    #106910
    haris1977
    Participant

    Can 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:(

    #106912
    petrockblog
    Keymaster

    The 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.

    http://csdb.dk/release/?id=98411

    #106917
    haris1977
    Participant

    Buzz 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;)

    #106920
    petrockblog
    Keymaster

    Try another keyboard ?

    #106922
    haris1977
    Participant

    Haha..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 !

Viewing 14 posts - 1 through 14 (of 14 total)
  • The forum ‘New to RetroPie? Start Here!’ is closed to new topics and replies.