Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!--Wmat (talk)
Please email User:Wmat if you experience any issues with the Request Account form.

RPi VICE C64 Emulator

From eLinux.org
Revision as of 17:11, 4 April 2012 by Frankbuss (Talk | contribs)

Jump to: navigation, search

Aims

This tutorial shows you how to install the C64 emulator VICE on the Raspberry Pi computer.

VirtualBox

I don't have RPi, so I tested it with Russell Davis' VM 0.8 and the Debian image.

First start a shell within scratchbox2. All commands in this shell are executed as if you were on a RPi itself:

sb2 -t raspi_debian6 -eR

Then modify the sources.list file and add the "contrib" section for VICE. I use vim for it, better than vi, but you can use "joe", if you prefer a WordStar like editor, or any other editor.

apt-get install vim
vim /etc/apt/sources.list

There is this line:

deb http://ftp.uk.debian.org/debian/ squeeze main

Add "contrib" at the end:

deb http://ftp.uk.debian.org/debian/ squeeze main contrib

then save the file with ":wq", update the package files, and install VICE:

apt-get update
apt-get install vice

The ROMs are not included in the Debian version. You can get it from the Windows version, or from the web like this and install it in VICE:

wget http://www.zimmers.net/anonftp/pub/cbm/crossplatform/emulators/VICE/old/vice-1.5-roms.tar.gz
tar -xvzf vice-1.5-roms.tar.gz
cp vice-1.5-roms/data/C64/* /usr/lib/vice/C64

Now you can start x64:

x64

It shows an error about sound initialization, but then you should see the C64 prompt:

C64-vice-rpi-vm.png

TODO: instructions for the real RPi computer and maybe alsa audio fix, if not working on the hardware.