Saturday, July 08, 2017

Install vice 3, the new version of the commodore emulator, in Ubuntu or Debian (including raspbian for raspberry pi)

Vice is one of the most powerful and famous Commodore computers emulators (not Amiga), it is really like an emulation suite since each platform has a specific executable and you have to call from the console (and not only in GNU/Linux, although always we can create shortcuts).

Now the new version 3.4 was launched with a lot of improvements, but the programmers didn't launch binaries for any GNU/Linux distro, so we need download the source code, uncompress and compile it, but this is very easy typing the next commands in your console (copy & paste):
sudo apt-get install xa65 build-essential byacc texi2html flex libreadline-dev libxaw7-dev texinfo libxaw7-dev libgtk2.0-cil-dev libgtkglext1-dev libpulse-dev
wget -c https://downloads.sourceforge.net/project/vice-emu/releases/vice-3.4.tar.gz
tar -zxvf vice-3.4.tar.gz
cd vice-3.4
./configure --with-x --without-pulse --with-sdlsound --enable-sdlui2 make
sudo make install
You need copy the BIOS files in your folder .vice into $HOME folder, inside .vice must be a folder for each system:
C128 C64 C64DTV CBM-II DRIVES PET PLUS4 PRINTER SCPU64 VIC20
These are the commands to run each system:
x128  x64  x64dtv  x64sc  xcbm2  xcbm5x0  xpet  xplus4  xscpu64  xvic

There are also tools to transfer data between your commodore and your PC as c1541 or cartconv to manage floppies or cartridges respectiveness.
You can see the documents enclosed to the software for more details.

Artículo original en castellano

7 comments:

  1. bash: ./configure: Ingen slik fil eller filkatalog
    I get this error message after ./configure --enable-fullscreen --with-pulse --with-x --enable-gnomeui

    Any pointers why?

    ReplyDelete
    Replies
    1. You need first to uncompress tar.gz y change to folder where vice is:
      tar -zxvf vice-3.0.tar.gz
      cd vice-3.0

      Delete
  2. I had to add xa65 in Raspbian Buster to run ./configure in vice-3.3: sudo apt-get install xa65

    I had to remove unsupported options, but I added some other since pulse sound didn't work: ./configure --with-x --without-pulse --with-sdlsound --enable-sdlui2
    I don't know if these settings are optimal, but they work on Raspberry Pi 4.

    You write 'sudo make', but don't you mean 'sudo make install'? I used that and it worked.

    On can uninstall with: sudo make uninstall

    ReplyDelete
  3. I succeeded compiling with ethernet support:

    sudo apt install bison libnet1 libnet1-dev libpcap0.8 libpcap0.8-dev libvte-dev libasound2-dev

    ./configure --with-x --without-pulse --with-alsa --enable-ethernet

    It still has sdlui2.

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Hello. I am following your instructions and got this error.

    pi@raspberrypi:~/vice-3.4 $ ./configure --with-x --without-pulse --with-sdlsound --enable-sdlui2 make
    sudo make install
    configure: WARNING: you should use --build, --host, --target
    option checking is yes
    checking build system type... Invalid configuration `make': machine `make' not recognized
    configure: error: /bin/bash ./config.sub make failed
    make: *** No rule to make target 'install'. Stop.

    Any ideas?

    ReplyDelete