You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This section covers the use of USBSID-Pico with Vice under Linux, Windows and MacOS for the GTK and SDL2 versions of `vsid` and `x64sc`
104
107
108
+
WARNING: Switching on readmode and then switching it off again without restarting the PCB and Vice _will_ result in distorted audio
109
+
105
110
==== Command-line arguments
106
111
Command-line arguments override any previously configured items in your `vicerc` config file. +
107
112
All three OS support the same command-line arguments for both `vsid` and `x64sc`. +
108
113
However, the sound device argument is OS specific and `vsid` supports a maximum of 3 SID chips +
109
-
*Note* that if you define extra SID's and their addresses, these addresses need to point to the required address for the SID tune or Software you want to use. The Vice USBSID-Pico driver will automatically convert each write to the in firmware configured SID chip.
114
+
*Note* that if you define extra SID's and their addresses, these addresses need to point to the required address for the SID tune or Software you want to use. The Vice USBSID-Pico driver will automatically convert each write to the in firmware configured SID chip. +
115
+
Below is an excerpt from the Vice manual with information about each command-line option
110
116
[source,shell]
111
117
----
112
-
# vsid with usbsid enabled
113
-
vsid -sidenginemodel usbsid
114
-
# Define extra SID chips and their respective addresses in de Commodore 64 memory space
Enable USBSID-Pico read mode. When enabled, this mode allows for reading from SID registers that provides a means to configure an FPGASID that is seated on USBSID-Pico. This mode is not suited for regular audio use as it disables cycle exact writing & digiplay. Default is (SidUSBSIDReadMode=0) for off, (SidUSBSIDReadMode=1) for on.
120
+
121
+
-usaudiomode <0 or 1>
122
+
Set USBSID-Pico PCB (v1.3) audio mode to Stereo or Mono. When enabled the audio of SID socket 1 will be output over the left audio channel and the audio of SID socket 2 over the right channel of USBSID-Pico's audio out. Default is (SidUSBSIDAudioMode=0) for Mono, (SidUSBSIDAudioMode=1) for Stereo.
116
123
117
-
# vsid with linux Alsa driver and usbsid enabled
118
-
vsid -sounddev alsa -sidenginemodel usbsid
124
+
-usdiffsize <number divisable by 8>
125
+
Specifies the minimal difference in bytes to use between the head and tail of the drivers ringbuffer, this allows for some audio quality tuning on slower systems. In most cases the default value of 64 bytes (also the size of a USB packet) is the right setting for best audio quality. (SidUSBSIDDiffSize=32-256).
126
+
127
+
-usbuffsize <number divisable by 8>
128
+
Specifies the size in bytes to use as ringbuffer to store temporary data when sending SID writes to USBSID-Pico, this allows for some audio quality tuning on slower systems. In most cases the default value of 8192 bytes is the right setting for best audio quality. (SidUSBSIDBufferSize=512-16384).
119
129
----
120
130
121
131
[%always]
122
132
<<<
123
133
124
-
==== vsid GTK
134
+
==== x64sc GTK
125
135
ALT+O or click Preferences/Settings to open the settings menu. +
126
136
*Sound configuration* +
127
137
The sound configuration will require tuning for the computer you use it on. +
128
138
In the screenshot below you can see that for this system I use the `pulse` audio driver and have the `Buffer size` set to 1 millisecond and `Fragment size` set to very small. +
129
139
These 3 settings can make or break the audio quality. +
Press F12 (Linux/Windows) / F10 (MacOs) to open the settings menu. +
141
151
*Sound configuration* +
142
152
The sound configuration will require tuning for the computer you use it on. +
143
-
In the screenshot below you can see that for this system I use the `pulse` audio driver and have the `Buffer size` set to 10 milliseconds and `Fragment size` set to very small. +
153
+
In the screenshot below you can see that for this system I use the `pulse` audio driver and have the `Buffer size` set to 25 milliseconds and `Fragment size` set to very small. +
144
154
These 3 settings can make or break the audio quality. +
`Machine settings` => `Model settings` => `SID settings` => `Extra SIDs` => select the amount of extra SID's and set their addresses
157
167
158
168
[%always]
159
169
<<<
160
170
161
-
==== x64sc GTK
171
+
==== vsid GTK
162
172
ALT+O or click Preferences/Settings to open the settings menu. +
163
173
*Sound configuration* +
164
174
The sound configuration will require tuning for the computer you use it on. +
165
175
In the screenshot below you can see that for this system I use the `pulse` audio driver and have the `Buffer size` set to 1 millisecond and `Fragment size` set to very small. +
166
176
These 3 settings can make or break the audio quality. +
Press F12 (Linux/Windows) / F10 (MacOs) to open the settings menu. +
178
188
*Sound configuration* +
179
189
The sound configuration will require tuning for the computer you use it on. +
180
-
In the screenshot below you can see that for this system I use the `pulse` audio driver and have the `Buffer size` set to 25 milliseconds and `Fragment size` set to very small. +
190
+
In the screenshot below you can see that for this system I use the `pulse` audio driver and have the `Buffer size` set to 10 milliseconds and `Fragment size` set to very small. +
181
191
These 3 settings can make or break the audio quality. +
`Machine settings` => `Model settings` => `SID settings` => `Extra SIDs` => select the amount of extra SID's and set their addresses
202
+
`SID settings` => `SID model` => `USBSID-Pico` +
203
+
`SID settings` => `Extra SIDs` => select the amount of extra SID's and set their addresses +
194
204
195
205
[%always]
196
206
<<<
197
207
198
-
=== Retrodebugger
199
-
t.b.d.
200
-
201
208
=== jsidplay2
202
209
This section covers the use of USBSID-Pico with `jsidplay2`
203
210
211
+
==== Settings
212
+
After starting JSidplay2 you can choose USBSID-Pico from the dropdown menu that says emulation and set the board to mono or stereo using the settings dropdown
`c64jukebox` website that runs on `jsidplay2` available at https://haendel.ddns.net:8443/static/c64jukebox.vue
206
219
207
-
=== sidplayfp
220
+
To enable USBSID-Pico in a WebUSB supporting browser (like Chrome) click on the `Hardware` tab and then click `Connect` in the USBSID-Pico box. After connecting search for any SID file in the search tab and click the play button.
221
+
222
+
WARNING: Because this play method is not perfected yet there will be delays when selecting a follow up tune and pressing stop or pause. This can be circumvented enabling `use await for USBSID write` on the Hardware tab, but this will severely impact playing tunes that rely on timing
0 commit comments