Page 1 of 1

VICE questions - Mac

Posted: Fri Jun 16, 2017 5:16 am
by vicassembly
I will probably have more but the following are bugging me right now.

1. How do I cause vice to remember my joystick values/settings? Every time I open a new session I must set the joystick by:
Settings>Joystick. Select logiteck attack 3 from dropdown menu in middle and then select HID device A from top menu

2. I cannot figure out the keys to run/stop restore. I believe run/stop is the escape key because when I press shift-escape it does a LOAD

Thanks.

Re: VICE questions - Mac

Posted: Fri Jun 16, 2017 5:37 am
by Misfit
vicassembly wrote:1. How do I cause vice to remember my joystick values/settings? Every time I open a new session I must set the joystick by:
Settings>Joystick. Select logiteck attack 3 from dropdown menu in middle and then select HID device A from top menu
Menu -> Settings -> Save Settings on Exit ?

Re: VICE questions - Mac

Posted: Fri Jun 16, 2017 6:05 am
by tokra
vicassembly wrote:2. I cannot figure out the keys to run/stop restore. I believe run/stop is the escape key because when I press shift-escape it does a LOAD
ESC is the STOP-key, so far you are correct. "Page up" should be the RESTORE-key. So if you do ESC+PG UP you should get STOP/RESTORE.

Re: VICE questions - Mac

Posted: Fri Jun 16, 2017 2:55 pm
by vicassembly
This is a MAC. I don't have a page up. Anyone have comments on the Mac restore key?

Re: VICE questions - Mac

Posted: Fri Jun 16, 2017 4:17 pm
by tokra
See chapter 2.5 here:

https://github.com/bobsummerwill/VICE/b ... MacOSX.txt

Should be ESC+ FN+Cursor UP then for RESTORE

Re: VICE questions - Mac

Posted: Fri Jun 16, 2017 5:11 pm
by vicist
You can assign your choosen key to be the 'restore' key by editing the keyboard (.vkm) file.

Open the .vkm file (there are 2 kinds - pos and sym; I use pos) in VICE/VIC20 with notepad or similar.
At the bottom of the file should be something like

Code: Select all

# Restore key mappings
91 -3 0         /*         PgUp -> RESTORE      */
The '91' is the PgUp key-code.
If you change that to '87' then F11 will become the restore key.
This is how it works for my pc laptop anyway. Should work the same for mac.

Look down the list to see all of the other keys that are mapped. The key-codes that have a # in front of them are the ones that are not mapped and are available.
If you do change things, it's a good idea to change the comment to reflect this. E.G.

Code: Select all

# Restore key mappings
87 -3 0         /*          F11 -> RESTORE      */
Once you've made the changes, save as something like user.vkm and select this file to use from the keyboard settings menu.

Hope this helps.