Difference between revisions of "RPi VICE C64 Emulator"

From eLinux.org
Jump to: navigation, search
(Created page with "==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 [[http://russelldavis.or...")
 
m (fixing link)
Line 3: Line 3:
  
 
==VirtualBox==
 
==VirtualBox==
I don't have RPi, so I tested it with [[http://russelldavis.org/2012/01/20/new-raspberry-pi-development-vm-v0-2/ | Russell Davis' VM 0.8]]
+
I don't have RPi, so I tested it with [http://russelldavis.org/2012/01/20/new-raspberry-pi-development-vm-v0-2/ Russell Davis' VM 0.8]
 
and the Debian image.
 
and the Debian image.
  

Revision as of 17:11, 4 April 2012

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.