VICE questions - Mac

You need an actual VIC.

Moderator: Moderators

Post Reply
vicassembly
Vic 20 Devotee
Posts: 253
Joined: Fri Mar 19, 2010 1:40 pm

VICE questions - Mac

Post 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.
User avatar
Misfit
Vic 20 Devotee
Posts: 207
Joined: Thu Nov 28, 2013 9:09 am

Re: VICE questions - Mac

Post 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 ?
User avatar
tokra
Vic 20 Scientist
Posts: 1120
Joined: Tue Apr 27, 2010 5:32 pm
Location: Scheessel, Germany

Re: VICE questions - Mac

Post 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.
vicassembly
Vic 20 Devotee
Posts: 253
Joined: Fri Mar 19, 2010 1:40 pm

Re: VICE questions - Mac

Post by vicassembly »

This is a MAC. I don't have a page up. Anyone have comments on the Mac restore key?
User avatar
tokra
Vic 20 Scientist
Posts: 1120
Joined: Tue Apr 27, 2010 5:32 pm
Location: Scheessel, Germany

Re: VICE questions - Mac

Post by tokra »

See chapter 2.5 here:

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

Should be ESC+ FN+Cursor UP then for RESTORE
User avatar
vicist
Vic 20 Afficionado
Posts: 352
Joined: Tue Oct 09, 2012 5:26 am
Location: Sheffield, UK

Re: VICE questions - Mac

Post 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.
Post Reply