Difference between revisions of "RPi VICE C64 Emulator"

From eLinux.org
Jump to: navigation, search
(copy all ROMs)
(Adding <pre> tags around the commands to make them copy/paste-able.)
Line 20: Line 20:
  
 
There is this line:
 
There is this line:
 
+
<pre>
 
  deb http://ftp.uk.debian.org/debian/ squeeze main
 
  deb http://ftp.uk.debian.org/debian/ squeeze main
 
+
</pre>
 
Add "contrib" at the end:
 
Add "contrib" at the end:
 
+
<pre>
 
  deb http://ftp.uk.debian.org/debian/ squeeze main contrib
 
  deb http://ftp.uk.debian.org/debian/ squeeze main contrib
 
+
</pre>
 
then save the file with ":wq", update the package files, and install VICE:
 
then save the file with ":wq", update the package files, and install VICE:
  
Line 33: Line 33:
  
 
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:
 
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:
 
+
<pre>
  wget http://www.zimmers.net/anonftp/pub/cbm/crossplatform/emulators/VICE/old/vice-1.5-roms.tar.gz
+
  wget http://www.zimmers.net/anonftp/pub/cbm/crossplatform/emulators/VICE/old/vice-1.5-roms.tar.gz</pre>
 
  tar -xvzf vice-1.5-roms.tar.gz
 
  tar -xvzf vice-1.5-roms.tar.gz
 
  cp -a vice-1.5-roms/data/* /usr/lib/vice/
 
  cp -a vice-1.5-roms/data/* /usr/lib/vice/

Revision as of 18:16, 30 October 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 -a vice-1.5-roms/data/* /usr/lib/vice/

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.