Skip to content

Latest commit

 

History

History
129 lines (108 loc) · 4.38 KB

README.md

File metadata and controls

129 lines (108 loc) · 4.38 KB

Vice USBSID-Pico fork

This fork has built-in support for USBSID-Pico.
USBSID-Pico is a RPi Pico based board for interfacing one or two MOS SID chips and/or hardware SID emulators with your PC over USB.

Linux Building and installing

For building you can mostly follow the instructions in the Linux-GTK3-Howto
add --enable-usbsid to ./configure for USBSID-Pico support

Onliner for installing the dependencies

sudo apt install autoconf automake build-essential byacc flex xa65 gawk libgtk-3-dev texinfo texlive-fonts-recommended texlive-latex-extra dos2unix libpulse-dev libasound2-dev libglew-dev libcurl4-openssl-dev libevdev-dev libpng-dev libgif-dev libpcap-dev libusb-1.0-0 libusb-1.0-0-dev libusb-dev libmpg123-dev libmp3lame-dev

My build sequence for Linux

    # clone the repository
    git clone https://github.com/LouDnl/Vice-USBSID.git --depth 1
    cd Vice-USBSID

    # create a build directory
    mkdir -p usbsid/{build,release/usr}
    export OUTDIR=$(pwd)/usbsid/release

    # generate configure and make files
    cd vice
    ./src/buildtools/genvicedate_h.sh
    ./autogen.sh

    # change to the build directory
    cd ../usbsid/build

    # configure make with what you need
    ../../vice/configure \
       --enable-option-checking=fatal \
       --prefix=/usr \
       --enable-gtk3ui \
       --disable-arch \
       --disable-html-docs \
       --enable-catweasel \
       --enable-usbsid \
       --enable-cpuhistory \
       --enable-io-simulation \
       --enable-experimental-devices \
       --enable-x64-image \
       --enable-ethernet \
       --enable-midi \
       --disable-hardsid \
       --with-alsa \
       --with-pulse \
       --with-fastsid \
       --with-flac \
       --with-gif \
       --with-lame \
       --with-libcurl \
       --with-libieee1284 \
       --with-mpg123 \
       --with-png \
       --with-resid \
       --with-vorbis

    # optional config options
    --enable-debug
    --enable-debug-threads
    --enable-pdf-docs (Not recommended)

    # run make
    make -j$(nproc) -s --no-print-directory
    # (OPTIONAL) Create installation files
    make DESTDIR=$OUTDIR install

    # start Vice
    # after first compile
    ./src/x64sc -directory ./data
    ./src/vsid -directory ./data
    # after first installation to current system
    ./src/x64sc
    ./src/vsid

    # Installation to current system
    sudo make install
    # Now you can run vice directly
    x64sc
    vice
    # Optional commandline options
    -sidenginemodel usbsid  # enables USBSID (available in settings menu too)
    -usbsidasync 1  # enable async writing ~ disables reading (experimental)

Windows building (on linux) and creating a zip file with binaries

For building you can use the instructions in the Docker-Mingw32-build as guideline.
After installing docker follow the following steps to create win32 or win64 binaries.

    # clone the repository
    git clone https://github.com/LouDnl/Vice-USBSID.git
    cd Vice-USBSID

    # generate configure and make files
    cd vice
    ./src/buildtools/genvicedate_h.sh
    ./autogen.sh
    cd ..

    # copy the docker files to current directory 
    cp vice/build/mingw/docker/* .

    # creating the base docker container
    docker build --tag vice-buildcontainer:base .

    # choose win32 or win64
    ## for win32 rename the correct build script and create acontainer
    cp build-vice-usbsid-win32.sh build-vice.sh
    docker build --tag vice-buildcontainer:0.3 -f Dockerfile.usbsid-win32 .
    ## for win64 rename the correct build script and create acontainer
    cp build-vice-usbsid-win64.sh build-vice.sh
    docker build --tag vice-buildcontainer:0.3 -f Dockerfile.usbsid-win64 .

    # depending on the container type you created this will create a zip file in the current directory
    ./dock-run.sh $(pwd)

VICE GitHub Mirror

This is the official git mirror of the VICE subversion repo.

For news, documentation, developer information, visit the VICE website.

Download VICE